effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FStar.Pervasives.Lemma | val update_multi_associative:
a: alg ->
Prims.unit ->
acc: _ ->
prevlen1: nat ->
prevlen2: nat ->
input1: S.seq uint8 ->
input2: S.seq uint8
-> Lemma
(requires
(S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0)
)
(ensures
... | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Agile"
},
{
"abbrev": true,
"full_module": "Hacl.Hash.Definitions",
"short_module": "D"
},
{
"abbrev": false,
"full_module": "Hacl.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
... | false | let update_multi_associative (a : alg) () acc (prevlen1 prevlen2 : nat)
(input1 input2 : S.seq uint8) :
Lemma
(requires (
S.length input1 % U32.v (D.block_len a) = 0 /\
S.length input2 % U32.v (D.block_len a) = 0))
(ensures (
let input = S.append input1 input2 ... | val update_multi_associative:
a: alg ->
Prims.unit ->
acc: _ ->
prevlen1: nat ->
prevlen2: nat ->
input1: S.seq uint8 ->
input2: S.seq uint8
-> Lemma
(requires
(S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0)
)
(ensures
... | false | null | true | Spec.Hash.Lemmas.update_multi_associative a acc input1 input2 | {
"checked_file": "Hacl.Streaming.MD.fst.checked",
"dependencies": [
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.check... | [
"lemma"
] | [
"Hacl.Streaming.MD.alg",
"Prims.unit",
"Spec.Hash.Definitions.words_state",
"Prims.nat",
"FStar.Seq.Base.seq",
"Hacl.Streaming.Interface.uint8",
"Spec.Hash.Lemmas.update_multi_associative",
"Prims.l_and",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"FStar.Seq.Base.leng... | [] | module Hacl.Streaming.MD
open FStar.HyperStack.ST
/// This file is poorly named. It contains a generic type class instantiation
/// for the streaming functor for any algorithm that fits within the agile hash
/// infrastructure.
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module HS = FStar.HyperStack
mo... | false | false | Hacl.Streaming.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val update_multi_associative:
a: alg ->
Prims.unit ->
acc: _ ->
prevlen1: nat ->
prevlen2: nat ->
input1: S.seq uint8 ->
input2: S.seq uint8
-> Lemma
(requires
(S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0)
)
(ensures
... | [] | Hacl.Streaming.MD.update_multi_associative | {
"file_name": "code/streaming/Hacl.Streaming.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Hacl.Streaming.MD.alg ->
_: Prims.unit ->
acc: Spec.Hash.Definitions.words_state a ->
prevlen1: Prims.nat ->
prevlen2: Prims.nat ->
input1: FStar.Seq.Base.seq Hacl.Streaming.Interface.uint8 ->
input2: FStar.Seq.Base.seq Hacl.Streaming.Interface.uint8
-> FStar.Pervasives.Lemma
(re... | {
"end_col": 63,
"end_line": 75,
"start_col": 2,
"start_line": 75
} |
Prims.Tot | val md_prevlen (a: alg) (len: D.(len: U64.t{U64.v len % U32.v (block_len a) = 0})) : D.prev_len_t a | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Agile"
},
{
"abbrev": true,
"full_module": "Hacl.Hash.Definitions",
"short_module": "D"
},
{
"abbrev": false,
"full_module": "Hacl.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
... | false | let md_prevlen (a: alg) (len: D.(len: U64.t { U64.v len % U32.v (block_len a) = 0 })): D.prev_len_t a =
if a = SHA2_384 || a = SHA2_512 then FStar.Int.Cast.Full.uint64_to_uint128 len else len | val md_prevlen (a: alg) (len: D.(len: U64.t{U64.v len % U32.v (block_len a) = 0})) : D.prev_len_t a
let md_prevlen (a: alg) (len: D.(len: U64.t{U64.v len % U32.v (block_len a) = 0})) : D.prev_len_t a = | false | null | false | if a = SHA2_384 || a = SHA2_512 then FStar.Int.Cast.Full.uint64_to_uint128 len else len | {
"checked_file": "Hacl.Streaming.MD.fst.checked",
"dependencies": [
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.check... | [
"total"
] | [
"Hacl.Streaming.MD.alg",
"FStar.UInt64.t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"FStar.UInt64.v",
"FStar.UInt32.v",
"Hacl.Hash.Definitions.block_len",
"Prims.op_BarBar",
"Spec.Hash.Definitions.hash_alg",
"Spec.Hash.Definitions.SHA2_384",
"Spec.Hash.Definitions.S... | [] | module Hacl.Streaming.MD
open FStar.HyperStack.ST
/// This file is poorly named. It contains a generic type class instantiation
/// for the streaming functor for any algorithm that fits within the agile hash
/// infrastructure.
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module HS = FStar.HyperStack
mo... | false | false | Hacl.Streaming.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val md_prevlen (a: alg) (len: D.(len: U64.t{U64.v len % U32.v (block_len a) = 0})) : D.prev_len_t a | [] | Hacl.Streaming.MD.md_prevlen | {
"file_name": "code/streaming/Hacl.Streaming.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Hacl.Streaming.MD.alg ->
len: FStar.UInt64.t{FStar.UInt64.v len % FStar.UInt32.v (Hacl.Hash.Definitions.block_len a) = 0}
-> Hacl.Hash.Definitions.prev_len_t a | {
"end_col": 89,
"end_line": 80,
"start_col": 2,
"start_line": 80
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Agile"
},
{
"abbrev": true,
"full_module": "Hacl.Hash.Definitions",
"short_module": "D"
},
{
"abbrev": false,
"full_module": "Hacl.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
... | false | let hacl_md (a:alg)// : block unit =
=
Block
Erased
(state_t a) (* state *)
(stateful_unused unit) (* key *)
unit
(fun () -> max_input_len64 a) (* max_input_len *)
(fun () () -> Spec.Hash.Definitions.hash_length a) (* output_len *)
(fun () -> Hacl.Hash.Definitions.block_len a) (* block... | let hacl_md (a: alg) = | false | null | false | Block Erased
(state_t a)
(stateful_unused unit)
unit
(fun () -> max_input_len64 a)
(fun () () -> Spec.Hash.Definitions.hash_length a)
(fun () -> Hacl.Hash.Definitions.block_len a)
(fun () -> Hacl.Hash.Definitions.block_len a)
(fun () -> 0ul)
(fun () _k -> S.empty)
(fun () _ -> Spec.Agile.Hash.init a... | {
"checked_file": "Hacl.Streaming.MD.fst.checked",
"dependencies": [
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.check... | [
"total"
] | [
"Hacl.Streaming.MD.alg",
"Hacl.Streaming.Interface.Block",
"Prims.unit",
"Hacl.Streaming.Interface.Erased",
"Hacl.Streaming.MD.state_t",
"Hacl.Streaming.Interface.stateful_unused",
"Hacl.Hash.Definitions.max_input_len64",
"FStar.UInt64.t",
"Prims.b2t",
"FStar.Integers.op_Greater",
"FStar.Integer... | [] | module Hacl.Streaming.MD
open FStar.HyperStack.ST
/// This file is poorly named. It contains a generic type class instantiation
/// for the streaming functor for any algorithm that fits within the agile hash
/// infrastructure.
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module HS = FStar.HyperStack
mo... | false | true | Hacl.Streaming.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hacl_md : a: Hacl.Streaming.MD.alg -> Hacl.Streaming.Interface.block Prims.unit | [] | Hacl.Streaming.MD.hacl_md | {
"file_name": "code/streaming/Hacl.Streaming.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Hacl.Streaming.MD.alg -> Hacl.Streaming.Interface.block Prims.unit | {
"end_col": 19,
"end_line": 183,
"start_col": 2,
"start_line": 87
} | |
Prims.Tot | val kind_t_exact
: parser_kind false WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind_t_exact
: parser_kind false WeakKindStrongPrefix
= kind_nlist | val kind_t_exact
: parser_kind false WeakKindStrongPrefix
let kind_t_exact:parser_kind false WeakKindStrongPrefix = | false | null | false | kind_nlist | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"EverParse3d.Kinds.kind_nlist",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind_t_exact
: parser_kind false WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind_t_exact | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind false EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 14,
"end_line": 98,
"start_col": 4,
"start_line": 98
} |
Prims.Tot | val parser_kind (nz:bool) (wk: weak_kind) : Type0 | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let parser_kind (nz:bool) (wk: weak_kind) =
k:LP.parser_kind { parser_kind_prop nz wk k } | val parser_kind (nz:bool) (wk: weak_kind) : Type0
let parser_kind (nz: bool) (wk: weak_kind) = | false | null | false | k: LP.parser_kind{parser_kind_prop nz wk k} | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"LowParse.Spec.Base.parser_kind",
"EverParse3d.Kinds.parser_kind_prop"
] | [] | (*
Copyright 2019 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... | false | true | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parser_kind (nz:bool) (wk: weak_kind) : Type0 | [] | EverParse3d.Kinds.parser_kind | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | nz: Prims.bool -> wk: EverParse3d.Kinds.weak_kind -> Type0 | {
"end_col": 47,
"end_line": 39,
"start_col": 2,
"start_line": 39
} |
Prims.Tot | val parser_kind_prop (nz: bool) (wk: weak_kind) (k: LP.parser_kind) : Tot prop | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let parser_kind_prop
(nz: bool)
(wk: weak_kind)
(k: LP.parser_kind)
: Tot prop
= (nz ==> (k.LP.parser_kind_low > 0)) /\
begin match wk with
| WeakKindStrongPrefix -> k.LP.parser_kind_subkind == Some LP.ParserStrong
| WeakKindConsumesAll -> k.LP.parser_kind_subkind == Some LP.ParserConsumesAll
| _... | val parser_kind_prop (nz: bool) (wk: weak_kind) (k: LP.parser_kind) : Tot prop
let parser_kind_prop (nz: bool) (wk: weak_kind) (k: LP.parser_kind) : Tot prop = | false | null | false | (nz ==> (k.LP.parser_kind_low > 0)) /\
(match wk with
| WeakKindStrongPrefix -> k.LP.parser_kind_subkind == Some LP.ParserStrong
| WeakKindConsumesAll -> k.LP.parser_kind_subkind == Some LP.ParserConsumesAll
| _ -> True) | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"LowParse.Spec.Base.parser_kind",
"Prims.l_and",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_GreaterThan",
"LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_low",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"LowParse.Spec.Base.parser_subkind"... | [] | (*
Copyright 2019 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... | false | true | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parser_kind_prop (nz: bool) (wk: weak_kind) (k: LP.parser_kind) : Tot prop | [] | EverParse3d.Kinds.parser_kind_prop | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | nz: Prims.bool -> wk: EverParse3d.Kinds.weak_kind -> k: LowParse.Spec.Base.parser_kind -> Prims.prop | {
"end_col": 5,
"end_line": 34,
"start_col": 2,
"start_line": 29
} |
Prims.Tot | val kind_t_at_most
: parser_kind false WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind_t_at_most
: parser_kind false WeakKindStrongPrefix
= kind_nlist | val kind_t_at_most
: parser_kind false WeakKindStrongPrefix
let kind_t_at_most:parser_kind false WeakKindStrongPrefix = | false | null | false | kind_nlist | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"EverParse3d.Kinds.kind_nlist",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind_t_at_most
: parser_kind false WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind_t_at_most | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind false EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 14,
"end_line": 94,
"start_col": 4,
"start_line": 94
} |
Prims.Tot | val kind____UINT16BE
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT16BE
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.BoundedInt.parse_u16_kind | val kind____UINT16BE
: parser_kind true WeakKindStrongPrefix
let kind____UINT16BE:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.BoundedInt.parse_u16_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u16_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT16BE
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT16BE | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 43,
"end_line": 126,
"start_col": 4,
"start_line": 126
} |
Prims.Tot | val ret_kind
: parser_kind false WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let ret_kind
: parser_kind false WeakKindStrongPrefix
= LPC.parse_ret_kind | val ret_kind
: parser_kind false WeakKindStrongPrefix
let ret_kind:parser_kind false WeakKindStrongPrefix = | false | null | false | LPC.parse_ret_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Combinators.parse_ret_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ret_kind
: parser_kind false WeakKindStrongPrefix | [] | EverParse3d.Kinds.ret_kind | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind false EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 22,
"end_line": 53,
"start_col": 4,
"start_line": 53
} |
Prims.Tot | val kind_nlist
: parser_kind false WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind_nlist
: parser_kind false WeakKindStrongPrefix
= let open LP in
{
parser_kind_low = 0;
parser_kind_high = None;
parser_kind_subkind = Some ParserStrong;
parser_kind_metadata = None
} | val kind_nlist
: parser_kind false WeakKindStrongPrefix
let kind_nlist:parser_kind false WeakKindStrongPrefix = | false | null | false | let open LP in
{
parser_kind_low = 0;
parser_kind_high = None;
parser_kind_subkind = Some ParserStrong;
parser_kind_metadata = None
} | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Base.Mkparser_kind'",
"FStar.Pervasives.Native.None",
"Prims.nat",
"FStar.Pervasives.Native.Some",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.ParserStrong",
"LowParse.Spec.Base.parser_kind_metadata_some",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrong... | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind_nlist
: parser_kind false WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind_nlist | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind false EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 33,
"end_line": 85,
"start_col": 6,
"start_line": 82
} |
Prims.Tot | val kind____UINT8
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT8
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.Int.parse_u8_kind | val kind____UINT8
: parser_kind true WeakKindStrongPrefix
let kind____UINT8:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.Int.parse_u8_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u8_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT8
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT8 | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 35,
"end_line": 116,
"start_col": 4,
"start_line": 116
} |
Prims.Tot | val filter_kind (#nz:_) (#wk: _) (k:parser_kind nz wk)
: parser_kind nz wk | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let filter_kind (#nz:_) (#wk: _) (k:parser_kind nz wk)
: parser_kind nz wk
= LPC.parse_filter_kind k | val filter_kind (#nz:_) (#wk: _) (k:parser_kind nz wk)
: parser_kind nz wk
let filter_kind (#nz #wk: _) (k: parser_kind nz wk) : parser_kind nz wk = | false | null | false | LPC.parse_filter_kind k | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"LowParse.Spec.Combinators.parse_filter_kind"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val filter_kind (#nz:_) (#wk: _) (k:parser_kind nz wk)
: parser_kind nz wk | [] | EverParse3d.Kinds.filter_kind | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | k: EverParse3d.Kinds.parser_kind nz wk -> EverParse3d.Kinds.parser_kind nz wk | {
"end_col": 27,
"end_line": 67,
"start_col": 4,
"start_line": 67
} |
Prims.Tot | val kind____UINT32BE
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT32BE
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.BoundedInt.parse_u32_kind | val kind____UINT32BE
: parser_kind true WeakKindStrongPrefix
let kind____UINT32BE:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.BoundedInt.parse_u32_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u32_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT32BE
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT32BE | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 43,
"end_line": 131,
"start_col": 4,
"start_line": 131
} |
Prims.Tot | val kind_all_bytes
: parser_kind false WeakKindConsumesAll | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind_all_bytes
: parser_kind false WeakKindConsumesAll
= LowParse.Spec.Bytes.parse_all_bytes_kind | val kind_all_bytes
: parser_kind false WeakKindConsumesAll
let kind_all_bytes:parser_kind false WeakKindConsumesAll = | false | null | false | LowParse.Spec.Bytes.parse_all_bytes_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Bytes.parse_all_bytes_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindConsumesAll"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind_all_bytes
: parser_kind false WeakKindConsumesAll | [] | EverParse3d.Kinds.kind_all_bytes | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind false EverParse3d.Kinds.WeakKindConsumesAll | {
"end_col": 44,
"end_line": 90,
"start_col": 4,
"start_line": 90
} |
Prims.Tot | val impos_kind
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let impos_kind
: parser_kind true WeakKindStrongPrefix
= LPC.(strong_parser_kind 1 1 (Some ParserKindMetadataFail)) | val impos_kind
: parser_kind true WeakKindStrongPrefix
let impos_kind:parser_kind true WeakKindStrongPrefix = | false | null | false | let open LPC in strong_parser_kind 1 1 (Some ParserKindMetadataFail) | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Base.strong_parser_kind",
"FStar.Pervasives.Native.Some",
"LowParse.Spec.Base.parser_kind_metadata_some",
"LowParse.Spec.Base.ParserKindMetadataFail",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val impos_kind
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.impos_kind | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 61,
"end_line": 73,
"start_col": 9,
"start_line": 73
} |
Prims.Tot | val kind____UINT64BE
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT64BE
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.Int.parse_u64_kind | val kind____UINT64BE
: parser_kind true WeakKindStrongPrefix
let kind____UINT64BE:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.Int.parse_u64_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u64_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT64BE
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT64BE | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 36,
"end_line": 136,
"start_col": 4,
"start_line": 136
} |
Prims.Tot | val kind____UINT8BE
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT8BE
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.BoundedInt.parse_u8_kind | val kind____UINT8BE
: parser_kind true WeakKindStrongPrefix
let kind____UINT8BE:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.BoundedInt.parse_u8_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u8_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT8BE
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT8BE | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 42,
"end_line": 121,
"start_col": 4,
"start_line": 121
} |
Prims.Tot | val kind____UINT32
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT32
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.BoundedInt.parse_u32_kind | val kind____UINT32
: parser_kind true WeakKindStrongPrefix
let kind____UINT32:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.BoundedInt.parse_u32_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u32_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT32
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT32 | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 43,
"end_line": 146,
"start_col": 4,
"start_line": 146
} |
Prims.Tot | val parse_string_kind
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let parse_string_kind
: parser_kind true WeakKindStrongPrefix
= {
LP.parser_kind_low = 1;
LP.parser_kind_high = None;
LP.parser_kind_subkind = Some LP.ParserStrong;
LP.parser_kind_metadata = None;
} | val parse_string_kind
: parser_kind true WeakKindStrongPrefix
let parse_string_kind:parser_kind true WeakKindStrongPrefix = | false | null | false | {
LP.parser_kind_low = 1;
LP.parser_kind_high = None;
LP.parser_kind_subkind = Some LP.ParserStrong;
LP.parser_kind_metadata = None
} | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Base.Mkparser_kind'",
"FStar.Pervasives.Native.None",
"Prims.nat",
"FStar.Pervasives.Native.Some",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.ParserStrong",
"LowParse.Spec.Base.parser_kind_metadata_some",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrong... | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_string_kind
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.parse_string_kind | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 36,
"end_line": 106,
"start_col": 5,
"start_line": 103
} |
Prims.Tot | val kind____UINT16
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT16
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.BoundedInt.parse_u16_kind | val kind____UINT16
: parser_kind true WeakKindStrongPrefix
let kind____UINT16:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.BoundedInt.parse_u16_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u16_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT16
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT16 | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 43,
"end_line": 141,
"start_col": 4,
"start_line": 141
} |
Prims.Tot | val and_then_kind (#nz1:_) (k1:parser_kind nz1 WeakKindStrongPrefix)
(#nz2:_) (#wk2: _) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 || nz2) wk2 | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let and_then_kind (#nz1:_) (k1:parser_kind nz1 WeakKindStrongPrefix)
(#nz2:_) (#wk2: _) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 || nz2) wk2
= LPC.and_then_kind k1 k2 | val and_then_kind (#nz1:_) (k1:parser_kind nz1 WeakKindStrongPrefix)
(#nz2:_) (#wk2: _) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 || nz2) wk2
let and_then_kind
(#nz1: _)
(k1: parser_kind nz1 WeakKindStrongPrefix)
(#nz2 #wk2: _)
(k2: parser_kind nz2 wk2)
: parser_kin... | false | null | false | LPC.and_then_kind k1 k2 | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix",
"EverParse3d.Kinds.weak_kind",
"LowParse.Spec.Combinators.and_then_kind",
"Prims.op_BarBar"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val and_then_kind (#nz1:_) (k1:parser_kind nz1 WeakKindStrongPrefix)
(#nz2:_) (#wk2: _) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 || nz2) wk2 | [] | EverParse3d.Kinds.and_then_kind | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
k1: EverParse3d.Kinds.parser_kind nz1 EverParse3d.Kinds.WeakKindStrongPrefix ->
k2: EverParse3d.Kinds.parser_kind nz2 wk2
-> EverParse3d.Kinds.parser_kind (nz1 || nz2) wk2 | {
"end_col": 29,
"end_line": 61,
"start_col": 6,
"start_line": 61
} |
Prims.Tot | val glb (#nz1:bool) (#wk1: weak_kind) (k1:parser_kind nz1 wk1)
(#nz2:bool) (#wk2: weak_kind) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 && nz2) (weak_kind_glb wk1 wk2) | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let glb (#nz1:bool) (#wk1: weak_kind) (k1:parser_kind nz1 wk1)
(#nz2:bool) (#wk2: weak_kind) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 && nz2) (weak_kind_glb wk1 wk2)
= LP.glb k1 k2 | val glb (#nz1:bool) (#wk1: weak_kind) (k1:parser_kind nz1 wk1)
(#nz2:bool) (#wk2: weak_kind) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 && nz2) (weak_kind_glb wk1 wk2)
let glb
(#nz1: bool)
(#wk1: weak_kind)
(k1: parser_kind nz1 wk1)
(#nz2: bool)
(#wk2: weak_kind)
(k2: ... | false | null | false | LP.glb k1 k2 | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"LowParse.Spec.Base.glb",
"Prims.op_AmpAmp",
"EverParse3d.Kinds.weak_kind_glb"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val glb (#nz1:bool) (#wk1: weak_kind) (k1:parser_kind nz1 wk1)
(#nz2:bool) (#wk2: weak_kind) (k2:parser_kind nz2 wk2)
: parser_kind (nz1 && nz2) (weak_kind_glb wk1 wk2) | [] | EverParse3d.Kinds.glb | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | k1: EverParse3d.Kinds.parser_kind nz1 wk1 -> k2: EverParse3d.Kinds.parser_kind nz2 wk2
-> EverParse3d.Kinds.parser_kind (nz1 && nz2) (EverParse3d.Kinds.weak_kind_glb wk1 wk2) | {
"end_col": 18,
"end_line": 46,
"start_col": 6,
"start_line": 46
} |
Prims.Tot | val kind____UINT64
: parser_kind true WeakKindStrongPrefix | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind____UINT64
: parser_kind true WeakKindStrongPrefix
= LowParse.Spec.Int.parse_u64_kind | val kind____UINT64
: parser_kind true WeakKindStrongPrefix
let kind____UINT64:parser_kind true WeakKindStrongPrefix = | false | null | false | LowParse.Spec.Int.parse_u64_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.Int.parse_u64_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind____UINT64
: parser_kind true WeakKindStrongPrefix | [] | EverParse3d.Kinds.kind____UINT64 | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind true EverParse3d.Kinds.WeakKindStrongPrefix | {
"end_col": 36,
"end_line": 151,
"start_col": 4,
"start_line": 151
} |
Prims.Tot | val kind_all_zeros
: parser_kind false WeakKindConsumesAll | [
{
"abbrev": true,
"full_module": "LowParse.Spec.Combinators",
"short_module": "LPC"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": false,
"full_module": "EverParse3d",
"short_module": null
},
{
"abbrev": false,
"f... | false | let kind_all_zeros
: parser_kind false WeakKindConsumesAll
= LowParse.Spec.List.parse_list_kind | val kind_all_zeros
: parser_kind false WeakKindConsumesAll
let kind_all_zeros:parser_kind false WeakKindConsumesAll = | false | null | false | LowParse.Spec.List.parse_list_kind | {
"checked_file": "EverParse3d.Kinds.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Spec.Int.fsti.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Bytes.fst.checked",
"LowParse.Spec.BoundedInt.fsti.checked",
"LowParse.S... | [
"total"
] | [
"LowParse.Spec.List.parse_list_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindConsumesAll"
] | [] | (*
Copyright 2019 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... | false | false | EverParse3d.Kinds.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val kind_all_zeros
: parser_kind false WeakKindConsumesAll | [] | EverParse3d.Kinds.kind_all_zeros | {
"file_name": "src/3d/prelude/EverParse3d.Kinds.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Kinds.parser_kind false EverParse3d.Kinds.WeakKindConsumesAll | {
"end_col": 38,
"end_line": 111,
"start_col": 4,
"start_line": 111
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let bytes = S.seq uint8 | let bytes = | false | null | false | S.seq uint8 | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"total"
] | [
"FStar.Seq.Base.seq",
"Hacl.Streaming.Spec.uint8"
] | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | true | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bytes : Type0 | [] | Hacl.Streaming.Spec.bytes | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 23,
"end_line": 54,
"start_col": 12,
"start_line": 54
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let uint32 = Lib.IntTypes.uint32 | let uint32 = | false | null | false | Lib.IntTypes.uint32 | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"total"
] | [
"Lib.IntTypes.uint32"
] | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | true | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint32 : Type0 | [] | Hacl.Streaming.Spec.uint32 | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 32,
"end_line": 51,
"start_col": 13,
"start_line": 51
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let uint8 = Lib.IntTypes.uint8 | let uint8 = | false | null | false | Lib.IntTypes.uint8 | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"total"
] | [
"Lib.IntTypes.uint8"
] | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | true | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint8 : Type0 | [] | Hacl.Streaming.Spec.uint8 | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 30,
"end_line": 48,
"start_col": 12,
"start_line": 48
} | |
FStar.Pervasives.Lemma | val split_at_last_init (#index: _) (c: block index) (i: index) (b: bytes)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
S.length b <= l))
(ensures
(let blocks, rest = split_at_last c i b in
S.equal blocks S.empty /\ S.equal rest b)) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_init #index (c: block index) (i: index) (b: bytes) : Lemma
(requires (
let l = U32.v (c.blocks_state_len i) in
S.length b <= l))
(ensures (
let blocks, rest = split_at_last c i b in
S.equal blocks S.empty /\ S.equal rest b))
=
let l = U32.v (c.blocks_state_len i) in
FStar.Math.... | val split_at_last_init (#index: _) (c: block index) (i: index) (b: bytes)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
S.length b <= l))
(ensures
(let blocks, rest = split_at_last c i b in
S.equal blocks S.empty /\ S.equal rest b))
let split_at_last_init... | false | null | true | let l = U32.v (c.blocks_state_len i) in
FStar.Math.Lemmas.multiple_modulo_lemma 0 l;
split_at_last_spec c i b S.empty b | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Hacl.Streaming.Spec.split_at_last_spec",
"FStar.Seq.Base.empty",
"Hacl.Streaming.Spec.uint8",
"Prims.unit",
"FStar.Math.Lemmas.multiple_modulo_lemma",
"FStar.UInt.uint_t",
"FStar.UInt32.v",
"Hacl.Streaming.Interface.__proj__Block__ite... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_init (#index: _) (c: block index) (i: index) (b: bytes)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
S.length b <= l))
(ensures
(let blocks, rest = split_at_last c i b in
S.equal blocks S.empty /\ S.equal rest b)) | [] | Hacl.Streaming.Spec.split_at_last_init | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | c: Hacl.Streaming.Interface.block index -> i: index -> b: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let l = FStar.UInt32.v (Block?.blocks_state_len c i) in
FStar.Seq.Base.length b <= l))
(ensures
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(... | {
"end_col": 36,
"end_line": 188,
"start_col": 1,
"start_line": 185
} |
FStar.Pervasives.Lemma | val split_at_last_num_blocks_spec (#index: _) (c: block index) (i: index) (b n rest: nat)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
(rest <= l /\ (rest = 0 ==> b = 0) /\ b = n * l + rest)))
(ensures (n = split_at_last_num_blocks c i b)) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_num_blocks_spec #index (c: block index) (i: index)
(b n rest: nat):
Lemma
(requires (
let l = U32.v (c.blocks_state_len i) in
(rest <= l /\ (rest = 0 ==> b = 0) /\ b = n * l + rest)))
(ensures (n = split_at_last_num_blocks c i b)) =
let l = U32.v (c.bl... | val split_at_last_num_blocks_spec (#index: _) (c: block index) (i: index) (b n rest: nat)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
(rest <= l /\ (rest = 0 ==> b = 0) /\ b = n * l + rest)))
(ensures (n = split_at_last_num_blocks c i b))
let split_at_last_num_blocks_spe... | false | null | true | let l = U32.v (c.blocks_state_len i) in
Lib.UpdateMulti.Lemmas.split_at_last_lazy_nb_rem_spec l b n rest | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Prims.nat",
"Lib.UpdateMulti.Lemmas.split_at_last_lazy_nb_rem_spec",
"FStar.UInt.uint_t",
"FStar.UInt32.v",
"Hacl.Streaming.Interface.__proj__Block__item__blocks_state_len",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.l_imp",
... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_num_blocks_spec (#index: _) (c: block index) (i: index) (b n rest: nat)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
(rest <= l /\ (rest = 0 ==> b = 0) /\ b = n * l + rest)))
(ensures (n = split_at_last_num_blocks c i b)) | [] | Hacl.Streaming.Spec.split_at_last_num_blocks_spec | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Prims.nat ->
n: Prims.nat ->
rest: Prims.nat
-> FStar.Pervasives.Lemma
(requires
(let l = FStar.UInt32.v (Block?.blocks_state_len c i) in
rest <= l /\ (rest = 0 ==> b = 0) /\ b = n * l + rest))
(ensures n = Ha... | {
"end_col": 66,
"end_line": 154,
"start_col": 50,
"start_line": 152
} |
FStar.Pervasives.Lemma | val split_at_last_spec (#index: _) (c: block index) (i: index) (b blocks rest: bytes)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
(S.length blocks % l = 0 /\ S.length rest <= l /\ (S.length rest = 0 ==> S.length b = 0) /\
b `Seq.equal` (Seq.append blocks rest))))
... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_spec #index (c: block index) (i: index)
(b blocks rest: bytes):
Lemma
(requires (
let l = U32.v (c.blocks_state_len i) in
(S.length blocks % l = 0 /\
S.length rest <= l /\
(S.length rest = 0 ==> S.length b = 0) /\
b `Seq.equal` Seq.append blocks... | val split_at_last_spec (#index: _) (c: block index) (i: index) (b blocks rest: bytes)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
(S.length blocks % l = 0 /\ S.length rest <= l /\ (S.length rest = 0 ==> S.length b = 0) /\
b `Seq.equal` (Seq.append blocks rest))))
... | false | null | true | let l = U32.v (c.blocks_state_len i) in
Lib.UpdateMulti.Lemmas.split_at_last_lazy_spec l b blocks rest | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Lib.UpdateMulti.Lemmas.split_at_last_lazy_spec",
"FStar.UInt.uint_t",
"FStar.UInt32.v",
"Hacl.Streaming.Interface.__proj__Block__item__blocks_state_len",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_spec (#index: _) (c: block index) (i: index) (b blocks rest: bytes)
: Lemma
(requires
(let l = U32.v (c.blocks_state_len i) in
(S.length blocks % l = 0 /\ S.length rest <= l /\ (S.length rest = 0 ==> S.length b = 0) /\
b `Seq.equal` (Seq.append blocks rest))))
... | [] | Hacl.Streaming.Spec.split_at_last_spec | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Hacl.Streaming.Spec.bytes ->
blocks: Hacl.Streaming.Spec.bytes ->
rest: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let l = FStar.UInt32.v (Block?.blocks_state_len c i) in
FStar.Seq.Base.length bl... | {
"end_col": 64,
"end_line": 172,
"start_col": 46,
"start_line": 170
} |
FStar.Pervasives.Lemma | val split_at_last_small_exact_empty_internal (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length rest = 0))
(ensures
(let blocks, rest = split_at_last ... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_small_exact_empty_internal #index (c: block index) (i: index) (b: bytes) (d: bytes):
Lemma
(requires (
let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\
S.length rest = 0))
(ensures (
let blocks, rest = split_at_last c i b in
le... | val split_at_last_small_exact_empty_internal (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length rest = 0))
(ensures
(let blocks, rest = split_at_last ... | false | null | true | let blocks, rest = split_at_last c i b in
assert (b `Seq.equal` Seq.empty);
assert ((S.append b d) `Seq.equal` d);
assert ((S.append rest d) `Seq.equal` d) | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Prims._assert",
"FStar.Seq.Base.equal",
"Hacl.Streaming.Spec.uint8",
"FStar.Seq.Base.append",
"Prims.unit",
"FStar.Seq.Base.empty",
"FStar.Pervasives.Native.tuple2",
"Hacl.Streaming.Spec.split_at_last",
"Prims.l_and",
"Prims.b2t",... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_small_exact_empty_internal (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length rest = 0))
(ensures
(let blocks, rest = split_at_last ... | [] | Hacl.Streaming.Spec.split_at_last_small_exact_empty_internal | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Hacl.Streaming.Spec.bytes ->
d: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ _ rest = _ in
FSt... | {
"end_col": 39,
"end_line": 238,
"start_col": 1,
"start_line": 233
} |
FStar.Pervasives.Lemma | val split_at_last_small_exact_empty_data (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length d = 0))
(ensures
(let blocks, rest = split_at_last c i b i... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_small_exact_empty_data #index (c: block index) (i: index) (b: bytes)
(d: bytes):
Lemma
(requires (
let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\
S.length d = 0))
(ensures (
let blo... | val split_at_last_small_exact_empty_data (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length d = 0))
(ensures
(let blocks, rest = split_at_last c i b i... | false | null | true | let blocks, rest = split_at_last c i b in
let blocks', rest' = split_at_last c i (S.append b d) in
assert ((S.append rest d) `S.equal` rest);
assert ((S.append b d) `S.equal` b) | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Prims._assert",
"FStar.Seq.Base.equal",
"Hacl.Streaming.Spec.uint8",
"FStar.Seq.Base.append",
"Prims.unit",
"FStar.Pervasives.Native.tuple2",
"Hacl.Streaming.Spec.split_at_last",
"Prims.l_and",
"Prims.b2t",
"Prims.op_Equality",
... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_small_exact_empty_data (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length d = 0))
(ensures
(let blocks, rest = split_at_last c i b i... | [] | Hacl.Streaming.Spec.split_at_last_small_exact_empty_data | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Hacl.Streaming.Spec.bytes ->
d: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ _ rest = _ in
FSt... | {
"end_col": 34,
"end_line": 260,
"start_col": 1,
"start_line": 256
} |
FStar.Pervasives.Lemma | val mod_trans_lem (a : nat) (b c : pos) :
Lemma (requires (a % b = 0 /\ b % c = 0))
(ensures (a % c = 0)) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let mod_trans_lem a b c =
let open FStar.Math.Lemmas in
div_exact_r a b;
div_exact_r b c;
assert(a = b * (a / b));
assert(b = c * (b / c));
assert(a = (c * (b / c)) * (a / (c * (b / c))));
assert(a = c * (((b / c)) * (a / (c * (b / c)))));
cancel_mul_mod (((b / c)) * (a / (c * (b / c)))) c;
assert(a... | val mod_trans_lem (a : nat) (b c : pos) :
Lemma (requires (a % b = 0 /\ b % c = 0))
(ensures (a % c = 0))
let mod_trans_lem a b c = | false | null | true | let open FStar.Math.Lemmas in
div_exact_r a b;
div_exact_r b c;
assert (a = b * (a / b));
assert (b = c * (b / c));
assert (a = (c * (b / c)) * (a / (c * (b / c))));
assert (a = c * (((b / c)) * (a / (c * (b / c)))));
cancel_mul_mod (((b / c)) * (a / (c * (b / c)))) c;
assert (a % c = 0) | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Prims.nat",
"Prims.pos",
"Prims._assert",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Prims.unit",
"FStar.Math.Lemmas.cancel_mul_mod",
"FStar.Mul.op_Star",
"Prims.op_Division",
"FStar.Math.Lemmas.div_exact_r"
] | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mod_trans_lem (a : nat) (b c : pos) :
Lemma (requires (a % b = 0 /\ b % c = 0))
(ensures (a % c = 0)) | [] | Hacl.Streaming.Spec.mod_trans_lem | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Prims.nat -> b: Prims.pos -> c: Prims.pos
-> FStar.Pervasives.Lemma (requires a % b = 0 /\ b % c = 0) (ensures a % c = 0) | {
"end_col": 19,
"end_line": 72,
"start_col": 2,
"start_line": 62
} |
FStar.Pervasives.Lemma | val split_at_last_small_exact (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length rest > 0 /\
S.length d > 0))
(ensures
(let blocks, rest = s... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_small_exact #index (c: block index) (i: index) (b: bytes) (d: bytes): Lemma
(requires (
let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\
S.length rest > 0 /\ S.length d > 0))
(ensures (
let blocks, rest = split_at_last c i b in
l... | val split_at_last_small_exact (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length rest > 0 /\
S.length d > 0))
(ensures
(let blocks, rest = s... | false | null | true | let blocks, rest = split_at_last c i b in
let blocks', rest' = split_at_last c i (S.append b d) in
let l = U32.v (c.blocks_state_len i) in
let n = S.length blocks / l in
assert (S.length blocks % l = 0);
assert (S.length (S.append rest d) = l);
assert ((S.append b d) `Seq.equal` (Seq.append blocks (Seq.append rest d)))... | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Hacl.Streaming.Spec.split_at_last_spec",
"FStar.Seq.Base.append",
"Hacl.Streaming.Spec.uint8",
"Prims.unit",
"Prims._assert",
"FStar.Seq.Base.equal",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size"... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_small_exact (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d = U32.v (c.blocks_state_len i) /\ S.length rest > 0 /\
S.length d > 0))
(ensures
(let blocks, rest = s... | [] | Hacl.Streaming.Spec.split_at_last_small_exact | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Hacl.Streaming.Spec.bytes ->
d: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ _ rest = _ in
FSt... | {
"end_col": 64,
"end_line": 285,
"start_col": 1,
"start_line": 276
} |
FStar.Pervasives.Lemma | val split_at_last_small (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d <= U32.v (c.blocks_state_len i)))
(ensures
(let blocks, rest = split_at_last c i b in
let blocks', rest' = s... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_small #index (c: block index) (i: index) (b: bytes) (d: bytes): Lemma
(requires (
let _, rest = split_at_last c i b in
S.length rest + S.length d <= U32.v (c.blocks_state_len i)))
(ensures (
let blocks, rest = split_at_last c i b in
let blocks', rest' = split_at_last c i (S.append ... | val split_at_last_small (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d <= U32.v (c.blocks_state_len i)))
(ensures
(let blocks, rest = split_at_last c i b in
let blocks', rest' = s... | false | null | true | let blocks, rest = split_at_last c i b in
let blocks', rest' = split_at_last c i (S.append b d) in
let l = U32.v (c.blocks_state_len i) in
if S.length rest + S.length d < l
then split_at_last_small_strict c i b d
else
if S.length rest = 0
then split_at_last_small_exact_empty_internal c i b d
else
if S.length ... | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Prims.op_LessThan",
"Prims.op_Addition",
"FStar.Seq.Base.length",
"Hacl.Streaming.Spec.uint8",
"Hacl.Streaming.Spec.split_at_last_small_strict",
"Prims.bool",
"Prims.op_Equality",
"Prims.int",
"Hacl.Streaming.Spec.split_at_last_smal... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_small (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d <= U32.v (c.blocks_state_len i)))
(ensures
(let blocks, rest = split_at_last c i b in
let blocks', rest' = s... | [] | Hacl.Streaming.Spec.split_at_last_small | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Hacl.Streaming.Spec.bytes ->
d: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ _ rest = _ in
FSt... | {
"end_col": 40,
"end_line": 310,
"start_col": 1,
"start_line": 299
} |
FStar.Pervasives.Lemma | val split_at_last_small_strict (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d < U32.v (c.blocks_state_len i)))
(ensures
(let blocks, rest = split_at_last c i b in
let blocks', res... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_small_strict #index (c: block index) (i: index) (b: bytes) (d: bytes): Lemma
(requires (
let _, rest = split_at_last c i b in
S.length rest + S.length d < U32.v (c.blocks_state_len i)))
(ensures (
let blocks, rest = split_at_last c i b in
let blocks', rest' = split_at_last c i (S.a... | val split_at_last_small_strict (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d < U32.v (c.blocks_state_len i)))
(ensures
(let blocks, rest = split_at_last c i b in
let blocks', res... | false | null | true | let blocks, rest = split_at_last c i b in
let blocks', rest' = split_at_last c i (S.append b d) in
let l = U32.v (c.blocks_state_len i) in
split_at_last_spec c i (S.append b d) blocks (S.append rest d) | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Hacl.Streaming.Spec.split_at_last_spec",
"FStar.Seq.Base.append",
"Hacl.Streaming.Spec.uint8",
"FStar.UInt.uint_t",
"FStar.UInt32.v",
"Hacl.Streaming.Interface.__proj__Block__item__blocks_state_len",
"Prims.unit",
"FStar.Pervasives.Na... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_small_strict (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let _, rest = split_at_last c i b in
S.length rest + S.length d < U32.v (c.blocks_state_len i)))
(ensures
(let blocks, rest = split_at_last c i b in
let blocks', res... | [] | Hacl.Streaming.Spec.split_at_last_small_strict | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Hacl.Streaming.Spec.bytes ->
d: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ _ rest = _ in
FSt... | {
"end_col": 64,
"end_line": 217,
"start_col": 1,
"start_line": 213
} |
Prims.Pure | val split_at_last (#index: _) (c: block index) (i: index) (b: bytes)
: Pure (bytes & bytes)
(requires True)
(ensures
(fun (blocks, rest) ->
let l = U32.v (c.blocks_state_len i) in
S.length rest <= l /\ (S.length rest % l = S.length b % l) /\
(S.length rest = S... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last #index (c: block index) (i: index) (b: bytes):
Pure (bytes & bytes)
(requires True)
(ensures (fun (blocks, rest) ->
let l = U32.v (c.blocks_state_len i) in
S.length rest <= l /\
(S.length rest % l = S.length b % l) /\
(S.length rest = S.length b % l \/ S.length rest =... | val split_at_last (#index: _) (c: block index) (i: index) (b: bytes)
: Pure (bytes & bytes)
(requires True)
(ensures
(fun (blocks, rest) ->
let l = U32.v (c.blocks_state_len i) in
S.length rest <= l /\ (S.length rest % l = S.length b % l) /\
(S.length rest = S... | false | null | false | let l = U32.v (c.blocks_state_len i) in
let blocks, rest = Lib.UpdateMulti.split_at_last_lazy l b in
(let l = U32.v (c.blocks_state_len i) in
let blocks = S.length blocks in
mod_trans_lem blocks l (U32.v (c.block_len i)));
blocks, rest | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"FStar.Seq.Base.seq",
"Lib.UpdateMulti.uint8",
"FStar.Pervasives.Native.Mktuple2",
"Prims.unit",
"Hacl.Streaming.Spec.mod_trans_lem",
"FStar.UInt32.v",
"Hacl.Streaming.Interface.__proj__Block__item__block_len",
"Prims.nat",
"FStar.Se... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last (#index: _) (c: block index) (i: index) (b: bytes)
: Pure (bytes & bytes)
(requires True)
(ensures
(fun (blocks, rest) ->
let l = U32.v (c.blocks_state_len i) in
S.length rest <= l /\ (S.length rest % l = S.length b % l) /\
(S.length rest = S... | [] | Hacl.Streaming.Spec.split_at_last | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | c: Hacl.Streaming.Interface.block index -> i: index -> b: Hacl.Streaming.Spec.bytes
-> Prims.Pure (Hacl.Streaming.Spec.bytes * Hacl.Streaming.Spec.bytes) | {
"end_col": 14,
"end_line": 135,
"start_col": 1,
"start_line": 127
} |
Prims.Pure | val split_at_last_num_blocks (#index: _) (c: block index) (i: index) (b: nat)
: Pure nat
(requires True)
(ensures
(fun n ->
let l = U32.v (c.blocks_state_len i) in
let blocks = n * l in
let rest = b - blocks in
rest <= l /\ (rest % l = b % l) /\ (r... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_num_blocks #index (c: block index) (i: index) (b: nat):
Pure nat
(requires True)
(ensures (fun n ->
let l = U32.v (c.blocks_state_len i) in
let blocks = n * l in
let rest = b - blocks in
rest <= l /\
(rest % l = b % l) /\
(rest = b % l \/ rest = l) /\
... | val split_at_last_num_blocks (#index: _) (c: block index) (i: index) (b: nat)
: Pure nat
(requires True)
(ensures
(fun n ->
let l = U32.v (c.blocks_state_len i) in
let blocks = n * l in
let rest = b - blocks in
rest <= l /\ (rest % l = b % l) /\ (r... | false | null | false | let n = fst (Lib.UpdateMulti.split_at_last_lazy_nb_rem (U32.v (c.blocks_state_len i)) b) in
(let l = U32.v (c.blocks_state_len i) in
let blocks = n * l in
Math.Lemmas.nat_times_nat_is_nat n l;
mod_trans_lem blocks l (U32.v (c.block_len i)));
n | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [] | [
"Hacl.Streaming.Interface.block",
"Prims.nat",
"Prims.unit",
"Hacl.Streaming.Spec.mod_trans_lem",
"FStar.UInt32.v",
"Hacl.Streaming.Interface.__proj__Block__item__block_len",
"FStar.Math.Lemmas.nat_times_nat_is_nat",
"Prims.int",
"FStar.Mul.op_Star",
"FStar.UInt.uint_t",
"Hacl.Streaming.Interfac... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_num_blocks (#index: _) (c: block index) (i: index) (b: nat)
: Pure nat
(requires True)
(ensures
(fun n ->
let l = U32.v (c.blocks_state_len i) in
let blocks = n * l in
let rest = b - blocks in
rest <= l /\ (rest % l = b % l) /\ (r... | [] | Hacl.Streaming.Spec.split_at_last_num_blocks | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | c: Hacl.Streaming.Interface.block index -> i: index -> b: Prims.nat -> Prims.Pure Prims.nat | {
"end_col": 3,
"end_line": 103,
"start_col": 1,
"start_line": 94
} |
FStar.Pervasives.Lemma | val split_at_last_finish (#index: _) (c: block index) (i: index) (b: bytes)
: Lemma (requires (True))
(ensures
(let blocks, rest = split_at_last c i b in
let bl = U32.v (c.block_len i) in
let blocks', rest' = Lib.UpdateMulti.split_at_last_lazy bl rest in
let blocks'', res... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_finish #index (c: block index) (i: index) (b: bytes) : Lemma
(requires (True))
(ensures (
let blocks, rest = split_at_last c i b in
// Pay attention here: we use c.block_len and not c.blocks_state_len
let bl = U32.v (c.block_len i) in
let blocks', rest' = Lib.UpdateMulti.split_at_l... | val split_at_last_finish (#index: _) (c: block index) (i: index) (b: bytes)
: Lemma (requires (True))
(ensures
(let blocks, rest = split_at_last c i b in
let bl = U32.v (c.block_len i) in
let blocks', rest' = Lib.UpdateMulti.split_at_last_lazy bl rest in
let blocks'', res... | false | null | true | let blocks, rest = split_at_last c i b in
let bl = U32.v (c.block_len i) in
let nbl = U32.v (c.blocks_state_len i) in
let blocks', rest' = Lib.UpdateMulti.split_at_last_lazy bl rest in
let processed' = S.append blocks blocks' in
mod_trans_lem (S.length blocks) nbl bl;
assert (S.length blocks % bl = 0);
assert (S.length... | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"FStar.Seq.Base.seq",
"Lib.UpdateMulti.uint8",
"Lib.UpdateMulti.Lemmas.split_at_last_lazy_spec",
"Prims.unit",
"Prims._assert",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"FStar.Seq.Base.length",
"Hacl.Streamin... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_finish (#index: _) (c: block index) (i: index) (b: bytes)
: Lemma (requires (True))
(ensures
(let blocks, rest = split_at_last c i b in
let bl = U32.v (c.block_len i) in
let blocks', rest' = Lib.UpdateMulti.split_at_last_lazy bl rest in
let blocks'', res... | [] | Hacl.Streaming.Spec.split_at_last_finish | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | c: Hacl.Streaming.Interface.block index -> i: index -> b: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(ensures
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ blocks rest = _ in
let bl = FStar.UInt32.v (Block?.block_len c i) in
... | {
"end_col": 70,
"end_line": 408,
"start_col": 1,
"start_line": 383
} |
FStar.Pervasives.Lemma | val split_at_last_blocks (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let blocks, rest = split_at_last c i b in
(S.length rest = 0 \/ S.length rest = U32.v (c.blocks_state_len i)) /\ S.length d > 0))
(ensures
(let blocks, rest = split_at_last c i b in... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let split_at_last_blocks #index (c: block index) (i: index) (b: bytes) (d: bytes): Lemma
(requires (
let blocks, rest = split_at_last c i b in
(S.length rest = 0 \/ S.length rest = U32.v (c.blocks_state_len i)) /\
S.length d > 0))
(ensures (
let blocks, rest = split_at_last c i b in
let blocks',... | val split_at_last_blocks (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let blocks, rest = split_at_last c i b in
(S.length rest = 0 \/ S.length rest = U32.v (c.blocks_state_len i)) /\ S.length d > 0))
(ensures
(let blocks, rest = split_at_last c i b in... | false | null | true | let blocks, rest = split_at_last c i b in
let blocks', rest' = split_at_last c i d in
let blocks'', rest'' = split_at_last c i (S.append b d) in
let b' = S.append blocks rest in
let d' = S.append blocks' rest' in
let l = U32.v (c.blocks_state_len i) in
assert (S.length b % l = 0);
Math.Lemmas.modulo_distributivity (S.l... | {
"checked_file": "Hacl.Streaming.Spec.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.UpdateMulti.Lemmas.fsti.checked",
"Lib.UpdateMulti.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Interface.fsti.che... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Spec.bytes",
"Hacl.Streaming.Spec.split_at_last_spec",
"FStar.Seq.Base.append",
"Hacl.Streaming.Spec.uint8",
"Prims.unit",
"FStar.Calc.calc_finish",
"Prims.int",
"Prims.eq2",
"Prims.op_Modulus",
"FStar.Seq.Base.length",
"Prims.Cons",
"FStar.P... | [] | module Hacl.Streaming.Spec
/// This module contains all of the logical reasoning, calc statement included,
/// for the streaming functor.
///
/// The functor uses a ghost variable (named ``seen``) to reason about the
/// **past**, i.e. whatever bytes have been fed into the streaming functor. In
/// other words, we cap... | false | false | Hacl.Streaming.Spec.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_at_last_blocks (#index: _) (c: block index) (i: index) (b d: bytes)
: Lemma
(requires
(let blocks, rest = split_at_last c i b in
(S.length rest = 0 \/ S.length rest = U32.v (c.blocks_state_len i)) /\ S.length d > 0))
(ensures
(let blocks, rest = split_at_last c i b in... | [] | Hacl.Streaming.Spec.split_at_last_blocks | {
"file_name": "code/streaming/Hacl.Streaming.Spec.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
b: Hacl.Streaming.Spec.bytes ->
d: Hacl.Streaming.Spec.bytes
-> FStar.Pervasives.Lemma
(requires
(let _ = Hacl.Streaming.Spec.split_at_last c i b in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ _ rest = _ in
(FS... | {
"end_col": 66,
"end_line": 358,
"start_col": 1,
"start_line": 334
} |
Prims.Tot | val validate_option (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p)
: Tot (validator (parse_option p)) | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_option (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_option p)) =
fun #rrel #rel input pos ->
let h = HST.get () in
[@inline_let] let _ = valid_facts (parse_option p) h input (uint64_to_uint32 pos) in
[@inline_let] let _ = valid_facts p h input (uint64_to_ui... | val validate_option (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p)
: Tot (validator (parse_option p))
let validate_option (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p)
: Tot (validator (parse_option p)) = | false | null | false | fun #rrel #rel input pos ->
let h = HST.get () in
[@@ inline_let ]let _ = valid_facts (parse_option p) h input (uint64_to_uint32 pos) in
[@@ inline_let ]let _ = valid_facts p h input (uint64_to_uint32 pos) in
let r = v input pos in
if is_error r then pos else r | {
"checked_file": "LowParse.Low.Option.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Option.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"F... | [
"total"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Low.Base.validator",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt64.t",
"LowParse.Low.ErrorCode.is_error",
"Prims.bool",
"Prims.unit",
"LowParse.Low.Base.Spec.valid_facts",
"LowParse.L... | [] | module LowParse.Low.Option
include LowParse.Spec.Option
include LowParse.Low.Base
module HST = FStar.HyperStack.ST
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
inline_for_extraction | false | false | LowParse.Low.Option.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_option (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p)
: Tot (validator (parse_option p)) | [] | LowParse.Low.Option.validate_option | {
"file_name": "src/lowparse/LowParse.Low.Option.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | v: LowParse.Low.Base.validator p
-> LowParse.Low.Base.validator (LowParse.Spec.Option.parse_option p) | {
"end_col": 8,
"end_line": 19,
"start_col": 2,
"start_line": 12
} |
Prims.Tot | val lift_ghost_atomic
(a:Type)
(opened:inames)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t a)
(#[@@@ framing_implicit] req:pure_pre)
(#[@@@ framing_implicit] ens:pure_post a)
(f:STAG.repr a framed opened Unobservable pre post req... | [
{
"abbrev": true,
"full_module": "Steel.Effect.Atomic",
"short_module": "SEA"
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module":... | false | let lift_ghost_atomic
(a:Type)
(opened:inames)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t a)
(#[@@@ framing_implicit] req:Type0)
(#[@@@ framing_implicit] ens:a -> Type0)
(f:STAG.repr a framed opened Unobservable pre post req ens... | val lift_ghost_atomic
(a:Type)
(opened:inames)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t a)
(#[@@@ framing_implicit] req:pure_pre)
(#[@@@ framing_implicit] ens:pure_post a)
(f:STAG.repr a framed opened Unobservable pre post req... | false | null | false | f | {
"checked_file": "Steel.ST.Effect.Ghost.fst.checked",
"dependencies": [
"Steel.ST.Effect.AtomicAndGhost.fst.checked",
"Steel.Memory.fsti.checked",
"Steel.Effect.Atomic.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Memory.inames",
"FStar.Pervasives.eqtype_as_type",
"Prims.bool",
"Steel.Effect.Common.pre_t",
"Steel.Effect.Common.post_t",
"Steel.ST.Effect.AtomicAndGhost.repr",
"Steel.Effect.Common.Unobservable"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.ST.Effect.Ghost.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lift_ghost_atomic
(a:Type)
(opened:inames)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t a)
(#[@@@ framing_implicit] req:pure_pre)
(#[@@@ framing_implicit] ens:pure_post a)
(f:STAG.repr a framed opened Unobservable pre post req... | [] | Steel.ST.Effect.Ghost.lift_ghost_atomic | {
"file_name": "lib/steel/Steel.ST.Effect.Ghost.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
a: Type ->
opened: Steel.Memory.inames ->
f:
Steel.ST.Effect.AtomicAndGhost.repr a
framed
opened
Steel.Effect.Common.Unobservable
pre
post
req
ens
-> Steel.ST.Effect.AtomicAndGhost.repr a
framed
opened
Steel.Effect.Common.Uno... | {
"end_col": 5,
"end_line": 38,
"start_col": 4,
"start_line": 38
} |
Steel.ST.Effect.Ghost.STGhostF | val admit_ (#a:Type)
(#opened:inames)
(#p:pre_t)
(#q:post_t a)
(_:unit)
: STGhostF a opened p q True (fun _ -> False) | [
{
"abbrev": true,
"full_module": "Steel.Effect.Atomic",
"short_module": "SEA"
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module":... | false | let admit_ _ = STGhostF?.reflect (fun _ -> NMSTTotal.nmst_tot_admit ()) | val admit_ (#a:Type)
(#opened:inames)
(#p:pre_t)
(#q:post_t a)
(_:unit)
: STGhostF a opened p q True (fun _ -> False)
let admit_ _ = | true | null | false | STGhostF?.reflect (fun _ -> NMSTTotal.nmst_tot_admit ()) | {
"checked_file": "Steel.ST.Effect.Ghost.fst.checked",
"dependencies": [
"Steel.ST.Effect.AtomicAndGhost.fst.checked",
"Steel.Memory.fsti.checked",
"Steel.Effect.Atomic.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Memory.inames",
"Steel.Effect.Common.pre_t",
"Steel.Effect.Common.post_t",
"Prims.unit",
"Steel.Memory.slprop",
"FStar.NMSTTotal.nmst_tot_admit",
"Steel.Memory.full_mem",
"Steel.Memory.mem_evolves",
"Prims.l_True",
"Prims.l_False"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.ST.Effect.Ghost.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val admit_ (#a:Type)
(#opened:inames)
(#p:pre_t)
(#q:post_t a)
(_:unit)
: STGhostF a opened p q True (fun _ -> False) | [] | Steel.ST.Effect.Ghost.admit_ | {
"file_name": "lib/steel/Steel.ST.Effect.Ghost.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | _: Prims.unit -> Steel.ST.Effect.Ghost.STGhostF a | {
"end_col": 71,
"end_line": 72,
"start_col": 15,
"start_line": 72
} |
Steel.ST.Effect.Ghost.STGhost | val extract_fact (#opened:inames)
(p:vprop)
(fact:prop)
(l:(m:mem) -> Lemma
(requires interp (hp_of p) m)
(ensures fact))
: STGhost unit opened p (fun _ -> p) True (fun _ -> fact) | [
{
"abbrev": true,
"full_module": "Steel.Effect.Atomic",
"short_module": "SEA"
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module":... | false | let extract_fact (#opened:inames)
(p:vprop)
(fact:prop)
(l:(m:mem) -> Lemma
(requires interp (hp_of p) m)
(ensures fact))
: STGhost unit opened p (fun _ -> p) True (fun _ -> fact)
= STGhostBase?.reflec... | val extract_fact (#opened:inames)
(p:vprop)
(fact:prop)
(l:(m:mem) -> Lemma
(requires interp (hp_of p) m)
(ensures fact))
: STGhost unit opened p (fun _ -> p) True (fun _ -> fact)
let extract_fact
... | true | null | false | STGhostBase?.reflect (extract_fact0 p fact l) | {
"checked_file": "Steel.ST.Effect.Ghost.fst.checked",
"dependencies": [
"Steel.ST.Effect.AtomicAndGhost.fst.checked",
"Steel.Memory.fsti.checked",
"Steel.Effect.Atomic.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Memory.inames",
"Steel.Effect.Common.vprop",
"Prims.prop",
"Steel.Memory.mem",
"Prims.unit",
"Steel.Memory.interp",
"Steel.Effect.Common.hp_of",
"Prims.squash",
"Prims.Nil",
"FStar.Pervasives.pattern",
"Steel.ST.Effect.Ghost.extract_fact0",
"Prims.l_True"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.ST.Effect.Ghost.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val extract_fact (#opened:inames)
(p:vprop)
(fact:prop)
(l:(m:mem) -> Lemma
(requires interp (hp_of p) m)
(ensures fact))
: STGhost unit opened p (fun _ -> p) True (fun _ -> fact) | [] | Steel.ST.Effect.Ghost.extract_fact | {
"file_name": "lib/steel/Steel.ST.Effect.Ghost.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
p: Steel.Effect.Common.vprop ->
fact: Prims.prop ->
l:
(m: Steel.Memory.mem
-> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Effect.Common.hp_of p) m)
(ensures fact))
-> Steel.ST.Effect.Ghost.STGhost Prims.unit | {
"end_col": 49,
"end_line": 70,
"start_col": 4,
"start_line": 70
} |
Prims.Tot | val extract_fact0
(#opened: inames)
(p: vprop)
(fact: prop)
(l: (m: mem -> Lemma (requires interp (hp_of p) m) (ensures fact)))
: STAG.repr unit false opened Unobservable p (fun _ -> p) True (fun _ -> fact) | [
{
"abbrev": true,
"full_module": "Steel.Effect.Atomic",
"short_module": "SEA"
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module":... | false | let extract_fact0 (#opened:inames)
(p:vprop)
(fact:prop)
(l:(m:mem) -> Lemma
(requires interp (hp_of p) m)
(ensures fact))
: STAG.repr unit false opened Unobservable p (fun _ -> p) True (fun _ -> fact)
= fun frame ->
... | val extract_fact0
(#opened: inames)
(p: vprop)
(fact: prop)
(l: (m: mem -> Lemma (requires interp (hp_of p) m) (ensures fact)))
: STAG.repr unit false opened Unobservable p (fun _ -> p) True (fun _ -> fact)
let extract_fact0
(#opened: inames)
(p: vprop)
(fact: prop)
(... | false | null | false | fun frame ->
let m0:full_mem = NMSTTotal.get () in
Classical.forall_intro_3 reveal_mk_rmem;
let h0 = mk_rmem p (core_mem m0) in
l (core_mem m0) | {
"checked_file": "Steel.ST.Effect.Ghost.fst.checked",
"dependencies": [
"Steel.ST.Effect.AtomicAndGhost.fst.checked",
"Steel.Memory.fsti.checked",
"Steel.Effect.Atomic.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Memory.inames",
"Steel.Effect.Common.vprop",
"Prims.prop",
"Steel.Memory.mem",
"Prims.unit",
"Steel.Memory.interp",
"Steel.Effect.Common.hp_of",
"Prims.squash",
"Prims.Nil",
"FStar.Pervasives.pattern",
"Steel.Memory.slprop",
"Steel.Memory.core_mem",
"Steel.Effect.Common.rmem'",
"Ste... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.ST.Effect.Ghost.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val extract_fact0
(#opened: inames)
(p: vprop)
(fact: prop)
(l: (m: mem -> Lemma (requires interp (hp_of p) m) (ensures fact)))
: STAG.repr unit false opened Unobservable p (fun _ -> p) True (fun _ -> fact) | [] | Steel.ST.Effect.Ghost.extract_fact0 | {
"file_name": "lib/steel/Steel.ST.Effect.Ghost.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
p: Steel.Effect.Common.vprop ->
fact: Prims.prop ->
l:
(m: Steel.Memory.mem
-> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Effect.Common.hp_of p) m)
(ensures fact))
-> Steel.ST.Effect.AtomicAndGhost.repr Prims.unit
false
opened
Steel.Effect.... | {
"end_col": 21,
"end_line": 61,
"start_col": 4,
"start_line": 57
} |
Prims.Tot | val sealed_ (#a: Type u#a) (witness: a) : Type u#0 | [
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let sealed_ (#a:Type u#a)
(witness:a)
: Type u#0
= FStar.Sealed.sealed a | val sealed_ (#a: Type u#a) (witness: a) : Type u#0
let sealed_ (#a: Type u#a) (witness: a) : Type u#0 = | false | null | false | FStar.Sealed.sealed a | {
"checked_file": "FStar.Sealed.Inhabited.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sealed.Inhabited.fst"
} | [
"total"
] | [
"FStar.Sealed.sealed"
] | [] | (*
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... | false | false | FStar.Sealed.Inhabited.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sealed_ (#a: Type u#a) (witness: a) : Type u#0 | [] | FStar.Sealed.Inhabited.sealed_ | {
"file_name": "ulib/FStar.Sealed.Inhabited.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | witness: a -> Type0 | {
"end_col": 25,
"end_line": 33,
"start_col": 4,
"start_line": 33
} |
Prims.Tot | val is_sealed (#a: Type u#a) (#witness: a) (x: sealed_ witness) : prop | [
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let is_sealed (#a:Type u#a)
(#witness:a)
(x:sealed_ witness)
: prop
= True | val is_sealed (#a: Type u#a) (#witness: a) (x: sealed_ witness) : prop
let is_sealed (#a: Type u#a) (#witness: a) (x: sealed_ witness) : prop = | false | null | false | True | {
"checked_file": "FStar.Sealed.Inhabited.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sealed.Inhabited.fst"
} | [
"total"
] | [
"FStar.Sealed.Inhabited.sealed_",
"Prims.l_True",
"Prims.prop"
] | [] | (*
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... | false | false | FStar.Sealed.Inhabited.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val is_sealed (#a: Type u#a) (#witness: a) (x: sealed_ witness) : prop | [] | FStar.Sealed.Inhabited.is_sealed | {
"file_name": "ulib/FStar.Sealed.Inhabited.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.Sealed.Inhabited.sealed_ witness -> Prims.prop | {
"end_col": 8,
"end_line": 40,
"start_col": 4,
"start_line": 40
} |
Prims.Tot | val sealed (#a: Type u#a) (witness: a) : Type u#0 | [
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let sealed (#a:Type u#a)
(witness:a)
: Type u#0
= s:sealed_ witness { is_sealed s } | val sealed (#a: Type u#a) (witness: a) : Type u#0
let sealed (#a: Type u#a) (witness: a) : Type u#0 = | false | null | false | s: sealed_ witness {is_sealed s} | {
"checked_file": "FStar.Sealed.Inhabited.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sealed.Inhabited.fst"
} | [
"total"
] | [
"FStar.Sealed.Inhabited.sealed_",
"FStar.Sealed.Inhabited.is_sealed"
] | [] | (*
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... | false | false | FStar.Sealed.Inhabited.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sealed (#a: Type u#a) (witness: a) : Type u#0 | [] | FStar.Sealed.Inhabited.sealed | {
"file_name": "ulib/FStar.Sealed.Inhabited.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | witness: a -> Type0 | {
"end_col": 37,
"end_line": 45,
"start_col": 4,
"start_line": 45
} |
FStar.Pervasives.Lemma | val sealed_singleton (a: Type u#a) (w: a) (x: sealed w)
: Lemma (x == seal #a #w w) [SMTPat (is_sealed #a #w x)] | [
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let sealed_singleton (a:Type u#a) (w:a) (x:sealed w)
: Lemma (x == seal #a #w w)
[SMTPat (is_sealed #a #w x)]
= FStar.Sealed.sealed_singl x (seal #a #w w) | val sealed_singleton (a: Type u#a) (w: a) (x: sealed w)
: Lemma (x == seal #a #w w) [SMTPat (is_sealed #a #w x)]
let sealed_singleton (a: Type u#a) (w: a) (x: sealed w)
: Lemma (x == seal #a #w w) [SMTPat (is_sealed #a #w x)] = | false | null | true | FStar.Sealed.sealed_singl x (seal #a #w w) | {
"checked_file": "FStar.Sealed.Inhabited.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sealed.Inhabited.fst"
} | [
"lemma"
] | [
"FStar.Sealed.Inhabited.sealed",
"FStar.Sealed.sealed_singl",
"FStar.Sealed.Inhabited.seal",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"Prims.Cons",
"FStar.Pervasives.pattern",
"FStar.Pervasives.smt_pat",
"Prims.prop",
"FStar.Sealed.Inhabited.is_sealed",
"Prims.Nil"
] | [] | (*
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... | false | false | FStar.Sealed.Inhabited.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sealed_singleton (a: Type u#a) (w: a) (x: sealed w)
: Lemma (x == seal #a #w w) [SMTPat (is_sealed #a #w x)] | [] | FStar.Sealed.Inhabited.sealed_singleton | {
"file_name": "ulib/FStar.Sealed.Inhabited.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: Type -> w: a -> x: FStar.Sealed.Inhabited.sealed w
-> FStar.Pervasives.Lemma (ensures x == FStar.Sealed.Inhabited.seal w)
[SMTPat (FStar.Sealed.Inhabited.is_sealed x)] | {
"end_col": 46,
"end_line": 57,
"start_col": 4,
"start_line": 57
} |
Prims.Tot | val seal (#a: Type u#a) (#w x: a) : sealed w | [
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sealed",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let seal (#a:Type u#a) (#w:a) (x:a)
: sealed w
= FStar.Sealed.seal x | val seal (#a: Type u#a) (#w x: a) : sealed w
let seal (#a: Type u#a) (#w x: a) : sealed w = | false | null | false | FStar.Sealed.seal x | {
"checked_file": "FStar.Sealed.Inhabited.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sealed.Inhabited.fst"
} | [
"total"
] | [
"FStar.Sealed.seal",
"FStar.Sealed.Inhabited.sealed"
] | [] | (*
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... | false | false | FStar.Sealed.Inhabited.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val seal (#a: Type u#a) (#w x: a) : sealed w | [] | FStar.Sealed.Inhabited.seal | {
"file_name": "ulib/FStar.Sealed.Inhabited.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: a -> FStar.Sealed.Inhabited.sealed w | {
"end_col": 23,
"end_line": 50,
"start_col": 4,
"start_line": 50
} |
Prims.Tot | val trivial_rel (a: Type0) : Preorder.relation a | [
{
"abbrev": false,
"full_module": "FStar.Monotonic.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Per... | false | let trivial_rel (a:Type0) :Preorder.relation a = fun x y -> True | val trivial_rel (a: Type0) : Preorder.relation a
let trivial_rel (a: Type0) : Preorder.relation a = | false | null | false | fun x y -> True | {
"checked_file": "FStar.Heap.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Heap.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Heap.fst"
} | [
"total"
] | [
"Prims.l_True",
"FStar.Preorder.relation"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Heap.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val trivial_rel (a: Type0) : Preorder.relation a | [] | FStar.Heap.trivial_rel | {
"file_name": "ulib/FStar.Heap.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: Type0 -> FStar.Preorder.relation a | {
"end_col": 64,
"end_line": 20,
"start_col": 49,
"start_line": 20
} |
Prims.Tot | val trivial_preorder (a: Type0) : Preorder.preorder a | [
{
"abbrev": false,
"full_module": "FStar.Monotonic.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Per... | false | let trivial_preorder (a:Type0) :Preorder.preorder a = trivial_rel a | val trivial_preorder (a: Type0) : Preorder.preorder a
let trivial_preorder (a: Type0) : Preorder.preorder a = | false | null | false | trivial_rel a | {
"checked_file": "FStar.Heap.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Heap.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Heap.fst"
} | [
"total"
] | [
"FStar.Heap.trivial_rel",
"FStar.Preorder.preorder"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.Heap.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val trivial_preorder (a: Type0) : Preorder.preorder a | [] | FStar.Heap.trivial_preorder | {
"file_name": "ulib/FStar.Heap.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: Type0 -> FStar.Preorder.preorder a | {
"end_col": 67,
"end_line": 22,
"start_col": 54,
"start_line": 22
} |
Prims.GTot | val v: #a:Type -> h:HS.mem -> ll: t a -> GTot (list a) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let v #_ h ll =
B.deref h ll.v | val v: #a:Type -> h:HS.mem -> ll: t a -> GTot (list a)
let v #_ h ll = | false | null | false | B.deref h ll.v | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.Lib.LinkedList2.t",
"FStar.Ghost.reveal",
"Prims.list",
"LowStar.Monotonic.Buffer.deref",
"FStar.Ghost.erased",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__v"
] | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val v: #a:Type -> h:HS.mem -> ll: t a -> GTot (list a) | [] | LowStar.Lib.LinkedList2.v | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.LinkedList2.t a -> Prims.GTot (Prims.list a) | {
"end_col": 16,
"end_line": 86,
"start_col": 2,
"start_line": 86
} |
Prims.GTot | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let region_of ll = B.loc_all_regions_from false ll.r | let region_of ll = | false | null | false | B.loc_all_regions_from false ll.r | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [
"sometrivial"
] | [
"LowStar.Lib.LinkedList2.t",
"LowStar.Monotonic.Buffer.loc_all_regions_from",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__r",
"LowStar.Monotonic.Buffer.loc"
] | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val region_of : ll: LowStar.Lib.LinkedList2.t _ -> Prims.GTot LowStar.Monotonic.Buffer.loc | [] | LowStar.Lib.LinkedList2.region_of | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | ll: LowStar.Lib.LinkedList2.t _ -> Prims.GTot LowStar.Monotonic.Buffer.loc | {
"end_col": 52,
"end_line": 100,
"start_col": 19,
"start_line": 100
} | |
Prims.Ghost | val footprint: #a:Type -> h:HS.mem -> ll: t a -> Ghost B.loc
(requires invariant h ll)
(ensures fun _ -> True) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let footprint #a h ll =
let head = B.deref h ll.ptr in
let v = B.deref h ll.v in
B.(loc_addr_of_buffer ll.ptr `loc_union` loc_addr_of_buffer ll.v `loc_union` LL1.footprint h head v) | val footprint: #a:Type -> h:HS.mem -> ll: t a -> Ghost B.loc
(requires invariant h ll)
(ensures fun _ -> True)
let footprint #a h ll = | false | null | false | let head = B.deref h ll.ptr in
let v = B.deref h ll.v in
let open B in
((loc_addr_of_buffer ll.ptr) `loc_union` (loc_addr_of_buffer ll.v))
`loc_union`
(LL1.footprint h head v) | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.Lib.LinkedList2.t",
"LowStar.Monotonic.Buffer.loc_union",
"LowStar.Monotonic.Buffer.loc_addr_of_buffer",
"LowStar.Lib.LinkedList.t",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__ptr",
"FStar.Ghost.erased",
"Prims.list",
"... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val footprint: #a:Type -> h:HS.mem -> ll: t a -> Ghost B.loc
(requires invariant h ll)
(ensures fun _ -> True) | [] | LowStar.Lib.LinkedList2.footprint | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.LinkedList2.t a
-> Prims.Ghost LowStar.Monotonic.Buffer.loc | {
"end_col": 102,
"end_line": 81,
"start_col": 23,
"start_line": 78
} |
Prims.Ghost | val cells: #a:Type -> h:HS.mem -> ll: t a -> Ghost (list (B.pointer (LL1.cell a)))
(requires invariant h ll)
(ensures fun _ -> True) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let cells #a h ll =
LL1.cells h (B.deref h ll.ptr) (B.deref h ll.v) | val cells: #a:Type -> h:HS.mem -> ll: t a -> Ghost (list (B.pointer (LL1.cell a)))
(requires invariant h ll)
(ensures fun _ -> True)
let cells #a h ll = | false | null | false | LL1.cells h (B.deref h ll.ptr) (B.deref h ll.v) | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.Lib.LinkedList2.t",
"LowStar.Lib.LinkedList.cells",
"LowStar.Monotonic.Buffer.deref",
"LowStar.Lib.LinkedList.t",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__ptr",
"FStar.Ghost.reveal",
"Prims.list",
"FStar.Ghost.erased"... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val cells: #a:Type -> h:HS.mem -> ll: t a -> Ghost (list (B.pointer (LL1.cell a)))
(requires invariant h ll)
(ensures fun _ -> True) | [] | LowStar.Lib.LinkedList2.cells | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.LinkedList2.t a
-> Prims.Ghost (Prims.list (LowStar.Buffer.pointer (LowStar.Lib.LinkedList.cell a))) | {
"end_col": 49,
"end_line": 97,
"start_col": 2,
"start_line": 97
} |
Prims.Tot | val invariant: #a:Type -> h:HS.mem -> ll:t a -> Type0 | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let invariant #a h ll =
let head = B.deref h ll.ptr in
let v = B.deref h ll.v in
// This is where we switch from a predicate (cumbersome for clients, requires
// materializing the list at any time) to a ``v`` function which makes
// specifications much easier. Any time the invariant holds, the pointer ``v``
... | val invariant: #a:Type -> h:HS.mem -> ll:t a -> Type0
let invariant #a h ll = | false | null | false | let head = B.deref h ll.ptr in
let v = B.deref h ll.v in
B.live h ll.ptr /\ B.freeable ll.ptr /\ B.live h ll.v /\ B.freeable ll.v /\ LL1.well_formed h head v /\
LL1.invariant h head v /\ ST.is_eternal_region ll.r /\ ST.is_eternal_region ll.spine_rid /\
ST.is_eternal_region ll.ptr_v_rid /\
B.(loc_includes (loc_region_on... | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [
"total"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.Lib.LinkedList2.t",
"Prims.l_and",
"LowStar.Monotonic.Buffer.live",
"LowStar.Lib.LinkedList.t",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__ptr",
"LowStar.Monotonic.Buffer.freeable",
"FStar.Ghost.erased",
"Prims.list",
... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val invariant: #a:Type -> h:HS.mem -> ll:t a -> Type0 | [] | LowStar.Lib.LinkedList2.invariant | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.LinkedList2.t a -> Type0 | {
"end_col": 32,
"end_line": 73,
"start_col": 23,
"start_line": 41
} |
FStar.Pervasives.Lemma | val footprint_in_r (#a: _) (h: HS.mem) (ll: t a)
: Lemma (requires invariant h ll) (ensures B.(loc_includes (region_of ll) (footprint h ll))) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let footprint_in_r #a (h: HS.mem) (ll: t a): Lemma
(requires invariant h ll)
(ensures B.(loc_includes (region_of ll) (footprint h ll)))
//[ SMTPat (footprint h ll) ]
=
assert B.(loc_includes (loc_region_only true ll.spine_rid) (LL1.footprint h (B.deref h ll.ptr) (v h ll)));
assert B.(loc_includes (loc_all_reg... | val footprint_in_r (#a: _) (h: HS.mem) (ll: t a)
: Lemma (requires invariant h ll) (ensures B.(loc_includes (region_of ll) (footprint h ll)))
let footprint_in_r #a (h: HS.mem) (ll: t a)
: Lemma (requires invariant h ll) (ensures B.(loc_includes (region_of ll) (footprint h ll))) = | false | null | true | assert B.(loc_includes (loc_region_only true ll.spine_rid)
(LL1.footprint h (B.deref h ll.ptr) (v h ll)));
assert B.(loc_includes (loc_all_regions_from true ll.r) (loc_region_only true ll.spine_rid)) | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [
"lemma"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.Lib.LinkedList2.t",
"Prims._assert",
"LowStar.Monotonic.Buffer.loc_includes",
"LowStar.Monotonic.Buffer.loc_all_regions_from",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__r",
"LowStar.Monotonic.Buffer.loc_region_only",
"LowStar.Lib.LinkedList2.__proj__Mkt__it... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val footprint_in_r (#a: _) (h: HS.mem) (ll: t a)
: Lemma (requires invariant h ll) (ensures B.(loc_includes (region_of ll) (footprint h ll))) | [] | LowStar.Lib.LinkedList2.footprint_in_r | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.LinkedList2.t a
-> FStar.Pervasives.Lemma (requires LowStar.Lib.LinkedList2.invariant h ll)
(ensures
LowStar.Monotonic.Buffer.loc_includes (LowStar.Lib.LinkedList2.region_of ll)
(LowStar.Lib.LinkedList2.footprint h ll)) | {
"end_col": 94,
"end_line": 121,
"start_col": 2,
"start_line": 120
} |
FStar.Pervasives.Lemma | val frame_region (#a: Type) (ll: t a) (l: B.loc) (h0 h1: HS.mem): Lemma
(requires
invariant h0 ll /\
B.(loc_disjoint l (region_of ll)) /\
B.modifies l h0 h1)
(ensures
invariant h1 ll /\
footprint h1 ll == footprint h0 ll) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let frame_region #_ ll _ h0 h1 =
footprint_in_r h0 ll;
() | val frame_region (#a: Type) (ll: t a) (l: B.loc) (h0 h1: HS.mem): Lemma
(requires
invariant h0 ll /\
B.(loc_disjoint l (region_of ll)) /\
B.modifies l h0 h1)
(ensures
invariant h1 ll /\
footprint h1 ll == footprint h0 ll)
let frame_region #_ ll _ h0 h1 = | false | null | true | footprint_in_r h0 ll;
() | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [
"lemma"
] | [
"LowStar.Lib.LinkedList2.t",
"LowStar.Monotonic.Buffer.loc",
"FStar.Monotonic.HyperStack.mem",
"Prims.unit",
"LowStar.Lib.LinkedList2.footprint_in_r"
] | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val frame_region (#a: Type) (ll: t a) (l: B.loc) (h0 h1: HS.mem): Lemma
(requires
invariant h0 ll /\
B.(loc_disjoint l (region_of ll)) /\
B.modifies l h0 h1)
(ensures
invariant h1 ll /\
footprint h1 ll == footprint h0 ll) | [] | LowStar.Lib.LinkedList2.frame_region | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} |
ll: LowStar.Lib.LinkedList2.t a ->
l: LowStar.Monotonic.Buffer.loc ->
h0: FStar.Monotonic.HyperStack.mem ->
h1: FStar.Monotonic.HyperStack.mem
-> FStar.Pervasives.Lemma
(requires
LowStar.Lib.LinkedList2.invariant h0 ll /\
LowStar.Monotonic.Buffer.loc_disjoint l (LowStar.Lib.Link... | {
"end_col": 4,
"end_line": 149,
"start_col": 2,
"start_line": 148
} |
FStar.HyperStack.ST.ST | val create_in: #a:Type -> r:HS.rid -> ST (t a)
(requires fun h0 ->
ST.is_eternal_region r)
(ensures fun h0 ll h1 ->
invariant h1 ll /\
B.(modifies loc_none h0 h1) /\
B.fresh_loc (footprint h1 ll) h0 h1 /\
v h1 ll == [] /\
cells h1 ll == [] /\
ll.r == r) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let create_in #a r =
let ptr_v_rid = ST.new_region r in
let spine_rid = ST.new_region r in
let ptr = B.malloc ptr_v_rid (B.null <: LL1.t a) 1ul in
let v = B.malloc ptr_v_rid (G.hide ([] <: list a)) 1ul in
{ ptr; v; r; ptr_v_rid; spine_rid } | val create_in: #a:Type -> r:HS.rid -> ST (t a)
(requires fun h0 ->
ST.is_eternal_region r)
(ensures fun h0 ll h1 ->
invariant h1 ll /\
B.(modifies loc_none h0 h1) /\
B.fresh_loc (footprint h1 ll) h0 h1 /\
v h1 ll == [] /\
cells h1 ll == [] /\
ll.r == r)
let create_in #a r = | true | null | false | let ptr_v_rid = ST.new_region r in
let spine_rid = ST.new_region r in
let ptr = B.malloc ptr_v_rid (B.null <: LL1.t a) 1ul in
let v = B.malloc ptr_v_rid (G.hide ([] <: list a)) 1ul in
{ ptr = ptr; v = v; r = r; ptr_v_rid = ptr_v_rid; spine_rid = spine_rid } | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"FStar.Monotonic.HyperHeap.rid",
"LowStar.Lib.LinkedList2.Mkt",
"LowStar.Lib.LinkedList2.t",
"LowStar.Monotonic.Buffer.mbuffer",
"FStar.Ghost.erased",
"Prims.list",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FStar.UInt32.v",
... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val create_in: #a:Type -> r:HS.rid -> ST (t a)
(requires fun h0 ->
ST.is_eternal_region r)
(ensures fun h0 ll h1 ->
invariant h1 ll /\
B.(modifies loc_none h0 h1) /\
B.fresh_loc (footprint h1 ll) h0 h1 /\
v h1 ll == [] /\
cells h1 ll == [] /\
ll.r == r) | [] | LowStar.Lib.LinkedList2.create_in | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | r: FStar.Monotonic.HyperHeap.rid -> FStar.HyperStack.ST.ST (LowStar.Lib.LinkedList2.t a) | {
"end_col": 37,
"end_line": 182,
"start_col": 20,
"start_line": 177
} |
FStar.HyperStack.ST.ST | val free: #a:Type -> ll: t a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
B.(modifies (footprint h0 ll) h0 h1)) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let free #_ ll =
let v = !* ll.v in
LL1.free #_ #v ll.ptr;
B.free ll.ptr;
B.free ll.v | val free: #a:Type -> ll: t a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
B.(modifies (footprint h0 ll) h0 h1))
let free #_ ll = | true | null | false | let v = !*ll.v in
LL1.free #_ #v ll.ptr;
B.free ll.ptr;
B.free ll.v | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"LowStar.Lib.LinkedList2.t",
"LowStar.Monotonic.Buffer.free",
"FStar.Ghost.erased",
"Prims.list",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__v",
"Prims.unit",
"LowStar.Lib.LinkedList.t",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__ptr",
"LowStar.Lib.LinkedList.f... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val free: #a:Type -> ll: t a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
B.(modifies (footprint h0 ll) h0 h1)) | [] | LowStar.Lib.LinkedList2.free | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | ll: LowStar.Lib.LinkedList2.t a -> FStar.HyperStack.ST.ST Prims.unit | {
"end_col": 13,
"end_line": 282,
"start_col": 16,
"start_line": 278
} |
FStar.HyperStack.ST.ST | val clear: #a:Type -> ll: t a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v `loc_union` loc_region_only true ll.spine_rid) h0 h1) /\
v h1 ll == [] /\... | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let clear #a ll =
let v = !* ll.v in
LL1.free #_ #v ll.ptr;
ll.v *= G.hide [] | val clear: #a:Type -> ll: t a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v `loc_union` loc_region_only true ll.spine_rid) h0 h1) /\
v h1 ll == [] /\... | true | null | false | let v = !*ll.v in
LL1.free #_ #v ll.ptr;
ll.v *= G.hide [] | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"LowStar.Lib.LinkedList2.t",
"LowStar.BufferOps.op_Star_Equals",
"FStar.Ghost.erased",
"Prims.list",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__v",
"FStar.Ghost.hide",
"Prims.Nil",
"Prims.unit",
"LowStar.Lib.LinkedList.free",
"LowStar.Lib.LinkedList2.__proj__M... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val clear: #a:Type -> ll: t a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v `loc_union` loc_region_only true ll.spine_rid) h0 h1) /\
v h1 ll == [] /\... | [] | LowStar.Lib.LinkedList2.clear | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | ll: LowStar.Lib.LinkedList2.t a -> FStar.HyperStack.ST.ST Prims.unit | {
"end_col": 19,
"end_line": 269,
"start_col": 17,
"start_line": 266
} |
FStar.HyperStack.ST.ST | val pop: #a:Type -> ll: t a -> ST a
(requires fun h0 ->
invariant h0 ll /\
Cons? (v h0 ll))
(ensures fun h0 x h1 ->
let hd :: tl = v h0 ll in
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v) h0 h1) /\
v h1 ll == tl ... | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let pop #a ll =
let r = LL1.pop ll.spine_rid (!* ll.v) ll.ptr in
let v = !* ll.v in
ll.v *= G.hide (List.Tot.tl v);
r | val pop: #a:Type -> ll: t a -> ST a
(requires fun h0 ->
invariant h0 ll /\
Cons? (v h0 ll))
(ensures fun h0 x h1 ->
let hd :: tl = v h0 ll in
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v) h0 h1) /\
v h1 ll == tl ... | true | null | false | let r = LL1.pop ll.spine_rid (!*ll.v) ll.ptr in
let v = !*ll.v in
ll.v *= G.hide (List.Tot.tl v);
r | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"LowStar.Lib.LinkedList2.t",
"Prims.unit",
"LowStar.BufferOps.op_Star_Equals",
"FStar.Ghost.erased",
"Prims.list",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__v",
"FStar.Ghost.hide",
"FStar.List.Tot.Base.tl",
"FStar.Ghost.reveal",
"LowStar.BufferOps.op_Bang_Sta... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pop: #a:Type -> ll: t a -> ST a
(requires fun h0 ->
invariant h0 ll /\
Cons? (v h0 ll))
(ensures fun h0 x h1 ->
let hd :: tl = v h0 ll in
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v) h0 h1) /\
v h1 ll == tl ... | [] | LowStar.Lib.LinkedList2.pop | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | ll: LowStar.Lib.LinkedList2.t a -> FStar.HyperStack.ST.ST a | {
"end_col": 3,
"end_line": 224,
"start_col": 15,
"start_line": 220
} |
FStar.HyperStack.ST.ST | val push: #a:Type -> ll: t a -> x: a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
invariant h1 ll /\
// Coarse modifies clause
B.(modifies (footprint h0 ll) h0 h1) /\
// Functional spec
v h1 ll == x :: v h0 ll /\
// Precise effect on memory, ignore if you're co... | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let push #a ll x =
LL1.push ll.spine_rid (!* ll.v) ll.ptr x;
let v = !* ll.v in
ll.v *= G.hide (x :: v) | val push: #a:Type -> ll: t a -> x: a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
invariant h1 ll /\
// Coarse modifies clause
B.(modifies (footprint h0 ll) h0 h1) /\
// Functional spec
v h1 ll == x :: v h0 ll /\
// Precise effect on memory, ignore if you're co... | true | null | false | LL1.push ll.spine_rid (!*ll.v) ll.ptr x;
let v = !*ll.v in
ll.v *= G.hide (x :: v) | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"LowStar.Lib.LinkedList2.t",
"LowStar.BufferOps.op_Star_Equals",
"FStar.Ghost.erased",
"Prims.list",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__v",
"FStar.Ghost.hide",
"Prims.Cons",
"FStar.Ghost.reveal",
"Prims.unit",
"LowStar.BufferOps.op_Bang_Star",
"LowSt... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val push: #a:Type -> ll: t a -> x: a -> ST unit
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 _ h1 ->
invariant h1 ll /\
// Coarse modifies clause
B.(modifies (footprint h0 ll) h0 h1) /\
// Functional spec
v h1 ll == x :: v h0 ll /\
// Precise effect on memory, ignore if you're co... | [] | LowStar.Lib.LinkedList2.push | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | ll: LowStar.Lib.LinkedList2.t a -> x: a -> FStar.HyperStack.ST.ST Prims.unit | {
"end_col": 25,
"end_line": 203,
"start_col": 2,
"start_line": 201
} |
FStar.HyperStack.ST.ST | val maybe_pop: #a:Type -> ll: t a -> ST (option a)
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 x h1 ->
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\ (
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v) h0 h1) /\
match x with
| Some x ->
Cons? (v h0 l... | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let maybe_pop #a ll =
if not (B.is_null (!* ll.ptr)) then
let v = !* ll.v in
let r = LL1.pop ll.spine_rid (!* ll.v) ll.ptr in
ll.v *= G.hide (List.Tot.tl v);
Some r
else
None | val maybe_pop: #a:Type -> ll: t a -> ST (option a)
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 x h1 ->
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\ (
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v) h0 h1) /\
match x with
| Some x ->
Cons? (v h0 l... | true | null | false | if not (B.is_null (!*ll.ptr))
then
let v = !*ll.v in
let r = LL1.pop ll.spine_rid (!*ll.v) ll.ptr in
ll.v *= G.hide (List.Tot.tl v);
Some r
else None | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"LowStar.Lib.LinkedList2.t",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.option",
"Prims.unit",
"LowStar.BufferOps.op_Star_Equals",
"FStar.Ghost.erased",
"Prims.list",
"LowStar.Buffer.trivial_preorder",
"LowStar.Lib.LinkedList2.__proj__Mkt__item__v",
"FStar.Ghost.hide",
"FStar.List.... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val maybe_pop: #a:Type -> ll: t a -> ST (option a)
(requires fun h0 ->
invariant h0 ll)
(ensures fun h0 x h1 ->
invariant h1 ll /\
B.(modifies (footprint h0 ll) h0 h1) /\ (
// B.(modifies (loc_buffer ll.ptr `loc_union` loc_buffer ll.v) h0 h1) /\
match x with
| Some x ->
Cons? (v h0 l... | [] | LowStar.Lib.LinkedList2.maybe_pop | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | ll: LowStar.Lib.LinkedList2.t a -> FStar.HyperStack.ST.ST (FStar.Pervasives.Native.option a) | {
"end_col": 8,
"end_line": 252,
"start_col": 3,
"start_line": 246
} |
FStar.HyperStack.ST.St | val test: Prims.unit -> St unit | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Lib.LinkedList",
"short_module": "LL1"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let test (): St unit =
let r = HS.(new_region root) in
let b = B.malloc HS.root 0ul 1ul in
let l: t UInt32.t = create_in r in
push l 0ul;
push l 1ul;
push l 2ul;
B.upd b 0ul 1ul;
let h0 = ST.get () in
assert (v h0 l == [ 2ul; 1ul; 0ul ]);
assert (B.deref h0 b == 1ul);
ignore (pop l);
let h1 = ST... | val test: Prims.unit -> St unit
let test () : St unit = | true | null | false | let r = let open HS in new_region root in
let b = B.malloc HS.root 0ul 1ul in
let l:t UInt32.t = create_in r in
push l 0ul;
push l 1ul;
push l 2ul;
B.upd b 0ul 1ul;
let h0 = ST.get () in
assert (v h0 l == [2ul; 1ul; 0ul]);
assert (B.deref h0 b == 1ul);
ignore (pop l);
let h1 = ST.get () in
assert (v h1 l == [1ul; 0ul])... | {
"checked_file": "LowStar.Lib.LinkedList2.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Lib.LinkedList.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",... | [] | [
"Prims.unit",
"LowStar.Lib.LinkedList2.free",
"FStar.UInt32.t",
"Prims._assert",
"Prims.eq2",
"LowStar.Monotonic.Buffer.deref",
"LowStar.Buffer.trivial_preorder",
"FStar.UInt32.__uint_to_t",
"Prims.list",
"LowStar.Lib.LinkedList2.v",
"Prims.Nil",
"FStar.Monotonic.HyperStack.mem",
"FStar.Hype... | [] | module LowStar.Lib.LinkedList2
/// This module provides a convenient abstraction over LL11 which uses a ``v``
/// function, therefore eliminating a large amount of syntactic overhead. It
/// also takes care of packing the existential, dealing with the extra outer
/// reference, and providing inclusion of the footprint... | false | false | LowStar.Lib.LinkedList2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test: Prims.unit -> St unit | [] | LowStar.Lib.LinkedList2.test | {
"file_name": "krmllib/LowStar.Lib.LinkedList2.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | _: Prims.unit -> FStar.HyperStack.ST.St Prims.unit | {
"end_col": 4,
"end_line": 308,
"start_col": 22,
"start_line": 288
} |
Prims.Tot | val test2_plaintext:list UInt8.t | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test2_plaintext: list UInt8.t = [] | val test2_plaintext:list UInt8.t
let test2_plaintext:list UInt8.t = | false | null | false | [] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Nil",
"FStar.UInt8.t"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_plaintext:list UInt8.t | [] | Spec.Hash.Test.test2_plaintext | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 38,
"end_line": 47,
"start_col": 36,
"start_line": 47
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test1_plaintext = [0x61uy; 0x62uy; 0x63uy] | let test1_plaintext = | false | null | false | [0x61uy; 0x62uy; 0x63uy] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1 | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_plaintext : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test1_plaintext | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 46,
"end_line": 11,
"start_col": 22,
"start_line": 11
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test2_expected224 = [
0xd1uy; 0x4auy; 0x02uy; 0x8cuy; 0x2auy; 0x3auy; 0x2buy; 0xc9uy;
0x47uy; 0x61uy; 0x02uy; 0xbbuy; 0x28uy; 0x82uy; 0x34uy; 0xc4uy;
0x15uy; 0xa2uy; 0xb0uy; 0x1fuy; 0x82uy; 0x8euy; 0xa6uy; 0x2auy;
0xc5uy; 0xb3uy; 0xe4uy; 0x2fuy ] | let test2_expected224 = | false | null | false | [
0xd1uy; 0x4auy; 0x02uy; 0x8cuy; 0x2auy; 0x3auy; 0x2buy; 0xc9uy; 0x47uy; 0x61uy; 0x02uy; 0xbbuy;
0x28uy; 0x82uy; 0x34uy; 0xc4uy; 0x15uy; 0xa2uy; 0xb0uy; 0x1fuy; 0x82uy; 0x8euy; 0xa6uy; 0x2auy;
0xc5uy; 0xb3uy; 0xe4uy; 0x2fuy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected224 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test2_expected224 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 34,
"end_line": 53,
"start_col": 24,
"start_line": 49
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy; 0x55uy; 0xb3uy;
0x2auy; 0xaduy; 0xbcuy; 0xe4uy; 0xbduy; 0xa0uy; 0xb3uy; 0xf7uy;
0xe3uy; 0x6cuy; 0x9duy; 0xa7uy ] | let test1_expected224 = | false | null | false | [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy; 0x86uy; 0x42uy; 0xa4uy; 0x77uy;
0xbduy; 0xa2uy; 0x55uy; 0xb3uy; 0x2auy; 0xaduy; 0xbcuy; 0xe4uy; 0xbduy; 0xa0uy; 0xb3uy; 0xf7uy;
0xe3uy; 0x6cuy; 0x9duy; 0xa7uy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy] | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected224 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test1_expected224 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 34,
"end_line": 17,
"start_col": 24,
"start_line": 13
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test2_expected384 = [
0x38uy; 0xb0uy; 0x60uy; 0xa7uy; 0x51uy; 0xacuy; 0x96uy; 0x38uy;
0x4cuy; 0xd9uy; 0x32uy; 0x7euy; 0xb1uy; 0xb1uy; 0xe3uy; 0x6auy;
0x21uy; 0xfduy; 0xb7uy; 0x11uy; 0x14uy; 0xbeuy; 0x07uy; 0x43uy;
0x4cuy; 0x0cuy; 0xc7uy; 0xbfuy; 0x63uy; 0xf6uy; 0xe1uy; 0xdauy;
0x27uy; 0x4euy; 0xdeuy; 0xbf... | let test2_expected384 = | false | null | false | [
0x38uy; 0xb0uy; 0x60uy; 0xa7uy; 0x51uy; 0xacuy; 0x96uy; 0x38uy; 0x4cuy; 0xd9uy; 0x32uy; 0x7euy;
0xb1uy; 0xb1uy; 0xe3uy; 0x6auy; 0x21uy; 0xfduy; 0xb7uy; 0x11uy; 0x14uy; 0xbeuy; 0x07uy; 0x43uy;
0x4cuy; 0x0cuy; 0xc7uy; 0xbfuy; 0x63uy; 0xf6uy; 0xe1uy; 0xdauy; 0x27uy; 0x4euy; 0xdeuy; 0xbfuy;
0xe7uy; 0x6fuy; 0x65uy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected384 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test2_expected384 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 67,
"start_col": 24,
"start_line": 61
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test2_expected256 = [
0xe3uy; 0xb0uy; 0xc4uy; 0x42uy; 0x98uy; 0xfcuy; 0x1cuy; 0x14uy;
0x9auy; 0xfbuy; 0xf4uy; 0xc8uy; 0x99uy; 0x6fuy; 0xb9uy; 0x24uy;
0x27uy; 0xaeuy; 0x41uy; 0xe4uy; 0x64uy; 0x9buy; 0x93uy; 0x4cuy;
0xa4uy; 0x95uy; 0x99uy; 0x1buy; 0x78uy; 0x52uy; 0xb8uy; 0x55uy ] | let test2_expected256 = | false | null | false | [
0xe3uy; 0xb0uy; 0xc4uy; 0x42uy; 0x98uy; 0xfcuy; 0x1cuy; 0x14uy; 0x9auy; 0xfbuy; 0xf4uy; 0xc8uy;
0x99uy; 0x6fuy; 0xb9uy; 0x24uy; 0x27uy; 0xaeuy; 0x41uy; 0xe4uy; 0x64uy; 0x9buy; 0x93uy; 0x4cuy;
0xa4uy; 0x95uy; 0x99uy; 0x1buy; 0x78uy; 0x52uy; 0xb8uy; 0x55uy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected256 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test2_expected256 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 59,
"start_col": 24,
"start_line": 55
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test3_expected224 = [
0x75uy; 0x38uy; 0x8buy; 0x16uy; 0x51uy; 0x27uy; 0x76uy; 0xccuy;
0x5duy; 0xbauy; 0x5duy; 0xa1uy; 0xfduy; 0x89uy; 0x01uy; 0x50uy;
0xb0uy; 0xc6uy; 0x45uy; 0x5cuy; 0xb4uy; 0xf5uy; 0x8buy; 0x19uy;
0x52uy; 0x52uy; 0x25uy; 0x25uy ] | let test3_expected224 = | false | null | false | [
0x75uy; 0x38uy; 0x8buy; 0x16uy; 0x51uy; 0x27uy; 0x76uy; 0xccuy; 0x5duy; 0xbauy; 0x5duy; 0xa1uy;
0xfduy; 0x89uy; 0x01uy; 0x50uy; 0xb0uy; 0xc6uy; 0x45uy; 0x5cuy; 0xb4uy; 0xf5uy; 0x8buy; 0x19uy;
0x52uy; 0x52uy; 0x25uy; 0x25uy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected224 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test3_expected224 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 34,
"end_line": 95,
"start_col": 24,
"start_line": 91
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test3_plaintext = [
0x61uy; 0x62uy; 0x63uy; 0x64uy; 0x62uy; 0x63uy; 0x64uy; 0x65uy;
0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy;
0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy;
0x67uy; 0x68uy; 0x69uy; 0x6auy; 0x68uy; 0x69uy; 0x6auy; 0x6buy;
0x69uy; 0x6auy; 0x6buy; 0x6cuy... | let test3_plaintext = | false | null | false | [
0x61uy; 0x62uy; 0x63uy; 0x64uy; 0x62uy; 0x63uy; 0x64uy; 0x65uy; 0x63uy; 0x64uy; 0x65uy; 0x66uy;
0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy;
0x67uy; 0x68uy; 0x69uy; 0x6auy; 0x68uy; 0x69uy; 0x6auy; 0x6buy; 0x69uy; 0x6auy; 0x6buy; 0x6cuy;
0x6auy; 0x6buy; 0x6cuy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_plaintext : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test3_plaintext | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 89,
"start_col": 22,
"start_line": 82
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test1_expected384 = [
0xcbuy; 0x00uy; 0x75uy; 0x3fuy; 0x45uy; 0xa3uy; 0x5euy; 0x8buy;
0xb5uy; 0xa0uy; 0x3duy; 0x69uy; 0x9auy; 0xc6uy; 0x50uy; 0x07uy;
0x27uy; 0x2cuy; 0x32uy; 0xabuy; 0x0euy; 0xdeuy; 0xd1uy; 0x63uy;
0x1auy; 0x8buy; 0x60uy; 0x5auy; 0x43uy; 0xffuy; 0x5buy; 0xeduy;
0x80uy; 0x86uy; 0x07uy; 0x2b... | let test1_expected384 = | false | null | false | [
0xcbuy; 0x00uy; 0x75uy; 0x3fuy; 0x45uy; 0xa3uy; 0x5euy; 0x8buy; 0xb5uy; 0xa0uy; 0x3duy; 0x69uy;
0x9auy; 0xc6uy; 0x50uy; 0x07uy; 0x27uy; 0x2cuy; 0x32uy; 0xabuy; 0x0euy; 0xdeuy; 0xd1uy; 0x63uy;
0x1auy; 0x8buy; 0x60uy; 0x5auy; 0x43uy; 0xffuy; 0x5buy; 0xeduy; 0x80uy; 0x86uy; 0x07uy; 0x2buy;
0xa1uy; 0xe7uy; 0xccuy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected384 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test1_expected384 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 31,
"start_col": 24,
"start_line": 25
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test1_expected256 = [
0xbauy; 0x78uy; 0x16uy; 0xbfuy; 0x8fuy; 0x01uy; 0xcfuy; 0xeauy;
0x41uy; 0x41uy; 0x40uy; 0xdeuy; 0x5duy; 0xaeuy; 0x22uy; 0x23uy;
0xb0uy; 0x03uy; 0x61uy; 0xa3uy; 0x96uy; 0x17uy; 0x7auy; 0x9cuy;
0xb4uy; 0x10uy; 0xffuy; 0x61uy; 0xf2uy; 0x00uy; 0x15uy; 0xaduy ] | let test1_expected256 = | false | null | false | [
0xbauy; 0x78uy; 0x16uy; 0xbfuy; 0x8fuy; 0x01uy; 0xcfuy; 0xeauy; 0x41uy; 0x41uy; 0x40uy; 0xdeuy;
0x5duy; 0xaeuy; 0x22uy; 0x23uy; 0xb0uy; 0x03uy; 0x61uy; 0xa3uy; 0x96uy; 0x17uy; 0x7auy; 0x9cuy;
0xb4uy; 0x10uy; 0xffuy; 0x61uy; 0xf2uy; 0x00uy; 0x15uy; 0xaduy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected256 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test1_expected256 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 23,
"start_col": 24,
"start_line": 19
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test4_expected224 = [
0xc9uy; 0x7cuy; 0xa9uy; 0xa5uy; 0x59uy; 0x85uy; 0x0cuy; 0xe9uy;
0x7auy; 0x04uy; 0xa9uy; 0x6duy; 0xefuy; 0x6duy; 0x99uy; 0xa9uy;
0xe0uy; 0xe0uy; 0xe2uy; 0xabuy; 0x14uy; 0xe6uy; 0xb8uy; 0xdfuy;
0x26uy; 0x5fuy; 0xc0uy; 0xb3uy ] | let test4_expected224 = | false | null | false | [
0xc9uy; 0x7cuy; 0xa9uy; 0xa5uy; 0x59uy; 0x85uy; 0x0cuy; 0xe9uy; 0x7auy; 0x04uy; 0xa9uy; 0x6duy;
0xefuy; 0x6duy; 0x99uy; 0xa9uy; 0xe0uy; 0xe0uy; 0xe2uy; 0xabuy; 0x14uy; 0xe6uy; 0xb8uy; 0xdfuy;
0x26uy; 0x5fuy; 0xc0uy; 0xb3uy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected224 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test4_expected224 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 34,
"end_line": 144,
"start_col": 24,
"start_line": 140
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test3_expected256 = [
0x24uy; 0x8duy; 0x6auy; 0x61uy; 0xd2uy; 0x06uy; 0x38uy; 0xb8uy;
0xe5uy; 0xc0uy; 0x26uy; 0x93uy; 0x0cuy; 0x3euy; 0x60uy; 0x39uy;
0xa3uy; 0x3cuy; 0xe4uy; 0x59uy; 0x64uy; 0xffuy; 0x21uy; 0x67uy;
0xf6uy; 0xecuy; 0xeduy; 0xd4uy; 0x19uy; 0xdbuy; 0x06uy; 0xc1uy ] | let test3_expected256 = | false | null | false | [
0x24uy; 0x8duy; 0x6auy; 0x61uy; 0xd2uy; 0x06uy; 0x38uy; 0xb8uy; 0xe5uy; 0xc0uy; 0x26uy; 0x93uy;
0x0cuy; 0x3euy; 0x60uy; 0x39uy; 0xa3uy; 0x3cuy; 0xe4uy; 0x59uy; 0x64uy; 0xffuy; 0x21uy; 0x67uy;
0xf6uy; 0xecuy; 0xeduy; 0xd4uy; 0x19uy; 0xdbuy; 0x06uy; 0xc1uy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected256 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test3_expected256 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 101,
"start_col": 24,
"start_line": 97
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test2_expected512 = [
0xcfuy; 0x83uy; 0xe1uy; 0x35uy; 0x7euy; 0xefuy; 0xb8uy; 0xbduy;
0xf1uy; 0x54uy; 0x28uy; 0x50uy; 0xd6uy; 0x6duy; 0x80uy; 0x07uy;
0xd6uy; 0x20uy; 0xe4uy; 0x05uy; 0x0buy; 0x57uy; 0x15uy; 0xdcuy;
0x83uy; 0xf4uy; 0xa9uy; 0x21uy; 0xd3uy; 0x6cuy; 0xe9uy; 0xceuy;
0x47uy; 0xd0uy; 0xd1uy; 0x3c... | let test2_expected512 = | false | null | false | [
0xcfuy; 0x83uy; 0xe1uy; 0x35uy; 0x7euy; 0xefuy; 0xb8uy; 0xbduy; 0xf1uy; 0x54uy; 0x28uy; 0x50uy;
0xd6uy; 0x6duy; 0x80uy; 0x07uy; 0xd6uy; 0x20uy; 0xe4uy; 0x05uy; 0x0buy; 0x57uy; 0x15uy; 0xdcuy;
0x83uy; 0xf4uy; 0xa9uy; 0x21uy; 0xd3uy; 0x6cuy; 0xe9uy; 0xceuy; 0x47uy; 0xd0uy; 0xd1uy; 0x3cuy;
0x5duy; 0x85uy; 0xf2uy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected512 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test2_expected512 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 77,
"start_col": 24,
"start_line": 69
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test3_expected384 = [
0x33uy; 0x91uy; 0xfduy; 0xdduy; 0xfcuy; 0x8duy; 0xc7uy; 0x39uy;
0x37uy; 0x07uy; 0xa6uy; 0x5buy; 0x1buy; 0x47uy; 0x09uy; 0x39uy;
0x7cuy; 0xf8uy; 0xb1uy; 0xd1uy; 0x62uy; 0xafuy; 0x05uy; 0xabuy;
0xfeuy; 0x8fuy; 0x45uy; 0x0duy; 0xe5uy; 0xf3uy; 0x6buy; 0xc6uy;
0xb0uy; 0x45uy; 0x5auy; 0x85... | let test3_expected384 = | false | null | false | [
0x33uy; 0x91uy; 0xfduy; 0xdduy; 0xfcuy; 0x8duy; 0xc7uy; 0x39uy; 0x37uy; 0x07uy; 0xa6uy; 0x5buy;
0x1buy; 0x47uy; 0x09uy; 0x39uy; 0x7cuy; 0xf8uy; 0xb1uy; 0xd1uy; 0x62uy; 0xafuy; 0x05uy; 0xabuy;
0xfeuy; 0x8fuy; 0x45uy; 0x0duy; 0xe5uy; 0xf3uy; 0x6buy; 0xc6uy; 0xb0uy; 0x45uy; 0x5auy; 0x85uy;
0x20uy; 0xbcuy; 0x4euy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected384 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test3_expected384 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 109,
"start_col": 24,
"start_line": 103
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test1_expected512 = [
0xdduy; 0xafuy; 0x35uy; 0xa1uy; 0x93uy; 0x61uy; 0x7auy; 0xbauy;
0xccuy; 0x41uy; 0x73uy; 0x49uy; 0xaeuy; 0x20uy; 0x41uy; 0x31uy;
0x12uy; 0xe6uy; 0xfauy; 0x4euy; 0x89uy; 0xa9uy; 0x7euy; 0xa2uy;
0x0auy; 0x9euy; 0xeeuy; 0xe6uy; 0x4buy; 0x55uy; 0xd3uy; 0x9auy;
0x21uy; 0x92uy; 0x99uy; 0x2a... | let test1_expected512 = | false | null | false | [
0xdduy; 0xafuy; 0x35uy; 0xa1uy; 0x93uy; 0x61uy; 0x7auy; 0xbauy; 0xccuy; 0x41uy; 0x73uy; 0x49uy;
0xaeuy; 0x20uy; 0x41uy; 0x31uy; 0x12uy; 0xe6uy; 0xfauy; 0x4euy; 0x89uy; 0xa9uy; 0x7euy; 0xa2uy;
0x0auy; 0x9euy; 0xeeuy; 0xe6uy; 0x4buy; 0x55uy; 0xd3uy; 0x9auy; 0x21uy; 0x92uy; 0x99uy; 0x2auy;
0x27uy; 0x4fuy; 0xc1uy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected512 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test1_expected512 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 41,
"start_col": 24,
"start_line": 33
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test4_expected384 = [
0x09uy; 0x33uy; 0x0cuy; 0x33uy; 0xf7uy; 0x11uy; 0x47uy; 0xe8uy;
0x3duy; 0x19uy; 0x2fuy; 0xc7uy; 0x82uy; 0xcduy; 0x1buy; 0x47uy;
0x53uy; 0x11uy; 0x1buy; 0x17uy; 0x3buy; 0x3buy; 0x05uy; 0xd2uy;
0x2fuy; 0xa0uy; 0x80uy; 0x86uy; 0xe3uy; 0xb0uy; 0xf7uy; 0x12uy;
0xfcuy; 0xc7uy; 0xc7uy; 0x1a... | let test4_expected384 = | false | null | false | [
0x09uy; 0x33uy; 0x0cuy; 0x33uy; 0xf7uy; 0x11uy; 0x47uy; 0xe8uy; 0x3duy; 0x19uy; 0x2fuy; 0xc7uy;
0x82uy; 0xcduy; 0x1buy; 0x47uy; 0x53uy; 0x11uy; 0x1buy; 0x17uy; 0x3buy; 0x3buy; 0x05uy; 0xd2uy;
0x2fuy; 0xa0uy; 0x80uy; 0x86uy; 0xe3uy; 0xb0uy; 0xf7uy; 0x12uy; 0xfcuy; 0xc7uy; 0xc7uy; 0x1auy;
0x55uy; 0x7euy; 0x2duy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected384 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test4_expected384 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 158,
"start_col": 24,
"start_line": 152
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test4_expected256 = [
0xcfuy; 0x5buy; 0x16uy; 0xa7uy; 0x78uy; 0xafuy; 0x83uy; 0x80uy;
0x03uy; 0x6cuy; 0xe5uy; 0x9euy; 0x7buy; 0x04uy; 0x92uy; 0x37uy;
0x0buy; 0x24uy; 0x9buy; 0x11uy; 0xe8uy; 0xf0uy; 0x7auy; 0x51uy;
0xafuy; 0xacuy; 0x45uy; 0x03uy; 0x7auy; 0xfeuy; 0xe9uy; 0xd1uy ] | let test4_expected256 = | false | null | false | [
0xcfuy; 0x5buy; 0x16uy; 0xa7uy; 0x78uy; 0xafuy; 0x83uy; 0x80uy; 0x03uy; 0x6cuy; 0xe5uy; 0x9euy;
0x7buy; 0x04uy; 0x92uy; 0x37uy; 0x0buy; 0x24uy; 0x9buy; 0x11uy; 0xe8uy; 0xf0uy; 0x7auy; 0x51uy;
0xafuy; 0xacuy; 0x45uy; 0x03uy; 0x7auy; 0xfeuy; 0xe9uy; 0xd1uy
] | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected256 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test4_expected256 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 150,
"start_col": 24,
"start_line": 146
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test3_expected512 = [
0x20uy; 0x4auy; 0x8fuy; 0xc6uy; 0xdduy; 0xa8uy; 0x2fuy; 0x0auy;
0x0cuy; 0xeduy; 0x7buy; 0xebuy; 0x8euy; 0x08uy; 0xa4uy; 0x16uy;
0x57uy; 0xc1uy; 0x6euy; 0xf4uy; 0x68uy; 0xb2uy; 0x28uy; 0xa8uy;
0x27uy; 0x9buy; 0xe3uy; 0x31uy; 0xa7uy; 0x03uy; 0xc3uy; 0x35uy;
0x96uy; 0xfduy; 0x15uy; 0xc1... | let test3_expected512 = | false | null | false | [
0x20uy; 0x4auy; 0x8fuy; 0xc6uy; 0xdduy; 0xa8uy; 0x2fuy; 0x0auy; 0x0cuy; 0xeduy; 0x7buy; 0xebuy;
0x8euy; 0x08uy; 0xa4uy; 0x16uy; 0x57uy; 0xc1uy; 0x6euy; 0xf4uy; 0x68uy; 0xb2uy; 0x28uy; 0xa8uy;
0x27uy; 0x9buy; 0xe3uy; 0x31uy; 0xa7uy; 0x03uy; 0xc3uy; 0x35uy; 0x96uy; 0xfduy; 0x15uy; 0xc1uy;
0x3buy; 0x1buy; 0x07uy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected512 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test3_expected512 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 119,
"start_col": 24,
"start_line": 111
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test4_expected512 = [
0x8euy; 0x95uy; 0x9buy; 0x75uy; 0xdauy; 0xe3uy; 0x13uy; 0xdauy;
0x8cuy; 0xf4uy; 0xf7uy; 0x28uy; 0x14uy; 0xfcuy; 0x14uy; 0x3fuy;
0x8fuy; 0x77uy; 0x79uy; 0xc6uy; 0xebuy; 0x9fuy; 0x7fuy; 0xa1uy;
0x72uy; 0x99uy; 0xaeuy; 0xaduy; 0xb6uy; 0x88uy; 0x90uy; 0x18uy;
0x50uy; 0x1duy; 0x28uy; 0x9e... | let test4_expected512 = | false | null | false | [
0x8euy; 0x95uy; 0x9buy; 0x75uy; 0xdauy; 0xe3uy; 0x13uy; 0xdauy; 0x8cuy; 0xf4uy; 0xf7uy; 0x28uy;
0x14uy; 0xfcuy; 0x14uy; 0x3fuy; 0x8fuy; 0x77uy; 0x79uy; 0xc6uy; 0xebuy; 0x9fuy; 0x7fuy; 0xa1uy;
0x72uy; 0x99uy; 0xaeuy; 0xaduy; 0xb6uy; 0x88uy; 0x90uy; 0x18uy; 0x50uy; 0x1duy; 0x28uy; 0x9euy;
0x49uy; 0x00uy; 0xf7uy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected512 : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test4_expected512 | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 168,
"start_col": 24,
"start_line": 160
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.... | false | let test4_plaintext = [
0x61uy; 0x62uy; 0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy;
0x62uy; 0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy;
0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy; 0x6auy;
0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy; 0x6auy; 0x6buy;
0x65uy; 0x66uy; 0x67uy; 0x68uy... | let test4_plaintext = | false | null | false | [
0x61uy; 0x62uy; 0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x62uy; 0x63uy; 0x64uy; 0x65uy;
0x66uy; 0x67uy; 0x68uy; 0x69uy; 0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy; 0x6auy;
0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy; 0x6auy; 0x6buy; 0x65uy; 0x66uy; 0x67uy; 0x68uy;
0x69uy; 0x6auy; 0x6buy... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"FStar.UInt8.t",
"FStar.UInt8.__uint_to_t",
"Prims.Nil"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_plaintext : Prims.list FStar.UInt8.t | [] | Spec.Hash.Test.test4_plaintext | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list FStar.UInt8.t | {
"end_col": 66,
"end_line": 138,
"start_col": 22,
"start_line": 124
} | |
FStar.All.ALL | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Agile.Hash",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"fu... | false | let test () =
let res = List.for_all test_one test_vectors in
if res then begin IO.print_string "\n\nHash: Success!\n"; true end
else begin IO.print_string "\n\nHash: Failure :(\n"; false end | let test () = | true | null | false | let res = List.for_all test_one test_vectors in
if res
then
(IO.print_string "\n\nHash: Success!\n";
true)
else
(IO.print_string "\n\nHash: Failure :(\n";
false) | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [] | [
"Prims.unit",
"Prims.bool",
"FStar.IO.print_string",
"FStar.List.for_all",
"Spec.Hash.Test.vec",
"Spec.Hash.Test.test_one",
"Spec.Hash.Test.test_vectors"
] | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | false | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test : _: Prims.unit -> FStar.All.ALL Prims.bool | [] | Spec.Hash.Test.test | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.All.ALL Prims.bool | {
"end_col": 64,
"end_line": 1352,
"start_col": 13,
"start_line": 1349
} | |
FStar.All.ALL | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Agile.Hash",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"fu... | false | let test_one (v:vec) =
let Vec a plain tag = v in
assert_norm (List.Tot.length tag = hash_length a);
assert_norm (List.Tot.length plain `less_than_max_input_length` a);
let expected = seq_of_list (List.Tot.map Lib.RawIntTypes.u8_from_UInt8 tag) in
let computed = hash a (seq_of_list (List.Tot.map Lib.RawIntTy... | let test_one (v: vec) = | true | null | false | let Vec a plain tag = v in
assert_norm (List.Tot.length tag = hash_length a);
assert_norm ((List.Tot.length plain) `less_than_max_input_length` a);
let expected = seq_of_list (List.Tot.map Lib.RawIntTypes.u8_from_UInt8 tag) in
let computed = hash a (seq_of_list (List.Tot.map Lib.RawIntTypes.u8_from_UInt8 plain)) in
PS.... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [] | [
"Spec.Hash.Test.vec",
"Spec.Hash.Definitions.hash_alg",
"Prims.b2t",
"Prims.op_Negation",
"Spec.Hash.Definitions.is_shake",
"Prims.list",
"FStar.UInt8.t",
"Prims.eq2",
"Prims.bool",
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta",
"FStar.Pervas... | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | false | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test_one : v: Spec.Hash.Test.vec -> FStar.All.ALL Prims.bool | [] | Spec.Hash.Test.test_one | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v: Spec.Hash.Test.vec -> FStar.All.ALL Prims.bool | {
"end_col": 57,
"end_line": 1346,
"start_col": 22,
"start_line": 1339
} | |
Prims.Tot | val test_vectors:list vec | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Agile.Hash",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.PrintSequence",
"short_module": "PS"
},
{
"abbrev": false,
"fu... | false | let test_vectors: list vec =
[
Vec SHA2_224 test1_plaintext test1_expected224; Vec SHA2_224 test2_plaintext test2_expected224;
Vec SHA2_224 test3_plaintext test3_expected224; Vec SHA2_224 test4_plaintext test4_expected224;
Vec SHA2_256 test1_plaintext test1_expected256; Vec SHA2_256 test2_plaintext test2_... | val test_vectors:list vec
let test_vectors:list vec = | false | null | false | [
Vec SHA2_224 test1_plaintext test1_expected224; Vec SHA2_224 test2_plaintext test2_expected224;
Vec SHA2_224 test3_plaintext test3_expected224; Vec SHA2_224 test4_plaintext test4_expected224;
Vec SHA2_256 test1_plaintext test1_expected256; Vec SHA2_256 test2_plaintext test2_expected256;
Vec SHA2_256 test3_pla... | {
"checked_file": "Spec.Hash.Test.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintSequence.fsti.checked",
"FStar.UInt8.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pe... | [
"total"
] | [
"Prims.Cons",
"Spec.Hash.Test.vec",
"Spec.Hash.Test.Vec",
"Spec.Hash.Definitions.SHA2_224",
"Spec.Hash.Test.test1_plaintext",
"Spec.Hash.Test.test1_expected224",
"Spec.Hash.Test.test2_plaintext",
"Spec.Hash.Test.test2_expected224",
"Spec.Hash.Test.test3_plaintext",
"Spec.Hash.Test.test3_expected22... | [] | module Spec.Hash.Test
open FStar.Seq
module PS = Lib.PrintSequence
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
/// Test 1
let test1_plaintext = [0x61uy; 0x62uy; 0x63uy]
let test1_expected224 = [
0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy;
0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy... | false | true | Spec.Hash.Test.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test_vectors:list vec | [] | Spec.Hash.Test.test_vectors | {
"file_name": "specs/tests/Spec.Hash.Test.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list Spec.Hash.Test.vec | {
"end_col": 3,
"end_line": 1336,
"start_col": 2,
"start_line": 185
} |
Prims.Tot | val b_b2i (#n: pos) (vec: bv_t n) : uint_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec | val b_b2i (#n: pos) (vec: bv_t n) : uint_t n
let b_b2i (#n: pos) (vec: bv_t n) : uint_t n = | false | null | false | bv2int vec | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"FStar.BV.bv2int",
"FStar.UInt.uint_t"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_b2i (#n: pos) (vec: bv_t n) : uint_t n | [] | Vale.Math.Bits.b_b2i | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | vec: FStar.BV.bv_t n -> FStar.UInt.uint_t n | {
"end_col": 74,
"end_line": 7,
"start_col": 64,
"start_line": 7
} |
Prims.Tot | val b_i2b (#n: pos) (num: uint_t n) : bv_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num | val b_i2b (#n: pos) (num: uint_t n) : bv_t n
let b_i2b (#n: pos) (num: uint_t n) : bv_t n = | false | null | false | int2bv num | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.UInt.uint_t",
"FStar.BV.int2bv",
"FStar.BV.bv_t"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_i2b (#n: pos) (num: uint_t n) : bv_t n | [] | Vale.Math.Bits.b_i2b | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | num: FStar.UInt.uint_t n -> FStar.BV.bv_t n | {
"end_col": 74,
"end_line": 6,
"start_col": 64,
"start_line": 6
} |
Prims.Tot | val b_not (#n: pos) (a: bv_t n) : bv_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_not (#n:pos) (a:bv_t n) : bv_t n = bvnot a | val b_not (#n: pos) (a: bv_t n) : bv_t n
let b_not (#n: pos) (a: bv_t n) : bv_t n = | false | null | false | bvnot a | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"FStar.BV.bvnot"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a
[@"o... | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_not (#n: pos) (a: bv_t n) : bv_t n | [] | Vale.Math.Bits.b_not | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> FStar.BV.bv_t n | {
"end_col": 67,
"end_line": 12,
"start_col": 60,
"start_line": 12
} |
Prims.Tot | val b_shr (#n: pos) (a: bv_t n) (s: nat) : bv_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_shr (#n:pos) (a:bv_t n) (s:nat) : bv_t n = bvshr a s | val b_shr (#n: pos) (a: bv_t n) (s: nat) : bv_t n
let b_shr (#n: pos) (a: bv_t n) (s: nat) : bv_t n = | false | null | false | bvshr a s | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"Prims.nat",
"FStar.BV.bvshr"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a
[@"o... | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_shr (#n: pos) (a: bv_t n) (s: nat) : bv_t n | [] | Vale.Math.Bits.b_shr | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> s: Prims.nat -> FStar.BV.bv_t n | {
"end_col": 77,
"end_line": 14,
"start_col": 68,
"start_line": 14
} |
Prims.Tot | val b_shl (#n: pos) (a: bv_t n) (s: nat) : bv_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_shl (#n:pos) (a:bv_t n) (s:nat) : bv_t n = bvshl a s | val b_shl (#n: pos) (a: bv_t n) (s: nat) : bv_t n
let b_shl (#n: pos) (a: bv_t n) (s: nat) : bv_t n = | false | null | false | bvshl a s | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"Prims.nat",
"FStar.BV.bvshl"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a
[@"o... | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_shl (#n: pos) (a: bv_t n) (s: nat) : bv_t n | [] | Vale.Math.Bits.b_shl | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> s: Prims.nat -> FStar.BV.bv_t n | {
"end_col": 77,
"end_line": 13,
"start_col": 68,
"start_line": 13
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let bveq (#n:pos) (a b:bv_t n) = bvxor a b == bvxor a a | let bveq (#n: pos) (a b: bv_t n) = | false | null | false | bvxor a b == bvxor a a | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"Prims.eq2",
"FStar.BV.bvxor",
"Prims.logical"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a
[@"o... | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bveq : a: FStar.BV.bv_t n -> b: FStar.BV.bv_t n -> Prims.logical | [] | Vale.Math.Bits.bveq | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> b: FStar.BV.bv_t n -> Prims.logical | {
"end_col": 62,
"end_line": 115,
"start_col": 40,
"start_line": 115
} | |
Prims.Tot | val b_or (#n: pos) (a b: bv_t n) : bv_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_or (#n:pos) (a:bv_t n) (b:bv_t n) : bv_t n = bvor a b | val b_or (#n: pos) (a b: bv_t n) : bv_t n
let b_or (#n: pos) (a b: bv_t n) : bv_t n = | false | null | false | bvor a b | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"FStar.BV.bvor"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_or (#n: pos) (a b: bv_t n) : bv_t n | [] | Vale.Math.Bits.b_or | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> b: FStar.BV.bv_t n -> FStar.BV.bv_t n | {
"end_col": 79,
"end_line": 10,
"start_col": 71,
"start_line": 10
} |
Prims.Tot | val b_div (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_div (#n:pos) (a:bv_t n) (b:uint_t n{b <> 0}) : bv_t n = bvdiv a b | val b_div (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n
let b_div (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n = | false | null | false | bvdiv a b | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"FStar.UInt.uint_t",
"Prims.b2t",
"Prims.op_disEquality",
"Prims.int",
"FStar.BV.bvdiv"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a
[@"o... | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_div (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n | [] | Vale.Math.Bits.b_div | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> b: FStar.UInt.uint_t n {b <> 0} -> FStar.BV.bv_t n | {
"end_col": 90,
"end_line": 18,
"start_col": 81,
"start_line": 18
} |
Prims.Tot | val uext (#n #m: pos) (a: uint_t n) : normalize (uint_t (m + n)) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let uext (#n #m:pos) (a:uint_t n) : normalize (uint_t (m + n)) = lemma_pow2_le n (n + m); a | val uext (#n #m: pos) (a: uint_t n) : normalize (uint_t (m + n))
let uext (#n #m: pos) (a: uint_t n) : normalize (uint_t (m + n)) = | false | null | false | lemma_pow2_le n (n + m);
a | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.UInt.uint_t",
"Prims.unit",
"Vale.Math.Bits.lemma_pow2_le",
"Prims.op_Addition",
"FStar.Pervasives.normalize"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a
[@"o... | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uext (#n #m: pos) (a: uint_t n) : normalize (uint_t (m + n)) | [] | Vale.Math.Bits.uext | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.UInt.uint_t n -> FStar.Pervasives.normalize (FStar.UInt.uint_t (m + n)) | {
"end_col": 91,
"end_line": 23,
"start_col": 65,
"start_line": 23
} |
Prims.Tot | val b_uext (#n #m: pos) (a: bv_t n) : normalize (bv_t (m + n)) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a | val b_uext (#n #m: pos) (a: bv_t n) : normalize (bv_t (m + n))
let b_uext (#n #m: pos) (a: bv_t n) : normalize (bv_t (m + n)) = | false | null | false | bv_uext #n #m a | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"FStar.BV.bv_uext",
"FStar.Pervasives.normalize",
"Prims.op_Addition"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_uext (#n #m: pos) (a: bv_t n) : normalize (bv_t (m + n)) | [] | Vale.Math.Bits.b_uext | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> FStar.Pervasives.normalize (FStar.BV.bv_t (m + n)) | {
"end_col": 97,
"end_line": 8,
"start_col": 82,
"start_line": 8
} |
Prims.Tot | val b_mod (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.UInt",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.BV",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Math",
... | false | let b_mod (#n:pos) (a:bv_t n) (b:uint_t n{b <> 0}) : bv_t n = bvmod a b | val b_mod (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n
let b_mod (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n = | false | null | false | bvmod a b | {
"checked_file": "Vale.Math.Bits.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.UInt.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.BV.fsti.checked"
],
"interface_file": false,
"source_file": "Vale.Math.Bits.fsti"
} | [
"total"
] | [
"Prims.pos",
"FStar.BV.bv_t",
"FStar.UInt.uint_t",
"Prims.b2t",
"Prims.op_disEquality",
"Prims.int",
"FStar.BV.bvmod"
] | [] | module Vale.Math.Bits
open FStar.BV
open FStar.UInt
open FStar.Mul
[@"opaque_to_smt"] let b_i2b (#n:pos) (num:uint_t n) : bv_t n = int2bv num
[@"opaque_to_smt"] let b_b2i (#n:pos) (vec:bv_t n) : uint_t n = bv2int vec
[@"opaque_to_smt"] let b_uext (#n #m:pos) (a:bv_t n) : normalize (bv_t (m + n)) = bv_uext #n #m a
[@"o... | false | false | Vale.Math.Bits.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val b_mod (#n: pos) (a: bv_t n) (b: uint_t n {b <> 0}) : bv_t n | [] | Vale.Math.Bits.b_mod | {
"file_name": "vale/code/lib/math/Vale.Math.Bits.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: FStar.BV.bv_t n -> b: FStar.UInt.uint_t n {b <> 0} -> FStar.BV.bv_t n | {
"end_col": 90,
"end_line": 19,
"start_col": 81,
"start_line": 19
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.