file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
EverCrypt.DRBG.fst
EverCrypt.DRBG.instantiate_sha1
val instantiate_sha1 : instantiate_st SHA1
val instantiate_sha1 : instantiate_st SHA1
let instantiate_sha1 = mk_instantiate EverCrypt.HMAC.compute_sha1
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 142, "start_col": 0, "start_line": 142 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.instantiate_st Spec.Hash.Definitions.SHA1
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_instantiate", "Spec.Hash.Definitions.SHA1", "EverCrypt.HMAC.compute_sha1" ]
[]
false
false
false
true
false
let instantiate_sha1 =
mk_instantiate EverCrypt.HMAC.compute_sha1
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.uninstantiate_sha1
val uninstantiate_sha1 : uninstantiate_st SHA1
val uninstantiate_sha1 : uninstantiate_st SHA1
let uninstantiate_sha1 = mk_uninstantiate SHA1
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 281, "start_col": 0, "start_line": 281 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.uninstantiate_st Spec.Hash.Definitions.SHA1
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_uninstantiate", "Spec.Hash.Definitions.SHA1" ]
[]
false
false
false
true
false
let uninstantiate_sha1 =
mk_uninstantiate SHA1
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.create
val create: a:supported_alg -> ST (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 /\ invariant st h1 /\ freeable st h1)
val create: a:supported_alg -> ST (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 /\ invariant st h1 /\ freeable st h1)
let create a = create_in a HS.root
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 90, "start_col": 0, "start_line": 90 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.HMAC_DRBG.supported_alg -> FStar.HyperStack.ST.ST (EverCrypt.DRBG.state a)
FStar.HyperStack.ST.ST
[]
[]
[ "Hacl.HMAC_DRBG.supported_alg", "EverCrypt.DRBG.create_in", "FStar.Monotonic.HyperHeap.root", "EverCrypt.DRBG.state" ]
[]
false
true
false
false
false
let create a =
create_in a HS.root
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.uninstantiate_sha2_256
val uninstantiate_sha2_256: uninstantiate_st SHA2_256
val uninstantiate_sha2_256: uninstantiate_st SHA2_256
let uninstantiate_sha2_256 = mk_uninstantiate SHA2_256
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 282, "start_col": 0, "start_line": 282 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.uninstantiate_st Spec.Hash.Definitions.SHA2_256
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_uninstantiate", "Spec.Hash.Definitions.SHA2_256" ]
[]
false
false
false
true
false
let uninstantiate_sha2_256 =
mk_uninstantiate SHA2_256
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.reseed_sha2_512
val reseed_sha2_512: reseed_st SHA2_512
val reseed_sha2_512: reseed_st SHA2_512
let reseed_sha2_512 = mk_reseed EverCrypt.HMAC.compute_sha2_512
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 195, "start_col": 0, "start_line": 195 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.reseed_st Spec.Hash.Definitions.SHA2_512
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_reseed", "Spec.Hash.Definitions.SHA2_512", "EverCrypt.HMAC.compute_sha2_512" ]
[]
false
false
false
true
false
let reseed_sha2_512 =
mk_reseed EverCrypt.HMAC.compute_sha2_512
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.instantiate
val instantiate: a:(Ghost.erased supported_alg) -> instantiate_st (Ghost.reveal a)
val instantiate: a:(Ghost.erased supported_alg) -> instantiate_st (Ghost.reveal a)
let instantiate a st personalization_string personalization_string_len = match !*st with | SHA1_s _ -> instantiate_sha1 st personalization_string personalization_string_len | SHA2_256_s _ -> instantiate_sha2_256 st personalization_string personalization_string_len | SHA2_384_s _ -> instantiate_sha2_384 ...
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 294, "start_col": 0, "start_line": 289 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.HMAC_DRBG.supported_alg -> EverCrypt.DRBG.instantiate_st (FStar.Ghost.reveal a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.HMAC_DRBG.supported_alg", "EverCrypt.DRBG.state", "FStar.Ghost.reveal", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.size_t", "Hacl.HMAC_DRBG.state", "Spec.Hash.Definitions.SHA1", "EverCrypt.DRBG.instantiate_sha1", "Prims.bool", "Spec.Hash.Definition...
[]
false
false
false
false
false
let instantiate a st personalization_string personalization_string_len =
match !*st with | SHA1_s _ -> instantiate_sha1 st personalization_string personalization_string_len | SHA2_256_s _ -> instantiate_sha2_256 st personalization_string personalization_string_len | SHA2_384_s _ -> instantiate_sha2_384 st personalization_string personalization_string_len | SHA2_512_s _ -> instantiate_sha2_5...
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.generate_sha2_512
val generate_sha2_512: generate_st SHA2_512
val generate_sha2_512: generate_st SHA2_512
let generate_sha2_512 = mk_generate EverCrypt.HMAC.compute_sha2_512
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 243, "start_col": 0, "start_line": 243 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.generate_st Spec.Hash.Definitions.SHA2_512
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_generate", "Spec.Hash.Definitions.SHA2_512", "EverCrypt.HMAC.compute_sha2_512" ]
[]
false
false
false
true
false
let generate_sha2_512 =
mk_generate EverCrypt.HMAC.compute_sha2_512
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.instantiate_sha2_512
val instantiate_sha2_512: instantiate_st SHA2_512
val instantiate_sha2_512: instantiate_st SHA2_512
let instantiate_sha2_512 = mk_instantiate EverCrypt.HMAC.compute_sha2_512
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 145, "start_col": 0, "start_line": 145 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.instantiate_st Spec.Hash.Definitions.SHA2_512
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_instantiate", "Spec.Hash.Definitions.SHA2_512", "EverCrypt.HMAC.compute_sha2_512" ]
[]
false
false
false
true
false
let instantiate_sha2_512 =
mk_instantiate EverCrypt.HMAC.compute_sha2_512
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.reseed
val reseed: a:(Ghost.erased supported_alg) -> reseed_st (Ghost.reveal a)
val reseed: a:(Ghost.erased supported_alg) -> reseed_st (Ghost.reveal a)
let reseed a st additional_input additional_input_len = match !*st with | SHA1_s _ -> reseed_sha1 st additional_input additional_input_len | SHA2_256_s _ -> reseed_sha2_256 st additional_input additional_input_len | SHA2_384_s _ -> reseed_sha2_384 st additional_input additional_input_len | SHA2_512_s ...
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 301, "start_col": 0, "start_line": 296 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.HMAC_DRBG.supported_alg -> EverCrypt.DRBG.reseed_st (FStar.Ghost.reveal a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.HMAC_DRBG.supported_alg", "EverCrypt.DRBG.state", "FStar.Ghost.reveal", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.size_t", "Hacl.HMAC_DRBG.state", "Spec.Hash.Definitions.SHA1", "EverCrypt.DRBG.reseed_sha1", "Prims.bool", "Spec.Hash.Definitions.SHA...
[]
false
false
false
false
false
let reseed a st additional_input additional_input_len =
match !*st with | SHA1_s _ -> reseed_sha1 st additional_input additional_input_len | SHA2_256_s _ -> reseed_sha2_256 st additional_input additional_input_len | SHA2_384_s _ -> reseed_sha2_384 st additional_input additional_input_len | SHA2_512_s _ -> reseed_sha2_512 st additional_input additional_input_len
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.instantiate_sha2_384
val instantiate_sha2_384: instantiate_st SHA2_384
val instantiate_sha2_384: instantiate_st SHA2_384
let instantiate_sha2_384 = mk_instantiate EverCrypt.HMAC.compute_sha2_384
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 144, "start_col": 0, "start_line": 144 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.instantiate_st Spec.Hash.Definitions.SHA2_384
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_instantiate", "Spec.Hash.Definitions.SHA2_384", "EverCrypt.HMAC.compute_sha2_384" ]
[]
false
false
false
true
false
let instantiate_sha2_384 =
mk_instantiate EverCrypt.HMAC.compute_sha2_384
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.uninstantiate_sha2_384
val uninstantiate_sha2_384: uninstantiate_st SHA2_384
val uninstantiate_sha2_384: uninstantiate_st SHA2_384
let uninstantiate_sha2_384 = mk_uninstantiate SHA2_384
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 283, "start_col": 0, "start_line": 283 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.uninstantiate_st Spec.Hash.Definitions.SHA2_384
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_uninstantiate", "Spec.Hash.Definitions.SHA2_384" ]
[]
false
false
false
true
false
let uninstantiate_sha2_384 =
mk_uninstantiate SHA2_384
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.generate
val generate: a:(Ghost.erased supported_alg) -> generate_st (Ghost.reveal a)
val generate: a:(Ghost.erased supported_alg) -> generate_st (Ghost.reveal a)
let generate a output st n additional_input additional_input_len = match !*st with | SHA1_s _ -> generate_sha1 output st n additional_input additional_input_len | SHA2_256_s _ -> generate_sha2_256 output st n additional_input additional_input_len | SHA2_384_s _ -> generate_sha2_384 output st n additiona...
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 308, "start_col": 0, "start_line": 303 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.HMAC_DRBG.supported_alg -> EverCrypt.DRBG.generate_st (FStar.Ghost.reveal a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.HMAC_DRBG.supported_alg", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "EverCrypt.DRBG.state", "FStar.Ghost.reveal", "Lib.IntTypes.size_t", "Hacl.HMAC_DRBG.state", "Spec.Hash.Definitions.SHA1", "EverCrypt.DRBG.generate_sha1", "Prims.bool", "Spec.Hash.Definitions.S...
[]
false
false
false
false
false
let generate a output st n additional_input additional_input_len =
match !*st with | SHA1_s _ -> generate_sha1 output st n additional_input additional_input_len | SHA2_256_s _ -> generate_sha2_256 output st n additional_input additional_input_len | SHA2_384_s _ -> generate_sha2_384 output st n additional_input additional_input_len | SHA2_512_s _ -> generate_sha2_512 output st n additi...
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.uninstantiate_sha2_512
val uninstantiate_sha2_512: uninstantiate_st SHA2_512
val uninstantiate_sha2_512: uninstantiate_st SHA2_512
let uninstantiate_sha2_512 = mk_uninstantiate SHA2_512
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 284, "start_col": 0, "start_line": 284 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.uninstantiate_st Spec.Hash.Definitions.SHA2_512
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_uninstantiate", "Spec.Hash.Definitions.SHA2_512" ]
[]
false
false
false
true
false
let uninstantiate_sha2_512 =
mk_uninstantiate SHA2_512
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.generate_sha2_256
val generate_sha2_256: generate_st SHA2_256
val generate_sha2_256: generate_st SHA2_256
let generate_sha2_256 = mk_generate EverCrypt.HMAC.compute_sha2_256
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 241, "start_col": 0, "start_line": 241 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.generate_st Spec.Hash.Definitions.SHA2_256
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_generate", "Spec.Hash.Definitions.SHA2_256", "EverCrypt.HMAC.compute_sha2_256" ]
[]
false
false
false
true
false
let generate_sha2_256 =
mk_generate EverCrypt.HMAC.compute_sha2_256
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.reseed_sha2_384
val reseed_sha2_384: reseed_st SHA2_384
val reseed_sha2_384: reseed_st SHA2_384
let reseed_sha2_384 = mk_reseed EverCrypt.HMAC.compute_sha2_384
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 194, "start_col": 0, "start_line": 194 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.DRBG.reseed_st Spec.Hash.Definitions.SHA2_384
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.mk_reseed", "Spec.Hash.Definitions.SHA2_384", "EverCrypt.HMAC.compute_sha2_384" ]
[]
false
false
false
true
false
let reseed_sha2_384 =
mk_reseed EverCrypt.HMAC.compute_sha2_384
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.uninstantiate
val uninstantiate: a:(Ghost.erased supported_alg) -> uninstantiate_st (Ghost.reveal a)
val uninstantiate: a:(Ghost.erased supported_alg) -> uninstantiate_st (Ghost.reveal a)
let uninstantiate a st = match !* st with | SHA1_s _ -> uninstantiate_sha1 st | SHA2_256_s _ -> uninstantiate_sha2_256 st | SHA2_384_s _ -> uninstantiate_sha2_384 st | SHA2_512_s _ -> uninstantiate_sha2_512 st
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 315, "start_col": 0, "start_line": 310 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.HMAC_DRBG.supported_alg -> EverCrypt.DRBG.uninstantiate_st (FStar.Ghost.reveal a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.HMAC_DRBG.supported_alg", "EverCrypt.DRBG.state", "FStar.Ghost.reveal", "Hacl.HMAC_DRBG.state", "Spec.Hash.Definitions.SHA1", "EverCrypt.DRBG.uninstantiate_sha1", "Prims.unit", "Spec.Hash.Definitions.SHA2_256", "EverCrypt.DRBG.uninstantiate_sha2_256", "Spec.Hash.Defin...
[]
false
false
false
false
false
let uninstantiate a st =
match !*st with | SHA1_s _ -> uninstantiate_sha1 st | SHA2_256_s _ -> uninstantiate_sha2_256 st | SHA2_384_s _ -> uninstantiate_sha2_384 st | SHA2_512_s _ -> uninstantiate_sha2_512 st
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.mk_uninstantiate
val mk_uninstantiate: a:supported_alg -> uninstantiate_st a
val mk_uninstantiate: a:supported_alg -> uninstantiate_st a
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...
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 263, "start_col": 0, "start_line": 249 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.HMAC_DRBG.supported_alg -> EverCrypt.DRBG.uninstantiate_st a
Prims.Tot
[ "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...
[]
false
false
false
false
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_buffer st) (footprint_s st_s)); Lib.Memze...
false
Steel.ST.GenElim1.fst
Steel.ST.GenElim1.compute_gen_elim_nondep_correct10
val compute_gen_elim_nondep_correct10 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6 t7 t8 t9 t10: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8; t9; t10])
val compute_gen_elim_nondep_correct10 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6 t7 t8 t9 t10: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8; t9; t10])
let compute_gen_elim_nondep_correct10 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6 t7 t8 t9 t10: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8; t9; t10]) = fun q post intro _ -> intro _; rewrite_with_trefl (gen_elim_nondep_p _ _ _) (exists_ (fun x1 -> exists_ (fun x2 -> exists_ (f...
{ "file_name": "lib/steel/Steel.ST.GenElim1.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 659, "start_col": 0, "start_line": 639 }
module Steel.ST.GenElim1 let gen_elim_f (p: vprop) (a: Type) (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) module U = FStar.Universe let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) (U.raise_t u#_ u#1 unit...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim1.f...
[ { "abbrev": true, "full_module": "FStar.Universe", "short_module": "U" }, { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim1.Base", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i0: Steel.ST.GenElim1.Base.gen_elim_i -> t1: Type -> t2: Type -> t3: Type -> t4: Type -> t5: Type -> t6: Type -> t7: Type -> t8: Type -> t9: Type -> t10: Type -> Steel.ST.GenElim1.compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8; t9; t10]
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.GenElim1.Base.gen_elim_i", "Steel.ST.GenElim1.Base.curried_function_type", "Prims.Cons", "Prims.Nil", "FStar.Universe.raise_t", "Prims.unit", "Steel.Effect.Common.vprop", "Prims.prop", "Steel.ST.GenElim1.vprop_rewrite", "Steel.ST.GenElim1.Base.compute_gen_elim_p", "Steel.ST.GenElim1.ge...
[]
false
false
false
false
false
let compute_gen_elim_nondep_correct10 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6 t7 t8 t9 t10: Type) : Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8; t9; t10]) =
fun q post intro _ -> intro _; rewrite_with_trefl (gen_elim_nondep_p _ _ _) (exists_ (fun x1 -> exists_ (fun x2 -> exists_ (fun x3 -> exists_ (fun x4 -> exists_ (fun x5 -> exists_ (fun x6 -> ...
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.alloca
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)
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 = 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
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 78, "start_col": 0, "start_line": 70 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.HMAC_DRBG.supported_alg -> FStar.HyperStack.ST.StackInline (EverCrypt.DRBG.state a)
FStar.HyperStack.ST.StackInline
[]
[]
[ "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...
[]
false
true
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_der_length_payload_kind_weak
val parse_der_length_payload_kind_weak:parser_kind
val parse_der_length_payload_kind_weak:parser_kind
let parse_der_length_payload_kind_weak : parser_kind = strong_parser_kind 0 126 None
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 31, "end_line": 215, "start_col": 0, "start_line": 214 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Spec.Base.parser_kind
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.strong_parser_kind", "FStar.Pervasives.Native.None", "LowParse.Spec.Base.parser_kind_metadata_some" ]
[]
false
false
false
true
false
let parse_der_length_payload_kind_weak:parser_kind =
strong_parser_kind 0 126 None
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_der_length_weak_kind
val parse_der_length_weak_kind:parser_kind
val parse_der_length_weak_kind:parser_kind
let parse_der_length_weak_kind : parser_kind = and_then_kind parse_u8_kind parse_der_length_payload_kind_weak
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 109, "end_line": 218, "start_col": 0, "start_line": 218 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Spec.Base.parser_kind
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Int.parse_u8_kind", "LowParse.Spec.DER.parse_der_length_payload_kind_weak" ]
[]
false
false
false
true
false
let parse_der_length_weak_kind:parser_kind =
and_then_kind parse_u8_kind parse_der_length_payload_kind_weak
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_tag_cond
val parse_bounded_der_length_tag_cond (min: der_length_t) (max: der_length_t{min <= max}) (x: U8.t) : Tot bool
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 = let len = der_length_payload_size_of_tag x in der_length_payload_size min <= len && len <= der_length_payload_size max
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 120, "end_line": 245, "start_col": 0, "start_line": 240 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max} -> x: FStar.UInt8.t -> Prims.bool
Prims.Tot
[ "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" ]
[]
false
false
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_kind
val parse_bounded_der_length_kind (min: der_length_t) (max: der_length_t{min <= max}) : Tot parser_kind
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 = and_then_kind (parse_filter_kind parse_u8_kind) (parse_bounded_der_length_payload_kind min max)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 51, "end_line": 274, "start_col": 0, "start_line": 268 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max} -> LowParse.Spec.Base.parser_kind
Prims.Tot
[ "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" ]
[]
false
false
false
false
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)
false
EverCrypt.DRBG.fst
EverCrypt.DRBG.create_in
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)
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 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
{ "file_name": "providers/evercrypt/fst/EverCrypt.DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 88, "start_col": 0, "start_line": 80 }
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...
{ "checked_file": "/", "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", "Lib.IntTypes.fsti.che...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.HMAC_DRBG.supported_alg -> r: FStar.Monotonic.HyperHeap.rid -> FStar.HyperStack.ST.ST (EverCrypt.DRBG.state a)
FStar.HyperStack.ST.ST
[]
[]
[ "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...
[]
false
true
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.log256_le
val log256_le (x1 x2: nat) : Lemma (requires (0 < x1 /\ x1 <= x2)) (ensures (log256 x1 <= log256 x2))
val log256_le (x1 x2: nat) : Lemma (requires (0 < x1 /\ x1 <= x2)) (ensures (log256 x1 <= log256 x2))
let log256_le x1 x2 = Math.pow2_lt_recip (8 * (log256 x1 - 1)) (8 * log256 x2)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 58, "end_line": 43, "start_col": 0, "start_line": 40 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Math.pow2_lt_recip", "FStar.Mul.op_Star", "Prims.op_Subtraction", "LowParse.Spec.DER.log256", "Prims.unit" ]
[]
true
false
true
false
false
let log256_le x1 x2 =
Math.pow2_lt_recip (8 * (log256 x1 - 1)) (8 * log256 x2)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.log256
val log256 (x: nat { x > 0 }) : Tot (y: nat { y > 0 /\ pow2 (8 * (y - 1)) <= x /\ x < pow2 (8 * y)})
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)}) = 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
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 32, "start_col": 0, "start_line": 21 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.nat{x > 0} -> y: Prims.nat{y > 0 /\ Prims.pow2 (8 * (y - 1)) <= x /\ x < Prims.pow2 (8 * y)}
Prims.Tot
[ "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...
[ "recursion" ]
false
false
false
false
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 let n = log256 (x / 256) in Math.pow2_plus (8 * (n - 1)) 8; Math.pow2_plus (8 * n) 8; n + 1
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_be_int_injective
val synth_be_int_injective (len: nat) : Lemma (synth_injective (synth_be_int len)) [SMTPat (synth_injective (synth_be_int len))]
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))] = synth_injective_intro' (synth_be_int len) (fun (x x' : Seq.lseq byte len) -> E.be_to_n_inj x x' )
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 73, "start_col": 0, "start_line": 65 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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))]
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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: Seq.lseq byte len) (x': Seq.lseq byte len) -> E.be_to_n_inj x x')
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.log256_unique
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))
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 = Math.pow2_lt_recip (8 * (y - 1)) (8 * log256 x); Math.pow2_lt_recip (8 * (log256 x - 1)) (8 * y)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 49, "end_line": 38, "start_col": 0, "start_line": 34 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Math.pow2_lt_recip", "FStar.Mul.op_Star", "Prims.op_Subtraction", "LowParse.Spec.DER.log256", "Prims.unit" ]
[]
true
false
true
false
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)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_be_int
val synth_be_int (len: nat) (b: Seq.lseq byte len) : Tot (lint len)
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) = E.lemma_be_to_n_is_bounded b; E.be_to_n b
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 13, "end_line": 63, "start_col": 0, "start_line": 58 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Prims.nat -> b: FStar.Seq.Properties.lseq LowParse.Bytes.byte len -> LowParse.Spec.DER.lint len
Prims.Tot
[ "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" ]
[]
false
false
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_der_length_weak
val parse_der_length_weak:parser parse_der_length_weak_kind der_length_t
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 = parse_tagged_union parse_u8 tag_of_der_length (fun x -> weaken parse_der_length_payload_kind_weak (parse_der_length_payload x))
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 85, "end_line": 224, "start_col": 0, "start_line": 220 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Spec.Base.parser LowParse.Spec.DER.parse_der_length_weak_kind LowParse.Spec.DER.der_length_t
Prims.Tot
[ "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...
[]
false
false
false
true
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))
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_payload_kind
val parse_bounded_der_length_payload_kind (min: der_length_t) (max: der_length_t{min <= max}) : Tot parser_kind
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 = [@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
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 85, "end_line": 232, "start_col": 0, "start_line": 227 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: LowParse.Spec.DER.der_length_t -> max: LowParse.Spec.DER.der_length_t{min <= max} -> LowParse.Spec.Base.parser_kind
Prims.Tot
[ "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...
[]
false
false
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.tag_of_bounded_der_length
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})
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 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
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 255, "start_col": 0, "start_line": 248 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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}
Prims.Tot
[ "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...
[]
false
false
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_payload
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))
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_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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 156, "end_line": 265, "start_col": 0, "start_line": 257 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
Prims.Tot
[ "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...
[]
false
false
false
false
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_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...
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_weak
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))
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_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}) -> (...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 94, "end_line": 372, "start_col": 0, "start_line": 366 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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...
[]
false
false
false
false
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}) -> (y <: bounded_int min max))
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_eq
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))
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 <= 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 ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 9, "end_line": 422, "start_col": 0, "start_line": 404 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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 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...
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length
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))
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 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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 283, "start_col": 0, "start_line": 276 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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...
[]
false
false
false
false
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_length_payload min max)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_be_int_recip
val synth_be_int_recip (len: nat) (x: lint len) : GTot (b : Seq.lseq byte len)
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) = E.n_to_be len x
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 17, "end_line": 473, "start_col": 0, "start_line": 469 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Prims.nat -> x: LowParse.Spec.DER.lint len -> Prims.GTot (FStar.Seq.Properties.lseq LowParse.Bytes.byte len)
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.nat", "LowParse.Spec.DER.lint", "FStar.Endianness.n_to_be", "FStar.Seq.Properties.lseq", "LowParse.Bytes.byte" ]
[]
false
false
false
false
false
let synth_be_int_recip (len: nat) (x: lint len) : GTot (b : Seq.lseq byte len) =
E.n_to_be len x
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_unfold_aux
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...
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...
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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 76, "end_line": 334, "start_col": 0, "start_line": 312 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
FStar.Pervasives.Lemma
[ "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", "...
[]
true
false
true
false
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_p...
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.der_length_max_eq
val der_length_max_eq : squash (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 = assert_norm (der_length_max == pow2 (8 * 126) - 1)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 19, "start_col": 0, "start_line": 18 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.squash (LowParse.Spec.DER.der_length_max == Prims.pow2 (8 * 126) - 1)
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "LowParse.Spec.DER.der_length_max", "Prims.op_Subtraction", "Prims.pow2", "FStar.Mul.op_Star" ]
[]
false
false
true
false
false
let der_length_max_eq =
assert_norm (der_length_max == pow2 (8 * 126) - 1)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_der_length_129
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)
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) = 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); ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 8, "end_line": 85, "start_col": 0, "start_line": 75 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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
Prims.Tot
[ "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...
[]
false
false
false
false
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); log256_unique (U8.v y) 1; U8.v y
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_unfold
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...
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...
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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 11, "end_line": 364, "start_col": 0, "start_line": 336 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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_paylo...
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...
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.tag_of_der_length_eq_129_eta
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)
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)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 148, "end_line": 532, "start_col": 0, "start_line": 531 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
FStar.Pervasives.Lemma
[ "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...
[]
true
false
true
false
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)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_der_length_129_recip
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})
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}) = tag_of_der_length_eq_129 y; U8.uint_to_t y
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 16, "end_line": 467, "start_col": 0, "start_line": 462 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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})
Prims.GTot
[ "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",...
[]
false
false
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.der_length_payload_size_le
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))
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 = 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)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 53, "end_line": 56, "start_col": 0, "start_line": 45 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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 )
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_weak_unfold
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...
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...
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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 9, "end_line": 402, "start_col": 0, "start_line": 374 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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...
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 ...
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.tag_of_der_length_invalid_eta
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)
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
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 92, "end_line": 529, "start_col": 0, "start_line": 528 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
FStar.Pervasives.Lemma
[ "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...
[]
true
false
true
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.tag_of_der_length_lt_128_eta
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)
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)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 99, "end_line": 526, "start_col": 0, "start_line": 525 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
FStar.Pervasives.Lemma
[ "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...
[]
true
false
true
false
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)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length_payload_unfold
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...
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...
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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 16, "end_line": 310, "start_col": 0, "start_line": 287 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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_payloa...
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...
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.serialize_bounded_der_length
val serialize_bounded_der_length (min: der_length_t) (max: der_length_t{min <= max}) : Tot (serializer (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)) = 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)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 715, "start_col": 0, "start_line": 707 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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....
[]
false
false
false
false
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)
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha2_256_hash_len
val sha2_256_hash_len : FStar.UInt32.t
let sha2_256_hash_len = 32ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 8, "start_col": 12, "start_line": 8 }
// 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
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha2_256_hash_len =
32ul
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.serialize_der_length_weak
val serialize_der_length_weak:serializer parse_der_length_weak
val serialize_der_length_weak:serializer parse_der_length_weak
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))
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 99, "end_line": 573, "start_col": 0, "start_line": 569 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Spec.Base.serializer LowParse.Spec.DER.parse_der_length_weak
Prims.Tot
[ "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...
[]
false
false
false
true
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))
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.md5_hash_len
val md5_hash_len : FStar.UInt32.t
let md5_hash_len = 16ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 5, "start_col": 12, "start_line": 5 }
// Separate module because -no-prefix module EverCrypt.Hash.Incremental.Macros
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let md5_hash_len =
16ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha1_hash_len
val sha1_hash_len : FStar.UInt32.t
let sha1_hash_len = 20ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 6, "start_col": 12, "start_line": 6 }
// Separate module because -no-prefix module EverCrypt.Hash.Incremental.Macros (* These definitions for the benefits of C clients. *)
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha1_hash_len =
20ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha2_512_hash_len
val sha2_512_hash_len : FStar.UInt32.t
let sha2_512_hash_len = 64ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 10, "start_col": 12, "start_line": 10 }
// 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
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha2_512_hash_len =
64ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha2_384_hash_len
val sha2_384_hash_len : FStar.UInt32.t
let sha2_384_hash_len = 48ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 9, "start_col": 12, "start_line": 9 }
// 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
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha2_384_hash_len =
48ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha2_224_hash_len
val sha2_224_hash_len : FStar.UInt32.t
let sha2_224_hash_len = 28ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 7, "start_col": 12, "start_line": 7 }
// Separate module because -no-prefix module EverCrypt.Hash.Incremental.Macros (* These definitions for the benefits of C clients. *) [@ CMacro ] let md5_hash_len = 16ul
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha2_224_hash_len =
28ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha3_256_hash_len
val sha3_256_hash_len : FStar.UInt32.t
let sha3_256_hash_len = 32ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 12, "start_col": 12, "start_line": 12 }
// 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_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha3_256_hash_len =
32ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha3_384_hash_len
val sha3_384_hash_len : FStar.UInt32.t
let sha3_384_hash_len = 48ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 13, "start_col": 12, "start_line": 13 }
// 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_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha3_384_hash_len =
48ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha3_224_hash_len
val sha3_224_hash_len : FStar.UInt32.t
let sha3_224_hash_len = 28ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 11, "start_col": 12, "start_line": 11 }
// 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_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha3_224_hash_len =
28ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.blake2s_hash_len
val blake2s_hash_len : FStar.UInt32.t
let blake2s_hash_len = 32ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 15, "start_col": 12, "start_line": 15 }
// 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_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let blake2s_hash_len =
32ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.sha3_512_hash_len
val sha3_512_hash_len : FStar.UInt32.t
let sha3_512_hash_len = 64ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 14, "start_col": 12, "start_line": 14 }
// 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_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let sha3_512_hash_len =
64ul
false
EverCrypt.Hash.Incremental.Macros.fst
EverCrypt.Hash.Incremental.Macros.blake2b_hash_len
val blake2b_hash_len : FStar.UInt32.t
let blake2b_hash_len = 64ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.Macros.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 16, "start_col": 12, "start_line": 16 }
// 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_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "EverCrypt.Hash.Incremental.Macros.fst" }
[ { "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"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let blake2b_hash_len =
64ul
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_der_length_greater
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)
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 } ) (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); ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 100, "start_col": 0, "start_line": 87 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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
Prims.Tot
[ "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....
[]
false
false
false
false
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); 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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.serialize_der_length_payload_greater
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...
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_...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 7, "end_line": 523, "start_col": 0, "start_line": 498 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
Prims.Tot
[ "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...
[]
false
false
false
false
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_length x) _ (synth_der_length_greater x len) (serialize_filter (serialize_synth #_ #(Seq.lseq byte len) #(lint len) _ (...
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.tag_of_der_length_invalid
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)
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 == 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)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 448, "start_col": 0, "start_line": 438 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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)
false
FStar.UInt128.fsti
FStar.UInt128.op_Plus_Hat
val op_Plus_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Plus_Hat = add
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 142, "start_col": 32, "start_line": 142 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.add" ]
[]
false
false
false
false
false
let op_Plus_Hat =
add
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_der_length_payload
val parse_der_length_payload (x: U8.t) : Tot (parser (parse_der_length_payload_kind x) (refine_with_tag tag_of_der_length x))
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)) = 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); ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 133, "start_col": 0, "start_line": 102 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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....
[]
false
false
false
false
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); 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...
false
FStar.UInt128.fsti
FStar.UInt128.op_Plus_Percent_Hat
val op_Plus_Percent_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Plus_Percent_Hat = add_mod
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 65, "end_line": 144, "start_col": 32, "start_line": 144 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.add_mod" ]
[]
false
false
false
false
false
let op_Plus_Percent_Hat =
add_mod
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.serialize_bounded_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))
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)) = serialize_synth _ (fun (y: der_length_t {min <= y && y <= max}) -> (y <: bounded_int min max)) (serialize_filter serialize_der_length_weak ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 705, "start_col": 0, "start_line": 693 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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_...
[]
false
false
false
false
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 (fun y -> min <= y && y <= max)) (fun (y: bounded_int min max) -> (y <: (y: der_length_t{min <= y && y <= max}))) ()
false
FStar.UInt128.fsti
FStar.UInt128.n
val n : Prims.int
let n = 128
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 25, "start_col": 0, "start_line": 25 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "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....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.int
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let n =
128
false
FStar.UInt128.fsti
FStar.UInt128.op_Subtraction_Percent_Hat
val op_Subtraction_Percent_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Subtraction_Percent_Hat = sub_mod
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 72, "end_line": 147, "start_col": 32, "start_line": 147 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.sub_mod" ]
[]
false
false
false
false
false
let op_Subtraction_Percent_Hat =
sub_mod
false
FStar.UInt128.fsti
FStar.UInt128.op_Subtraction_Question_Hat
val op_Subtraction_Question_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Subtraction_Question_Hat = sub_underspec
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 79, "end_line": 146, "start_col": 32, "start_line": 146 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.sub_underspec" ]
[]
false
false
false
false
false
let op_Subtraction_Question_Hat =
sub_underspec
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_der_length_payload32
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))
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)) = parse_der_length_payload x `parse_synth` synth_der_length_payload32 x
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 71, "end_line": 827, "start_col": 0, "start_line": 824 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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_...
[]
false
false
false
false
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)
false
FStar.UInt128.fsti
FStar.UInt128.op_Plus_Question_Hat
val op_Plus_Question_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Plus_Question_Hat = add_underspec
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 72, "end_line": 143, "start_col": 32, "start_line": 143 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.add_underspec" ]
[]
false
false
false
false
false
let op_Plus_Question_Hat =
add_underspec
false
FStar.UInt128.fsti
FStar.UInt128.op_Subtraction_Hat
val op_Subtraction_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Subtraction_Hat = sub
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 60, "end_line": 145, "start_col": 32, "start_line": 145 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.sub" ]
[]
false
false
false
false
false
let op_Subtraction_Hat =
sub
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.tag_of_der_length_lt_128
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)))
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))) = 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)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 436, "start_col": 0, "start_line": 426 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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))
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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)
false
FStar.UInt128.fsti
FStar.UInt128.op_Amp_Hat
val op_Amp_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Amp_Hat = logand
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 148, "start_col": 32, "start_line": 148 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.logand" ]
[]
false
false
false
false
false
let op_Amp_Hat =
logand
false
FStar.UInt128.fsti
FStar.UInt128.op_Bar_Hat
val op_Bar_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Bar_Hat = logor
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 150, "start_col": 32, "start_line": 150 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.logor" ]
[]
false
false
false
false
false
let op_Bar_Hat =
logor
false
FStar.UInt128.fsti
FStar.UInt128.op_Less_Less_Hat
val op_Less_Less_Hat : a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t
let op_Less_Less_Hat = shift_left
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 65, "end_line": 151, "start_col": 32, "start_line": 151 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.shift_left" ]
[]
false
false
false
false
false
let op_Less_Less_Hat =
shift_left
false
FStar.UInt128.fsti
FStar.UInt128.op_Hat_Hat
val op_Hat_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
let op_Hat_Hat = logxor
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 149, "start_col": 32, "start_line": 149 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.logxor" ]
[]
false
false
false
false
false
let op_Hat_Hat =
logxor
false
FStar.UInt128.fsti
FStar.UInt128.op_Less_Hat
val op_Less_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
let op_Less_Hat = lt
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 155, "start_col": 32, "start_line": 155 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
Prims.Pure
[]
[]
[ "FStar.UInt128.lt" ]
[]
false
false
false
false
false
let op_Less_Hat =
lt
false
FStar.UInt128.fsti
FStar.UInt128.op_Greater_Hat
val op_Greater_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
let op_Greater_Hat = gt
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 154, "start_col": 32, "start_line": 154 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
Prims.Pure
[]
[]
[ "FStar.UInt128.gt" ]
[]
false
false
false
false
false
let op_Greater_Hat =
gt
false
FStar.UInt128.fsti
FStar.UInt128.op_Equals_Hat
val op_Equals_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
let op_Equals_Hat = eq
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 153, "start_col": 32, "start_line": 153 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
Prims.Pure
[]
[]
[ "FStar.UInt128.eq" ]
[]
false
false
false
false
false
let op_Equals_Hat =
eq
false
FStar.UInt128.fsti
FStar.UInt128.op_Greater_Greater_Hat
val op_Greater_Greater_Hat : a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t
let op_Greater_Greater_Hat = shift_right
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 72, "end_line": 152, "start_col": 32, "start_line": 152 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt128.t
Prims.Pure
[]
[]
[ "FStar.UInt128.shift_right" ]
[]
false
false
false
false
false
let op_Greater_Greater_Hat =
shift_right
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.be_int_of_bounded_integer_injective
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))]
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)) [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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 849, "start_col": 0, "start_line": 840 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)...
FStar.Pervasives.Lemma
[ "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...
[]
true
false
true
false
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))] =
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)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_bounded_der_length32
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)
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 max) : Tot (bounded_int32 min max) = U32.uint_to_t x
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 17, "end_line": 927, "start_col": 0, "start_line": 922 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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
Prims.Tot
[ "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" ]
[]
false
false
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.be_int_of_bounded_integer
val be_int_of_bounded_integer (len: integer_size) (x: nat{x < pow2 (8 * len)}) : GTot (bounded_integer len)
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) = 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...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 17, "end_line": 838, "start_col": 0, "start_line": 829 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: LowParse.Spec.BoundedInt.integer_size -> x: Prims.nat{x < Prims.pow2 (8 * len)} -> Prims.GTot (LowParse.Spec.BoundedInt.bounded_integer len)
Prims.GTot
[ "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...
[]
false
false
false
false
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 x
false
Pulse.Typing.Metatheory.Base.fsti
Pulse.Typing.Metatheory.Base.renaming
val renaming : x: Pulse.Syntax.Base.var -> y: Pulse.Syntax.Base.var -> Prims.list Pulse.Syntax.Naming.subst_elt
let renaming x y = [NT x (tm_var {nm_index=y; nm_ppname=ppname_default})]
{ "file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.Base.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 73, "end_line": 85, "start_col": 0, "start_line": 85 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Stubs.TypeChecker.Core.fsti.checked", "FStar.Reflection....
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.Stubs.TypeChecker.Core", "short_module": "C" }, { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Pulse.Syntax.Base.var -> y: Pulse.Syntax.Base.var -> Prims.list Pulse.Syntax.Naming.subst_elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.var", "Prims.Cons", "Pulse.Syntax.Naming.subst_elt", "Pulse.Syntax.Naming.NT", "Pulse.Syntax.Pure.tm_var", "Pulse.Syntax.Base.Mknm", "Pulse.Syntax.Base.ppname_default", "Prims.Nil", "Prims.list" ]
[]
false
false
false
true
false
let renaming x y =
[NT x (tm_var ({ nm_index = y; nm_ppname = ppname_default }))]
false
FStar.UInt128.fsti
FStar.UInt128.op_Greater_Equals_Hat
val op_Greater_Equals_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
let op_Greater_Equals_Hat = gte
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 63, "end_line": 156, "start_col": 32, "start_line": 156 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
Prims.Pure
[]
[]
[ "FStar.UInt128.gte" ]
[]
false
false
false
false
false
let op_Greater_Equals_Hat =
gte
false
FStar.UInt128.fsti
FStar.UInt128.op_Less_Equals_Hat
val op_Less_Equals_Hat : a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
let op_Less_Equals_Hat = lte
{ "file_name": "ulib/FStar.UInt128.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 60, "end_line": 157, "start_col": 32, "start_line": 157 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.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.fsti" }
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> Prims.Pure Prims.bool
Prims.Pure
[]
[]
[ "FStar.UInt128.lte" ]
[]
false
false
false
false
false
let op_Less_Equals_Hat =
lte
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.serialize_bounded_der_length_unfold
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...
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...
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 ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 36, "end_line": 743, "start_col": 0, "start_line": 717 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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...
FStar.Pervasives.Lemma
[ "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_...
[]
false
false
true
false
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 the...
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_bounded_der_length32_recip
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)
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: bounded_int32 min max) : GTot (bounded_int min max) = U32.v x
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 9, "end_line": 970, "start_col": 0, "start_line": 965 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.GTot
[ "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" ]
[]
false
false
false
false
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
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_seq_flbytes_synth_be_int_eq
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...
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...
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) ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 40, "end_line": 874, "start_col": 0, "start_line": 853 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "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...
false
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...
FStar.Pervasives.Lemma
[ "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...
[]
true
false
true
false
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 #_ #(Se...
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...
false
Pulse.Typing.Metatheory.Base.fsti
Pulse.Typing.Metatheory.Base.nt
val nt : x: Pulse.Syntax.Base.var -> t: Pulse.Syntax.Base.term -> Prims.list Pulse.Syntax.Naming.subst_elt
let nt (x:var) (t:term) = [ NT x t ]
{ "file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.Base.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 113, "start_col": 0, "start_line": 113 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Stubs.TypeChecker.Core.fsti.checked", "FStar.Reflection....
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "FStar.Stubs.TypeChecker.Core", "short_module": "C" }, { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Pulse.Syntax.Base.var -> t: Pulse.Syntax.Base.term -> Prims.list Pulse.Syntax.Naming.subst_elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.var", "Pulse.Syntax.Base.term", "Prims.Cons", "Pulse.Syntax.Naming.subst_elt", "Pulse.Syntax.Naming.NT", "Prims.Nil", "Prims.list" ]
[]
false
false
false
true
false
let nt (x: var) (t: term) =
[NT x t]
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.tag_of_der_length_eq_129
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))
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)) = 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)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 460, "start_col": 0, "start_line": 450 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
FStar.Pervasives.Lemma
[ "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...
[]
false
false
true
false
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)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.log256_eq
val log256_eq (x: nat) : Lemma (requires (x > 0 /\ x < 4294967296)) (ensures (log256 x == log256' x))
val log256_eq (x: nat) : Lemma (requires (x > 0 /\ x < 4294967296)) (ensures (log256 x == log256' x))
let log256_eq x = log256_unique x (log256' x)
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 29, "end_line": 920, "start_col": 0, "start_line": 918 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.nat -> FStar.Pervasives.Lemma (requires x > 0 /\ x < 4294967296) (ensures LowParse.Spec.DER.log256 x == LowParse.Spec.BoundedInt.log256' x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Spec.DER.log256_unique", "LowParse.Spec.BoundedInt.log256'", "Prims.unit" ]
[]
true
false
true
false
false
let log256_eq x =
log256_unique x (log256' x)
false
Pulse.Typing.Metatheory.Base.fsti
Pulse.Typing.Metatheory.Base.iname_typing
val iname_typing : g: Pulse.Typing.Env.env -> c: Pulse.Syntax.Base.comp_st -> Type0
let iname_typing (g:env) (c:comp_st) = tot_typing g (inames_of_comp_st c) tm_inames
{ "file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.Base.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 83, "end_line": 43, "start_col": 0, "start_line": 43 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Stubs.TypeChecker.Core.fsti.checked", "FStar.Reflection....
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing", "short_module": "RT" }, { "abbrev": true, "full_module": "FStar.Reflection.Typing", "short_module": "RT" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
g: Pulse.Typing.Env.env -> c: Pulse.Syntax.Base.comp_st -> Type0
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.tot_typing", "Pulse.Typing.Metatheory.Base.inames_of_comp_st", "Pulse.Syntax.Base.tm_inames" ]
[]
false
false
false
true
true
let iname_typing (g: env) (c: comp_st) =
tot_typing g (inames_of_comp_st c) tm_inames
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.serialize_bounded_der_length32
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))
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_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 ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 981, "start_col": 0, "start_line": 972 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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...
[]
false
false
false
false
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 max) ()
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.parse_bounded_der_length32
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))
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 (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
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 83, "end_line": 933, "start_col": 0, "start_line": 929 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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)
Prims.Tot
[ "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...
[]
false
false
false
false
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)
false
LowParse.Spec.DER.fst
LowParse.Spec.DER.synth_der_length_greater_recip
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))})
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 == 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); ...
{ "file_name": "src/lowparse/LowParse.Spec.DER.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 488, "start_col": 0, "start_line": 481 }
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...
{ "checked_file": "/", "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", "FStar.Tactics.Effect.fs...
[ { "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...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
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))}
Prims.Tot
[ "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",...
[]
false
false
false
false
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); y
false