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 generate_sha2_512: generate_st SHA2_512 | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.RandomBuffer.System",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC_DRBG",
"short_module": null
},
{
"abbrev": true,
"f... | false | let generate_sha2_512 = mk_generate EverCrypt.HMAC.compute_sha2_512 | val generate_sha2_512: generate_st SHA2_512
let generate_sha2_512 = | false | null | false | mk_generate EverCrypt.HMAC.compute_sha2_512 | {
"checked_file": "EverCrypt.DRBG.fst.checked",
"dependencies": [
"Spec.HMAC_DRBG.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.RandomBuffer.System.fsti.checked",
"Lib.Memzero0.fsti.checked",
... | [
"total"
] | [
"EverCrypt.DRBG.mk_generate",
"Spec.Hash.Definitions.SHA2_512",
"EverCrypt.HMAC.compute_sha2_512"
] | [] | module EverCrypt.DRBG
open FStar.HyperStack.ST
open Lib.IntTypes
open Spec.Hash.Definitions
module HS = FStar.HyperStack
module B = LowStar.Buffer
module S = Spec.HMAC_DRBG
open Hacl.HMAC_DRBG
open Lib.RandomBuffer.System
open LowStar.BufferOps
friend Hacl.HMAC_DRBG
friend EverCrypt.HMAC
#set-options "--max_ifuel... | false | true | EverCrypt.DRBG.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 generate_sha2_512: generate_st SHA2_512 | [] | EverCrypt.DRBG.generate_sha2_512 | {
"file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | EverCrypt.DRBG.generate_st Spec.Hash.Definitions.SHA2_512 | {
"end_col": 67,
"end_line": 243,
"start_col": 24,
"start_line": 243
} |
Prims.Tot | val mk_uninstantiate: a:supported_alg -> uninstantiate_st a | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.RandomBuffer.System",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC_DRBG",
"short_module": null
},
{
"abbrev": true,
"f... | false | let mk_uninstantiate a st =
let st_s:state_s a = !*st in
let s:Hacl.HMAC_DRBG.state a = p st_s in
let k:B.buffer uint8 = s.k in
let v:B.buffer uint8 = s.v in
let ctr:B.buffer size_t = s.reseed_counter in
assert (B.disjoint k v /\ B.disjoint k ctr /\ B.disjoint v ctr);
assert (B.loc_disjoint (B.loc_addr_of... | val mk_uninstantiate: a:supported_alg -> uninstantiate_st a
let mk_uninstantiate a st = | false | null | false | let st_s:state_s a = !*st in
let s:Hacl.HMAC_DRBG.state a = p st_s in
let k:B.buffer uint8 = s.k in
let v:B.buffer uint8 = s.v in
let ctr:B.buffer size_t = s.reseed_counter in
assert (B.disjoint k v /\ B.disjoint k ctr /\ B.disjoint v ctr);
assert (B.loc_disjoint (B.loc_addr_of_buffer st) (footprint_s st_s));
Lib.Memze... | {
"checked_file": "EverCrypt.DRBG.fst.checked",
"dependencies": [
"Spec.HMAC_DRBG.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.RandomBuffer.System.fsti.checked",
"Lib.Memzero0.fsti.checked",
... | [
"total"
] | [
"Hacl.HMAC_DRBG.supported_alg",
"EverCrypt.DRBG.state",
"LowStar.Monotonic.Buffer.free",
"EverCrypt.DRBG.state_s",
"LowStar.Buffer.trivial_preorder",
"Prims.unit",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"LowStar.BufferOps.op_Array_A... | [] | module EverCrypt.DRBG
open FStar.HyperStack.ST
open Lib.IntTypes
open Spec.Hash.Definitions
module HS = FStar.HyperStack
module B = LowStar.Buffer
module S = Spec.HMAC_DRBG
open Hacl.HMAC_DRBG
open Lib.RandomBuffer.System
open LowStar.BufferOps
friend Hacl.HMAC_DRBG
friend EverCrypt.HMAC
#set-options "--max_ifuel... | false | false | EverCrypt.DRBG.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 mk_uninstantiate: a:supported_alg -> uninstantiate_st a | [] | EverCrypt.DRBG.mk_uninstantiate | {
"file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Hacl.HMAC_DRBG.supported_alg -> EverCrypt.DRBG.uninstantiate_st a | {
"end_col": 11,
"end_line": 263,
"start_col": 27,
"start_line": 249
} |
FStar.HyperStack.ST.StackInline | val alloca: a:supported_alg -> StackInline (state a)
(requires fun _ -> True)
(ensures fun h0 st h1 ->
B.modifies B.loc_none h0 h1 /\
B.fresh_loc (footprint st h1) h0 h1 /\
B.(loc_includes (loc_region_only true (HS.get_tip h1)) (footprint st h1)) /\
invariant st h1) | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.RandomBuffer.System",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC_DRBG",
"short_module": null
},
{
"abbrev": true,
"f... | false | let alloca a =
let st =
match a with
| SHA1 -> SHA1_s (alloca a)
| SHA2_256 -> SHA2_256_s (alloca a)
| SHA2_384 -> SHA2_384_s (alloca a)
| SHA2_512 -> SHA2_512_s (alloca a)
in
B.alloca st 1ul | val alloca: a:supported_alg -> StackInline (state a)
(requires fun _ -> True)
(ensures fun h0 st h1 ->
B.modifies B.loc_none h0 h1 /\
B.fresh_loc (footprint st h1) h0 h1 /\
B.(loc_includes (loc_region_only true (HS.get_tip h1)) (footprint st h1)) /\
invariant st h1)
let alloca a = | true | null | false | let st =
match a with
| SHA1 -> SHA1_s (alloca a)
| SHA2_256 -> SHA2_256_s (alloca a)
| SHA2_384 -> SHA2_384_s (alloca a)
| SHA2_512 -> SHA2_512_s (alloca a)
in
B.alloca st 1ul | {
"checked_file": "EverCrypt.DRBG.fst.checked",
"dependencies": [
"Spec.HMAC_DRBG.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.RandomBuffer.System.fsti.checked",
"Lib.Memzero0.fsti.checked",
... | [] | [
"Hacl.HMAC_DRBG.supported_alg",
"LowStar.Buffer.alloca",
"EverCrypt.DRBG.state_s",
"FStar.UInt32.__uint_to_t",
"LowStar.Monotonic.Buffer.mbuffer",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FStar.UInt32.v",
"Prims.b2t",
"Pr... | [] | module EverCrypt.DRBG
open FStar.HyperStack.ST
open Lib.IntTypes
open Spec.Hash.Definitions
module HS = FStar.HyperStack
module B = LowStar.Buffer
module S = Spec.HMAC_DRBG
open Hacl.HMAC_DRBG
open Lib.RandomBuffer.System
open LowStar.BufferOps
friend Hacl.HMAC_DRBG
friend EverCrypt.HMAC
#set-options "--max_ifuel... | false | false | EverCrypt.DRBG.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 alloca: a:supported_alg -> StackInline (state a)
(requires fun _ -> True)
(ensures fun h0 st h1 ->
B.modifies B.loc_none h0 h1 /\
B.fresh_loc (footprint st h1) h0 h1 /\
B.(loc_includes (loc_region_only true (HS.get_tip h1)) (footprint st h1)) /\
invariant st h1) | [] | EverCrypt.DRBG.alloca | {
"file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Hacl.HMAC_DRBG.supported_alg -> FStar.HyperStack.ST.StackInline (EverCrypt.DRBG.state a) | {
"end_col": 17,
"end_line": 78,
"start_col": 14,
"start_line": 70
} |
FStar.HyperStack.ST.ST | val create_in: a:supported_alg -> r:HS.rid -> ST (state a)
(requires fun _ -> is_eternal_region r)
(ensures fun h0 st h1 ->
B.modifies B.loc_none h0 h1 /\
B.fresh_loc (footprint st h1) h0 h1 /\
B.(loc_includes (loc_region_only true r) (footprint st h1)) /\
invariant st h1 /\
freeable st h1) | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.RandomBuffer.System",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC_DRBG",
"short_module": null
},
{
"abbrev": true,
"f... | false | let create_in a r =
let st =
match a with
| SHA1 -> SHA1_s (create_in SHA1 r)
| SHA2_256 -> SHA2_256_s (create_in SHA2_256 r)
| SHA2_384 -> SHA2_384_s (create_in SHA2_384 r)
| SHA2_512 -> SHA2_512_s (create_in SHA2_512 r)
in
B.malloc r st 1ul | val create_in: a:supported_alg -> r:HS.rid -> ST (state a)
(requires fun _ -> is_eternal_region r)
(ensures fun h0 st h1 ->
B.modifies B.loc_none h0 h1 /\
B.fresh_loc (footprint st h1) h0 h1 /\
B.(loc_includes (loc_region_only true r) (footprint st h1)) /\
invariant st h1 /\
freeable st h1)
let... | true | null | false | let st =
match a with
| SHA1 -> SHA1_s (create_in SHA1 r)
| SHA2_256 -> SHA2_256_s (create_in SHA2_256 r)
| SHA2_384 -> SHA2_384_s (create_in SHA2_384 r)
| SHA2_512 -> SHA2_512_s (create_in SHA2_512 r)
in
B.malloc r st 1ul | {
"checked_file": "EverCrypt.DRBG.fst.checked",
"dependencies": [
"Spec.HMAC_DRBG.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.RandomBuffer.System.fsti.checked",
"Lib.Memzero0.fsti.checked",
... | [] | [
"Hacl.HMAC_DRBG.supported_alg",
"FStar.Monotonic.HyperHeap.rid",
"LowStar.Buffer.malloc",
"EverCrypt.DRBG.state_s",
"FStar.UInt32.__uint_to_t",
"LowStar.Monotonic.Buffer.mbuffer",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FS... | [] | module EverCrypt.DRBG
open FStar.HyperStack.ST
open Lib.IntTypes
open Spec.Hash.Definitions
module HS = FStar.HyperStack
module B = LowStar.Buffer
module S = Spec.HMAC_DRBG
open Hacl.HMAC_DRBG
open Lib.RandomBuffer.System
open LowStar.BufferOps
friend Hacl.HMAC_DRBG
friend EverCrypt.HMAC
#set-options "--max_ifuel... | false | false | EverCrypt.DRBG.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 create_in: a:supported_alg -> r:HS.rid -> ST (state a)
(requires fun _ -> is_eternal_region r)
(ensures fun h0 st h1 ->
B.modifies B.loc_none h0 h1 /\
B.fresh_loc (footprint st h1) h0 h1 /\
B.(loc_includes (loc_region_only true r) (footprint st h1)) /\
invariant st h1 /\
freeable st h1) | [] | EverCrypt.DRBG.create_in | {
"file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Hacl.HMAC_DRBG.supported_alg -> r: FStar.Monotonic.HyperHeap.rid
-> FStar.HyperStack.ST.ST (EverCrypt.DRBG.state a) | {
"end_col": 19,
"end_line": 88,
"start_col": 19,
"start_line": 80
} |
Prims.Tot | val mk_reseed: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> reseed_st a | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.RandomBuffer.System",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC_DRBG",
"short_module": null
},
{
"abbrev": true,
"f... | false | let mk_reseed #a hmac st additional_input additional_input_len =
if additional_input_len >. max_additional_input_length then
false
else
let entropy_input_len = min_length a in
push_frame();
let entropy_input = B.alloca (u8 0) entropy_input_len in
let ok = randombytes entropy_input entropy_input_... | val mk_reseed: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> reseed_st a
let mk_reseed #a hmac st additional_input additional_input_len = | false | null | false | if additional_input_len >. max_additional_input_length
then false
else
let entropy_input_len = min_length a in
push_frame ();
let entropy_input = B.alloca (u8 0) entropy_input_len in
let ok = randombytes entropy_input entropy_input_len in
let result =
if not ok
then false
else
(S.hmac_input_... | {
"checked_file": "EverCrypt.DRBG.fst.checked",
"dependencies": [
"Spec.HMAC_DRBG.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.RandomBuffer.System.fsti.checked",
"Lib.Memzero0.fsti.checked",
... | [
"total"
] | [
"Hacl.HMAC_DRBG.supported_alg",
"EverCrypt.HMAC.compute_st",
"EverCrypt.DRBG.state",
"LowStar.Buffer.buffer",
"Lib.IntTypes.uint8",
"Lib.IntTypes.size_t",
"Lib.IntTypes.op_Greater_Dot",
"Lib.IntTypes.U32",
"Hacl.HMAC_DRBG.max_additional_input_length",
"Prims.bool",
"Prims.unit",
"FStar.HyperSt... | [] | module EverCrypt.DRBG
open FStar.HyperStack.ST
open Lib.IntTypes
open Spec.Hash.Definitions
module HS = FStar.HyperStack
module B = LowStar.Buffer
module S = Spec.HMAC_DRBG
open Hacl.HMAC_DRBG
open Lib.RandomBuffer.System
open LowStar.BufferOps
friend Hacl.HMAC_DRBG
friend EverCrypt.HMAC
#set-options "--max_ifuel... | false | false | EverCrypt.DRBG.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 mk_reseed: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> reseed_st a | [] | EverCrypt.DRBG.mk_reseed | {
"file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | hmac: EverCrypt.HMAC.compute_st a -> EverCrypt.DRBG.reseed_st a | {
"end_col": 10,
"end_line": 174,
"start_col": 2,
"start_line": 153
} |
Prims.Tot | val mk_instantiate: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> instantiate_st a | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.RandomBuffer.System",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC_DRBG",
"short_module": null
},
{
"abbrev": true,
"f... | false | let mk_instantiate #a hmac st personalization_string personalization_string_len =
if personalization_string_len >. max_personalization_string_length then
false
else
let entropy_input_len = min_length a in
let nonce_len = min_length a /. 2ul in
let min_entropy = entropy_input_len +! nonce_len in
... | val mk_instantiate: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> instantiate_st a
let mk_instantiate #a hmac st personalization_string personalization_string_len = | false | null | false | if personalization_string_len >. max_personalization_string_length
then false
else
let entropy_input_len = min_length a in
let nonce_len = min_length a /. 2ul in
let min_entropy = entropy_input_len +! nonce_len in
push_frame ();
assert_norm (range (v min_entropy) U32);
let entropy = B.alloca (u8 0) min_entr... | {
"checked_file": "EverCrypt.DRBG.fst.checked",
"dependencies": [
"Spec.HMAC_DRBG.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.RandomBuffer.System.fsti.checked",
"Lib.Memzero0.fsti.checked",
... | [
"total"
] | [
"Hacl.HMAC_DRBG.supported_alg",
"EverCrypt.HMAC.compute_st",
"EverCrypt.DRBG.state",
"LowStar.Buffer.buffer",
"Lib.IntTypes.uint8",
"Lib.IntTypes.size_t",
"Lib.IntTypes.op_Greater_Dot",
"Lib.IntTypes.U32",
"Hacl.HMAC_DRBG.max_personalization_string_length",
"Prims.bool",
"Prims.unit",
"FStar.H... | [] | module EverCrypt.DRBG
open FStar.HyperStack.ST
open Lib.IntTypes
open Spec.Hash.Definitions
module HS = FStar.HyperStack
module B = LowStar.Buffer
module S = Spec.HMAC_DRBG
open Hacl.HMAC_DRBG
open Lib.RandomBuffer.System
open LowStar.BufferOps
friend Hacl.HMAC_DRBG
friend EverCrypt.HMAC
#set-options "--max_ifuel... | false | false | EverCrypt.DRBG.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 mk_instantiate: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> instantiate_st a | [] | EverCrypt.DRBG.mk_instantiate | {
"file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | hmac: EverCrypt.HMAC.compute_st a -> EverCrypt.DRBG.instantiate_st a | {
"end_col": 10,
"end_line": 124,
"start_col": 2,
"start_line": 97
} |
Prims.Tot | val mk_generate: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> generate_st a | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.RandomBuffer.System",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC_DRBG",
"short_module": null
},
{
"abbrev": true,
"f... | false | let mk_generate #a hmac output st n additional_input additional_input_len =
if additional_input_len >. max_additional_input_length || n >. max_output_length then
false
else (
push_frame();
let ok = mk_reseed hmac st additional_input additional_input_len in
let result =
if not ok then
false
e... | val mk_generate: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> generate_st a
let mk_generate #a hmac output st n additional_input additional_input_len = | false | null | false | if additional_input_len >. max_additional_input_length || n >. max_output_length
then false
else
(push_frame ();
let ok = mk_reseed hmac st additional_input additional_input_len in
let result =
if not ok
then false
else
let st_s = !*st in
let b = mk_generate hmac output (p st... | {
"checked_file": "EverCrypt.DRBG.fst.checked",
"dependencies": [
"Spec.HMAC_DRBG.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.RandomBuffer.System.fsti.checked",
"Lib.Memzero0.fsti.checked",
... | [
"total"
] | [
"Hacl.HMAC_DRBG.supported_alg",
"EverCrypt.HMAC.compute_st",
"LowStar.Buffer.buffer",
"Lib.IntTypes.uint8",
"EverCrypt.DRBG.state",
"Lib.IntTypes.size_t",
"Prims.op_BarBar",
"Lib.IntTypes.op_Greater_Dot",
"Lib.IntTypes.U32",
"Hacl.HMAC_DRBG.max_additional_input_length",
"Hacl.HMAC_DRBG.max_outpu... | [] | module EverCrypt.DRBG
open FStar.HyperStack.ST
open Lib.IntTypes
open Spec.Hash.Definitions
module HS = FStar.HyperStack
module B = LowStar.Buffer
module S = Spec.HMAC_DRBG
open Hacl.HMAC_DRBG
open Lib.RandomBuffer.System
open LowStar.BufferOps
friend Hacl.HMAC_DRBG
friend EverCrypt.HMAC
#set-options "--max_ifuel... | false | false | EverCrypt.DRBG.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 mk_generate: #a:supported_alg -> EverCrypt.HMAC.compute_st a -> generate_st a | [] | EverCrypt.DRBG.mk_generate | {
"file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | hmac: EverCrypt.HMAC.compute_st a -> EverCrypt.DRBG.generate_st a | {
"end_col": 10,
"end_line": 222,
"start_col": 2,
"start_line": 202
} |
Prims.Tot | val sealBase: sealBase_st cs True | [
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.AEAD",
"short_module": "IAEAD"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.Hash",
"short_module": "IHash"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.HKDF",
"short_module": "IHK"
},
{
... | false | let sealBase = hpke_sealBase_higher #cs True IAEAD.aead_encrypt_cp256 setupBaseS | val sealBase: sealBase_st cs True
let sealBase = | false | null | false | hpke_sealBase_higher #cs True IAEAD.aead_encrypt_cp256 setupBaseS | {
"checked_file": "Hacl.HPKE.P256_CP256_SHA256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.HPKE.Interface.HKDF.fst.checked",
"Hacl.HPKE.Interface.Hash.fst.checked",
"Hacl.HPKE.Interface.DH.fst.checked",
"Hacl.HPKE... | [
"total"
] | [
"Hacl.Meta.HPKE.hpke_sealBase_higher",
"Hacl.HPKE.P256_CP256_SHA256.cs",
"Prims.l_True",
"Hacl.HPKE.Interface.AEAD.aead_encrypt_cp256",
"Hacl.HPKE.P256_CP256_SHA256.setupBaseS"
] | [] | module Hacl.HPKE.P256_CP256_SHA256
open Hacl.Meta.HPKE
module IDH = Hacl.HPKE.Interface.DH
module IHK = Hacl.HPKE.Interface.HKDF
module IHash = Hacl.HPKE.Interface.Hash
module IAEAD = Hacl.HPKE.Interface.AEAD
friend Hacl.Meta.HPKE
#set-options "--fuel 0 --ifuel 0"
let setupBaseS = hpke_setupBaseS_higher #cs True I... | false | true | Hacl.HPKE.P256_CP256_SHA256.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 sealBase: sealBase_st cs True | [] | Hacl.HPKE.P256_CP256_SHA256.sealBase | {
"file_name": "code/hpke/Hacl.HPKE.P256_CP256_SHA256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.HPKE.sealBase_st Hacl.HPKE.P256_CP256_SHA256.cs Prims.l_True | {
"end_col": 80,
"end_line": 18,
"start_col": 15,
"start_line": 18
} |
Prims.Tot | val openBase: openBase_st cs True | [
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.AEAD",
"short_module": "IAEAD"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.Hash",
"short_module": "IHash"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.HKDF",
"short_module": "IHK"
},
{
... | false | let openBase = hpke_openBase_higher #cs True IAEAD.aead_decrypt_cp256 setupBaseR | val openBase: openBase_st cs True
let openBase = | false | null | false | hpke_openBase_higher #cs True IAEAD.aead_decrypt_cp256 setupBaseR | {
"checked_file": "Hacl.HPKE.P256_CP256_SHA256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.HPKE.Interface.HKDF.fst.checked",
"Hacl.HPKE.Interface.Hash.fst.checked",
"Hacl.HPKE.Interface.DH.fst.checked",
"Hacl.HPKE... | [
"total"
] | [
"Hacl.Meta.HPKE.hpke_openBase_higher",
"Hacl.HPKE.P256_CP256_SHA256.cs",
"Prims.l_True",
"Hacl.HPKE.Interface.AEAD.aead_decrypt_cp256",
"Hacl.HPKE.P256_CP256_SHA256.setupBaseR"
] | [] | module Hacl.HPKE.P256_CP256_SHA256
open Hacl.Meta.HPKE
module IDH = Hacl.HPKE.Interface.DH
module IHK = Hacl.HPKE.Interface.HKDF
module IHash = Hacl.HPKE.Interface.Hash
module IAEAD = Hacl.HPKE.Interface.AEAD
friend Hacl.Meta.HPKE
#set-options "--fuel 0 --ifuel 0"
let setupBaseS = hpke_setupBaseS_higher #cs True I... | false | true | Hacl.HPKE.P256_CP256_SHA256.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 openBase: openBase_st cs True | [] | Hacl.HPKE.P256_CP256_SHA256.openBase | {
"file_name": "code/hpke/Hacl.HPKE.P256_CP256_SHA256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.HPKE.openBase_st Hacl.HPKE.P256_CP256_SHA256.cs Prims.l_True | {
"end_col": 80,
"end_line": 20,
"start_col": 15,
"start_line": 20
} |
Prims.Tot | val setupBaseS: setupBaseS_st cs True | [
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.AEAD",
"short_module": "IAEAD"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.Hash",
"short_module": "IHash"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.HKDF",
"short_module": "IHK"
},
{
... | false | let setupBaseS = hpke_setupBaseS_higher #cs True IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.secret_to_public_p256 IDH.dh_p256 IHK.hkdf_expand256 IHK.hkdf_extract256 | val setupBaseS: setupBaseS_st cs True
let setupBaseS = | false | null | false | hpke_setupBaseS_higher #cs
True
IHK.hkdf_expand256
IHK.hkdf_extract256
IDH.secret_to_public_p256
IDH.dh_p256
IHK.hkdf_expand256
IHK.hkdf_extract256 | {
"checked_file": "Hacl.HPKE.P256_CP256_SHA256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.HPKE.Interface.HKDF.fst.checked",
"Hacl.HPKE.Interface.Hash.fst.checked",
"Hacl.HPKE.Interface.DH.fst.checked",
"Hacl.HPKE... | [
"total"
] | [
"Hacl.Meta.HPKE.hpke_setupBaseS_higher",
"Hacl.HPKE.P256_CP256_SHA256.cs",
"Prims.l_True",
"Hacl.HPKE.Interface.HKDF.hkdf_expand256",
"Hacl.HPKE.Interface.HKDF.hkdf_extract256",
"Hacl.HPKE.Interface.DH.secret_to_public_p256",
"Hacl.HPKE.Interface.DH.dh_p256"
] | [] | module Hacl.HPKE.P256_CP256_SHA256
open Hacl.Meta.HPKE
module IDH = Hacl.HPKE.Interface.DH
module IHK = Hacl.HPKE.Interface.HKDF
module IHash = Hacl.HPKE.Interface.Hash
module IAEAD = Hacl.HPKE.Interface.AEAD
friend Hacl.Meta.HPKE
#set-options "--fuel 0 --ifuel 0" | false | true | Hacl.HPKE.P256_CP256_SHA256.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 setupBaseS: setupBaseS_st cs True | [] | Hacl.HPKE.P256_CP256_SHA256.setupBaseS | {
"file_name": "code/hpke/Hacl.HPKE.P256_CP256_SHA256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.HPKE.setupBaseS_st Hacl.HPKE.P256_CP256_SHA256.cs Prims.l_True | {
"end_col": 164,
"end_line": 14,
"start_col": 17,
"start_line": 14
} |
Prims.Tot | val setupBaseR: setupBaseR_st cs True | [
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.AEAD",
"short_module": "IAEAD"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.Hash",
"short_module": "IHash"
},
{
"abbrev": true,
"full_module": "Hacl.HPKE.Interface.HKDF",
"short_module": "IHK"
},
{
... | false | let setupBaseR = hpke_setupBaseR_higher #cs True IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.dh_p256 IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.secret_to_public_p256 | val setupBaseR: setupBaseR_st cs True
let setupBaseR = | false | null | false | hpke_setupBaseR_higher #cs
True
IHK.hkdf_expand256
IHK.hkdf_extract256
IDH.dh_p256
IHK.hkdf_expand256
IHK.hkdf_extract256
IDH.secret_to_public_p256 | {
"checked_file": "Hacl.HPKE.P256_CP256_SHA256.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.Meta.HPKE.fst.checked",
"Hacl.HPKE.Interface.HKDF.fst.checked",
"Hacl.HPKE.Interface.Hash.fst.checked",
"Hacl.HPKE.Interface.DH.fst.checked",
"Hacl.HPKE... | [
"total"
] | [
"Hacl.Meta.HPKE.hpke_setupBaseR_higher",
"Hacl.HPKE.P256_CP256_SHA256.cs",
"Prims.l_True",
"Hacl.HPKE.Interface.HKDF.hkdf_expand256",
"Hacl.HPKE.Interface.HKDF.hkdf_extract256",
"Hacl.HPKE.Interface.DH.dh_p256",
"Hacl.HPKE.Interface.DH.secret_to_public_p256"
] | [] | module Hacl.HPKE.P256_CP256_SHA256
open Hacl.Meta.HPKE
module IDH = Hacl.HPKE.Interface.DH
module IHK = Hacl.HPKE.Interface.HKDF
module IHash = Hacl.HPKE.Interface.Hash
module IAEAD = Hacl.HPKE.Interface.AEAD
friend Hacl.Meta.HPKE
#set-options "--fuel 0 --ifuel 0"
let setupBaseS = hpke_setupBaseS_higher #cs True I... | false | true | Hacl.HPKE.P256_CP256_SHA256.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 setupBaseR: setupBaseR_st cs True | [] | Hacl.HPKE.P256_CP256_SHA256.setupBaseR | {
"file_name": "code/hpke/Hacl.HPKE.P256_CP256_SHA256.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Impl.HPKE.setupBaseR_st Hacl.HPKE.P256_CP256_SHA256.cs Prims.l_True | {
"end_col": 164,
"end_line": 16,
"start_col": 17,
"start_line": 16
} |
Prims.Tot | val parse_der_length_payload_kind_weak:parser_kind | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_der_length_payload_kind_weak : parser_kind =
strong_parser_kind 0 126 None | val parse_der_length_payload_kind_weak:parser_kind
let parse_der_length_payload_kind_weak:parser_kind = | false | null | false | strong_parser_kind 0 126 None | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.Base.strong_parser_kind",
"FStar.Pervasives.Native.None",
"LowParse.Spec.Base.parser_kind_metadata_some"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | true | LowParse.Spec.DER.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 parse_der_length_payload_kind_weak:parser_kind | [] | LowParse.Spec.DER.parse_der_length_payload_kind_weak | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | LowParse.Spec.Base.parser_kind | {
"end_col": 31,
"end_line": 215,
"start_col": 2,
"start_line": 215
} |
Prims.Tot | val parse_bounded_der_length_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_kind
(min: der_length_t)
(max: der_length_t { min <= max } )
: Tot parser_kind
= and_then_kind
(parse_filter_kind parse_u8_kind)
(parse_bounded_der_length_payload_kind min max) | val parse_bounded_der_length_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind
let parse_bounded_der_length_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind = | false | null | false | and_then_kind (parse_filter_kind parse_u8_kind) (parse_bounded_der_length_payload_kind min max) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.Combinators.and_then_kind",
"LowParse.Spec.Combinators.parse_filter_kind",
"LowParse.Spec.Int.parse_u8_kind",
"LowParse.Spec.DER.parse_bounded_der_length_payload_kind",
"LowParse.Spec.Base.parser_kind"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind | [] | LowParse.Spec.DER.parse_bounded_der_length_kind | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max}
-> LowParse.Spec.Base.parser_kind | {
"end_col": 51,
"end_line": 274,
"start_col": 2,
"start_line": 272
} |
Prims.Tot | val parse_bounded_der_length_tag_cond (min: der_length_t) (max: der_length_t{min <= max}) (x: U8.t)
: Tot bool | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_tag_cond
(min: der_length_t)
(max: der_length_t { min <= max })
(x: U8.t)
: Tot bool
= let len = der_length_payload_size_of_tag x in der_length_payload_size min <= len && len <= der_length_payload_size max | val parse_bounded_der_length_tag_cond (min: der_length_t) (max: der_length_t{min <= max}) (x: U8.t)
: Tot bool
let parse_bounded_der_length_tag_cond (min: der_length_t) (max: der_length_t{min <= max}) (x: U8.t)
: Tot bool = | false | null | false | let len = der_length_payload_size_of_tag x in
der_length_payload_size min <= len && len <= der_length_payload_size max | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt8.t",
"Prims.op_AmpAmp",
"LowParse.Spec.DER.der_length_payload_size",
"Prims.nat",
"LowParse.Spec.DER.der_length_payload_size_of_tag",
"Prims.bool"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_tag_cond (min: der_length_t) (max: der_length_t{min <= max}) (x: U8.t)
: Tot bool | [] | LowParse.Spec.DER.parse_bounded_der_length_tag_cond | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
x: FStar.UInt8.t
-> Prims.bool | {
"end_col": 120,
"end_line": 245,
"start_col": 1,
"start_line": 245
} |
Prims.Tot | val parse_der_length_weak_kind:parser_kind | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_der_length_weak_kind : parser_kind = and_then_kind parse_u8_kind parse_der_length_payload_kind_weak | val parse_der_length_weak_kind:parser_kind
let parse_der_length_weak_kind:parser_kind = | false | null | false | and_then_kind parse_u8_kind parse_der_length_payload_kind_weak | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.Combinators.and_then_kind",
"LowParse.Spec.Int.parse_u8_kind",
"LowParse.Spec.DER.parse_der_length_payload_kind_weak"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | true | LowParse.Spec.DER.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 parse_der_length_weak_kind:parser_kind | [] | LowParse.Spec.DER.parse_der_length_weak_kind | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | LowParse.Spec.Base.parser_kind | {
"end_col": 109,
"end_line": 218,
"start_col": 47,
"start_line": 218
} |
Prims.Tot | val der_length_max_eq : squash (der_length_max == pow2 (8 * 126) - 1) | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "Math"
},
{
"abbrev": true,
"full_module": "FSt... | false | let der_length_max_eq =
assert_norm (der_length_max == pow2 (8 * 126) - 1) | val der_length_max_eq : squash (der_length_max == pow2 (8 * 126) - 1)
let der_length_max_eq = | false | null | true | assert_norm (der_length_max == pow2 (8 * 126) - 1) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"LowParse.Spec.DER.der_length_max",
"Prims.op_Subtraction",
"Prims.pow2",
"FStar.Mul.op_Star"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 der_length_max_eq : squash (der_length_max == pow2 (8 * 126) - 1) | [] | LowParse.Spec.DER.der_length_max_eq | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Prims.squash (LowParse.Spec.DER.der_length_max == Prims.pow2 (8 * 126) - 1) | {
"end_col": 52,
"end_line": 19,
"start_col": 2,
"start_line": 19
} |
FStar.Pervasives.Lemma | val synth_be_int_injective (len: nat)
: Lemma (synth_injective (synth_be_int len)) [SMTPat (synth_injective (synth_be_int len))] | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let synth_be_int_injective
(len: nat)
: Lemma
(synth_injective (synth_be_int len))
[SMTPat (synth_injective (synth_be_int len))]
=
synth_injective_intro' (synth_be_int len) (fun (x x' : Seq.lseq byte len) ->
E.be_to_n_inj x x'
) | val synth_be_int_injective (len: nat)
: Lemma (synth_injective (synth_be_int len)) [SMTPat (synth_injective (synth_be_int len))]
let synth_be_int_injective (len: nat)
: Lemma (synth_injective (synth_be_int len)) [SMTPat (synth_injective (synth_be_int len))] = | false | null | true | synth_injective_intro' (synth_be_int len)
(fun (x: Seq.lseq byte len) (x': Seq.lseq byte len) -> E.be_to_n_inj x x') | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"Prims.nat",
"LowParse.Spec.Combinators.synth_injective_intro'",
"FStar.Seq.Properties.lseq",
"LowParse.Bytes.byte",
"LowParse.Spec.DER.lint",
"LowParse.Spec.DER.synth_be_int",
"FStar.Endianness.be_to_n_inj",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"LowParse.Spec.Combinators.synth_injectiv... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_be_int_injective (len: nat)
: Lemma (synth_injective (synth_be_int len)) [SMTPat (synth_injective (synth_be_int len))] | [] | LowParse.Spec.DER.synth_be_int_injective | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | len: Prims.nat
-> FStar.Pervasives.Lemma
(ensures LowParse.Spec.Combinators.synth_injective (LowParse.Spec.DER.synth_be_int len))
[SMTPat (LowParse.Spec.Combinators.synth_injective (LowParse.Spec.DER.synth_be_int len))] | {
"end_col": 3,
"end_line": 73,
"start_col": 2,
"start_line": 71
} |
Prims.Tot | val synth_be_int (len: nat) (b: Seq.lseq byte len) : Tot (lint len) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let synth_be_int
(len: nat)
(b: Seq.lseq byte len)
: Tot (lint len)
= E.lemma_be_to_n_is_bounded b;
E.be_to_n b | val synth_be_int (len: nat) (b: Seq.lseq byte len) : Tot (lint len)
let synth_be_int (len: nat) (b: Seq.lseq byte len) : Tot (lint len) = | false | null | false | E.lemma_be_to_n_is_bounded b;
E.be_to_n b | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"Prims.nat",
"FStar.Seq.Properties.lseq",
"LowParse.Bytes.byte",
"FStar.Endianness.be_to_n",
"Prims.unit",
"FStar.Endianness.lemma_be_to_n_is_bounded",
"LowParse.Spec.DER.lint"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_be_int (len: nat) (b: Seq.lseq byte len) : Tot (lint len) | [] | LowParse.Spec.DER.synth_be_int | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | len: Prims.nat -> b: FStar.Seq.Properties.lseq LowParse.Bytes.byte len -> LowParse.Spec.DER.lint len | {
"end_col": 13,
"end_line": 63,
"start_col": 2,
"start_line": 62
} |
Prims.Tot | val parse_bounded_der_length_payload_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_payload_kind
(min: der_length_t)
(max: der_length_t { min <= max } )
: Tot parser_kind =
[@inline_let] let _ = der_length_payload_size_le min max in
strong_parser_kind (der_length_payload_size min) (der_length_payload_size max) None | val parse_bounded_der_length_payload_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind
let parse_bounded_der_length_payload_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind = | false | null | false | [@@ inline_let ]let _ = der_length_payload_size_le min max in
strong_parser_kind (der_length_payload_size min) (der_length_payload_size max) None | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.Base.strong_parser_kind",
"LowParse.Spec.DER.der_length_payload_size",
"FStar.Pervasives.Native.None",
"LowParse.Spec.Base.parser_kind_metadata_some",
"Prims.unit",
"LowParse.Spec.DER.der_length_payload_size_le... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_payload_kind (min: der_length_t) (max: der_length_t{min <= max})
: Tot parser_kind | [] | LowParse.Spec.DER.parse_bounded_der_length_payload_kind | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max}
-> LowParse.Spec.Base.parser_kind | {
"end_col": 85,
"end_line": 232,
"start_col": 2,
"start_line": 231
} |
Prims.Tot | val parse_der_length_payload32
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length32 x)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let parse_der_length_payload32
x
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length32 x))
= parse_der_length_payload x `parse_synth` synth_der_length_payload32 x | val parse_der_length_payload32
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length32 x))
let parse_der_length_payload32 x
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length32 x)) = | false | null | false | (parse_der_length_payload x) `parse_synth` (synth_der_length_payload32 x) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.UInt8.t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_payload_size_of_tag",
"LowParse.Spec.Combinators.parse_synth",
"LowParse.Spec.DER.parse_der_length_payload_kind",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_der_length_payload32
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length32 x)) | [] | LowParse.Spec.DER.parse_der_length_payload32 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt8.t{LowParse.Spec.DER.der_length_payload_size_of_tag x <= 4}
-> LowParse.Spec.Base.parser (LowParse.Spec.DER.parse_der_length_payload_kind x)
(LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length32 x) | {
"end_col": 71,
"end_line": 827,
"start_col": 2,
"start_line": 827
} |
Prims.Tot | val serialize_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length min max)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let serialize_bounded_der_length
(min: der_length_t)
(max: der_length_t { min <= max })
: Tot (serializer (parse_bounded_der_length min max))
= Classical.forall_intro (parse_bounded_der_length_eq min max);
serialize_ext
_
(serialize_bounded_der_length_weak min max)
(parse_bounded_der_length min max) | val serialize_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length min max))
let serialize_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length min max)) = | false | null | false | Classical.forall_intro (parse_bounded_der_length_eq min max);
serialize_ext _ (serialize_bounded_der_length_weak min max) (parse_bounded_der_length min max) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.Base.serialize_ext",
"LowParse.Spec.Combinators.parse_filter_kind",
"LowParse.Spec.DER.parse_der_length_weak_kind",
"LowParse.Spec.DER.bounded_int",
"LowParse.Spec.DER.parse_bounded_der_length_weak",
"LowParse.... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length min max)) | [] | LowParse.Spec.DER.serialize_bounded_der_length | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max}
-> LowParse.Spec.Base.serializer (LowParse.Spec.DER.parse_bounded_der_length min max) | {
"end_col": 38,
"end_line": 715,
"start_col": 2,
"start_line": 711
} |
Prims.Tot | val tag_of_bounded_der_length
(min: der_length_t)
(max: der_length_t{min <= max})
(x: bounded_int min max)
: Tot (y: U8.t{parse_bounded_der_length_tag_cond min max y == true}) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let tag_of_bounded_der_length
(min: der_length_t)
(max: der_length_t { min <= max })
(x: bounded_int min max)
: Tot (y: U8.t { parse_bounded_der_length_tag_cond min max y == true } )
= [@inline_let]
let _ = der_length_payload_size_le min x; der_length_payload_size_le x max in
tag_of_der_length x | val tag_of_bounded_der_length
(min: der_length_t)
(max: der_length_t{min <= max})
(x: bounded_int min max)
: Tot (y: U8.t{parse_bounded_der_length_tag_cond min max y == true})
let tag_of_bounded_der_length
(min: der_length_t)
(max: der_length_t{min <= max})
(x: bounded_int min ma... | false | null | false | [@@ inline_let ]let _ =
der_length_payload_size_le min x;
der_length_payload_size_le x max
in
tag_of_der_length x | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.bounded_int",
"LowParse.Spec.DER.tag_of_der_length",
"Prims.unit",
"LowParse.Spec.DER.der_length_payload_size_le",
"FStar.UInt8.t",
"Prims.eq2",
"Prims.bool",
"LowParse.Spec.DER.parse_bounded_der_length... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 tag_of_bounded_der_length
(min: der_length_t)
(max: der_length_t{min <= max})
(x: bounded_int min max)
: Tot (y: U8.t{parse_bounded_der_length_tag_cond min max y == true}) | [] | LowParse.Spec.DER.tag_of_bounded_der_length | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
x: LowParse.Spec.DER.bounded_int min max
-> y: FStar.UInt8.t{LowParse.Spec.DER.parse_bounded_der_length_tag_cond min max y == true} | {
"end_col": 21,
"end_line": 255,
"start_col": 2,
"start_line": 253
} |
Prims.Tot | val parse_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_bounded_der_length_kind min max) (bounded_int min max)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length
(min: der_length_t)
(max: der_length_t { min <= max })
: Tot (parser (parse_bounded_der_length_kind min max) (bounded_int min max))
= parse_tagged_union
(parse_u8 `parse_filter` parse_bounded_der_length_tag_cond min max)
(tag_of_bounded_der_length min max)
(parse_bounded_der... | val parse_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_bounded_der_length_kind min max) (bounded_int min max))
let parse_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_bounded_der_length_kind min max) (bounded_int min ma... | false | null | false | parse_tagged_union (parse_u8 `parse_filter` (parse_bounded_der_length_tag_cond min max))
(tag_of_bounded_der_length min max)
(parse_bounded_der_length_payload min max) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.Combinators.parse_tagged_union",
"LowParse.Spec.Combinators.parse_filter_kind",
"LowParse.Spec.Int.parse_u8_kind",
"LowParse.Spec.Combinators.parse_filter_refine",
"FStar.UInt8.t",
"LowParse.Spec.DER.parse_boun... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_bounded_der_length_kind min max) (bounded_int min max)) | [] | LowParse.Spec.DER.parse_bounded_der_length | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max}
-> LowParse.Spec.Base.parser (LowParse.Spec.DER.parse_bounded_der_length_kind min max)
(LowParse.Spec.DER.bounded_int min max) | {
"end_col": 46,
"end_line": 283,
"start_col": 2,
"start_line": 280
} |
FStar.Pervasives.Lemma | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let tag_of_der_length_eq_129_eta (x:U8.t{U8.v x == 129}) =
fun (y: refine_with_tag tag_of_der_length x) -> tag_of_der_length_eq_129 y <: Lemma (synth_der_length_129 x (synth_der_length_129_recip x y) == y) | let tag_of_der_length_eq_129_eta (x: U8.t{U8.v x == 129}) = | false | null | true | fun (y: refine_with_tag tag_of_der_length x) ->
tag_of_der_length_eq_129 y <: Lemma (synth_der_length_129 x (synth_der_length_129_recip x y) == y) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"FStar.UInt8.t",
"Prims.eq2",
"Prims.int",
"FStar.UInt8.v",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.DER.tag_of_der_length_eq_129",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"LowParse.Spec.DER.synth_der_le... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 tag_of_der_length_eq_129_eta : x: FStar.UInt8.t{FStar.UInt8.v x == 129} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.DER.synth_der_length_129 x (LowParse.Spec.DER.synth_der_length_129_recip x y) ==
y) | [] | LowParse.Spec.DER.tag_of_der_length_eq_129_eta | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{FStar.UInt8.v x == 129} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.DER.synth_der_length_129 x (LowParse.Spec.DER.synth_der_length_129_recip x y) ==
y) | {
"end_col": 148,
"end_line": 532,
"start_col": 2,
"start_line": 532
} | |
Prims.Tot | val parse_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_filter_kind parse_der_length_weak_kind) (bounded_int min max)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_weak
(min: der_length_t)
(max: der_length_t { min <= max })
: Tot (parser (parse_filter_kind parse_der_length_weak_kind) (bounded_int min max))
= parse_der_length_weak
`parse_filter` (fun y -> min <= y && y <= max)
`parse_synth` (fun (y: der_length_t {min <= y && y <= max}) -> (... | val parse_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_filter_kind parse_der_length_weak_kind) (bounded_int min max))
let parse_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_filter_kind parse_der_length_weak_k... | false | null | false | (parse_der_length_weak `parse_filter` (fun y -> min <= y && y <= max))
`parse_synth`
(fun (y: der_length_t{min <= y && y <= max}) -> (y <: bounded_int min max)) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.Combinators.parse_synth",
"LowParse.Spec.Combinators.parse_filter_kind",
"LowParse.Spec.DER.parse_der_length_weak_kind",
"LowParse.Spec.Combinators.parse_filter_refine",
"Prims.op_AmpAmp",
"Prims.bool",
"LowP... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (parser (parse_filter_kind parse_der_length_weak_kind) (bounded_int min max)) | [] | LowParse.Spec.DER.parse_bounded_der_length_weak | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max}
-> LowParse.Spec.Base.parser (LowParse.Spec.Combinators.parse_filter_kind LowParse.Spec.DER.parse_der_length_weak_kind
)
(LowParse.Spec.DER.bounded_int min max) | {
"end_col": 94,
"end_line": 372,
"start_col": 2,
"start_line": 370
} |
Prims.GTot | val synth_der_length_129_recip (x: U8.t{x == 129uy}) (y: refine_with_tag tag_of_der_length x)
: GTot (y: U8.t{U8.v y >= 128}) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let synth_der_length_129_recip
(x: U8.t { x == 129uy })
(y: refine_with_tag tag_of_der_length x)
: GTot (y: U8.t {U8.v y >= 128})
= tag_of_der_length_eq_129 y;
U8.uint_to_t y | val synth_der_length_129_recip (x: U8.t{x == 129uy}) (y: refine_with_tag tag_of_der_length x)
: GTot (y: U8.t{U8.v y >= 128})
let synth_der_length_129_recip (x: U8.t{x == 129uy}) (y: refine_with_tag tag_of_der_length x)
: GTot (y: U8.t{U8.v y >= 128}) = | false | null | false | tag_of_der_length_eq_129 y;
U8.uint_to_t y | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"sometrivial"
] | [
"FStar.UInt8.t",
"Prims.eq2",
"FStar.UInt8.__uint_to_t",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"FStar.UInt8.uint_to_t",
"Prims.unit",
"LowParse.Spec.DER.tag_of_der_length_eq_129",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_der_length_129_recip (x: U8.t{x == 129uy}) (y: refine_with_tag tag_of_der_length x)
: GTot (y: U8.t{U8.v y >= 128}) | [] | LowParse.Spec.DER.synth_der_length_129_recip | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{x == 129uy} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> Prims.GTot (y: FStar.UInt8.t{FStar.UInt8.v y >= 128}) | {
"end_col": 16,
"end_line": 467,
"start_col": 2,
"start_line": 466
} |
FStar.Pervasives.Lemma | val log256_le
(x1 x2: nat)
: Lemma
(requires (0 < x1 /\ x1 <= x2))
(ensures (log256 x1 <= log256 x2)) | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "Math"
},
{
"abbrev": true,
"full_module": "FSt... | false | let log256_le
x1
x2
= Math.pow2_lt_recip (8 * (log256 x1 - 1)) (8 * log256 x2) | val log256_le
(x1 x2: nat)
: Lemma
(requires (0 < x1 /\ x1 <= x2))
(ensures (log256 x1 <= log256 x2))
let log256_le x1 x2 = | false | null | true | Math.pow2_lt_recip (8 * (log256 x1 - 1)) (8 * log256 x2) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"Prims.nat",
"LowParse.Math.pow2_lt_recip",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"LowParse.Spec.DER.log256",
"Prims.unit"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 log256_le
(x1 x2: nat)
: Lemma
(requires (0 < x1 /\ x1 <= x2))
(ensures (log256 x1 <= log256 x2)) | [] | LowParse.Spec.DER.log256_le | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x1: Prims.nat -> x2: Prims.nat
-> FStar.Pervasives.Lemma (requires 0 < x1 /\ x1 <= x2)
(ensures LowParse.Spec.DER.log256 x1 <= LowParse.Spec.DER.log256 x2) | {
"end_col": 58,
"end_line": 43,
"start_col": 2,
"start_line": 43
} |
FStar.Pervasives.Lemma | val parse_bounded_der_length_eq (min: der_length_t) (max: der_length_t{min <= max}) (input: bytes)
: Lemma
(ensures
(parse (parse_bounded_der_length min max) input ==
parse (parse_bounded_der_length_weak min max) input)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_eq
(min: der_length_t)
(max: der_length_t { min <= max })
(input: bytes)
: Lemma
(ensures (parse (parse_bounded_der_length min max) input == parse (parse_bounded_der_length_weak min max) input))
= parse_bounded_der_length_unfold min max input;
parse_bounded_der_length_weak_unfold ... | val parse_bounded_der_length_eq (min: der_length_t) (max: der_length_t{min <= max}) (input: bytes)
: Lemma
(ensures
(parse (parse_bounded_der_length min max) input ==
parse (parse_bounded_der_length_weak min max) input))
let parse_bounded_der_length_eq (min: der_length_t) (max: der_length_t{min <=... | false | null | true | parse_bounded_der_length_unfold min max input;
parse_bounded_der_length_weak_unfold min max input;
match parse parse_u8 input with
| None -> ()
| Some (x, consumed_x) ->
let input' = Seq.slice input consumed_x (Seq.length input) in
match parse (parse_der_length_payload x) input' with
| None -> ()
| Some (y, con... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Bytes.bytes",
"LowParse.Spec.Base.parse",
"FStar.UInt8.t",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.Base.consumed_length",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.tag_of_der_length",
"LowPar... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_eq (min: der_length_t) (max: der_length_t{min <= max}) (input: bytes)
: Lemma
(ensures
(parse (parse_bounded_der_length min max) input ==
parse (parse_bounded_der_length_weak min max) input)) | [] | LowParse.Spec.DER.parse_bounded_der_length_eq | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.parse (LowParse.Spec.DER.parse_bounded_der_length min max) input ==
LowParse.Spec.Base.parse (LowParse.Spec.DER.parse... | {
"end_col": 9,
"end_line": 422,
"start_col": 2,
"start_line": 410
} |
Prims.Tot | val serialize_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length_weak min max)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let serialize_bounded_der_length_weak
(min: der_length_t)
(max: der_length_t { min <= max })
: Tot (serializer (parse_bounded_der_length_weak min max))
= serialize_synth
_
(fun (y: der_length_t {min <= y && y <= max}) -> (y <: bounded_int min max))
(serialize_filter
serialize_der_length_weak
... | val serialize_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length_weak min max))
let serialize_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length_weak min max)) = | false | null | false | serialize_synth _
(fun (y: der_length_t{min <= y && y <= max}) -> (y <: bounded_int min max))
(serialize_filter serialize_der_length_weak (fun y -> min <= y && y <= max))
(fun (y: bounded_int min max) -> (y <: (y: der_length_t{min <= y && y <= max})))
() | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.Combinators.serialize_synth",
"LowParse.Spec.Combinators.parse_filter_kind",
"LowParse.Spec.DER.parse_der_length_weak_kind",
"Prims.op_AmpAmp",
"LowParse.Spec.DER.bounded_int",
"LowParse.Spec.Combinators.parse_... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_bounded_der_length_weak (min: der_length_t) (max: der_length_t{min <= max})
: Tot (serializer (parse_bounded_der_length_weak min max)) | [] | LowParse.Spec.DER.serialize_bounded_der_length_weak | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max}
-> LowParse.Spec.Base.serializer (LowParse.Spec.DER.parse_bounded_der_length_weak min max) | {
"end_col": 6,
"end_line": 705,
"start_col": 2,
"start_line": 697
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let serialize_der_length_payload_greater
(x: U8.t { not (U8.v x < 128 || x = 128uy || x = 255uy || x = 129uy) } )
(len: nat { len == U8.v x - 128 } )
=
(serialize_synth
#_
#(parse_filter_refine #(lint len) (fun (y: lint len) -> y >= pow2 (8 * (len - 1))))
#(refine_with_tag tag_of_der_... | let serialize_der_length_payload_greater
(x: U8.t{not (U8.v x < 128 || x = 128uy || x = 255uy || x = 129uy)})
(len: nat{len == U8.v x - 128})
= | false | null | false | (serialize_synth #_
#(parse_filter_refine #(lint len) (fun (y: lint len) -> y >= pow2 (8 * (len - 1))))
#(refine_with_tag tag_of_der_length x)
_
(synth_der_length_greater x len)
(serialize_filter (serialize_synth #_
#(Seq.lseq byte len)
#(lint len)
_
(... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.UInt8.t",
"Prims.b2t",
"Prims.op_Negation",
"Prims.op_BarBar",
"Prims.op_LessThan",
"FStar.UInt8.v",
"Prims.op_Equality",
"FStar.UInt8.__uint_to_t",
"Prims.nat",
"Prims.eq2",
"Prims.int",
"Prims.op_Subtraction",
"LowParse.Spec.Combinators.serialize_synth",
"LowParse.Spec.Combinators... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_der_length_payload_greater : x:
FStar.UInt8.t
{Prims.op_Negation (FStar.UInt8.v x < 128 || x = 128uy || x = 255uy || x = 129uy)} ->
len: Prims.nat{len == FStar.UInt8.v x - 128}
-> LowParse.Spec.Base.serializer (LowParse.Spec.Combinators.parse_synth (LowParse.Spec.Combinators.parse_filt... | [] | LowParse.Spec.DER.serialize_der_length_payload_greater | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x:
FStar.UInt8.t
{Prims.op_Negation (FStar.UInt8.v x < 128 || x = 128uy || x = 255uy || x = 129uy)} ->
len: Prims.nat{len == FStar.UInt8.v x - 128}
-> LowParse.Spec.Base.serializer (LowParse.Spec.Combinators.parse_synth (LowParse.Spec.Combinators.parse_filter
(LowParse.Spec.Combin... | {
"end_col": 7,
"end_line": 523,
"start_col": 6,
"start_line": 502
} | |
FStar.Pervasives.Lemma | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let tag_of_der_length_lt_128_eta (x:U8.t{U8.v x < 128}) =
fun (y: refine_with_tag tag_of_der_length x) -> tag_of_der_length_lt_128 y <: Lemma (U8.v x == y) | let tag_of_der_length_lt_128_eta (x: U8.t{U8.v x < 128}) = | false | null | true | fun (y: refine_with_tag tag_of_der_length x) -> tag_of_der_length_lt_128 y <: Lemma (U8.v x == y) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"FStar.UInt8.t",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt8.v",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.DER.tag_of_der_length_lt_128",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"Prims.i... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 tag_of_der_length_lt_128_eta : x: FStar.UInt8.t{FStar.UInt8.v x < 128} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> FStar.Pervasives.Lemma (ensures FStar.UInt8.v x == y) | [] | LowParse.Spec.DER.tag_of_der_length_lt_128_eta | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{FStar.UInt8.v x < 128} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> FStar.Pervasives.Lemma (ensures FStar.UInt8.v x == y) | {
"end_col": 99,
"end_line": 526,
"start_col": 2,
"start_line": 526
} | |
FStar.Pervasives.Lemma | val log256_unique
(x: nat)
(y: nat)
: Lemma
(requires (
x > 0 /\
y > 0 /\
pow2 (8 * (y - 1)) <= x /\
x < pow2 (8 * y)
))
(ensures (y == log256 x)) | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "Math"
},
{
"abbrev": true,
"full_module": "FSt... | false | let log256_unique
x
y
= Math.pow2_lt_recip (8 * (y - 1)) (8 * log256 x);
Math.pow2_lt_recip (8 * (log256 x - 1)) (8 * y) | val log256_unique
(x: nat)
(y: nat)
: Lemma
(requires (
x > 0 /\
y > 0 /\
pow2 (8 * (y - 1)) <= x /\
x < pow2 (8 * y)
))
(ensures (y == log256 x))
let log256_unique x y = | false | null | true | Math.pow2_lt_recip (8 * (y - 1)) (8 * log256 x);
Math.pow2_lt_recip (8 * (log256 x - 1)) (8 * y) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"Prims.nat",
"LowParse.Math.pow2_lt_recip",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"LowParse.Spec.DER.log256",
"Prims.unit"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 log256_unique
(x: nat)
(y: nat)
: Lemma
(requires (
x > 0 /\
y > 0 /\
pow2 (8 * (y - 1)) <= x /\
x < pow2 (8 * y)
))
(ensures (y == log256 x)) | [] | LowParse.Spec.DER.log256_unique | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: Prims.nat -> y: Prims.nat
-> FStar.Pervasives.Lemma
(requires x > 0 /\ y > 0 /\ Prims.pow2 (8 * (y - 1)) <= x /\ x < Prims.pow2 (8 * y))
(ensures y == LowParse.Spec.DER.log256 x) | {
"end_col": 49,
"end_line": 38,
"start_col": 2,
"start_line": 37
} |
Prims.Tot | val serialize_der_length_weak:serializer parse_der_length_weak | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let serialize_der_length_weak : serializer parse_der_length_weak =
serialize_tagged_union
serialize_u8
tag_of_der_length
(fun x -> serialize_weaken parse_der_length_payload_kind_weak (serialize_der_length_payload x)) | val serialize_der_length_weak:serializer parse_der_length_weak
let serialize_der_length_weak:serializer parse_der_length_weak = | false | null | false | serialize_tagged_union serialize_u8
tag_of_der_length
(fun x -> serialize_weaken parse_der_length_payload_kind_weak (serialize_der_length_payload x)) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.Combinators.serialize_tagged_union",
"LowParse.Spec.Int.parse_u8_kind",
"FStar.UInt8.t",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.Int.serialize_u8",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.DER.parse_der_length_payload_kind_weak",
"Lo... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | true | LowParse.Spec.DER.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 serialize_der_length_weak:serializer parse_der_length_weak | [] | LowParse.Spec.DER.serialize_der_length_weak | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | LowParse.Spec.Base.serializer LowParse.Spec.DER.parse_der_length_weak | {
"end_col": 99,
"end_line": 573,
"start_col": 2,
"start_line": 570
} |
Prims.Tot | val parse_bounded_der_length_payload
(min: der_length_t)
(max: der_length_t{min <= max})
(x: U8.t{parse_bounded_der_length_tag_cond min max x == true})
: Tot
(parser (parse_bounded_der_length_payload_kind min max)
(refine_with_tag (tag_of_bounded_der_length min max) x)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_payload
(min: der_length_t)
(max: der_length_t { min <= max })
(x: U8.t { parse_bounded_der_length_tag_cond min max x == true } )
: Tot (parser (parse_bounded_der_length_payload_kind min max) (refine_with_tag (tag_of_bounded_der_length min max) x))
= weaken (parse_bounded_der_length_p... | val parse_bounded_der_length_payload
(min: der_length_t)
(max: der_length_t{min <= max})
(x: U8.t{parse_bounded_der_length_tag_cond min max x == true})
: Tot
(parser (parse_bounded_der_length_payload_kind min max)
(refine_with_tag (tag_of_bounded_der_length min max) x))
let parse_bound... | false | null | false | weaken (parse_bounded_der_length_payload_kind min max)
(((parse_der_length_payload x)
`parse_filter`
(fun (y: refine_with_tag tag_of_der_length x) -> min <= y && y <= max))
`parse_synth`
(fun (y: refine_with_tag tag_of_der_length x {min <= y && y <= max}) ->
(y <: refine_with_tag (tag_of_b... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt8.t",
"Prims.eq2",
"Prims.bool",
"LowParse.Spec.DER.parse_bounded_der_length_tag_cond",
"LowParse.Spec.Base.weaken",
"LowParse.Spec.DER.parse_bounded_der_length_payload_kind",
"LowParse.Spec.Combinators.parse_fil... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_payload
(min: der_length_t)
(max: der_length_t{min <= max})
(x: U8.t{parse_bounded_der_length_tag_cond min max x == true})
: Tot
(parser (parse_bounded_der_length_payload_kind min max)
(refine_with_tag (tag_of_bounded_der_length min max) x)) | [] | LowParse.Spec.DER.parse_bounded_der_length_payload | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
x: FStar.UInt8.t{LowParse.Spec.DER.parse_bounded_der_length_tag_cond min max x == true}
-> LowParse.Spec.Base.parser (LowParse.Spec.DER.parse_bounded_der_length_payload_kind min max)
(LowParse.Spec.Base.refine... | {
"end_col": 156,
"end_line": 265,
"start_col": 2,
"start_line": 262
} |
Prims.GTot | val synth_bounded_der_length32_recip
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bounded_int32 min max)
: GTot (bounded_int min max) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let synth_bounded_der_length32_recip
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(x: bounded_int32 min max)
: GTot (bounded_int min max)
= U32.v x | val synth_bounded_der_length32_recip
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bounded_int32 min max)
: GTot (bounded_int min max)
let synth_bounded_der_length32_recip
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bo... | false | null | false | U32.v x | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"sometrivial"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"FStar.UInt32.v",
"LowParse.Spec.DER.bounded_int"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_bounded_der_length32_recip
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bounded_int32 min max)
: GTot (bounded_int min max) | [] | LowParse.Spec.DER.synth_bounded_der_length32_recip | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max /\ max < 4294967296} ->
x: LowParse.Spec.BoundedInt.bounded_int32 min max
-> Prims.GTot (LowParse.Spec.DER.bounded_int min max) | {
"end_col": 9,
"end_line": 970,
"start_col": 2,
"start_line": 970
} |
FStar.Pervasives.Lemma | val be_int_of_bounded_integer_injective (len: integer_size)
: Lemma (synth_injective (be_int_of_bounded_integer len))
[SMTPat (synth_injective (be_int_of_bounded_integer len))] | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let be_int_of_bounded_integer_injective
(len: integer_size)
: Lemma
(synth_injective (be_int_of_bounded_integer len))
[SMTPat (synth_injective (be_int_of_bounded_integer len))] // FIXME: WHY WHY WHY does this pattern NEVER trigger?
= integer_size_values len;
assert_norm (pow2 (8 * 1) == 256);
assert_norm (pow... | val be_int_of_bounded_integer_injective (len: integer_size)
: Lemma (synth_injective (be_int_of_bounded_integer len))
[SMTPat (synth_injective (be_int_of_bounded_integer len))]
let be_int_of_bounded_integer_injective (len: integer_size)
: Lemma (synth_injective (be_int_of_bounded_integer len))
[SMTP... | false | null | true | integer_size_values len;
assert_norm (pow2 (8 * 1) == 256);
assert_norm (pow2 (8 * 2) == 65536);
assert_norm (pow2 (8 * 3) == 16777216);
assert_norm (pow2 (8 * 4) == 4294967296) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.BoundedInt.integer_size",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"Prims.pow2",
"FStar.Mul.op_Star",
"Prims.unit",
"LowParse.Spec.BoundedInt.integer_size_values",
"Prims.l_True",
"Prims.squash",
"LowParse.Spec.Combinators.synth_injective",
"Prims.nat",
"Prims... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 be_int_of_bounded_integer_injective (len: integer_size)
: Lemma (synth_injective (be_int_of_bounded_integer len))
[SMTPat (synth_injective (be_int_of_bounded_integer len))] | [] | LowParse.Spec.DER.be_int_of_bounded_integer_injective | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | len: LowParse.Spec.BoundedInt.integer_size
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Combinators.synth_injective (LowParse.Spec.DER.be_int_of_bounded_integer len))
[
SMTPat (LowParse.Spec.Combinators.synth_injective (LowParse.Spec.DER.be_int_of_bounded_integer
len)... | {
"end_col": 42,
"end_line": 849,
"start_col": 2,
"start_line": 845
} |
Prims.Tot | val log256
(x: nat { x > 0 })
: Tot (y: nat { y > 0 /\ pow2 (8 * (y - 1)) <= x /\ x < pow2 (8 * y)}) | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "Math"
},
{
"abbrev": true,
"full_module": "FSt... | false | let rec log256
(x: nat { x > 0 })
: Tot (y: nat { y > 0 /\ pow2 (8 * (y - 1)) <= x /\ x < pow2 (8 * y)})
= assert_norm (pow2 8 == 256);
if x < 256
then 1
else begin
let n = log256 (x / 256) in
Math.pow2_plus (8 * (n - 1)) 8;
Math.pow2_plus (8 * n) 8;
n + 1
end | val log256
(x: nat { x > 0 })
: Tot (y: nat { y > 0 /\ pow2 (8 * (y - 1)) <= x /\ x < pow2 (8 * y)})
let rec log256 (x: nat{x > 0}) : Tot (y: nat{y > 0 /\ pow2 (8 * (y - 1)) <= x /\ x < pow2 (8 * y)}) = | false | null | false | assert_norm (pow2 8 == 256);
if x < 256
then 1
else
let n = log256 (x / 256) in
Math.pow2_plus (8 * (n - 1)) 8;
Math.pow2_plus (8 * n) 8;
n + 1 | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"Prims.nat",
"Prims.b2t",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"Prims.bool",
"Prims.op_Addition",
"Prims.unit",
"FStar.Math.Lemmas.pow2_plus",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.l_and",
"Prims.op_LessThanOrEqual",
"Prims.pow2",
"Prims.op_Multiply",
"Prims.op_Divi... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 log256
(x: nat { x > 0 })
: Tot (y: nat { y > 0 /\ pow2 (8 * (y - 1)) <= x /\ x < pow2 (8 * y)}) | [
"recursion"
] | LowParse.Spec.DER.log256 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: Prims.nat{x > 0}
-> y: Prims.nat{y > 0 /\ Prims.pow2 (8 * (y - 1)) <= x /\ x < Prims.pow2 (8 * y)} | {
"end_col": 5,
"end_line": 32,
"start_col": 2,
"start_line": 24
} |
Prims.Tot | val parse_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (parser (parse_bounded_der_length32_kind min max) (bounded_int32 min max)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let parse_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (parser (parse_bounded_der_length32_kind min max) (bounded_int32 min max))
= parse_bounded_der_length min max `parse_synth` synth_bounded_der_length32 min max | val parse_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (parser (parse_bounded_der_length32_kind min max) (bounded_int32 min max))
let parse_bounded_der_length32
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
: Tot (par... | false | null | false | (parse_bounded_der_length min max) `parse_synth` (synth_bounded_der_length32 min max) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Combinators.parse_synth",
"LowParse.Spec.DER.parse_bounded_der_length_kind",
"LowParse.Spec.DER.bounded_int",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.DER.p... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (parser (parse_bounded_der_length32_kind min max) (bounded_int32 min max)) | [] | LowParse.Spec.DER.parse_bounded_der_length32 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max /\ max < 4294967296}
-> LowParse.Spec.Base.parser (LowParse.Spec.DER.parse_bounded_der_length32_kind min max)
(LowParse.Spec.BoundedInt.bounded_int32 min max) | {
"end_col": 83,
"end_line": 933,
"start_col": 2,
"start_line": 933
} |
Prims.GTot | val be_int_of_bounded_integer (len: integer_size) (x: nat{x < pow2 (8 * len)})
: GTot (bounded_integer len) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let be_int_of_bounded_integer
(len: integer_size)
(x: nat { x < pow2 (8 * len) } )
: GTot (bounded_integer len)
= integer_size_values len;
assert_norm (pow2 (8 * 1) == 256);
assert_norm (pow2 (8 * 2) == 65536);
assert_norm (pow2 (8 * 3) == 16777216);
assert_norm (pow2 (8 * 4) == 4294967296);
U32.uint_to_t... | val be_int_of_bounded_integer (len: integer_size) (x: nat{x < pow2 (8 * len)})
: GTot (bounded_integer len)
let be_int_of_bounded_integer (len: integer_size) (x: nat{x < pow2 (8 * len)})
: GTot (bounded_integer len) = | false | null | false | integer_size_values len;
assert_norm (pow2 (8 * 1) == 256);
assert_norm (pow2 (8 * 2) == 65536);
assert_norm (pow2 (8 * 3) == 16777216);
assert_norm (pow2 (8 * 4) == 4294967296);
U32.uint_to_t x | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"sometrivial"
] | [
"LowParse.Spec.BoundedInt.integer_size",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.pow2",
"FStar.Mul.op_Star",
"FStar.UInt32.uint_to_t",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"LowParse.Spec.BoundedInt.integer_size_values",
"LowParse.Spec.BoundedI... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 be_int_of_bounded_integer (len: integer_size) (x: nat{x < pow2 (8 * len)})
: GTot (bounded_integer len) | [] | LowParse.Spec.DER.be_int_of_bounded_integer | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | len: LowParse.Spec.BoundedInt.integer_size -> x: Prims.nat{x < Prims.pow2 (8 * len)}
-> Prims.GTot (LowParse.Spec.BoundedInt.bounded_integer len) | {
"end_col": 17,
"end_line": 838,
"start_col": 2,
"start_line": 833
} |
FStar.Pervasives.Lemma | val parse_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_paylo... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t { min <= max })
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input == (match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_payload_size_of_tag x in
if der_length_p... | val parse_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_paylo... | false | null | true | parse_bounded_der_length_unfold_aux min max input;
match parse parse_u8 input with
| None -> ()
| Some (x, consumed_x) ->
let len = der_length_payload_size_of_tag x in
if der_length_payload_size min <= len && len <= der_length_payload_size max
then
let input' = Seq.slice input consumed_x (Seq.length input) in... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Bytes.bytes",
"LowParse.Spec.Base.parse",
"FStar.UInt8.t",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.Base.consumed_length",
"Prims.op_AmpAmp",
"LowParse.Spec.DER.der_length_payload_size",
"LowParse.Spec.DER.p... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_paylo... | [] | LowParse.Spec.DER.parse_bounded_der_length_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.parse (LowParse.Spec.DER.parse_bounded_der_length min max) input ==
(match LowParse.Spec.Base.parse LowParse.Spec.Int... | {
"end_col": 11,
"end_line": 364,
"start_col": 2,
"start_line": 355
} |
FStar.Pervasives.Lemma | val parse_bounded_der_length_payload_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(x: U8.t{parse_bounded_der_length_tag_cond min max x == true})
(input': bytes)
: Lemma
(parse (parse_bounded_der_length_payload min max x) input' ==
(match parse (parse_der_length_payloa... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_payload_unfold
(min: der_length_t)
(max: der_length_t { min <= max })
(x: U8.t { parse_bounded_der_length_tag_cond min max x == true } )
(input' : bytes)
: Lemma
(parse (parse_bounded_der_length_payload min max x) input' == (
match parse (parse_der_length_payload x) input' w... | val parse_bounded_der_length_payload_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(x: U8.t{parse_bounded_der_length_tag_cond min max x == true})
(input': bytes)
: Lemma
(parse (parse_bounded_der_length_payload min max x) input' ==
(match parse (parse_der_length_payloa... | false | null | true | parse_synth_eq ((parse_der_length_payload x)
`parse_filter`
(fun (y: refine_with_tag tag_of_der_length x) -> min <= y && y <= max))
(fun (y: refine_with_tag tag_of_der_length x {min <= y && y <= max}) ->
(y <: refine_with_tag (tag_of_bounded_der_length min max) x))
input';
parse_filter_eq (parse_der_l... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt8.t",
"Prims.eq2",
"Prims.bool",
"LowParse.Spec.DER.parse_bounded_der_length_tag_cond",
"LowParse.Bytes.bytes",
"LowParse.Spec.Combinators.parse_filter_eq",
"LowParse.Spec.DER.parse_der_length_payload_kind",
"L... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_payload_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(x: U8.t{parse_bounded_der_length_tag_cond min max x == true})
(input': bytes)
: Lemma
(parse (parse_bounded_der_length_payload min max x) input' ==
(match parse (parse_der_length_payloa... | [] | LowParse.Spec.DER.parse_bounded_der_length_payload_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
x: FStar.UInt8.t{LowParse.Spec.DER.parse_bounded_der_length_tag_cond min max x == true} ->
input': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.parse (LowParse.Spec.DER.pa... | {
"end_col": 16,
"end_line": 310,
"start_col": 6,
"start_line": 302
} |
FStar.Pervasives.Lemma | val parse_bounded_der_length_unfold_aux
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_p... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_unfold_aux
(min: der_length_t)
(max: der_length_t { min <= max })
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input == (match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_payload_size_of_tag x in
if der_leng... | val parse_bounded_der_length_unfold_aux
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_p... | false | null | true | parse_tagged_union_eq (parse_u8 `parse_filter` (parse_bounded_der_length_tag_cond min max))
(tag_of_bounded_der_length min max)
(parse_bounded_der_length_payload min max)
input;
parse_filter_eq parse_u8 (parse_bounded_der_length_tag_cond min max) input | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Bytes.bytes",
"LowParse.Spec.Combinators.parse_filter_eq",
"LowParse.Spec.Int.parse_u8_kind",
"FStar.UInt8.t",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.DER.parse_bounded_der_length_tag_cond",
"Prims.unit",
"... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_unfold_aux
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let len = der_length_p... | [] | LowParse.Spec.DER.parse_bounded_der_length_unfold_aux | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.parse (LowParse.Spec.DER.parse_bounded_der_length min max) input ==
(match LowParse.Spec.Base.parse LowParse.Spec.Int... | {
"end_col": 76,
"end_line": 334,
"start_col": 2,
"start_line": 329
} |
FStar.Pervasives.Lemma | val parse_seq_flbytes_synth_be_int_eq (len: integer_size) (input: bytes)
: Lemma
(let _ = synth_be_int_injective len in
let _ = be_int_of_bounded_integer_injective len in
parse (parse_synth #_
#(lint len)
#(bounded_integer len)
(parse_synth #_
#(Se... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let parse_seq_flbytes_synth_be_int_eq
(len: integer_size)
(input: bytes)
: Lemma
(
let _ = synth_be_int_injective len in
let _ = be_int_of_bounded_integer_injective len in
parse (
parse_synth #_ #(lint len) #(bounded_integer len)
(parse_synth #_ #(Seq.lseq byte len) #(lint len)
... | val parse_seq_flbytes_synth_be_int_eq (len: integer_size) (input: bytes)
: Lemma
(let _ = synth_be_int_injective len in
let _ = be_int_of_bounded_integer_injective len in
parse (parse_synth #_
#(lint len)
#(bounded_integer len)
(parse_synth #_
#(Se... | false | null | true | let _ = synth_be_int_injective len in
let _ = be_int_of_bounded_integer_injective len in
parse_synth_eq ((parse_seq_flbytes len) `parse_synth` (synth_be_int len))
(be_int_of_bounded_integer len)
input;
parse_synth_eq (parse_seq_flbytes len) (synth_be_int len) input;
parser_kind_prop_equiv (parse_bounded_integer_kin... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.BoundedInt.integer_size",
"LowParse.Bytes.bytes",
"LowParse.Spec.BoundedInt.parse_bounded_integer_spec",
"Prims.unit",
"LowParse.Spec.Base.parser_kind_prop_equiv",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedIn... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 4,
"no_plugins": 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 parse_seq_flbytes_synth_be_int_eq (len: integer_size) (input: bytes)
: Lemma
(let _ = synth_be_int_injective len in
let _ = be_int_of_bounded_integer_injective len in
parse (parse_synth #_
#(lint len)
#(bounded_integer len)
(parse_synth #_
#(Se... | [] | LowParse.Spec.DER.parse_seq_flbytes_synth_be_int_eq | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | len: LowParse.Spec.BoundedInt.integer_size -> input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
([@@ FStar.Pervasives.inline_let ]let _ = LowParse.Spec.DER.synth_be_int_injective len in
[@@ FStar.Pervasives.inline_let ]let _ =
LowParse.Spec.DER.be_int_of_bounded_integer_inject... | {
"end_col": 40,
"end_line": 874,
"start_col": 1,
"start_line": 868
} |
FStar.Pervasives.Lemma | val parse_bounded_der_length_weak_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length_weak min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let input' = Seq... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_bounded_der_length_weak_unfold
(min: der_length_t)
(max: der_length_t { min <= max })
(input: bytes)
: Lemma
(parse (parse_bounded_der_length_weak min max) input == (
match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let input' = Seq.slice input consumed_x (Seq... | val parse_bounded_der_length_weak_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length_weak min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let input' = Seq... | false | null | true | parse_synth_eq (parse_der_length_weak `parse_filter` (fun y -> min <= y && y <= max))
(fun (y: der_length_t{min <= y && y <= max}) -> (y <: bounded_int min max))
input;
parse_filter_eq parse_der_length_weak (fun y -> min <= y && y <= max) input;
parse_tagged_union_eq parse_u8
tag_of_der_length
(fun x -> weaken ... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Bytes.bytes",
"LowParse.Spec.Combinators.parse_tagged_union_eq",
"LowParse.Spec.Int.parse_u8_kind",
"FStar.UInt8.t",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.DER.parse_de... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length_weak_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(input: bytes)
: Lemma
(parse (parse_bounded_der_length_weak min max) input ==
(match parse parse_u8 input with
| None -> None
| Some (x, consumed_x) ->
let input' = Seq... | [] | LowParse.Spec.DER.parse_bounded_der_length_weak_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.parse (LowParse.Spec.DER.parse_bounded_der_length_weak min max) input ==
(match LowParse.Spec.Base.parse LowParse.Spe... | {
"end_col": 9,
"end_line": 402,
"start_col": 2,
"start_line": 392
} |
Prims.Tot | val serialize_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (serializer (parse_bounded_der_length32 min max)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let serialize_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (serializer (parse_bounded_der_length32 min max))
= serialize_synth
_
(synth_bounded_der_length32 min max)
(serialize_bounded_der_length min max)
(synth_bounded_der_length32_recip min ... | val serialize_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (serializer (parse_bounded_der_length32 min max))
let serialize_bounded_der_length32
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
: Tot (serializer (parse_bo... | false | null | false | serialize_synth _
(synth_bounded_der_length32 min max)
(serialize_bounded_der_length min max)
(synth_bounded_der_length32_recip min max)
() | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Combinators.serialize_synth",
"LowParse.Spec.DER.parse_bounded_der_length_kind",
"LowParse.Spec.DER.bounded_int",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.D... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
: Tot (serializer (parse_bounded_der_length32 min max)) | [] | LowParse.Spec.DER.serialize_bounded_der_length32 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max /\ max < 4294967296}
-> LowParse.Spec.Base.serializer (LowParse.Spec.DER.parse_bounded_der_length32 min max) | {
"end_col": 6,
"end_line": 981,
"start_col": 2,
"start_line": 976
} |
Prims.Tot | val parse_der_length_weak:parser parse_der_length_weak_kind der_length_t | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_der_length_weak : parser parse_der_length_weak_kind der_length_t
= parse_tagged_union
parse_u8
tag_of_der_length
(fun x -> weaken parse_der_length_payload_kind_weak (parse_der_length_payload x)) | val parse_der_length_weak:parser parse_der_length_weak_kind der_length_t
let parse_der_length_weak:parser parse_der_length_weak_kind der_length_t = | false | null | false | parse_tagged_union parse_u8
tag_of_der_length
(fun x -> weaken parse_der_length_payload_kind_weak (parse_der_length_payload x)) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.Combinators.parse_tagged_union",
"LowParse.Spec.Int.parse_u8_kind",
"FStar.UInt8.t",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.DER.parse_der_length_payload_kind_weak",
"LowParse.Spec.Base.weaken",
"LowParse.Sp... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | true | LowParse.Spec.DER.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 parse_der_length_weak:parser parse_der_length_weak_kind der_length_t | [] | LowParse.Spec.DER.parse_der_length_weak | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | LowParse.Spec.Base.parser LowParse.Spec.DER.parse_der_length_weak_kind
LowParse.Spec.DER.der_length_t | {
"end_col": 85,
"end_line": 224,
"start_col": 2,
"start_line": 221
} |
FStar.Pervasives.Lemma | val der_length_payload_size_le
(x1 x2: der_length_t)
: Lemma
(requires (x1 <= x2))
(ensures (der_length_payload_size x1 <= der_length_payload_size x2)) | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "Math"
},
{
"abbrev": true,
"full_module": "FSt... | false | let der_length_payload_size_le
x1
x2
= if x1 < 128 || x2 < 128
then ()
else
let len_len2 = log256 x2 in
let len_len1 = log256 x1 in
log256_le x1 x2;
assert_norm (pow2 7 == 128);
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len2 - 1)) (8 * 126) | val der_length_payload_size_le
(x1 x2: der_length_t)
: Lemma
(requires (x1 <= x2))
(ensures (der_length_payload_size x1 <= der_length_payload_size x2))
let der_length_payload_size_le x1 x2 = | false | null | true | if x1 < 128 || x2 < 128
then ()
else
let len_len2 = log256 x2 in
let len_len1 = log256 x1 in
log256_le x1 x2;
assert_norm (pow2 7 == 128);
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len2 - 1)) (8 * 126) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.op_BarBar",
"Prims.op_LessThan",
"Prims.bool",
"LowParse.Math.pow2_lt_recip",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"LowParse.Spec.DER.der_length_max",
"Prims.pow2",
"Low... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 der_length_payload_size_le
(x1 x2: der_length_t)
: Lemma
(requires (x1 <= x2))
(ensures (der_length_payload_size x1 <= der_length_payload_size x2)) | [] | LowParse.Spec.DER.der_length_payload_size_le | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x1: LowParse.Spec.DER.der_length_t -> x2: LowParse.Spec.DER.der_length_t
-> FStar.Pervasives.Lemma (requires x1 <= x2)
(ensures
LowParse.Spec.DER.der_length_payload_size x1 <= LowParse.Spec.DER.der_length_payload_size x2
) | {
"end_col": 53,
"end_line": 56,
"start_col": 2,
"start_line": 48
} |
FStar.Pervasives.Lemma | val tag_of_der_length_invalid (x: der_length_t)
: Lemma
(requires
(let y = U8.v (tag_of_der_length x) in
y == 128 \/ y == 255)) (ensures False) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let tag_of_der_length_invalid
(x: der_length_t)
: Lemma
(requires (let y = U8.v (tag_of_der_length x) in y == 128 \/ y == 255))
(ensures False)
= if x < 128
then ()
else
let len_len = log256 x in
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len - 1)) (8 * 126) | val tag_of_der_length_invalid (x: der_length_t)
: Lemma
(requires
(let y = U8.v (tag_of_der_length x) in
y == 128 \/ y == 255)) (ensures False)
let tag_of_der_length_invalid (x: der_length_t)
: Lemma
(requires
(let y = U8.v (tag_of_der_length x) in
y == 128 \/ y =... | false | null | true | if x < 128
then ()
else
let len_len = log256 x in
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len - 1)) (8 * 126) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.op_LessThan",
"Prims.bool",
"LowParse.Math.pow2_lt_recip",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"LowParse.Spec.DER.der_length_max",
"Prims.pow2",
"Prims.nat",
"Prims.l_a... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 tag_of_der_length_invalid (x: der_length_t)
: Lemma
(requires
(let y = U8.v (tag_of_der_length x) in
y == 128 \/ y == 255)) (ensures False) | [] | LowParse.Spec.DER.tag_of_der_length_invalid | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: LowParse.Spec.DER.der_length_t
-> FStar.Pervasives.Lemma
(requires
(let y = FStar.UInt8.v (LowParse.Spec.DER.tag_of_der_length x) in
y == 128 \/ y == 255)) (ensures Prims.l_False) | {
"end_col": 52,
"end_line": 448,
"start_col": 2,
"start_line": 443
} |
Prims.Tot | val synth_der_length_129 (x: U8.t{x == 129uy}) (y: U8.t{U8.v y >= 128})
: Tot (refine_with_tag tag_of_der_length x) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let synth_der_length_129
(x: U8.t { x == 129uy } )
(y: U8.t { U8.v y >= 128 } )
: Tot (refine_with_tag tag_of_der_length x)
= assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
... | val synth_der_length_129 (x: U8.t{x == 129uy}) (y: U8.t{U8.v y >= 128})
: Tot (refine_with_tag tag_of_der_length x)
let synth_der_length_129 (x: U8.t{x == 129uy}) (y: U8.t{U8.v y >= 128})
: Tot (refine_with_tag tag_of_der_length x) = | false | null | false | assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
log256_unique (U8.v y) 1;
U8.v y | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.UInt8.t",
"Prims.eq2",
"FStar.UInt8.__uint_to_t",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt8.v",
"Prims.unit",
"LowParse.Spec.DER.log256_unique",
"Prims._assert",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_max",
"FStar.Pervasives.assert_norm",
"Prims.op_Le... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_der_length_129 (x: U8.t{x == 129uy}) (y: U8.t{U8.v y >= 128})
: Tot (refine_with_tag tag_of_der_length x) | [] | LowParse.Spec.DER.synth_der_length_129 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt8.t{x == 129uy} -> y: FStar.UInt8.t{FStar.UInt8.v y >= 128}
-> LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x | {
"end_col": 8,
"end_line": 85,
"start_col": 2,
"start_line": 79
} |
FStar.Pervasives.Lemma | val tag_of_der_length_eq_129 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) == 129)) (ensures (x >= 128 /\ x < 256)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let tag_of_der_length_eq_129
(x: der_length_t)
: Lemma
(requires (U8.v (tag_of_der_length x) == 129))
(ensures (x >= 128 /\ x < 256))
= if x < 128
then ()
else
let len_len = log256 x in
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len - 1)) (8 * 126) | val tag_of_der_length_eq_129 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) == 129)) (ensures (x >= 128 /\ x < 256))
let tag_of_der_length_eq_129 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) == 129)) (ensures (x >= 128 /\ x < 256)) = | false | null | true | if x < 128
then ()
else
let len_len = log256 x in
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len - 1)) (8 * 126) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.op_LessThan",
"Prims.bool",
"LowParse.Math.pow2_lt_recip",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"LowParse.Spec.DER.der_length_max",
"Prims.pow2",
"Prims.nat",
"Prims.l_a... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 tag_of_der_length_eq_129 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) == 129)) (ensures (x >= 128 /\ x < 256)) | [] | LowParse.Spec.DER.tag_of_der_length_eq_129 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: LowParse.Spec.DER.der_length_t
-> FStar.Pervasives.Lemma (requires FStar.UInt8.v (LowParse.Spec.DER.tag_of_der_length x) == 129)
(ensures x >= 128 /\ x < 256) | {
"end_col": 52,
"end_line": 460,
"start_col": 2,
"start_line": 455
} |
Prims.GTot | val synth_der_length_payload32
(x: U8.t{der_length_payload_size_of_tag x <= 4})
(y: refine_with_tag tag_of_der_length x)
: GTot (refine_with_tag tag_of_der_length32 x) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let synth_der_length_payload32
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
(y: refine_with_tag tag_of_der_length x)
: GTot (refine_with_tag tag_of_der_length32 x)
= let _ =
assert_norm (der_length_max == pow2 (8 * 126) - 1);
let _ = assert_norm (pow2 (8 * 2) == 65536) in
let _ = assert_norm (po... | val synth_der_length_payload32
(x: U8.t{der_length_payload_size_of_tag x <= 4})
(y: refine_with_tag tag_of_der_length x)
: GTot (refine_with_tag tag_of_der_length32 x)
let synth_der_length_payload32
(x: U8.t{der_length_payload_size_of_tag x <= 4})
(y: refine_with_tag tag_of_der_length x)
... | false | null | false | let _ =
assert_norm (der_length_max == pow2 (8 * 126) - 1);
let _ = assert_norm (pow2 (8 * 2) == 65536) in
let _ = assert_norm (pow2 (8 * 3) == 16777216) in
let _ = assert_norm (pow2 (8 * 4) == 4294967296) in
if y >= 128
then
(Math.pow2_lt_recip (8 * (log256 y - 1)) (8 * 126);
assert (U8.v (tag_of... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"sometrivial"
] | [
"FStar.UInt8.t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_payload_size_of_tag",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"FStar.UInt32.uint_to_t",
"Prims.unit",
"Prims.op_GreaterThanOrEqual",
"Pri... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_der_length_payload32
(x: U8.t{der_length_payload_size_of_tag x <= 4})
(y: refine_with_tag tag_of_der_length x)
: GTot (refine_with_tag tag_of_der_length32 x) | [] | LowParse.Spec.DER.synth_der_length_payload32 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{LowParse.Spec.DER.der_length_payload_size_of_tag x <= 4} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> Prims.GTot (LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length32 x) | {
"end_col": 17,
"end_line": 802,
"start_col": 1,
"start_line": 792
} |
Prims.Tot | val synth_der_length_greater_recip
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len == U8.v x % 128})
(y: refine_with_tag tag_of_der_length x)
: Tot (y: lint len {y >= pow2 (8 * (len - 1))}) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let synth_der_length_greater_recip
(x: U8.t { U8.v x > 129 /\ U8.v x < 255 } )
(len: nat { len == U8.v x % 128 } )
(y: refine_with_tag tag_of_der_length x)
: Tot (y: lint len { y >= pow2 (8 * (len - 1)) } )
= assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (log256 y - 1)) (8 * 126);
... | val synth_der_length_greater_recip
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len == U8.v x % 128})
(y: refine_with_tag tag_of_der_length x)
: Tot (y: lint len {y >= pow2 (8 * (len - 1))})
let synth_der_length_greater_recip
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len =... | false | null | false | assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (log256 y - 1)) (8 * 126);
y | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.UInt8.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_GreaterThan",
"FStar.UInt8.v",
"Prims.op_LessThan",
"Prims.nat",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"Prims.unit",... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_der_length_greater_recip
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len == U8.v x % 128})
(y: refine_with_tag tag_of_der_length x)
: Tot (y: lint len {y >= pow2 (8 * (len - 1))}) | [] | LowParse.Spec.DER.synth_der_length_greater_recip | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{FStar.UInt8.v x > 129 /\ FStar.UInt8.v x < 255} ->
len: Prims.nat{len == FStar.UInt8.v x % 128} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> y: LowParse.Spec.DER.lint len {y >= Prims.pow2 (8 * (len - 1))} | {
"end_col": 3,
"end_line": 488,
"start_col": 2,
"start_line": 486
} |
Prims.Tot | val synth_der_length_greater
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len == U8.v x - 128})
(y: lint len {y >= pow2 (8 * (len - 1))})
: Tot (refine_with_tag tag_of_der_length x) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let synth_der_length_greater
(x: U8.t { U8.v x > 129 /\ U8.v x < 255 } )
(len: nat { len == U8.v x - 128 } )
(y: lint len { y >= pow2 (8 * (len - 1)) } )
: Tot (refine_with_tag tag_of_der_length x)
= assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
... | val synth_der_length_greater
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len == U8.v x - 128})
(y: lint len {y >= pow2 (8 * (len - 1))})
: Tot (refine_with_tag tag_of_der_length x)
let synth_der_length_greater
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len == U8.v x - 128}... | false | null | false | assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
Math.pow2_le_compat (8 * 126) (8 * len);
Math.pow2_le_compat (8 * (len - 1)) 7;
log256_unique y len;
y | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.UInt8.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_GreaterThan",
"FStar.UInt8.v",
"Prims.op_LessThan",
"Prims.nat",
"Prims.eq2",
"Prims.int",
"Prims.op_Subtraction",
"LowParse.Spec.DER.lint",
"Prims.op_GreaterThanOrEqual",
"Prims.pow2",
"FStar.Mul.op_Star",
"Prims.unit",
"LowParse.... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_der_length_greater
(x: U8.t{U8.v x > 129 /\ U8.v x < 255})
(len: nat{len == U8.v x - 128})
(y: lint len {y >= pow2 (8 * (len - 1))})
: Tot (refine_with_tag tag_of_der_length x) | [] | LowParse.Spec.DER.synth_der_length_greater | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{FStar.UInt8.v x > 129 /\ FStar.UInt8.v x < 255} ->
len: Prims.nat{len == FStar.UInt8.v x - 128} ->
y: LowParse.Spec.DER.lint len {y >= Prims.pow2 (8 * (len - 1))}
-> LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x | {
"end_col": 3,
"end_line": 100,
"start_col": 2,
"start_line": 92
} |
FStar.Pervasives.Lemma | val synth_der_length_payload32_injective (x: U8.t{der_length_payload_size_of_tag x <= 4})
: Lemma (synth_injective (synth_der_length_payload32 x))
[SMTPat (synth_injective (synth_der_length_payload32 x))] | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let synth_der_length_payload32_injective
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
: Lemma
(synth_injective (synth_der_length_payload32 x))
[SMTPat (synth_injective (synth_der_length_payload32 x))]
= assert_norm (der_length_max == pow2 (8 * 126) - 1);
let _ = assert_norm (pow2 (8 * 2) == 65536) in
... | val synth_der_length_payload32_injective (x: U8.t{der_length_payload_size_of_tag x <= 4})
: Lemma (synth_injective (synth_der_length_payload32 x))
[SMTPat (synth_injective (synth_der_length_payload32 x))]
let synth_der_length_payload32_injective (x: U8.t{der_length_payload_size_of_tag x <= 4})
: Lemma (sy... | false | null | true | assert_norm (der_length_max == pow2 (8 * 126) - 1);
let _ = assert_norm (pow2 (8 * 2) == 65536) in
let _ = assert_norm (pow2 (8 * 3) == 16777216) in
let _ = assert_norm (pow2 (8 * 4) == 4294967296) in
synth_injective_intro' (synth_der_length_payload32 x)
(fun (y1: refine_with_tag tag_of_der_length x) (y2: refine_with... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"FStar.UInt8.t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_payload_size_of_tag",
"LowParse.Spec.Combinators.synth_injective_intro'",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"FStar.UInt32.t",
"LowPar... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_der_length_payload32_injective (x: U8.t{der_length_payload_size_of_tag x <= 4})
: Lemma (synth_injective (synth_der_length_payload32 x))
[SMTPat (synth_injective (synth_der_length_payload32 x))] | [] | LowParse.Spec.DER.synth_der_length_payload32_injective | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt8.t{LowParse.Spec.DER.der_length_payload_size_of_tag x <= 4}
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Combinators.synth_injective (LowParse.Spec.DER.synth_der_length_payload32 x))
[
SMTPat (LowParse.Spec.Combinators.synth_injective (LowParse.Spec.DER.synth_der_length_p... | {
"end_col": 3,
"end_line": 822,
"start_col": 2,
"start_line": 809
} |
FStar.Pervasives.Lemma | val der_length_payload_size_of_tag_inv32 (x: der_length_t)
: Lemma (requires (x < 4294967296))
(ensures
(tag_of_der_length x ==
(if x < 128
then U8.uint_to_t x
else
if x < 256
then 129uy
else if x < 65536 then 130uy else if x ... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let der_length_payload_size_of_tag_inv32
(x: der_length_t)
: Lemma
(requires (x < 4294967296))
(ensures (
tag_of_der_length x == (
if x < 128
then U8.uint_to_t x
else if x < 256
then 129uy
else if x < 65536
then 130uy
else if x < 16777216
then 131uy
else 1... | val der_length_payload_size_of_tag_inv32 (x: der_length_t)
: Lemma (requires (x < 4294967296))
(ensures
(tag_of_der_length x ==
(if x < 128
then U8.uint_to_t x
else
if x < 256
then 129uy
else if x < 65536 then 130uy else if x ... | false | null | true | if x < 128
then ()
else
let len_len = log256 x in
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len - 1)) (8 * 126);
assert_norm (pow2 (8 * 1) == 256);
assert_norm (pow2 (8 * 2) == 65536);
assert_norm (pow2 (8 * 3) == 16777216);
assert_norm (pow2 (8 * 4) == 4294967296);
... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.op_LessThan",
"Prims.bool",
"LowParse.Spec.DER.log256_unique",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"Prims.pow2",
"FStar.Mul.op_Star",
"LowParse.Math.pow2_lt_recip",
"Prims.op_Subtraction",
"LowParse.Spec.DER.der_len... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 der_length_payload_size_of_tag_inv32 (x: der_length_t)
: Lemma (requires (x < 4294967296))
(ensures
(tag_of_der_length x ==
(if x < 128
then U8.uint_to_t x
else
if x < 256
then 129uy
else if x < 65536 then 130uy else if x ... | [] | LowParse.Spec.DER.der_length_payload_size_of_tag_inv32 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: LowParse.Spec.DER.der_length_t
-> FStar.Pervasives.Lemma (requires x < 4294967296)
(ensures
LowParse.Spec.DER.tag_of_der_length x ==
(match x < 128 with
| true -> FStar.UInt8.uint_to_t x
| _ ->
(match x < 256 with
| true -> 129uy
| _... | {
"end_col": 23,
"end_line": 786,
"start_col": 2,
"start_line": 766
} |
Prims.Tot | val serialize_der_length_payload (x: U8.t) : Tot (serializer (parse_der_length_payload x)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let serialize_der_length_payload
(x: U8.t)
: Tot (serializer (parse_der_length_payload x))
= assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
let (x' : der_length_t) = U8.v x i... | val serialize_der_length_payload (x: U8.t) : Tot (serializer (parse_der_length_payload x))
let serialize_der_length_payload (x: U8.t) : Tot (serializer (parse_der_length_payload x)) = | false | null | false | assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
let x':der_length_t = U8.v x in
if x' < 128
then
serialize_weaken (parse_der_length_payload_kind x)
(serialize_ret (x' <: refine_with... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.UInt8.t",
"Prims.op_LessThan",
"LowParse.Spec.Combinators.serialize_weaken",
"LowParse.Spec.Combinators.parse_ret_kind",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.DER.parse_der_length_payload_kind",
"LowParse.... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_der_length_payload (x: U8.t) : Tot (serializer (parse_der_length_payload x)) | [] | LowParse.Spec.DER.serialize_der_length_payload | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt8.t -> LowParse.Spec.Base.serializer (LowParse.Spec.DER.parse_der_length_payload x) | {
"end_col": 6,
"end_line": 567,
"start_col": 2,
"start_line": 537
} |
Prims.GTot | val synth_be_int_recip (len: nat) (x: lint len) : GTot (b : Seq.lseq byte len) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let synth_be_int_recip
(len: nat)
(x: lint len)
: GTot (b: Seq.lseq byte len)
= E.n_to_be len x | val synth_be_int_recip (len: nat) (x: lint len) : GTot (b : Seq.lseq byte len)
let synth_be_int_recip (len: nat) (x: lint len) : GTot (b : Seq.lseq byte len) = | false | null | false | E.n_to_be len x | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"sometrivial"
] | [
"Prims.nat",
"LowParse.Spec.DER.lint",
"FStar.Endianness.n_to_be",
"FStar.Seq.Properties.lseq",
"LowParse.Bytes.byte"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_be_int_recip (len: nat) (x: lint len) : GTot (b : Seq.lseq byte len) | [] | LowParse.Spec.DER.synth_be_int_recip | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | len: Prims.nat -> x: LowParse.Spec.DER.lint len
-> Prims.GTot (FStar.Seq.Properties.lseq LowParse.Bytes.byte len) | {
"end_col": 17,
"end_line": 473,
"start_col": 2,
"start_line": 473
} |
FStar.Pervasives.Lemma | val serialize_bounded_der_length32_unfold
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(y': bounded_int32 min max)
: Lemma
(
let res = serialize (serialize_bounded_der_length32 min max) y' in
let x = tag_of_der_length32_impl y' in
let s1 = Seq.create 1 x in
if x `U8... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let serialize_bounded_der_length32_unfold
min max y'
= serialize_synth_eq
_
(synth_bounded_der_length32 min max)
(serialize_bounded_der_length min max)
(synth_bounded_der_length32_recip min max)
()
y';
serialize_bounded_der_length_unfold min max (U32.v y');
let x = tag_of_der_length32_impl... | val serialize_bounded_der_length32_unfold
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(y': bounded_int32 min max)
: Lemma
(
let res = serialize (serialize_bounded_der_length32 min max) y' in
let x = tag_of_der_length32_impl y' in
let s1 = Seq.create 1 x in
if x `U8... | false | null | true | serialize_synth_eq _
(synth_bounded_der_length32 min max)
(serialize_bounded_der_length min max)
(synth_bounded_der_length32_recip min max)
()
y';
serialize_bounded_der_length_unfold min max (U32.v y');
let x = tag_of_der_length32_impl y' in
if x `U8.lt` 128uy
then ()
else
if x = 129uy
then FStar.Math.Lem... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"FStar.UInt8.lt",
"FStar.UInt8.__uint_to_t",
"Prims.bool",
"Prims.op_Equality",
"FStar.UInt8.t",
"FStar.Math.Lemmas.small_modulo_lemma_1",
... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_bounded_der_length32_unfold
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(y': bounded_int32 min max)
: Lemma
(
let res = serialize (serialize_bounded_der_length32 min max) y' in
let x = tag_of_der_length32_impl y' in
let s1 = Seq.create 1 x in
if x `U8... | [] | LowParse.Spec.DER.serialize_bounded_der_length32_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max /\ max < 4294967296} ->
y': LowParse.Spec.BoundedInt.bounded_int32 min max
-> FStar.Pervasives.Lemma
(ensures
(let res =
LowParse.Spec.Base.serialize (LowParse.Spec.DER.serialize_bounded_der_length32... | {
"end_col": 7,
"end_line": 1003,
"start_col": 2,
"start_line": 985
} |
Prims.Tot | val parse_der_length_payload (x: U8.t)
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length x)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_der_length_payload
(x: U8.t)
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length x))
= assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
... | val parse_der_length_payload (x: U8.t)
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length x))
let parse_der_length_payload (x: U8.t)
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length x)) = | false | null | false | assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
let x':der_length_t = U8.v x in
if x' < 128
then
weaken (parse_der_length_payload_kind x) (parse_ret (x' <: refine_with_tag tag_of_der_le... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"FStar.UInt8.t",
"Prims.op_LessThan",
"LowParse.Spec.Base.weaken",
"LowParse.Spec.DER.parse_der_length_payload_kind",
"LowParse.Spec.Combinators.parse_ret_kind",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.Combinators.... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_der_length_payload (x: U8.t)
: Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length x)) | [] | LowParse.Spec.DER.parse_der_length_payload | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt8.t
-> LowParse.Spec.Base.parser (LowParse.Spec.DER.parse_der_length_payload_kind x)
(LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x) | {
"end_col": 5,
"end_line": 133,
"start_col": 2,
"start_line": 105
} |
FStar.Pervasives.Lemma | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let tag_of_der_length_invalid_eta (x:U8.t{U8.v x == 128 \/ U8.v x == 255}) =
fun (y: refine_with_tag tag_of_der_length x) -> tag_of_der_length_invalid y <: Lemma False | let tag_of_der_length_invalid_eta (x: U8.t{U8.v x == 128 \/ U8.v x == 255}) = | false | null | true | fun (y: refine_with_tag tag_of_der_length x) -> tag_of_der_length_invalid y <: Lemma False | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"FStar.UInt8.t",
"Prims.l_or",
"Prims.eq2",
"Prims.int",
"FStar.UInt8.v",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DER.der_length_t",
"LowParse.Spec.DER.tag_of_der_length",
"LowParse.Spec.DER.tag_of_der_length_invalid",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_False... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 tag_of_der_length_invalid_eta : x: FStar.UInt8.t{FStar.UInt8.v x == 128 \/ FStar.UInt8.v x == 255} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> FStar.Pervasives.Lemma (ensures Prims.l_False) | [] | LowParse.Spec.DER.tag_of_der_length_invalid_eta | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{FStar.UInt8.v x == 128 \/ FStar.UInt8.v x == 255} ->
y: LowParse.Spec.Base.refine_with_tag LowParse.Spec.DER.tag_of_der_length x
-> FStar.Pervasives.Lemma (ensures Prims.l_False) | {
"end_col": 92,
"end_line": 529,
"start_col": 2,
"start_line": 529
} | |
FStar.Pervasives.Lemma | val tag_of_der_length_lt_128 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) < 128))
(ensures (x == U8.v (tag_of_der_length x))) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let tag_of_der_length_lt_128
(x: der_length_t)
: Lemma
(requires (U8.v (tag_of_der_length x) < 128))
(ensures (x == U8.v (tag_of_der_length x)))
= if x < 128
then ()
else
let len_len = log256 x in
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len - 1)) (8 * 126) | val tag_of_der_length_lt_128 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) < 128))
(ensures (x == U8.v (tag_of_der_length x)))
let tag_of_der_length_lt_128 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) < 128))
(ensures (x == U8.v (tag_of_der_length x))) = | false | null | true | if x < 128
then ()
else
let len_len = log256 x in
assert_norm (der_length_max == pow2 (8 * 126) - 1);
Math.pow2_lt_recip (8 * (len_len - 1)) (8 * 126) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.op_LessThan",
"Prims.bool",
"LowParse.Math.pow2_lt_recip",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"LowParse.Spec.DER.der_length_max",
"Prims.pow2",
"Prims.nat",
"Prims.l_a... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 tag_of_der_length_lt_128 (x: der_length_t)
: Lemma (requires (U8.v (tag_of_der_length x) < 128))
(ensures (x == U8.v (tag_of_der_length x))) | [] | LowParse.Spec.DER.tag_of_der_length_lt_128 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: LowParse.Spec.DER.der_length_t
-> FStar.Pervasives.Lemma (requires FStar.UInt8.v (LowParse.Spec.DER.tag_of_der_length x) < 128)
(ensures x == FStar.UInt8.v (LowParse.Spec.DER.tag_of_der_length x)) | {
"end_col": 52,
"end_line": 436,
"start_col": 2,
"start_line": 431
} |
FStar.Pervasives.Lemma | val parse_bounded_der_length32_unfold
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(input: bytes)
: Lemma
(let res = parse (parse_bounded_der_length32 min max) input in
match parse parse_u8 input with
| None -> res == None
| Some (x, consumed_x) ->
let len = der_lengt... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let parse_bounded_der_length32_unfold
min
max
input
= parse_synth_eq (parse_bounded_der_length min max) (synth_bounded_der_length32 min max) input;
parse_bounded_der_length_unfold min max input;
match parse parse_u8 input with
| None -> ()
| Some (x, consumed_x) ->
let len = der_length_payload_size_of_ta... | val parse_bounded_der_length32_unfold
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(input: bytes)
: Lemma
(let res = parse (parse_bounded_der_length32 min max) input in
match parse parse_u8 input with
| None -> res == None
| Some (x, consumed_x) ->
let len = der_lengt... | false | null | true | parse_synth_eq (parse_bounded_der_length min max) (synth_bounded_der_length32 min max) input;
parse_bounded_der_length_unfold min max input;
match parse parse_u8 input with
| None -> ()
| Some (x, consumed_x) ->
let len = der_length_payload_size_of_tag x in
if der_length_payload_size min <= len && len <= der_length... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Bytes.bytes",
"LowParse.Spec.Base.parse",
"FStar.UInt8.t",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.Base.consumed_length",
"Prims.op_AmpAmp",
"LowParse.Spec.DER.der_leng... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_bounded_der_length32_unfold
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(input: bytes)
: Lemma
(let res = parse (parse_bounded_der_length32 min max) input in
match parse parse_u8 input with
| None -> res == None
| Some (x, consumed_x) ->
let len = der_lengt... | [] | LowParse.Spec.DER.parse_bounded_der_length32_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max /\ max < 4294967296} ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
(let res =
LowParse.Spec.Base.parse (LowParse.Spec.DER.parse_bounded_der_length32 min max) input
in
... | {
"end_col": 12,
"end_line": 962,
"start_col": 2,
"start_line": 940
} |
Prims.Tot | val synth_bounded_der_length32
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bounded_int min max)
: Tot (bounded_int32 min max) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let synth_bounded_der_length32
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(x: bounded_int min max)
: Tot (bounded_int32 min max)
= U32.uint_to_t x | val synth_bounded_der_length32
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bounded_int min max)
: Tot (bounded_int32 min max)
let synth_bounded_der_length32
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bounded_int min... | false | null | false | U32.uint_to_t x | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.DER.bounded_int",
"FStar.UInt32.uint_to_t",
"LowParse.Spec.BoundedInt.bounded_int32"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 synth_bounded_der_length32
(min: der_length_t)
(max: der_length_t{min <= max /\ max < 4294967296})
(x: bounded_int min max)
: Tot (bounded_int32 min max) | [] | LowParse.Spec.DER.synth_bounded_der_length32 | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max /\ max < 4294967296} ->
x: LowParse.Spec.DER.bounded_int min max
-> LowParse.Spec.BoundedInt.bounded_int32 min max | {
"end_col": 17,
"end_line": 927,
"start_col": 2,
"start_line": 927
} |
FStar.Pervasives.Lemma | val parse_der_length_payload_unfold (x: U8.t) (input: bytes)
: Lemma
(let y = parse (parse_der_length_payload x) input in
(256 < der_length_max) /\
(if U8.v x < 128
then tag_of_der_length (U8.v x) == x /\ y == Some (U8.v x, 0)
else
if x = 128uy || x = 255uy
then y... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let parse_der_length_payload_unfold
(x: U8.t)
(input: bytes)
: Lemma
(
let y = parse (parse_der_length_payload x) input in
(256 < der_length_max) /\ (
if U8.v x < 128
then tag_of_der_length (U8.v x) == x /\ y == Some (U8.v x, 0)
else if x = 128uy || x = 255uy
then y == None
else if x =... | val parse_der_length_payload_unfold (x: U8.t) (input: bytes)
: Lemma
(let y = parse (parse_der_length_payload x) input in
(256 < der_length_max) /\
(if U8.v x < 128
then tag_of_der_length (U8.v x) == x /\ y == Some (U8.v x, 0)
else
if x = 128uy || x = 255uy
then y... | false | null | true | assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
let x':der_length_t = U8.v x in
if x' < 128
then ()
else
if x = 128uy
then ()
else
if x = 255uy
then ()
else
if x =... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"FStar.UInt8.t",
"LowParse.Bytes.bytes",
"Prims.op_LessThan",
"Prims.bool",
"Prims.op_Equality",
"FStar.UInt8.__uint_to_t",
"LowParse.Spec.Base.parse",
"LowParse.Spec.Int.parse_u8",
"LowParse.Spec.Base.consumed_length",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt8.v",
"LowParse.Spec.DER.log256_... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 parse_der_length_payload_unfold (x: U8.t) (input: bytes)
: Lemma
(let y = parse (parse_der_length_payload x) input in
(256 < der_length_max) /\
(if U8.v x < 128
then tag_of_der_length (U8.v x) == x /\ y == Some (U8.v x, 0)
else
if x = 128uy || x = 255uy
then y... | [] | LowParse.Spec.DER.parse_der_length_payload_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: FStar.UInt8.t -> input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
(let y = LowParse.Spec.Base.parse (LowParse.Spec.DER.parse_der_length_payload x) input in
256 < LowParse.Spec.DER.der_length_max /\
(match FStar.UInt8.v x < 128 with
| true ->
LowParse.Sp... | {
"end_col": 5,
"end_line": 211,
"start_col": 2,
"start_line": 166
} |
FStar.Pervasives.Lemma | val log256_eq
(x: nat)
: Lemma
(requires (x > 0 /\ x < 4294967296))
(ensures (log256 x == log256' x)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let log256_eq
x
= log256_unique x (log256' x) | val log256_eq
(x: nat)
: Lemma
(requires (x > 0 /\ x < 4294967296))
(ensures (log256 x == log256' x))
let log256_eq x = | false | null | true | log256_unique x (log256' x) | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"Prims.nat",
"LowParse.Spec.DER.log256_unique",
"LowParse.Spec.BoundedInt.log256'",
"Prims.unit"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 log256_eq
(x: nat)
: Lemma
(requires (x > 0 /\ x < 4294967296))
(ensures (log256 x == log256' x)) | [] | LowParse.Spec.DER.log256_eq | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: Prims.nat
-> FStar.Pervasives.Lemma (requires x > 0 /\ x < 4294967296)
(ensures LowParse.Spec.DER.log256 x == LowParse.Spec.BoundedInt.log256' x) | {
"end_col": 29,
"end_line": 920,
"start_col": 2,
"start_line": 920
} |
FStar.Pervasives.Lemma | val serialize_der_length_weak_unfold (y: der_length_t)
: Lemma
(let res = serialize serialize_der_length_weak y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
then res `Seq.equal` s1
else
if x = 129uy
then y <= 255 /\ res `Seq.equal`... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let serialize_der_length_weak_unfold
(y: der_length_t)
: Lemma
(let res = serialize serialize_der_length_weak y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
then res `Seq.equal` s1
else if x = 129uy
then y <= 255 /\ res `Seq.equal` (s1 `Seq.append` Seq.crea... | val serialize_der_length_weak_unfold (y: der_length_t)
: Lemma
(let res = serialize serialize_der_length_weak y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
then res `Seq.equal` s1
else
if x = 129uy
then y <= 255 /\ res `Seq.equal`... | false | null | true | let x = tag_of_der_length y in
serialize_u8_spec x;
assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 7 == 128);
assert_norm (pow2 8 == 256);
assert_norm (256 < der_length_max);
assert (U8.v x <= der_length_max);
let x':der_length_t = U8.v x in
if x' < 128
then ()
else
if x = 128uy || x = 255uy
... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.unit",
"Prims.op_LessThan",
"Prims.bool",
"Prims.op_BarBar",
"Prims.op_Equality",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"LowParse.Spec.DER.tag_of_der_length_invalid",
"LowParse.Spec.Int.serialize_u8_spec",
"FStar.UInt8.uint_to_t",
"LowParse.Spec.C... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 6,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_der_length_weak_unfold (y: der_length_t)
: Lemma
(let res = serialize serialize_der_length_weak y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
then res `Seq.equal` s1
else
if x = 129uy
then y <= 255 /\ res `Seq.equal`... | [] | LowParse.Spec.DER.serialize_der_length_weak_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | y: LowParse.Spec.DER.der_length_t
-> FStar.Pervasives.Lemma
(ensures
(let res = LowParse.Spec.Base.serialize LowParse.Spec.DER.serialize_der_length_weak y in
let x = LowParse.Spec.DER.tag_of_der_length y in
let s1 = FStar.Seq.Base.create 1 x in
(match FStar.UInt8.lt x 128uy with
... | {
"end_col": 4,
"end_line": 689,
"start_col": 1,
"start_line": 591
} |
FStar.Pervasives.Lemma | val parse_der_length_payload32_unfold
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
(input: bytes)
: Lemma
(
let y = parse (parse_der_length_payload32 x) input in
(256 < der_length_max) /\ (
if U8.v x < 128
then tag_of_der_length (U8.v x) == x /\ y == Some (Cast.uint8_to_uint32 x, 0)
el... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let parse_der_length_payload32_unfold
x
input
= parse_synth_eq (parse_der_length_payload x) (synth_der_length_payload32 x) input;
assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 (8 * 1) == 256);
let _ = assert_norm (pow2 (8 * 2) == 65536) in
let _ = assert_norm (pow2 (8 * 3) == 167... | val parse_der_length_payload32_unfold
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
(input: bytes)
: Lemma
(
let y = parse (parse_der_length_payload32 x) input in
(256 < der_length_max) /\ (
if U8.v x < 128
then tag_of_der_length (U8.v x) == x /\ y == Some (Cast.uint8_to_uint32 x, 0)
el... | false | null | true | parse_synth_eq (parse_der_length_payload x) (synth_der_length_payload32 x) input;
assert_norm (der_length_max == pow2 (8 * 126) - 1);
assert_norm (pow2 (8 * 1) == 256);
let _ = assert_norm (pow2 (8 * 2) == 65536) in
let _ = assert_norm (pow2 (8 * 3) == 16777216) in
let _ = assert_norm (pow2 (8 * 4) == 4294967296) in
(m... | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"FStar.UInt8.t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_payload_size_of_tag",
"LowParse.Bytes.bytes",
"Prims.op_LessThan",
"FStar.UInt8.v",
"Prims.bool",
"Prims.op_BarBar",
"Prims.op_Equality",
"FStar.UInt8.__uint_to_t",
"LowParse.Spec.Combinators.parse_synth_eq... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 4,
"no_plugins": 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 parse_der_length_payload32_unfold
(x: U8.t { der_length_payload_size_of_tag x <= 4 } )
(input: bytes)
: Lemma
(
let y = parse (parse_der_length_payload32 x) input in
(256 < der_length_max) /\ (
if U8.v x < 128
then tag_of_der_length (U8.v x) == x /\ y == Some (Cast.uint8_to_uint32 x, 0)
el... | [] | LowParse.Spec.DER.parse_der_length_payload32_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
x: FStar.UInt8.t{LowParse.Spec.DER.der_length_payload_size_of_tag x <= 4} ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
(let y = LowParse.Spec.Base.parse (LowParse.Spec.DER.parse_der_length_payload32 x) input in
256 < LowParse.Spec.DER.der_length_max /\
(match FS... | {
"end_col": 7,
"end_line": 914,
"start_col": 2,
"start_line": 879
} |
FStar.Pervasives.Lemma | val serialize_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(y: bounded_int min max)
: Lemma
(let res = serialize (serialize_bounded_der_length min max) y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
the... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Endianness",
"short_module": "E"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let serialize_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t { min <= max })
(y: bounded_int min max)
: Lemma
(let res = serialize (serialize_bounded_der_length min max) y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
then res `Seq.equal` s1
... | val serialize_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(y: bounded_int min max)
: Lemma
(let res = serialize (serialize_bounded_der_length min max) y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
the... | false | null | true | serialize_synth_eq _
(fun (y: der_length_t{min <= y && y <= max}) -> (y <: bounded_int min max))
(serialize_filter serialize_der_length_weak (fun y -> min <= y && y <= max))
(fun (y: bounded_int min max) -> (y <: (y: der_length_t{min <= y && y <= max})))
()
y;
serialize_der_length_weak_unfold y | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.bounded_int",
"LowParse.Spec.DER.serialize_der_length_weak_unfold",
"Prims.unit",
"LowParse.Spec.Combinators.serialize_synth_eq",
"LowParse.Spec.Combinators.parse_filter_kind",
"LowParse.Spec.DER.parse_der_... | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_bounded_der_length_unfold
(min: der_length_t)
(max: der_length_t{min <= max})
(y: bounded_int min max)
: Lemma
(let res = serialize (serialize_bounded_der_length min max) y in
let x = tag_of_der_length y in
let s1 = Seq.create 1 x in
if x `U8.lt` 128uy
the... | [] | LowParse.Spec.DER.serialize_bounded_der_length_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max} ->
y: LowParse.Spec.DER.bounded_int min max
-> FStar.Pervasives.Lemma
(ensures
(let res =
LowParse.Spec.Base.serialize (LowParse.Spec.DER.serialize_bounded_der_length min max) y
in
l... | {
"end_col": 36,
"end_line": 743,
"start_col": 2,
"start_line": 733
} |
FStar.Pervasives.Lemma | val serialize_bounded_der_length32_size
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(y': bounded_int32 min max)
: Lemma
(
Seq.length (serialize (serialize_bounded_der_length32 min max) y') == (
if y' `U32.lt` 128ul
then 1
else if y' `U32.lt` 256ul
then ... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.E... | false | let serialize_bounded_der_length32_size
min max y'
= serialize_bounded_der_length32_unfold min max y' | val serialize_bounded_der_length32_size
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(y': bounded_int32 min max)
: Lemma
(
Seq.length (serialize (serialize_bounded_der_length32 min max) y') == (
if y' `U32.lt` 128ul
then 1
else if y' `U32.lt` 256ul
then ... | false | null | true | serialize_bounded_der_length32_unfold min max y' | {
"checked_file": "LowParse.Spec.DER.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.SeqBytes.Base.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.DER.serialize_bounded_der_length32_unfold",
"Prims.unit"
] | [] | module LowParse.Spec.DER
open LowParse.Spec.Combinators
open LowParse.Spec.SeqBytes.Base
// include LowParse.Spec.VLData // for in_bounds
open FStar.Mul
module U8 = FStar.UInt8
module UInt = FStar.UInt
module Math = LowParse.Math
module E = FStar.Endianness
module Seq = FStar.Seq
#reset-options "--z3cliopt smt.arith... | false | false | LowParse.Spec.DER.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 serialize_bounded_der_length32_size
(min: der_length_t)
(max: der_length_t { min <= max /\ max < 4294967296 })
(y': bounded_int32 min max)
: Lemma
(
Seq.length (serialize (serialize_bounded_der_length32 min max) y') == (
if y' `U32.lt` 128ul
then 1
else if y' `U32.lt` 256ul
then ... | [] | LowParse.Spec.DER.serialize_bounded_der_length32_size | {
"file_name": "src/lowparse/LowParse.Spec.DER.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: LowParse.Spec.DER.der_length_t ->
max: LowParse.Spec.DER.der_length_t{min <= max /\ max < 4294967296} ->
y': LowParse.Spec.BoundedInt.bounded_int32 min max
-> FStar.Pervasives.Lemma
(ensures
FStar.Seq.Base.length (LowParse.Spec.Base.serialize (LowParse.Spec.DER.serialize_bounded_der_length... | {
"end_col": 50,
"end_line": 1008,
"start_col": 2,
"start_line": 1008
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax.Naming",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let nt (x:var) (t:term) = [ NT x t ] | let nt (x: var) (t: term) = | false | null | false | [NT x t] | {
"checked_file": "Pulse.Typing.Metatheory.Base.fsti.checked",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.Naming.fsti.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Range.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Base.term",
"Prims.Cons",
"Pulse.Syntax.Naming.subst_elt",
"Pulse.Syntax.Naming.NT",
"Prims.Nil",
"Prims.list"
] | [] | module Pulse.Typing.Metatheory.Base
open Pulse.Syntax
open Pulse.Syntax.Naming
open Pulse.Typing
let comp_typing_u (g:env) (c:comp_st) = comp_typing g c (comp_u c)
val admit_comp_typing (g:env) (c:comp_st)
: comp_typing_u g c
val st_typing_correctness (#g:env) (#t:st_term) (#c:comp_st)
... | false | true | Pulse.Typing.Metatheory.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 nt : x: Pulse.Syntax.Base.var -> t: Pulse.Syntax.Base.term -> Prims.list Pulse.Syntax.Naming.subst_elt | [] | Pulse.Typing.Metatheory.Base.nt | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | x: Pulse.Syntax.Base.var -> t: Pulse.Syntax.Base.term -> Prims.list Pulse.Syntax.Naming.subst_elt | {
"end_col": 36,
"end_line": 57,
"start_col": 26,
"start_line": 57
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax.Naming",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let comp_typing_u (g:env) (c:comp_st) = comp_typing g c (comp_u c) | let comp_typing_u (g: env) (c: comp_st) = | false | null | false | comp_typing g c (comp_u c) | {
"checked_file": "Pulse.Typing.Metatheory.Base.fsti.checked",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.Naming.fsti.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Range.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.comp_typing",
"Pulse.Syntax.Base.comp_u"
] | [] | module Pulse.Typing.Metatheory.Base
open Pulse.Syntax
open Pulse.Syntax.Naming
open Pulse.Typing | false | false | Pulse.Typing.Metatheory.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 comp_typing_u : g: Pulse.Typing.Env.env -> c: Pulse.Syntax.Base.comp_st -> Type0 | [] | Pulse.Typing.Metatheory.Base.comp_typing_u | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> c: Pulse.Syntax.Base.comp_st -> Type0 | {
"end_col": 66,
"end_line": 6,
"start_col": 40,
"start_line": 6
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let md5_hash_len = 16ul | let md5_hash_len = | false | null | false | 16ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros | false | true | EverCrypt.Hash.Incremental.Macros.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 md5_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.md5_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 35,
"end_line": 5,
"start_col": 31,
"start_line": 5
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let blake2s_hash_len = 32ul | let blake2s_hash_len = | false | null | false | 32ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul
[@ CMacro ] let sha2_256_hash_len = 32ul
[@ CMacro ] let sha2_384_hash_... | false | true | EverCrypt.Hash.Incremental.Macros.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 blake2s_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.blake2s_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 39,
"end_line": 15,
"start_col": 35,
"start_line": 15
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha3_384_hash_len = 48ul | let sha3_384_hash_len = | false | null | false | 48ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul
[@ CMacro ] let sha2_256_hash_len = 32ul
[@ CMacro ] let sha2_384_hash_... | false | true | EverCrypt.Hash.Incremental.Macros.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 sha3_384_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha3_384_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 13,
"start_col": 36,
"start_line": 13
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha1_hash_len = 20ul | let sha1_hash_len = | false | null | false | 20ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *) | false | true | EverCrypt.Hash.Incremental.Macros.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 sha1_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha1_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 36,
"end_line": 6,
"start_col": 32,
"start_line": 6
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha2_224_hash_len = 28ul | let sha2_224_hash_len = | false | null | false | 28ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul | false | true | EverCrypt.Hash.Incremental.Macros.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 sha2_224_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha2_224_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 7,
"start_col": 36,
"start_line": 7
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha2_384_hash_len = 48ul | let sha2_384_hash_len = | false | null | false | 48ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul | false | true | EverCrypt.Hash.Incremental.Macros.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 sha2_384_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha2_384_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 9,
"start_col": 36,
"start_line": 9
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha2_512_hash_len = 64ul | let sha2_512_hash_len = | false | null | false | 64ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul
[@ CMacro ] let sha2_256_hash_len = 32ul | false | true | EverCrypt.Hash.Incremental.Macros.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 sha2_512_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha2_512_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 10,
"start_col": 36,
"start_line": 10
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha2_256_hash_len = 32ul | let sha2_256_hash_len = | false | null | false | 32ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul | false | true | EverCrypt.Hash.Incremental.Macros.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 sha2_256_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha2_256_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 8,
"start_col": 36,
"start_line": 8
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha3_512_hash_len = 64ul | let sha3_512_hash_len = | false | null | false | 64ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul
[@ CMacro ] let sha2_256_hash_len = 32ul
[@ CMacro ] let sha2_384_hash_... | false | true | EverCrypt.Hash.Incremental.Macros.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 sha3_512_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha3_512_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 14,
"start_col": 36,
"start_line": 14
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha3_256_hash_len = 32ul | let sha3_256_hash_len = | false | null | false | 32ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul
[@ CMacro ] let sha2_256_hash_len = 32ul
[@ CMacro ] let sha2_384_hash_... | false | true | EverCrypt.Hash.Incremental.Macros.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 sha3_256_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha3_256_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 12,
"start_col": 36,
"start_line": 12
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let sha3_224_hash_len = 28ul | let sha3_224_hash_len = | false | null | false | 28ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul
[@ CMacro ] let sha2_256_hash_len = 32ul
[@ CMacro ] let sha2_384_hash_... | false | true | EverCrypt.Hash.Incremental.Macros.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 sha3_224_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.sha3_224_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 40,
"end_line": 11,
"start_col": 36,
"start_line": 11
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev"... | false | let blake2b_hash_len = 64ul | let blake2b_hash_len = | false | null | false | 64ul | {
"checked_file": "EverCrypt.Hash.Incremental.Macros.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "EverCrypt.Hash.Incremental.Macros.fst"
} | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | // Separate module because -no-prefix
module EverCrypt.Hash.Incremental.Macros
(* These definitions for the benefits of C clients. *)
[@ CMacro ] let md5_hash_len = 16ul
[@ CMacro ] let sha1_hash_len = 20ul
[@ CMacro ] let sha2_224_hash_len = 28ul
[@ CMacro ] let sha2_256_hash_len = 32ul
[@ CMacro ] let sha2_384_hash_... | false | true | EverCrypt.Hash.Incremental.Macros.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 blake2b_hash_len : FStar.UInt32.t | [] | EverCrypt.Hash.Incremental.Macros.blake2b_hash_len | {
"file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | FStar.UInt32.t | {
"end_col": 39,
"end_line": 16,
"start_col": 35,
"start_line": 16
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let n = 128 | let n = | false | null | false | 128 | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [
"total"
] | [] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.UInt128.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 n : Prims.int | [] | FStar.UInt128.n | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Prims.int | {
"end_col": 11,
"end_line": 25,
"start_col": 8,
"start_line": 25
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Plus_Hat = add | let op_Plus_Hat = | false | null | false | add | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.add"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Plus_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Plus_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 53,
"end_line": 142,
"start_col": 50,
"start_line": 142
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Plus_Percent_Hat = add_mod | let op_Plus_Percent_Hat = | false | null | false | add_mod | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.add_mod"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Plus_Percent_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Plus_Percent_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 65,
"end_line": 144,
"start_col": 58,
"start_line": 144
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Greater_Hat = gt | let op_Greater_Hat = | false | null | false | gt | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.gt"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | [] | FStar.UInt128.op_Greater_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | {
"end_col": 55,
"end_line": 154,
"start_col": 53,
"start_line": 154
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Subtraction_Hat = sub | let op_Subtraction_Hat = | false | null | false | sub | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.sub"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Subtraction_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Subtraction_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 60,
"end_line": 145,
"start_col": 57,
"start_line": 145
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Hat_Hat = logxor | let op_Hat_Hat = | false | null | false | logxor | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.logxor"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Hat_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Hat_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 55,
"end_line": 149,
"start_col": 49,
"start_line": 149
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Plus_Question_Hat = add_underspec | let op_Plus_Question_Hat = | false | null | false | add_underspec | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.add_underspec"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Plus_Question_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Plus_Question_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 72,
"end_line": 143,
"start_col": 59,
"start_line": 143
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Subtraction_Percent_Hat = sub_mod | let op_Subtraction_Percent_Hat = | false | null | false | sub_mod | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.sub_mod"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Subtraction_Percent_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Subtraction_Percent_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 72,
"end_line": 147,
"start_col": 65,
"start_line": 147
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Greater_Greater_Hat = shift_right | let op_Greater_Greater_Hat = | false | null | false | shift_right | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.shift_right"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater_Greater_Hat : a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Greater_Greater_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 72,
"end_line": 152,
"start_col": 61,
"start_line": 152
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Less_Equals_Hat = lte | let op_Less_Equals_Hat = | false | null | false | lte | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.lte"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less_Equals_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | [] | FStar.UInt128.op_Less_Equals_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | {
"end_col": 60,
"end_line": 157,
"start_col": 57,
"start_line": 157
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Less_Less_Hat = shift_left | let op_Less_Less_Hat = | false | null | false | shift_left | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.shift_left"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less_Less_Hat : a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Less_Less_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 65,
"end_line": 151,
"start_col": 55,
"start_line": 151
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Amp_Hat = logand | let op_Amp_Hat = | false | null | false | logand | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.logand"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Amp_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Amp_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 55,
"end_line": 148,
"start_col": 49,
"start_line": 148
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Less_Hat = lt | let op_Less_Hat = | false | null | false | lt | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.lt"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | [] | FStar.UInt128.op_Less_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | {
"end_col": 52,
"end_line": 155,
"start_col": 50,
"start_line": 155
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Subtraction_Question_Hat = sub_underspec | let op_Subtraction_Question_Hat = | false | null | false | sub_underspec | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.sub_underspec"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Subtraction_Question_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Subtraction_Question_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 79,
"end_line": 146,
"start_col": 66,
"start_line": 146
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Greater_Equals_Hat = gte | let op_Greater_Equals_Hat = | false | null | false | gte | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.gte"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater_Equals_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | [] | FStar.UInt128.op_Greater_Equals_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | {
"end_col": 63,
"end_line": 156,
"start_col": 60,
"start_line": 156
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Equals_Hat = eq | let op_Equals_Hat = | false | null | false | eq | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.eq"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Equals_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | [] | FStar.UInt128.op_Equals_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool | {
"end_col": 54,
"end_line": 153,
"start_col": 52,
"start_line": 153
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | false | let op_Bar_Hat = logor | let op_Bar_Hat = | false | null | false | logor | {
"checked_file": "FStar.UInt128.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "FStar.UInt128... | [] | [
"FStar.UInt128.logor"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.UInt128.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Bar_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | [] | FStar.UInt128.op_Bar_Hat | {
"file_name": "ulib/FStar.UInt128.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t | {
"end_col": 54,
"end_line": 150,
"start_col": 49,
"start_line": 150
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.