effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Tot
val serialize_u32_le : serializer parse_u32_le
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let serialize_u32_le = serialize_synth _ synth_u32_le (serialize_bounded_integer_le 4) synth_u32_le_recip ()
val serialize_u32_le : serializer parse_u32_le let serialize_u32_le =
false
null
false
serialize_synth _ synth_u32_le (serialize_bounded_integer_le 4) synth_u32_le_recip ()
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "LowParse.Spec.Combinators.serialize_synth", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.synth_u32_le", "LowParse.Spec.BoundedInt.serialize_bounded_inte...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
true
LowParse.Spec.BoundedInt.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 serialize_u32_le : serializer parse_u32_le
[]
LowParse.Spec.BoundedInt.serialize_u32_le
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Spec.Base.serializer LowParse.Spec.BoundedInt.parse_u32_le
{ "end_col": 6, "end_line": 223, "start_col": 2, "start_line": 218 }
Prims.Tot
val parse_bounded_int32_le_fixed_size (min: nat) (max: nat { min <= max }) : Tot (parser parse_bounded_int32_fixed_size_kind (bounded_int32 min max))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let parse_bounded_int32_le_fixed_size min max = parse_filter parse_u32_le (in_bounds min max)
val parse_bounded_int32_le_fixed_size (min: nat) (max: nat { min <= max }) : Tot (parser parse_bounded_int32_fixed_size_kind (bounded_int32 min max)) let parse_bounded_int32_le_fixed_size min max =
false
null
false
parse_filter parse_u32_le (in_bounds min max)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.Spec.Combinators.parse_filter", "LowParse.Spec.Int.parse_u32_kind", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_u32_le", "LowParse.Spec.BoundedInt.in_bounds", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.parse_bounded_...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 parse_bounded_int32_le_fixed_size (min: nat) (max: nat { min <= max }) : Tot (parser parse_bounded_int32_fixed_size_kind (bounded_int32 min max))
[]
LowParse.Spec.BoundedInt.parse_bounded_int32_le_fixed_size
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max} -> LowParse.Spec.Base.parser LowParse.Spec.BoundedInt.parse_bounded_int32_fixed_size_kind (LowParse.Spec.BoundedInt.bounded_int32 min max)
{ "end_col": 47, "end_line": 257, "start_col": 2, "start_line": 257 }
FStar.Pervasives.Lemma
val bounded_integer_of_le_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (bounded_integer_of_le i))
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let bounded_integer_of_le_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (bounded_integer_of_le i)) = Classical.forall_intro_2 (bounded_integer_of_le_injective' i)
val bounded_integer_of_le_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (bounded_integer_of_le i)) let bounded_integer_of_le_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (bounded_integer_of_le i)) ...
false
null
true
Classical.forall_intro_2 (bounded_integer_of_le_injective' i)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "FStar.Classical.forall_intro_2", "LowParse.Bytes.bytes", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.l_imp", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.bounded_integer_of_le", "FStar.Seq.Bas...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 bounded_integer_of_le_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (bounded_integer_of_le i))
[]
LowParse.Spec.BoundedInt.bounded_integer_of_le_injective
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Combinators.make_total_constant_size_parser_precond i (LowParse.Spec.BoundedInt.bounded_integer i) (LowParse.Spec.BoundedInt.bounded_integer_of_le i))
{ "end_col": 63, "end_line": 138, "start_col": 2, "start_line": 138 }
FStar.Pervasives.Lemma
val decode_bounded_integer_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (decode_bounded_integer i))
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let decode_bounded_integer_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (decode_bounded_integer i)) = Classical.forall_intro_2 (decode_bounded_integer_injective' i)
val decode_bounded_integer_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (decode_bounded_integer i)) let decode_bounded_integer_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (decode_bounded_integer ...
false
null
true
Classical.forall_intro_2 (decode_bounded_integer_injective' i)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "FStar.Classical.forall_intro_2", "LowParse.Bytes.bytes", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.l_imp", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.decode_bounded_integer", "FStar.Seq.Ba...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 decode_bounded_integer_injective (i: integer_size) : Lemma (make_total_constant_size_parser_precond i (bounded_integer i) (decode_bounded_integer i))
[]
LowParse.Spec.BoundedInt.decode_bounded_integer_injective
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Combinators.make_total_constant_size_parser_precond i (LowParse.Spec.BoundedInt.bounded_integer i) (LowParse.Spec.BoundedInt.decode_bounded_integer i))
{ "end_col": 64, "end_line": 58, "start_col": 2, "start_line": 58 }
Prims.Tot
val serialize_u16_le : serializer parse_u16_le
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let serialize_u16_le : serializer parse_u16_le = serialize_synth _ synth_u16_le (serialize_bounded_integer_le 2) synth_u16_le_recip ()
val serialize_u16_le : serializer parse_u16_le let serialize_u16_le:serializer parse_u16_le =
false
null
false
serialize_synth _ synth_u16_le (serialize_bounded_integer_le 2) synth_u16_le_recip ()
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "LowParse.Spec.Combinators.serialize_synth", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "FStar.UInt16.t", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.synth_u16_le", "LowParse.Spec.BoundedInt.serialize_bounded_inte...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
true
LowParse.Spec.BoundedInt.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 serialize_u16_le : serializer parse_u16_le
[]
LowParse.Spec.BoundedInt.serialize_u16_le
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Spec.Base.serializer LowParse.Spec.BoundedInt.parse_u16_le
{ "end_col": 6, "end_line": 209, "start_col": 2, "start_line": 204 }
Prims.Tot
val serialize_bounded_int32_le_fixed_size (min: nat) (max: nat { min <= max }) : Tot (serializer (parse_bounded_int32_le_fixed_size min max))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let serialize_bounded_int32_le_fixed_size min max = serialize_filter serialize_u32_le (in_bounds min max)
val serialize_bounded_int32_le_fixed_size (min: nat) (max: nat { min <= max }) : Tot (serializer (parse_bounded_int32_le_fixed_size min max)) let serialize_bounded_int32_le_fixed_size min max =
false
null
false
serialize_filter serialize_u32_le (in_bounds min max)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.Spec.Combinators.serialize_filter", "LowParse.Spec.Int.parse_u32_kind", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_u32_le", "LowParse.Spec.BoundedInt.serialize_u32_le", "LowParse.Spec.BoundedInt.in_bounds", "LowParse.Spec.Base....
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 serialize_bounded_int32_le_fixed_size (min: nat) (max: nat { min <= max }) : Tot (serializer (parse_bounded_int32_le_fixed_size min max))
[]
LowParse.Spec.BoundedInt.serialize_bounded_int32_le_fixed_size
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max} -> LowParse.Spec.Base.serializer (LowParse.Spec.BoundedInt.parse_bounded_int32_le_fixed_size min max)
{ "end_col": 55, "end_line": 261, "start_col": 2, "start_line": 261 }
Prims.Tot
val synth_u32_le_recip (x: U32.t) : Tot (bounded_integer 4)
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let synth_u32_le_recip (x: U32.t) : Tot (bounded_integer 4) = x
val synth_u32_le_recip (x: U32.t) : Tot (bounded_integer 4) let synth_u32_le_recip (x: U32.t) : Tot (bounded_integer 4) =
false
null
false
x
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "FStar.UInt32.t", "LowParse.Spec.BoundedInt.bounded_integer" ]
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 synth_u32_le_recip (x: U32.t) : Tot (bounded_integer 4)
[]
LowParse.Spec.BoundedInt.synth_u32_le_recip
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: FStar.UInt32.t -> LowParse.Spec.BoundedInt.bounded_integer 4
{ "end_col": 3, "end_line": 215, "start_col": 2, "start_line": 215 }
Prims.Tot
val synth_u16_le_recip (x: U16.t) : Tot (bounded_integer 2)
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let synth_u16_le_recip (x: U16.t) : Tot (bounded_integer 2) = Cast.uint16_to_uint32 x
val synth_u16_le_recip (x: U16.t) : Tot (bounded_integer 2) let synth_u16_le_recip (x: U16.t) : Tot (bounded_integer 2) =
false
null
false
Cast.uint16_to_uint32 x
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "FStar.UInt16.t", "FStar.Int.Cast.uint16_to_uint32", "LowParse.Spec.BoundedInt.bounded_integer" ]
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 synth_u16_le_recip (x: U16.t) : Tot (bounded_integer 2)
[]
LowParse.Spec.BoundedInt.synth_u16_le_recip
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: FStar.UInt16.t -> LowParse.Spec.BoundedInt.bounded_integer 2
{ "end_col": 25, "end_line": 199, "start_col": 2, "start_line": 199 }
Prims.Tot
val parse_bounded_int32 (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (parser (parse_bounded_int32_kind max) (bounded_int32 min max))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let parse_bounded_int32 min max = let sz = log256' max in (parse_bounded_integer sz `parse_filter` in_bounds min max) `parse_synth` (fun x -> (x <: bounded_int32 min max))
val parse_bounded_int32 (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (parser (parse_bounded_int32_kind max) (bounded_int32 min max)) let parse_bounded_int32 min max =
false
null
false
let sz = log256' max in ((parse_bounded_integer sz) `parse_filter` (in_bounds min max)) `parse_synth` (fun x -> (x <: bounded_int32 min max))
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "LowParse.Spec.Combinators.parse_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.Combinators.parse_filter_refine", "LowParse.Spec.B...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 parse_bounded_int32 (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (parser (parse_bounded_int32_kind max) (bounded_int32 min max))
[]
LowParse.Spec.BoundedInt.parse_bounded_int32
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{0 < max /\ min <= max /\ max < 4294967296} -> LowParse.Spec.Base.parser (LowParse.Spec.BoundedInt.parse_bounded_int32_kind max) (LowParse.Spec.BoundedInt.bounded_int32 min max)
{ "end_col": 115, "end_line": 228, "start_col": 1, "start_line": 227 }
Prims.Tot
val parse_bounded_int32_le (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (parser (parse_bounded_int32_kind max) (bounded_int32 min max))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let parse_bounded_int32_le min max = let sz = log256' max in (parse_bounded_integer_le sz `parse_filter` in_bounds min max) `parse_synth` (fun x -> (x <: bounded_int32 min max))
val parse_bounded_int32_le (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (parser (parse_bounded_int32_kind max) (bounded_int32 min max)) let parse_bounded_int32_le min max =
false
null
false
let sz = log256' max in ((parse_bounded_integer_le sz) `parse_filter` (in_bounds min max)) `parse_synth` (fun x -> (x <: bounded_int32 min max))
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "LowParse.Spec.Combinators.parse_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.Combinators.parse_filter_refine", "LowParse.Spec.B...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 parse_bounded_int32_le (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (parser (parse_bounded_int32_kind max) (bounded_int32 min max))
[]
LowParse.Spec.BoundedInt.parse_bounded_int32_le
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{0 < max /\ min <= max /\ max < 4294967296} -> LowParse.Spec.Base.parser (LowParse.Spec.BoundedInt.parse_bounded_int32_kind max) (LowParse.Spec.BoundedInt.bounded_int32 min max)
{ "end_col": 118, "end_line": 243, "start_col": 1, "start_line": 242 }
Prims.Tot
val serialize_bounded_int32 (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (serializer (parse_bounded_int32 min max))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let serialize_bounded_int32 min max = let sz = log256' max in serialize_synth (parse_bounded_integer sz `parse_filter` in_bounds min max) (fun x -> (x <: bounded_int32 min max)) (serialize_filter (serialize_bounded_integer sz) (in_bounds min max)) (fun x -> x) ()
val serialize_bounded_int32 (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (serializer (parse_bounded_int32 min max)) let serialize_bounded_int32 min max =
false
null
false
let sz = log256' max in serialize_synth ((parse_bounded_integer sz) `parse_filter` (in_bounds min max)) (fun x -> (x <: bounded_int32 min max)) (serialize_filter (serialize_bounded_integer sz) (in_bounds min max)) (fun x -> x) ()
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "LowParse.Spec.Combinators.serialize_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.Combinators.parse_filter_refine", "LowParse.Sp...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 serialize_bounded_int32 (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (serializer (parse_bounded_int32 min max))
[]
LowParse.Spec.BoundedInt.serialize_bounded_int32
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{0 < max /\ min <= max /\ max < 4294967296} -> LowParse.Spec.Base.serializer (LowParse.Spec.BoundedInt.parse_bounded_int32 min max)
{ "end_col": 6, "end_line": 238, "start_col": 1, "start_line": 232 }
Prims.Tot
val serialize_bounded_int32_le (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (serializer (parse_bounded_int32_le min max))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let serialize_bounded_int32_le min max = let sz = log256' max in serialize_synth (parse_bounded_integer_le sz `parse_filter` in_bounds min max) (fun x -> (x <: bounded_int32 min max)) (serialize_filter (serialize_bounded_integer_le sz) (in_bounds min max)) (fun x -> x) ()
val serialize_bounded_int32_le (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (serializer (parse_bounded_int32_le min max)) let serialize_bounded_int32_le min max =
false
null
false
let sz = log256' max in serialize_synth ((parse_bounded_integer_le sz) `parse_filter` (in_bounds min max)) (fun x -> (x <: bounded_int32 min max)) (serialize_filter (serialize_bounded_integer_le sz) (in_bounds min max)) (fun x -> x) ()
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "LowParse.Spec.Combinators.serialize_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.Combinators.parse_filter_refine", "LowParse.Sp...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 serialize_bounded_int32_le (min: nat) (max: nat { 0 < max /\ min <= max /\ max < 4294967296 }) : Tot (serializer (parse_bounded_int32_le min max))
[]
LowParse.Spec.BoundedInt.serialize_bounded_int32_le
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{0 < max /\ min <= max /\ max < 4294967296} -> LowParse.Spec.Base.serializer (LowParse.Spec.BoundedInt.parse_bounded_int32_le min max)
{ "end_col": 6, "end_line": 253, "start_col": 1, "start_line": 247 }
FStar.Pervasives.Lemma
val bounded_integer_prop_equiv (i: integer_size) (u: U32.t) : Lemma (bounded_integer_prop i u <==> U32.v u < pow2 (8 * i))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let bounded_integer_prop_equiv (i: integer_size) (u: U32.t) : Lemma (bounded_integer_prop i u <==> U32.v u < pow2 (8 * i)) = assert_norm (pow2 8 == 256); assert_norm (pow2 16 == 65536); assert_norm (pow2 24 == 16777216); assert_norm (pow2 32 == 4294967296)
val bounded_integer_prop_equiv (i: integer_size) (u: U32.t) : Lemma (bounded_integer_prop i u <==> U32.v u < pow2 (8 * i)) let bounded_integer_prop_equiv (i: integer_size) (u: U32.t) : Lemma (bounded_integer_prop i u <==> U32.v u < pow2 (8 * i)) =
false
null
true
assert_norm (pow2 8 == 256); assert_norm (pow2 16 == 65536); assert_norm (pow2 24 == 16777216); assert_norm (pow2 32 == 4294967296)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "FStar.UInt32.t", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "Prims.pow2", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_iff", "LowParse.Spec.BoundedInt.bounded_integer_prop", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 bounded_integer_prop_equiv (i: integer_size) (u: U32.t) : Lemma (bounded_integer_prop i u <==> U32.v u < pow2 (8 * i))
[]
LowParse.Spec.BoundedInt.bounded_integer_prop_equiv
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> u6: FStar.UInt32.t -> FStar.Pervasives.Lemma (ensures LowParse.Spec.BoundedInt.bounded_integer_prop i u6 <==> FStar.UInt32.v u6 < Prims.pow2 (8 * i) )
{ "end_col": 37, "end_line": 26, "start_col": 2, "start_line": 23 }
FStar.Pervasives.Lemma
val parse_bounded_integer_spec (i: integer_size) (input: bytes) : Lemma (let res = parse (parse_bounded_integer i) input in if Seq.length input < i then res == None else match res with | None -> False | Some (y, consumed) -> U32.v y == E.be_to_n (Seq.slice input 0 i) /\ consumed == ...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_modul...
false
let parse_bounded_integer_spec i input = parser_kind_prop_equiv (parse_bounded_integer_kind i) (parse_bounded_integer i); M.pow2_le_compat 32 (8 `FStar.Mul.op_Star` i); match parse (parse_bounded_integer i) input with | None -> () | Some (y, consumed) -> let input' = Seq.slice input 0 i in E.lemma_be_...
val parse_bounded_integer_spec (i: integer_size) (input: bytes) : Lemma (let res = parse (parse_bounded_integer i) input in if Seq.length input < i then res == None else match res with | None -> False | Some (y, consumed) -> U32.v y == E.be_to_n (Seq.slice input 0 i) /\ consumed == ...
false
null
true
parser_kind_prop_equiv (parse_bounded_integer_kind i) (parse_bounded_integer i); M.pow2_le_compat 32 (8 `FStar.Mul.op_Star` i); match parse (parse_bounded_integer i) input with | None -> () | Some (y, consumed) -> let input' = Seq.slice input 0 i in E.lemma_be_to_n_is_bounded input'; parse_strong_prefix (parse_bo...
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.Base.parse_strong_prefix", "LowParse.Spec.BoundedInt.parse_bou...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 parse_bounded_integer_spec (i: integer_size) (input: bytes) : Lemma (let res = parse (parse_bounded_integer i) input in if Seq.length input < i then res == None else match res with | None -> False | Some (y, consumed) -> U32.v y == E.be_to_n (Seq.slice input 0 i) /\ consumed == ...
[]
LowParse.Spec.BoundedInt.parse_bounded_integer_spec
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> input: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (ensures (let res = LowParse.Spec.Base.parse (LowParse.Spec.BoundedInt.parse_bounded_integer i) input in (match FStar.Seq.Base.length input < i with | true -> res == FStar.Pe...
{ "end_col": 62, "end_line": 74, "start_col": 2, "start_line": 67 }
Prims.GTot
val decode_bounded_integer (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i)
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let decode_bounded_integer (i: integer_size) (b: bytes { Seq.length b == i } ) : GTot (bounded_integer i) = E.lemma_be_to_n_is_bounded b; M.pow2_le_compat 32 (8 `FStar.Mul.op_Star` i); U32.uint_to_t (E.be_to_n b)
val decode_bounded_integer (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i) let decode_bounded_integer (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i) =
false
null
false
E.lemma_be_to_n_is_bounded b; M.pow2_le_compat 32 (8 `FStar.Mul.op_Star` i); U32.uint_to_t (E.be_to_n b)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "sometrivial" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Bytes.bytes", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "FStar.UInt32.uint_to_t", "FStar.Endianness.be_to_n", "Prims.unit", "FStar.Math.Lemmas.pow2_le_compat", "FStar.Mul.op_Star", "FStar.Endianness.lemma_be_to_...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 decode_bounded_integer (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i)
[]
LowParse.Spec.BoundedInt.decode_bounded_integer
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == i} -> Prims.GTot (LowParse.Spec.BoundedInt.bounded_integer i)
{ "end_col": 29, "end_line": 36, "start_col": 2, "start_line": 34 }
FStar.Pervasives.Lemma
val decode_bounded_integer_injective' (i: integer_size) (b1: bytes{Seq.length b1 == i}) (b2: bytes{Seq.length b2 == i}) : Lemma (decode_bounded_integer i b1 == decode_bounded_integer i b2 ==> Seq.equal b1 b2)
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let decode_bounded_integer_injective' (i: integer_size) (b1: bytes { Seq.length b1 == i } ) (b2: bytes { Seq.length b2 == i } ) : Lemma (decode_bounded_integer i b1 == decode_bounded_integer i b2 ==> Seq.equal b1 b2) = if decode_bounded_integer i b1 = decode_bounded_integer i b2 then begin E.lemma_be_to_n...
val decode_bounded_integer_injective' (i: integer_size) (b1: bytes{Seq.length b1 == i}) (b2: bytes{Seq.length b2 == i}) : Lemma (decode_bounded_integer i b1 == decode_bounded_integer i b2 ==> Seq.equal b1 b2) let decode_bounded_integer_injective' (i: integer_size) (b1: bytes{Seq.length...
false
null
true
if decode_bounded_integer i b1 = decode_bounded_integer i b2 then (E.lemma_be_to_n_is_bounded b1; E.lemma_be_to_n_is_bounded b2; assert (U32.v (U32.uint_to_t (E.be_to_n b1)) == E.be_to_n b1); assert (U32.v (U32.uint_to_t (E.be_to_n b2)) == E.be_to_n b2); assert (E.be_to_n b1 == E.be_to_n b2); E.be...
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Bytes.bytes", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.op_Equality", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.decode_bounded_integer", "FStar.Endianness.be_to_n_inj", "Prims.un...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 decode_bounded_integer_injective' (i: integer_size) (b1: bytes{Seq.length b1 == i}) (b2: bytes{Seq.length b2 == i}) : Lemma (decode_bounded_integer i b1 == decode_bounded_integer i b2 ==> Seq.equal b1 b2)
[]
LowParse.Spec.BoundedInt.decode_bounded_integer_injective'
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> b1: LowParse.Bytes.bytes{FStar.Seq.Base.length b1 == i} -> b2: LowParse.Bytes.bytes{FStar.Seq.Base.length b2 == i} -> FStar.Pervasives.Lemma (ensures LowParse.Spec.BoundedInt.decode_bounded_integer i b1 == LowParse.Spec.BoundedInt.decode_bounded...
{ "end_col": 13, "end_line": 52, "start_col": 2, "start_line": 44 }
Prims.Tot
val serialize_bounded_integer_le' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz))
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let serialize_bounded_integer_le' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz)) = (fun (x: bounded_integer sz) -> E.n_to_le sz (U32.v x) )
val serialize_bounded_integer_le' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz)) let serialize_bounded_integer_le' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz)) =
false
null
false
(fun (x: bounded_integer sz) -> E.n_to_le sz (U32.v x))
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "FStar.Endianness.n_to_le", "FStar.UInt32.v", "LowParse.Bytes.bytes", "LowParse.Spec.Base.bare_serializer" ]
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 serialize_bounded_integer_le' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz))
[]
LowParse.Spec.BoundedInt.serialize_bounded_integer_le'
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> LowParse.Spec.Base.bare_serializer (LowParse.Spec.BoundedInt.bounded_integer sz)
{ "end_col": 3, "end_line": 168, "start_col": 2, "start_line": 166 }
Prims.Tot
val serialize_bounded_integer' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz))
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let serialize_bounded_integer' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz)) = (fun (x: bounded_integer sz) -> let res = E.n_to_be sz (U32.v x) in res )
val serialize_bounded_integer' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz)) let serialize_bounded_integer' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz)) =
false
null
false
(fun (x: bounded_integer sz) -> let res = E.n_to_be sz (U32.v x) in res)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "total" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "FStar.Endianness.bytes", "Prims.l_and", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "FStar.UInt8.t", "FStar.UInt32.v", "FStar.Endianness.be_to_n", "FStar.Endianness.n_to_be", "LowParse.Bytes.bytes", ...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 serialize_bounded_integer' (sz: integer_size) : Tot (bare_serializer (bounded_integer sz))
[]
LowParse.Spec.BoundedInt.serialize_bounded_integer'
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> LowParse.Spec.Base.bare_serializer (LowParse.Spec.BoundedInt.bounded_integer sz)
{ "end_col": 3, "end_line": 82, "start_col": 2, "start_line": 79 }
FStar.Pervasives.Lemma
val bounded_integer_of_le_injective' (i: integer_size) (b1: bytes{Seq.length b1 == i}) (b2: bytes{Seq.length b2 == i}) : Lemma (bounded_integer_of_le i b1 == bounded_integer_of_le i b2 ==> Seq.equal b1 b2)
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let bounded_integer_of_le_injective' (i: integer_size) (b1: bytes { Seq.length b1 == i } ) (b2: bytes { Seq.length b2 == i } ) : Lemma (bounded_integer_of_le i b1 == bounded_integer_of_le i b2 ==> Seq.equal b1 b2) = if bounded_integer_of_le i b1 = bounded_integer_of_le i b2 then begin E.lemma_le_to_n_is_b...
val bounded_integer_of_le_injective' (i: integer_size) (b1: bytes{Seq.length b1 == i}) (b2: bytes{Seq.length b2 == i}) : Lemma (bounded_integer_of_le i b1 == bounded_integer_of_le i b2 ==> Seq.equal b1 b2) let bounded_integer_of_le_injective' (i: integer_size) (b1: bytes{Seq.length b1 ...
false
null
true
if bounded_integer_of_le i b1 = bounded_integer_of_le i b2 then (E.lemma_le_to_n_is_bounded b1; E.lemma_le_to_n_is_bounded b2; assert (U32.v (U32.uint_to_t (E.le_to_n b1)) == E.le_to_n b1); assert (U32.v (U32.uint_to_t (E.le_to_n b2)) == E.le_to_n b2); assert (E.le_to_n b1 == E.le_to_n b2); E.le_t...
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Bytes.bytes", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.op_Equality", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.bounded_integer_of_le", "FStar.Endianness.le_to_n_inj", "Prims.uni...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 bounded_integer_of_le_injective' (i: integer_size) (b1: bytes{Seq.length b1 == i}) (b2: bytes{Seq.length b2 == i}) : Lemma (bounded_integer_of_le i b1 == bounded_integer_of_le i b2 ==> Seq.equal b1 b2)
[]
LowParse.Spec.BoundedInt.bounded_integer_of_le_injective'
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> b1: LowParse.Bytes.bytes{FStar.Seq.Base.length b1 == i} -> b2: LowParse.Bytes.bytes{FStar.Seq.Base.length b2 == i} -> FStar.Pervasives.Lemma (ensures LowParse.Spec.BoundedInt.bounded_integer_of_le i b1 == LowParse.Spec.BoundedInt.bounded_integer...
{ "end_col": 13, "end_line": 130, "start_col": 2, "start_line": 122 }
Prims.GTot
val bounded_integer_of_le (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i)
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let bounded_integer_of_le (i: integer_size) (b: bytes { Seq.length b == i } ) : GTot (bounded_integer i) = E.lemma_le_to_n_is_bounded b; M.pow2_le_compat 32 (8 `FStar.Mul.op_Star` i); U32.uint_to_t (E.le_to_n b)
val bounded_integer_of_le (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i) let bounded_integer_of_le (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i) =
false
null
false
E.lemma_le_to_n_is_bounded b; M.pow2_le_compat 32 (8 `FStar.Mul.op_Star` i); U32.uint_to_t (E.le_to_n b)
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "sometrivial" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Bytes.bytes", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "FStar.UInt32.uint_to_t", "FStar.Endianness.le_to_n", "Prims.unit", "FStar.Math.Lemmas.pow2_le_compat", "FStar.Mul.op_Star", "FStar.Endianness.lemma_le_to_...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 bounded_integer_of_le (i: integer_size) (b: bytes{Seq.length b == i}) : GTot (bounded_integer i)
[]
LowParse.Spec.BoundedInt.bounded_integer_of_le
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: LowParse.Spec.BoundedInt.integer_size -> b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == i} -> Prims.GTot (LowParse.Spec.BoundedInt.bounded_integer i)
{ "end_col": 29, "end_line": 114, "start_col": 2, "start_line": 112 }
FStar.Pervasives.Lemma
val serialize_bounded_integer_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer sz) (serialize_bounded_integer' sz))
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let serialize_bounded_integer_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer sz) (serialize_bounded_integer' sz)) = let prf (x: bounded_integer sz) : Lemma ( let res = serialize_bounded_integer' sz x in Seq.length res == (sz <: nat) /\ parse (parse_bounded_...
val serialize_bounded_integer_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer sz) (serialize_bounded_integer' sz)) let serialize_bounded_integer_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer sz) (serialize_bounded_integer' sz)) =
false
null
true
let prf (x: bounded_integer sz) : Lemma (let res = serialize_bounded_integer' sz x in Seq.length res == (sz <: nat) /\ parse (parse_bounded_integer sz) res == Some (x, (sz <: nat)) ) = () in Classical.forall_intro prf
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "FStar.Classical.forall_intro", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.l_and", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec.BoundedInt.serialize_bounded_integer'", "FStar.Pervasives.Native.option", "...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 serialize_bounded_integer_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer sz) (serialize_bounded_integer' sz))
[]
LowParse.Spec.BoundedInt.serialize_bounded_integer_correct
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Base.serializer_correct (LowParse.Spec.BoundedInt.parse_bounded_integer sz) (LowParse.Spec.BoundedInt.serialize_bounded_integer' sz))
{ "end_col": 28, "end_line": 98, "start_col": 1, "start_line": 88 }
FStar.Pervasives.Lemma
val serialize_bounded_integer_le_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer_le sz) (serialize_bounded_integer_le' sz))
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators // for make_total_constant_size_parser_precond", "short_module": null }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Math", "short_modu...
false
let serialize_bounded_integer_le_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer_le sz) (serialize_bounded_integer_le' sz)) = let prf (x: bounded_integer sz) : Lemma ( let res = serialize_bounded_integer_le' sz x in Seq.length res == (sz <: nat) /\ parse (pa...
val serialize_bounded_integer_le_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer_le sz) (serialize_bounded_integer_le' sz)) let serialize_bounded_integer_le_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer_le sz) (serialize_bounded_integer_le' sz)) =
false
null
true
let prf (x: bounded_integer sz) : Lemma (let res = serialize_bounded_integer_le' sz x in Seq.length res == (sz <: nat) /\ parse (parse_bounded_integer_le sz) res == Some (x, (sz <: nat))) = () in Classical.forall_intro prf
{ "checked_file": "LowParse.Spec.BoundedInt.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FSta...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "FStar.Classical.forall_intro", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.l_and", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec.BoundedInt.serialize_bounded_integer_le'", "FStar.Pervasives.Native.option", ...
[]
module LowParse.Spec.BoundedInt open LowParse.Spec.Combinators // for make_total_constant_size_parser_precond module Seq = FStar.Seq module E = FStar.Endianness module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module M = LowParse.Math module Cast = FStar.Int.Cast (* bounded integers *) l...
false
false
LowParse.Spec.BoundedInt.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 serialize_bounded_integer_le_correct (sz: integer_size) : Lemma (serializer_correct (parse_bounded_integer_le sz) (serialize_bounded_integer_le' sz))
[]
LowParse.Spec.BoundedInt.serialize_bounded_integer_le_correct
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Base.serializer_correct (LowParse.Spec.BoundedInt.parse_bounded_integer_le sz) (LowParse.Spec.BoundedInt.serialize_bounded_integer_le' sz))
{ "end_col": 28, "end_line": 186, "start_col": 1, "start_line": 176 }
Prims.Tot
val wrap_slice (#a: Type0) (s: Seq.seq a) (i: int) : Seq.seq a
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let wrap_slice (#a:Type0) (s:Seq.seq a) (i:int) : Seq.seq a = Seq.slice s 0 (if 0 <= i && i <= Seq.length s then i else 0)
val wrap_slice (#a: Type0) (s: Seq.seq a) (i: int) : Seq.seq a let wrap_slice (#a: Type0) (s: Seq.seq a) (i: int) : Seq.seq a =
false
null
false
Seq.slice s 0 (if 0 <= i && i <= Seq.length s then i else 0)
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "total" ]
[ "FStar.Seq.Base.seq", "FStar.Integers.int", "FStar.Seq.Base.slice", "Prims.op_AmpAmp", "FStar.Integers.op_Less_Equals", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "FStar.Seq.Base.length", "Prims.bool", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual" ]
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "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 wrap_slice (#a: Type0) (s: Seq.seq a) (i: int) : Seq.seq a
[]
Vale.Wrapper.X64.GCMencryptOpt.wrap_slice
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: FStar.Seq.Base.seq a -> i: FStar.Integers.int -> FStar.Seq.Base.seq a
{ "end_col": 62, "end_line": 21, "start_col": 2, "start_line": 21 }
FStar.Pervasives.Lemma
val length_div (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) / 16 = 1)
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let length_div (b:uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) / 16 = 1) = DV.length_eq (get_downview b)
val length_div (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) / 16 = 1) let length_div (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) / 16 = 1) =
false
null
true
DV.length_eq (get_downview b)
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "Prims.b2t", "Prims.op_Equality", "Prims.int", "LowStar.Monotonic.Buffer.length", ...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 length_div (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) / 16 = 1)
[]
Vale.Wrapper.X64.GCMencryptOpt.length_div
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 16) (ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) / 16 = 1)
{ "end_col": 33, "end_line": 30, "start_col": 4, "start_line": 30 }
FStar.Pervasives.Lemma
val math_cast_aux (n: UInt64.t) : Lemma (requires UInt64.v n < pow2 32) (ensures UInt32.v (uint64_to_uint32 n) = UInt64.v n)
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let math_cast_aux (n:UInt64.t) : Lemma (requires UInt64.v n < pow2 32) (ensures UInt32.v (uint64_to_uint32 n) = UInt64.v n) = FStar.Math.Lemmas.small_mod (UInt64.v n) (pow2 32)
val math_cast_aux (n: UInt64.t) : Lemma (requires UInt64.v n < pow2 32) (ensures UInt32.v (uint64_to_uint32 n) = UInt64.v n) let math_cast_aux (n: UInt64.t) : Lemma (requires UInt64.v n < pow2 32) (ensures UInt32.v (uint64_to_uint32 n) = UInt64.v n) =
false
null
true
FStar.Math.Lemmas.small_mod (UInt64.v n) (pow2 32)
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "FStar.UInt64.t", "FStar.Math.Lemmas.small_mod", "FStar.UInt64.v", "Prims.pow2", "Prims.unit", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "Prims.squash", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", ...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 math_cast_aux (n: UInt64.t) : Lemma (requires UInt64.v n < pow2 32) (ensures UInt32.v (uint64_to_uint32 n) = UInt64.v n)
[]
Vale.Wrapper.X64.GCMencryptOpt.math_cast_aux
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: FStar.UInt64.t -> FStar.Pervasives.Lemma (requires FStar.UInt64.v n < Prims.pow2 32) (ensures FStar.UInt32.v (FStar.Int.Cast.uint64_to_uint32 n) = FStar.UInt64.v n)
{ "end_col": 54, "end_line": 522, "start_col": 4, "start_line": 522 }
FStar.Pervasives.Lemma
val length_aux6 (b: uint8_p) : Lemma (B.length b = DV.length (get_downview b))
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let length_aux6 (b:uint8_p) : Lemma (B.length b = DV.length (get_downview b)) = DV.length_eq (get_downview b)
val length_aux6 (b: uint8_p) : Lemma (B.length b = DV.length (get_downview b)) let length_aux6 (b: uint8_p) : Lemma (B.length b = DV.length (get_downview b)) =
false
null
true
DV.length_eq (get_downview b)
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 length_aux6 (b: uint8_p) : Lemma (B.length b = DV.length (get_downview b))
[]
Vale.Wrapper.X64.GCMencryptOpt.length_aux6
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> FStar.Pervasives.Lemma (ensures LowStar.Monotonic.Buffer.length b = LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b))
{ "end_col": 33, "end_line": 762, "start_col": 4, "start_line": 762 }
FStar.Pervasives.Lemma
val lemma_same_seq_dv (h: HS.mem) (b: uint8_p) : Lemma (Seq.equal (B.as_seq h b) (DV.as_seq h (get_downview b)))
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let lemma_same_seq_dv (h:HS.mem) (b:uint8_p) : Lemma (Seq.equal (B.as_seq h b) (DV.as_seq h (get_downview b))) = let db = get_downview b in DV.length_eq db; let aux (i:nat{i < B.length b}) : Lemma (Seq.index (B.as_seq h b) i == Seq.index (DV.as_seq h db) i) = DV.as_seq_sel h db i; DV.get_sel h db i; ...
val lemma_same_seq_dv (h: HS.mem) (b: uint8_p) : Lemma (Seq.equal (B.as_seq h b) (DV.as_seq h (get_downview b))) let lemma_same_seq_dv (h: HS.mem) (b: uint8_p) : Lemma (Seq.equal (B.as_seq h b) (DV.as_seq h (get_downview b))) =
false
null
true
let db = get_downview b in DV.length_eq db; let aux (i: nat{i < B.length b}) : Lemma (Seq.index (B.as_seq h b) i == Seq.index (DV.as_seq h db) i) = DV.as_seq_sel h db i; DV.get_sel h db i; Vale.Interop.Views.put8_reveal () in Classical.forall_intro aux
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "FStar.Monotonic.HyperStack.mem", "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "FStar.Classical.forall_intro", "FStar.Integers.nat", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "LowStar.Monotonic.Buffer.length", "FStar.UInt8.t", "LowStar.Buffer.trivia...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 lemma_same_seq_dv (h: HS.mem) (b: uint8_p) : Lemma (Seq.equal (B.as_seq h b) (DV.as_seq h (get_downview b)))
[]
Vale.Wrapper.X64.GCMencryptOpt.lemma_same_seq_dv
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> b: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> FStar.Pervasives.Lemma (ensures FStar.Seq.Base.equal (LowStar.Monotonic.Buffer.as_seq h b) (LowStar.BufferView.Down.as_seq h (Vale.Interop.Types.get_downview b)))
{ "end_col": 31, "end_line": 425, "start_col": 61, "start_line": 418 }
FStar.Pervasives.Lemma
val lemma_identical_uv (b: uint8_p) (h0 h1: HS.mem) : Lemma (requires B.length b % 16 = 0 /\ Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures (let b_d = get_downview b in length_aux3 b (B.length b / 16); let b_u = UV.mk_buffer b_d Vale.Interop.Views.up_view128 in Seq.e...
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let lemma_identical_uv (b:uint8_p) (h0 h1:HS.mem) : Lemma (requires B.length b % 16 = 0 /\ Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures ( let b_d = get_downview b in length_aux3 b (B.length b / 16); let b_u = UV.mk_buffer b_d Vale.Interop.Views.up_view128 in Seq.equal (UV.as_seq h0 b_u) (UV.a...
val lemma_identical_uv (b: uint8_p) (h0 h1: HS.mem) : Lemma (requires B.length b % 16 = 0 /\ Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures (let b_d = get_downview b in length_aux3 b (B.length b / 16); let b_u = UV.mk_buffer b_d Vale.Interop.Views.up_view128 in Seq.e...
false
null
true
lemma_dv_equal Vale.Interop.Views.down_view8 b h0 h1; length_aux3 b (B.length b / 16); lemma_uv_equal Vale.Interop.Views.up_view128 (get_downview b) h0 h1
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "FStar.Monotonic.HyperStack.mem", "Vale.Lib.BufferViewHelpers.lemma_uv_equal", "FStar.UInt8.t", "Vale.Def.Types_s.quad32", "Vale.Interop.Views.up_view128", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", ...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 lemma_identical_uv (b: uint8_p) (h0 h1: HS.mem) : Lemma (requires B.length b % 16 = 0 /\ Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures (let b_d = get_downview b in length_aux3 b (B.length b / 16); let b_u = UV.mk_buffer b_d Vale.Interop.Views.up_view128 in Seq.e...
[]
Vale.Wrapper.X64.GCMencryptOpt.lemma_identical_uv
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b % 16 = 0 /\ FStar.Seq.Base.equal (LowStar.Monotonic.Buffer.as_seq h0 b) (LowStar.Mono...
{ "end_col": 71, "end_line": 758, "start_col": 4, "start_line": 756 }
FStar.Pervasives.Lemma
val lemma_slice_uv_extra (b b_start b_extra: uint8_p) (h: HS.mem) : Lemma (requires B.length b_start = (B.length b / 16) * 16 /\ b_start == B.gsub b 0ul (UInt32.uint_to_t (B.length b_start)) /\ B.length b_extra = 16 /\ Seq.equal (B.as_seq h b) (Seq.slice (Seq.append (B.as_seq...
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let lemma_slice_uv_extra (b:uint8_p) (b_start:uint8_p) (b_extra:uint8_p) (h:HS.mem) : Lemma (requires B.length b_start = B.length b / 16 * 16 /\ b_start == B.gsub b 0ul (UInt32.uint_to_t (B.length b_start)) /\ B.length b_extra = 16 /\ Seq.equal (B.as_seq h b) (Seq.slice (Seq.append (B.as_s...
val lemma_slice_uv_extra (b b_start b_extra: uint8_p) (h: HS.mem) : Lemma (requires B.length b_start = (B.length b / 16) * 16 /\ b_start == B.gsub b 0ul (UInt32.uint_to_t (B.length b_start)) /\ B.length b_extra = 16 /\ Seq.equal (B.as_seq h b) (Seq.slice (Seq.append (B.as_seq...
false
null
true
let b_start_d = get_downview b_start in length_aux6 b_start; let b_start_u = UV.mk_buffer b_start_d Vale.Interop.Views.up_view128 in let b_extra_d = get_downview b_extra in length_aux6 b_extra; let b_extra_u = UV.mk_buffer b_extra_d Vale.Interop.Views.up_view128 in let suv = Seq.append (UV.as_seq h b_start_u) (UV.as_se...
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "FStar.Monotonic.HyperStack.mem", "FStar.Calc.calc_finish", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "Prims.eq2", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Vale.Wrapper.X64.GCMencryptOpt.wrap_sli...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 lemma_slice_uv_extra (b b_start b_extra: uint8_p) (h: HS.mem) : Lemma (requires B.length b_start = (B.length b / 16) * 16 /\ b_start == B.gsub b 0ul (UInt32.uint_to_t (B.length b_start)) /\ B.length b_extra = 16 /\ Seq.equal (B.as_seq h b) (Seq.slice (Seq.append (B.as_seq...
[]
Vale.Wrapper.X64.GCMencryptOpt.lemma_slice_uv_extra
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> b_start: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> b_extra: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b_start = (LowStar.Monotonic.Buffer.le...
{ "end_col": 4, "end_line": 831, "start_col": 2, "start_line": 785 }
FStar.Pervasives.Lemma
val lemma_slice_sub (b b_sub b_extra: uint8_p) (h: HS.mem) : Lemma (requires B.length b_extra = 16 /\ B.length b_sub = (B.length b / 16) * 16 /\ b_sub == B.gsub b 0ul (UInt32.uint_to_t (B.length b_sub)) /\ Seq.equal (Seq.slice (B.as_seq h b) (B.length b_sub) (B.length b_sub + B.length ...
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let lemma_slice_sub (b:uint8_p) (b_sub:uint8_p) (b_extra:uint8_p) (h:HS.mem) : Lemma (requires B.length b_extra = 16 /\ B.length b_sub = B.length b / 16 * 16 /\ b_sub == B.gsub b 0ul (UInt32.uint_to_t (B.length b_sub)) /\ Seq.equal (Seq.slice (B.as_seq h b) (B.length b_sub) (B.length b_sub + B.length b ...
val lemma_slice_sub (b b_sub b_extra: uint8_p) (h: HS.mem) : Lemma (requires B.length b_extra = 16 /\ B.length b_sub = (B.length b / 16) * 16 /\ b_sub == B.gsub b 0ul (UInt32.uint_to_t (B.length b_sub)) /\ Seq.equal (Seq.slice (B.as_seq h b) (B.length b_sub) (B.length b_sub + B.length ...
false
null
true
calc ( == ) { Seq.slice (Seq.append (B.as_seq h b_sub) (B.as_seq h b_extra)) 0 (B.length b); ( == ) { Seq.lemma_eq_intro (Seq.slice (Seq.append (B.as_seq h b_sub) (B.as_seq h b_extra)) 0 (B.length b)) (Seq.append (B.as_seq h b_sub) (Seq.slice (B.as_seq h b_extra) 0 (B.length b % 16))) } Seq.ap...
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "FStar.Monotonic.HyperStack.mem", "FStar.Calc.calc_finish", "FStar.Seq.Base.seq", "FStar.UInt8.t", "Prims.eq2", "FStar.Seq.Base.slice", "FStar.Seq.Base.append", "LowStar.Monotonic.Buffer.as_seq", "LowStar.Buffer.trivial_preorder", "LowStar.Monotonic.Buff...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 lemma_slice_sub (b b_sub b_extra: uint8_p) (h: HS.mem) : Lemma (requires B.length b_extra = 16 /\ B.length b_sub = (B.length b / 16) * 16 /\ b_sub == B.gsub b 0ul (UInt32.uint_to_t (B.length b_sub)) /\ Seq.equal (Seq.slice (B.as_seq h b) (B.length b_sub) (B.length b_sub + B.length ...
[]
Vale.Wrapper.X64.GCMencryptOpt.lemma_slice_sub
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> b_sub: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> b_extra: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b_extra = 16 /\ LowStar.Monotoni...
{ "end_col": 3, "end_line": 878, "start_col": 2, "start_line": 857 }
FStar.Pervasives.Lemma
val lemma_uv_split (h: HS.mem) (b: uint8_p) (n: UInt32.t) : Lemma (requires B.length b % 16 = 0 /\ UInt32.v n % 16 = 0 /\ UInt32.v n <= B.length b) (ensures (let b1 = B.gsub b 0ul n in let b2 = B.gsub b n (UInt32.uint_to_t (B.length b) - n) in let b1_d = get_downview b1 in ...
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, ...
false
let lemma_uv_split (h:HS.mem) (b:uint8_p) (n:UInt32.t) : Lemma (requires B.length b % 16 = 0 /\ UInt32.v n % 16 = 0 /\ UInt32.v n <= B.length b) (ensures ( let b1 = B.gsub b 0ul n in let b2 = B.gsub b n (UInt32.uint_to_t (B.length b) - n) in let b1_d = get_downview b1 in length_aux3 b1 (B.length b1 ...
val lemma_uv_split (h: HS.mem) (b: uint8_p) (n: UInt32.t) : Lemma (requires B.length b % 16 = 0 /\ UInt32.v n % 16 = 0 /\ UInt32.v n <= B.length b) (ensures (let b1 = B.gsub b 0ul n in let b2 = B.gsub b n (UInt32.uint_to_t (B.length b) - n) in let b1_d = get_downview b1 in ...
false
null
true
let b1 = B.gsub b 0ul n in let b2 = B.gsub b n (UInt32.uint_to_t (B.length b) - n) in let b1_d = get_downview b1 in length_aux3 b1 (B.length b1 / 16); let b1_u = UV.mk_buffer b1_d Vale.Interop.Views.up_view128 in let b2_d = get_downview b2 in length_aux3 b2 (B.length b2 / 16); let b2_u = UV.mk_buffer b2_d Vale.Interop....
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "lemma" ]
[ "FStar.Monotonic.HyperStack.mem", "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "FStar.UInt32.t", "FStar.Classical.forall_intro", "FStar.Integers.nat", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "FStar.Seq.Base.length", "Vale.Def.Types_s.quad32", "P...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
false
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 lemma_uv_split (h: HS.mem) (b: uint8_p) (n: UInt32.t) : Lemma (requires B.length b % 16 = 0 /\ UInt32.v n % 16 = 0 /\ UInt32.v n <= B.length b) (ensures (let b1 = B.gsub b 0ul n in let b2 = B.gsub b n (UInt32.uint_to_t (B.length b) - n) in let b1_d = get_downview b1 in ...
[]
Vale.Wrapper.X64.GCMencryptOpt.lemma_uv_split
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> b: Vale.Wrapper.X64.GCMencryptOpt.uint8_p -> n: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b % 16 = 0 /\ FStar.UInt32.v n % 16 = 0 /\ FStar.UInt32.v n <= LowStar.Monotonic.Buffer.length b) (ensures (let b1...
{ "end_col": 33, "end_line": 517, "start_col": 5, "start_line": 444 }
Prims.Tot
val gcm128_encrypt_opt_stdcall: encrypt_opt_stdcall_st AES_128
[ { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int.Cast", "short_module": null }, { "abbrev": false, "...
false
let gcm128_encrypt_opt_stdcall key iv plain_b plain_len auth_b auth_len iv_b out_b tag_b keys_b hkeys_b scratch_b = let h0 = get() in push_frame(); // Extra space to have a full input/output with length % 16 = 0 let inout_b = B.sub scratch_b 0ul 16ul in // Same for auth_b let abytes_b = B.sub scratch_b 16u...
val gcm128_encrypt_opt_stdcall: encrypt_opt_stdcall_st AES_128 let gcm128_encrypt_opt_stdcall key iv plain_b plain_len auth_b auth_len iv_b out_b tag_b keys_b hkeys_b scratch_b =
false
null
false
let h0 = get () in push_frame (); let inout_b = B.sub scratch_b 0ul 16ul in let abytes_b = B.sub scratch_b 16ul 16ul in let scratch_b = B.sub scratch_b 32ul 144ul in math_cast_aux plain_len; math_cast_aux auth_len; let plain_len' = (uint64_to_uint32 plain_len / 16ul) * 16ul in let auth_len' = (uint64_to_uint32 auth_len...
{ "checked_file": "Vale.Wrapper.X64.GCMencryptOpt.fst.checked", "dependencies": [ "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Stdcalls.X64.GCMencryptOpt.fst.checked", "Vale.SHA.Simplify_Sha.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Intero...
[ "total" ]
[ "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat32", "Vale.AES.GCM_s.supported_iv_LE", "Vale.Wrapper.X64.GCMencryptOpt.uint8_p", "Vale.Wrapper.X64.GCMencryptOpt.uint64", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Prims._assert", "Vale.Def.Types_s.nat8", "Prims.l_and", "FS...
[]
module Vale.Wrapper.X64.GCMencryptOpt #reset-options "--z3rlimit 50" let z3rlimit_hack x = () open FStar.Mul open Vale.Stdcalls.X64.GCMencryptOpt open Vale.AsLowStar.MemoryHelpers open Vale.X64.MemoryAdapters module V = Vale.X64.Decls open Vale.SHA.Simplify_Sha open Vale.AES.Gcm_simplify open Vale.AES.GCM_helpers ope...
false
true
Vale.Wrapper.X64.GCMencryptOpt.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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 gcm128_encrypt_opt_stdcall: encrypt_opt_stdcall_st AES_128
[]
Vale.Wrapper.X64.GCMencryptOpt.gcm128_encrypt_opt_stdcall
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Vale.Wrapper.X64.GCMencryptOpt.encrypt_opt_stdcall_st Vale.AES.AES_common_s.AES_128
{ "end_col": 13, "end_line": 1003, "start_col": 115, "start_line": 883 }
Prims.Tot
val coerce_eq: #a: Type -> #b: Type -> x: a -> squash (a == b) -> y: b{y == x}
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroPure", "short_module": "IntroPure" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroExists", "short_module": "IntroExists" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.Match", "short_mo...
false
let coerce_eq (#a #b:Type) (x:a) (_:squash (a == b)) : y:b{y == x} = x
val coerce_eq: #a: Type -> #b: Type -> x: a -> squash (a == b) -> y: b{y == x} let coerce_eq (#a: Type) (#b: Type) (x: a) (_: squash (a == b)) : y: b{y == x} =
false
null
false
x
{ "checked_file": "Pulse.Checker.Prover.fst.checked", "dependencies": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.PP.fst.checked", "Pulse.Config.fsti...
[ "total" ]
[ "Prims.squash", "Prims.eq2" ]
[]
module Pulse.Checker.Prover open FStar.List.Tot open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Checker.Base module L = FStar.List.Tot module T = FStar.Tactics.V2 module P = Pulse.Syntax.Printer module Pprint = FStar.Stubs.Pprint module Metatheory = Pulse.Typing.Metatheory module PS = P...
false
false
Pulse.Checker.Prover.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 coerce_eq: #a: Type -> #b: Type -> x: a -> squash (a == b) -> y: b{y == x}
[]
Pulse.Checker.Prover.coerce_eq
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: a -> _: Prims.squash (a == b) -> y: b{y == x}
{ "end_col": 70, "end_line": 24, "start_col": 69, "start_line": 24 }
FStar.Tactics.Effect.Tac
val try_frame_pre (#g:env) (#ctxt:vprop) (ctxt_typing:tot_typing g ctxt tm_vprop) (d:(t:st_term & c:comp_st & st_typing g t c)) (res_ppname:ppname) : T.Tac (checker_result_t g ctxt None)
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroPure", "short_module": "IntroPure" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroExists", "short_module": "IntroExists" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.Match", "short_mo...
false
let try_frame_pre (#g:env) (#ctxt:vprop) (ctxt_typing:tot_typing g ctxt tm_vprop) (d:(t:st_term & c:comp_st & st_typing g t c)) (res_ppname:ppname) : T.Tac (checker_result_t g ctxt None) = let uvs = mk_env (fstar_env g) in assert (equal g (push_env g uvs)); try_frame_pre_uvs ctxt_typing uvs d res_ppname
val try_frame_pre (#g:env) (#ctxt:vprop) (ctxt_typing:tot_typing g ctxt tm_vprop) (d:(t:st_term & c:comp_st & st_typing g t c)) (res_ppname:ppname) : T.Tac (checker_result_t g ctxt None) let try_frame_pre (#g: env) (#ctxt: vprop) (ctxt_typing: tot_typing g ctxt tm_vprop) (d: (t: st_term &...
true
null
false
let uvs = mk_env (fstar_env g) in assert (equal g (push_env g uvs)); try_frame_pre_uvs ctxt_typing uvs d res_ppname
{ "checked_file": "Pulse.Checker.Prover.fst.checked", "dependencies": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.PP.fst.checked", "Pulse.Config.fsti...
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.vprop", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.tm_vprop", "FStar.Pervasives.dtuple3", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.st_typing", "Pulse.Syntax.Base.ppname", "Pulse.Checker.Prover.try_frame_pre_uvs", "Pulse...
[]
module Pulse.Checker.Prover open FStar.List.Tot open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Checker.Base module L = FStar.List.Tot module T = FStar.Tactics.V2 module P = Pulse.Syntax.Printer module Pprint = FStar.Stubs.Pprint module Metatheory = Pulse.Typing.Metatheory module PS = P...
false
false
Pulse.Checker.Prover.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 try_frame_pre (#g:env) (#ctxt:vprop) (ctxt_typing:tot_typing g ctxt tm_vprop) (d:(t:st_term & c:comp_st & st_typing g t c)) (res_ppname:ppname) : T.Tac (checker_result_t g ctxt None)
[]
Pulse.Checker.Prover.try_frame_pre
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
ctxt_typing: Pulse.Typing.tot_typing g ctxt Pulse.Syntax.Base.tm_vprop -> d: FStar.Pervasives.dtuple3 Pulse.Syntax.Base.st_term (fun _ -> Pulse.Syntax.Base.comp_st) (fun t c -> Pulse.Typing.st_typing g t c) -> res_ppname: Pulse.Syntax.Base.ppname -> FStar.Tactics.Effect.Tac (Pul...
{ "end_col": 48, "end_line": 357, "start_col": 42, "start_line": 353 }
FStar.Tactics.Effect.Tac
val prove_pures (#preamble: _) (pst: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst /\ is_terminal pst'})
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroPure", "short_module": "IntroPure" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroExists", "short_module": "IntroExists" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.Match", "short_mo...
false
let rec prove_pures #preamble (pst:prover_state preamble) : T.Tac (pst':prover_state preamble { pst' `pst_extends` pst /\ is_terminal pst' }) = match pst.unsolved with | [] -> pst | {t=Tm_Pure p}::unsolved' -> let pst_opt = IntroPure.intro_pure pst p unsolved' () i...
val prove_pures (#preamble: _) (pst: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst /\ is_terminal pst'}) let rec prove_pures #preamble (pst: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst /\ is_terminal pst'}) =
true
null
false
match pst.unsolved with | [] -> pst | { t = Tm_Pure p } :: unsolved' -> let pst_opt = IntroPure.intro_pure pst p unsolved' () in (match pst_opt with | None -> let open Pulse.PP in fail_doc pst.pg None [text "Cannot prove pure proposition" ^/^ pp p] | Some pst1 -> let pst2 = prove_pures pst1 in ...
{ "checked_file": "Pulse.Checker.Prover.fst.checked", "dependencies": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.PP.fst.checked", "Pulse.Config.fsti...
[]
[ "Pulse.Checker.Prover.Base.preamble", "Pulse.Checker.Prover.Base.prover_state", "Pulse.Checker.Prover.Base.__proj__Mkprover_state__item__unsolved", "Prims.l_and", "Pulse.Checker.Prover.Base.pst_extends", "Pulse.Checker.Prover.Base.is_terminal", "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.range", "P...
[]
module Pulse.Checker.Prover open FStar.List.Tot open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Checker.Base module L = FStar.List.Tot module T = FStar.Tactics.V2 module P = Pulse.Syntax.Printer module Pprint = FStar.Stubs.Pprint module Metatheory = Pulse.Typing.Metatheory module PS = P...
false
false
Pulse.Checker.Prover.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 prove_pures (#preamble: _) (pst: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst /\ is_terminal pst'})
[ "recursion" ]
Pulse.Checker.Prover.prove_pures
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
pst: Pulse.Checker.Prover.Base.prover_state preamble -> FStar.Tactics.Effect.Tac (pst': Pulse.Checker.Prover.Base.prover_state preamble { Pulse.Checker.Prover.Base.pst_extends pst' pst /\ Pulse.Checker.Prover.Base.is_terminal pst' })
{ "end_col": 48, "end_line": 113, "start_col": 2, "start_line": 93 }
FStar.Tactics.Effect.Tac
val match_q: #preamble: _ -> pst: prover_state preamble -> q: vprop -> unsolved': list vprop -> squash (pst.unsolved == q :: unsolved') -> i: nat -> T.Tac (option (pst': prover_state preamble {pst' `pst_extends` pst}))
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroPure", "short_module": "IntroPure" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroExists", "short_module": "IntroExists" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.Match", "short_mo...
false
let rec match_q (#preamble:_) (pst:prover_state preamble) (q:vprop) (unsolved':list vprop) (_:squash (pst.unsolved == q::unsolved')) (i:nat) : T.Tac (option (pst':prover_state preamble { pst' `pst_extends` pst })) = if L.length pst.remaining_ctxt = 0 then None else if i = L.length pst.remaining_ctxt th...
val match_q: #preamble: _ -> pst: prover_state preamble -> q: vprop -> unsolved': list vprop -> squash (pst.unsolved == q :: unsolved') -> i: nat -> T.Tac (option (pst': prover_state preamble {pst' `pst_extends` pst})) let rec match_q (#preamble: _) (pst: prover_state preamble) ...
false
null
false
if L.length pst.remaining_ctxt = 0 then None else if i = L.length pst.remaining_ctxt then None else let p = L.hd pst.remaining_ctxt in let pst_opt = Match.match_step pst p (L.tl pst.remaining_ctxt) q unsolved' () in match pst_opt with | Some pst -> Some pst | None -> let pst = re...
{ "checked_file": "Pulse.Checker.Prover.fst.checked", "dependencies": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.PP.fst.checked", "Pulse.Config.fsti...
[]
[ "Pulse.Checker.Prover.Base.preamble", "Pulse.Checker.Prover.Base.prover_state", "Pulse.Syntax.Base.vprop", "Prims.list", "Prims.squash", "Prims.eq2", "Pulse.Checker.Prover.Base.__proj__Mkprover_state__item__unsolved", "Prims.Cons", "Prims.nat", "Prims.op_Equality", "Prims.int", "FStar.List.Tot...
[]
module Pulse.Checker.Prover open FStar.List.Tot open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Checker.Base module L = FStar.List.Tot module T = FStar.Tactics.V2 module P = Pulse.Syntax.Printer module Pprint = FStar.Stubs.Pprint module Metatheory = Pulse.Typing.Metatheory module PS = P...
false
false
Pulse.Checker.Prover.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 match_q: #preamble: _ -> pst: prover_state preamble -> q: vprop -> unsolved': list vprop -> squash (pst.unsolved == q :: unsolved') -> i: nat -> T.Tac (option (pst': prover_state preamble {pst' `pst_extends` pst}))
[ "recursion" ]
Pulse.Checker.Prover.match_q
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
pst: Pulse.Checker.Prover.Base.prover_state preamble -> q: Pulse.Syntax.Base.vprop -> unsolved': Prims.list Pulse.Syntax.Base.vprop -> _: Prims.squash (Mkprover_state?.unsolved pst == q :: unsolved') -> i: Prims.nat -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (pst': ...
{ "end_col": 38, "end_line": 87, "start_col": 2, "start_line": 73 }
FStar.Tactics.Effect.Tac
val prover (#preamble: _) (pst0: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst0 /\ is_terminal pst'})
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroPure", "short_module": "IntroPure" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.IntroExists", "short_module": "IntroExists" }, { "abbrev": true, "full_module": "Pulse.Checker.Prover.Match", "short_mo...
false
let rec prover (#preamble:_) (pst0:prover_state preamble) : T.Tac (pst':prover_state preamble { pst' `pst_extends` pst0 /\ is_terminal pst' }) = debug_prover pst0.pg (fun _ -> Printf.sprintf "At the prover top-level with remaining_ctxt: %s\nunsolved: %s" (P.ter...
val prover (#preamble: _) (pst0: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst0 /\ is_terminal pst'}) let rec prover (#preamble: _) (pst0: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst0 /\ is_terminal pst'}) =
true
null
false
debug_prover pst0.pg (fun _ -> Printf.sprintf "At the prover top-level with remaining_ctxt: %s\nunsolved: %s" (P.term_to_string (list_as_vprop pst0.remaining_ctxt)) (P.term_to_string (list_as_vprop pst0.unsolved))); match pst0.unsolved with | [] -> pst0 | _ -> let pst = ElimExists.elim_exists_...
{ "checked_file": "Pulse.Checker.Prover.fst.checked", "dependencies": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.PP.fst.checked", "Pulse.Config.fsti...
[]
[ "Pulse.Checker.Prover.Base.preamble", "Pulse.Checker.Prover.Base.prover_state", "Pulse.Checker.Prover.Base.__proj__Mkprover_state__item__unsolved", "Prims.l_and", "Pulse.Checker.Prover.Base.pst_extends", "Pulse.Checker.Prover.Base.is_terminal", "Prims.list", "Pulse.Syntax.Base.vprop", "Pulse.Typing....
[]
module Pulse.Checker.Prover open FStar.List.Tot open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Checker.Base module L = FStar.List.Tot module T = FStar.Tactics.V2 module P = Pulse.Syntax.Printer module Pprint = FStar.Stubs.Pprint module Metatheory = Pulse.Typing.Metatheory module PS = P...
false
false
Pulse.Checker.Prover.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 prover (#preamble: _) (pst0: prover_state preamble) : T.Tac (pst': prover_state preamble {pst' `pst_extends` pst0 /\ is_terminal pst'})
[ "recursion" ]
Pulse.Checker.Prover.prover
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
pst0: Pulse.Checker.Prover.Base.prover_state preamble -> FStar.Tactics.Effect.Tac (pst': Pulse.Checker.Prover.Base.prover_state preamble { Pulse.Checker.Prover.Base.pst_extends pst' pst0 /\ Pulse.Checker.Prover.Base.is_terminal pst' })
{ "end_col": 32, "end_line": 184, "start_col": 2, "start_line": 122 }
Prims.Tot
val array_domain (n: Ghost.erased SZ.t) : Tot eqtype
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "SZ" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Array", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Array", "short_module": null }, { "abbrev": false, "...
false
let array_domain (n: Ghost.erased SZ.t) : Tot eqtype = (i: SZ.t { SZ.v i < SZ.v n })
val array_domain (n: Ghost.erased SZ.t) : Tot eqtype let array_domain (n: Ghost.erased SZ.t) : Tot eqtype =
false
null
false
(i: SZ.t{SZ.v i < SZ.v n})
{ "checked_file": "Steel.ST.C.Types.Array.Base.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.C.Types.Array.Base.fst" }
[ "total" ]
[ "FStar.Ghost.erased", "FStar.SizeT.t", "Prims.b2t", "Prims.op_LessThan", "FStar.SizeT.v", "FStar.Ghost.reveal", "Prims.eqtype" ]
[]
module Steel.ST.C.Types.Array.Base module SZ = FStar.SizeT inline_for_extraction let array_domain (n: Ghost.erased SZ.t)
false
true
Steel.ST.C.Types.Array.Base.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 array_domain (n: Ghost.erased SZ.t) : Tot eqtype
[]
Steel.ST.C.Types.Array.Base.array_domain
{ "file_name": "lib/steel/c/Steel.ST.C.Types.Array.Base.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
n: FStar.Ghost.erased FStar.SizeT.t -> Prims.eqtype
{ "end_col": 31, "end_line": 8, "start_col": 2, "start_line": 8 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let params_nbar = 8ul
let params_nbar =
false
null
false
8ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "FStar.UInt32.__uint_to_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 params_nbar : FStar.UInt32.t
[]
Hacl.Impl.Frodo.Params.params_nbar
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.UInt32.t
{ "end_col": 21, "end_line": 48, "start_col": 18, "start_line": 48 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let bytes_pkhash (a:S.frodo_alg) = crypto_bytes a
let bytes_pkhash (a: S.frodo_alg) =
false
null
false
crypto_bytes a
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Hacl.Impl.Frodo.Params.crypto_bytes", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Prims.op_LessThanOrEqual", "Prims.op_Subtra...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 bytes_pkhash : a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v x == Spec.Frodo.Params.crypto_bytes a}
[]
Hacl.Impl.Frodo.Params.bytes_pkhash
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v x == Spec.Frodo.Params.crypto_bytes a}
{ "end_col": 16, "end_line": 55, "start_col": 2, "start_line": 55 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let bytes_seed_a = 16ul
let bytes_seed_a =
false
null
false
16ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "FStar.UInt32.__uint_to_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 bytes_seed_a : FStar.UInt32.t
[]
Hacl.Impl.Frodo.Params.bytes_seed_a
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.UInt32.t
{ "end_col": 23, "end_line": 51, "start_col": 19, "start_line": 51 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let is_supported (a:S.frodo_gen_a) = match a with | S.SHAKE128 -> true | S.AES128 -> false
let is_supported (a: S.frodo_gen_a) =
false
null
false
match a with | S.SHAKE128 -> true | S.AES128 -> false
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_gen_a", "Prims.bool" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 is_supported : a: Spec.Frodo.Params.frodo_gen_a -> Prims.bool
[]
Hacl.Impl.Frodo.Params.is_supported
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_gen_a -> Prims.bool
{ "end_col": 21, "end_line": 114, "start_col": 2, "start_line": 112 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let crypto_publickeybytes (a:S.frodo_alg) = bytes_seed_a +! publicmatrixbytes_len a
let crypto_publickeybytes (a: S.frodo_alg) =
false
null
false
bytes_seed_a +! publicmatrixbytes_len a
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Frodo.Params.bytes_seed_a", "Hacl.Impl.Frodo.Params.publicmatrixbytes_len", "Lib.IntTypes.int_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 crypto_publickeybytes : a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
[]
Hacl.Impl.Frodo.Params.crypto_publickeybytes
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
{ "end_col": 41, "end_line": 79, "start_col": 2, "start_line": 79 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let frodo_shake_st (a:S.frodo_alg) = inputByteLen:size_t -> input:lbuffer uint8 inputByteLen -> outputByteLen:size_t -> output:lbuffer uint8 outputByteLen -> Stack unit (requires fun h -> live h input /\ live h output /\ disjoint input output) (ensures fun h0 _ h1 -> modifies (loc output) h0 ...
let frodo_shake_st (a: S.frodo_alg) =
false
null
false
inputByteLen: size_t -> input: lbuffer uint8 inputByteLen -> outputByteLen: size_t -> output: lbuffer uint8 outputByteLen -> Stack unit (requires fun h -> live h input /\ live h output /\ disjoint input output) (ensures fun h0 _ h1 -> modifies (loc output) h0 h1 /\ ...
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Prims.eq2", "Lib.Sequence.l...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 frodo_shake_st : a: Spec.Frodo.Params.frodo_alg -> Type0
[]
Hacl.Impl.Frodo.Params.frodo_shake_st
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Type0
{ "end_col": 95, "end_line": 100, "start_col": 4, "start_line": 92 }
Prims.Tot
val frodo_shake (a: S.frodo_alg) : frodo_shake_st a
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let frodo_shake (a:S.frodo_alg) : frodo_shake_st a = match a with | S.Frodo64 | S.Frodo640 -> Hacl.SHA3.shake128_hacl | S.Frodo976 | S.Frodo1344 -> Hacl.SHA3.shake256_hacl
val frodo_shake (a: S.frodo_alg) : frodo_shake_st a let frodo_shake (a: S.frodo_alg) : frodo_shake_st a =
false
null
false
match a with | S.Frodo64 | S.Frodo640 -> Hacl.SHA3.shake128_hacl | S.Frodo976 | S.Frodo1344 -> Hacl.SHA3.shake256_hacl
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Hacl.SHA3.shake128_hacl", "Hacl.SHA3.shake256_hacl", "Hacl.Impl.Frodo.Params.frodo_shake_st" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 frodo_shake (a: S.frodo_alg) : frodo_shake_st a
[]
Hacl.Impl.Frodo.Params.frodo_shake
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Hacl.Impl.Frodo.Params.frodo_shake_st a
{ "end_col": 55, "end_line": 107, "start_col": 2, "start_line": 105 }
Prims.Tot
val params_extracted_bits (a: S.frodo_alg) : x: size_t{v x == S.params_extracted_bits a}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let params_extracted_bits (a:S.frodo_alg) : x:size_t{v x == S.params_extracted_bits a} = match a with | S.Frodo64 | S.Frodo640 -> 2ul | S.Frodo976 -> 3ul | S.Frodo1344 -> 4ul
val params_extracted_bits (a: S.frodo_alg) : x: size_t{v x == S.params_extracted_bits a} let params_extracted_bits (a: S.frodo_alg) : x: size_t{v x == S.params_extracted_bits a} =
false
null
false
match a with | S.Frodo64 | S.Frodo640 -> 2ul | S.Frodo976 -> 3ul | S.Frodo1344 -> 4ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t", "Prims.op_LessThan"...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 params_extracted_bits (a: S.frodo_alg) : x: size_t{v x == S.params_extracted_bits a}
[]
Hacl.Impl.Frodo.Params.params_extracted_bits
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.size_t{Lib.IntTypes.v x == Spec.Frodo.Params.params_extracted_bits a}
{ "end_col": 22, "end_line": 36, "start_col": 2, "start_line": 33 }
Prims.Tot
val cdf_table_len (a: S.frodo_alg) : x: size_t{v x = S.cdf_table_len a}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let cdf_table_len (a:S.frodo_alg) : x:size_t{v x = S.cdf_table_len a} = allow_inversion S.frodo_alg; match a with | S.Frodo64 | S.Frodo640 -> 13ul | S.Frodo976 -> 11ul | S.Frodo1344 -> 7ul
val cdf_table_len (a: S.frodo_alg) : x: size_t{v x = S.cdf_table_len a} let cdf_table_len (a: S.frodo_alg) : x: size_t{v x = S.cdf_table_len a} =
false
null
false
allow_inversion S.frodo_alg; match a with | S.Frodo64 | S.Frodo640 -> 13ul | S.Frodo976 -> 11ul | S.Frodo1344 -> 7ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.op_GreaterThan", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t", "Lib.IntTyp...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 cdf_table_len (a: S.frodo_alg) : x: size_t{v x = S.cdf_table_len a}
[]
Hacl.Impl.Frodo.Params.cdf_table_len
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.size_t{Lib.IntTypes.v x = Spec.Frodo.Params.cdf_table_len a}
{ "end_col": 22, "end_line": 153, "start_col": 2, "start_line": 149 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let ct2bytes_len (a:S.frodo_alg) = params_logq a *! (params_nbar *! params_nbar /. 8ul)
let ct2bytes_len (a: S.frodo_alg) =
false
null
false
params_logq a *! (params_nbar *! params_nbar /. 8ul)
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Frodo.Params.params_logq", "Lib.IntTypes.op_Slash_Dot", "Hacl.Impl.Frodo.Params.params_nbar", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.int_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 ct2bytes_len : a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
[]
Hacl.Impl.Frodo.Params.ct2bytes_len
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
{ "end_col": 54, "end_line": 75, "start_col": 2, "start_line": 75 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let secretmatrixbytes_len (a:S.frodo_alg) = 2ul *! params_n a *! params_nbar
let secretmatrixbytes_len (a: S.frodo_alg) =
false
null
false
2ul *! params_n a *! params_nbar
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Frodo.Params.params_n", "Hacl.Impl.Frodo.Params.params_nbar", "Lib.IntTypes.int_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 secretmatrixbytes_len : a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
[]
Hacl.Impl.Frodo.Params.secretmatrixbytes_len
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
{ "end_col": 34, "end_line": 67, "start_col": 2, "start_line": 67 }
Prims.Tot
val crypto_bytes (a: S.frodo_alg) : x: size_t{v x == S.crypto_bytes a}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let crypto_bytes (a:S.frodo_alg) : x:size_t{v x == S.crypto_bytes a} = match a with | S.Frodo64 | S.Frodo640 -> 16ul | S.Frodo976 -> 24ul | S.Frodo1344 -> 32ul
val crypto_bytes (a: S.frodo_alg) : x: size_t{v x == S.crypto_bytes a} let crypto_bytes (a: S.frodo_alg) : x: size_t{v x == S.crypto_bytes a} =
false
null
false
match a with | S.Frodo64 | S.Frodo640 -> 16ul | S.Frodo976 -> 24ul | S.Frodo1344 -> 32ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t", "Lib.IntTypes.v", ...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 crypto_bytes (a: S.frodo_alg) : x: size_t{v x == S.crypto_bytes a}
[]
Hacl.Impl.Frodo.Params.crypto_bytes
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.size_t{Lib.IntTypes.v x == Spec.Frodo.Params.crypto_bytes a}
{ "end_col": 23, "end_line": 44, "start_col": 2, "start_line": 41 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let publicmatrixbytes_len (a:S.frodo_alg) = params_logq a *! (params_n a *! params_nbar /. 8ul)
let publicmatrixbytes_len (a: S.frodo_alg) =
false
null
false
params_logq a *! (params_n a *! params_nbar /. 8ul)
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Frodo.Params.params_logq", "Lib.IntTypes.op_Slash_Dot", "Hacl.Impl.Frodo.Params.params_n", "Hacl.Impl.Frodo.Params.params_nbar", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.int_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 publicmatrixbytes_len : a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
[]
Hacl.Impl.Frodo.Params.publicmatrixbytes_len
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
{ "end_col": 53, "end_line": 63, "start_col": 2, "start_line": 63 }
Prims.Tot
val params_logq (a: S.frodo_alg) : x: size_t{v x == S.params_logq a}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let params_logq (a:S.frodo_alg) : x:size_t{v x == S.params_logq a} = match a with | S.Frodo64 | S.Frodo640 -> 15ul | S.Frodo976 | S.Frodo1344 -> 16ul
val params_logq (a: S.frodo_alg) : x: size_t{v x == S.params_logq a} let params_logq (a: S.frodo_alg) : x: size_t{v x == S.params_logq a} =
false
null
false
match a with | S.Frodo64 | S.Frodo640 -> 15ul | S.Frodo976 | S.Frodo1344 -> 16ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t", "Lib.IntTypes.v", ...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 params_logq (a: S.frodo_alg) : x: size_t{v x == S.params_logq a}
[]
Hacl.Impl.Frodo.Params.params_logq
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.size_t{Lib.IntTypes.v x == Spec.Frodo.Params.params_logq a}
{ "end_col": 36, "end_line": 28, "start_col": 2, "start_line": 26 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let crypto_ciphertextbytes (a:S.frodo_alg) = ct1bytes_len a +! ct2bytes_len a
let crypto_ciphertextbytes (a: S.frodo_alg) =
false
null
false
ct1bytes_len a +! ct2bytes_len a
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Frodo.Params.ct1bytes_len", "Hacl.Impl.Frodo.Params.ct2bytes_len", "Lib.IntTypes.int_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 crypto_ciphertextbytes : a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
[]
Hacl.Impl.Frodo.Params.crypto_ciphertextbytes
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
{ "end_col": 34, "end_line": 87, "start_col": 2, "start_line": 87 }
Prims.Tot
val params_n (a: S.frodo_alg) : x: size_t{v x == S.params_n a}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n a} = match a with | S.Frodo64 -> 64ul | S.Frodo640 -> 640ul | S.Frodo976 -> 976ul | S.Frodo1344 -> 1344ul
val params_n (a: S.frodo_alg) : x: size_t{v x == S.params_n a} let params_n (a: S.frodo_alg) : x: size_t{v x == S.params_n a} =
false
null
false
match a with | S.Frodo64 -> 64ul | S.Frodo640 -> 640ul | S.Frodo976 -> 976ul | S.Frodo1344 -> 1344ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t", "Prims.op_Equality"...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract
false
false
Hacl.Impl.Frodo.Params.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 params_n (a: S.frodo_alg) : x: size_t{v x == S.params_n a}
[]
Hacl.Impl.Frodo.Params.params_n
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.size_t{Lib.IntTypes.v x == Spec.Frodo.Params.params_n a}
{ "end_col": 25, "end_line": 21, "start_col": 2, "start_line": 17 }
Prims.Tot
val cdf_table976:x: glbuffer uint16 11ul {witnessed x (S.cdf_table S.Frodo976) /\ recallable x}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let cdf_table976 :x:glbuffer uint16 11ul{witnessed x (S.cdf_table S.Frodo976) /\ recallable x} = createL_global S.cdf_list_976
val cdf_table976:x: glbuffer uint16 11ul {witnessed x (S.cdf_table S.Frodo976) /\ recallable x} let cdf_table976:x: glbuffer uint16 11ul {witnessed x (S.cdf_table S.Frodo976) /\ recallable x} =
false
null
false
createL_global S.cdf_list_976
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.int_t", "Lib.IntTypes.U16", "Lib.IntTypes.SEC", "Spec.Frodo.Params.cdf_list_976", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 cdf_table976:x: glbuffer uint16 11ul {witnessed x (S.cdf_table S.Frodo976) /\ recallable x}
[]
Hacl.Impl.Frodo.Params.cdf_table976
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST (Lib.IntTypes.int_t Lib.IntTypes.U16 Lib.IntTypes.SEC) (FStar.UInt32.uint_to_t 11 <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) { Lib.Buffer.witnessed x (Spec.Frodo.Params.cdf_table Spec.Frodo.Params.Frodo976) /\ Lib...
{ "end_col": 31, "end_line": 141, "start_col": 2, "start_line": 141 }
FStar.HyperStack.ST.Stack
val frodo_gen_matrix: a:S.frodo_gen_a{is_supported a} -> n:size_t{0 < v n /\ v n * v n <= max_size_t /\ v n <= maxint U16 /\ v n % 4 = 0} -> seed:lbuffer uint8 16ul -> a_matrix:matrix_t n n -> Stack unit (requires fun h -> live h seed /\ live h a_matrix /\ disjoint seed a_matrix) (ensures fun...
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let frodo_gen_matrix a n seed a_matrix = match a with | S.SHAKE128 -> Hacl.Impl.Frodo.Gen.frodo_gen_matrix_shake_4x n seed a_matrix
val frodo_gen_matrix: a:S.frodo_gen_a{is_supported a} -> n:size_t{0 < v n /\ v n * v n <= max_size_t /\ v n <= maxint U16 /\ v n % 4 = 0} -> seed:lbuffer uint8 16ul -> a_matrix:matrix_t n n -> Stack unit (requires fun h -> live h seed /\ live h a_matrix /\ disjoint seed a_matrix) (ensures fun...
true
null
false
match a with | S.SHAKE128 -> Hacl.Impl.Frodo.Gen.frodo_gen_matrix_shake_4x n seed a_matrix
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[]
[ "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes....
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 frodo_gen_matrix: a:S.frodo_gen_a{is_supported a} -> n:size_t{0 < v n /\ v n * v n <= max_size_t /\ v n <= maxint U16 /\ v n % 4 = 0} -> seed:lbuffer uint8 16ul -> a_matrix:matrix_t n n -> Stack unit (requires fun h -> live h seed /\ live h a_matrix /\ disjoint seed a_matrix) (ensures fun...
[]
Hacl.Impl.Frodo.Params.frodo_gen_matrix
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported a} -> n: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v n /\ Lib.IntTypes.v n * Lib.IntTypes.v n <= Lib.IntTypes.max_size_t /\ Lib.IntTypes.v n <= Lib.IntTypes.maxint Lib.IntTypes.U16 /\ Lib.IntTypes.v n % 4 = 0 } -> see...
{ "end_col": 79, "end_line": 131, "start_col": 2, "start_line": 130 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let ct1bytes_len (a:S.frodo_alg) = params_logq a *! (params_nbar *! params_n a /. 8ul)
let ct1bytes_len (a: S.frodo_alg) =
false
null
false
params_logq a *! (params_nbar *! params_n a /. 8ul)
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Frodo.Params.params_logq", "Lib.IntTypes.op_Slash_Dot", "Hacl.Impl.Frodo.Params.params_nbar", "Hacl.Impl.Frodo.Params.params_n", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.int_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 ct1bytes_len : a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
[]
Hacl.Impl.Frodo.Params.ct1bytes_len
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
{ "end_col": 53, "end_line": 71, "start_col": 2, "start_line": 71 }
Prims.Tot
val cdf_table1344:x: glbuffer uint16 7ul {witnessed x (S.cdf_table S.Frodo1344) /\ recallable x}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let cdf_table1344 :x:glbuffer uint16 7ul{witnessed x (S.cdf_table S.Frodo1344) /\ recallable x} = createL_global S.cdf_list_1344
val cdf_table1344:x: glbuffer uint16 7ul {witnessed x (S.cdf_table S.Frodo1344) /\ recallable x} let cdf_table1344:x: glbuffer uint16 7ul {witnessed x (S.cdf_table S.Frodo1344) /\ recallable x} =
false
null
false
createL_global S.cdf_list_1344
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.int_t", "Lib.IntTypes.U16", "Lib.IntTypes.SEC", "Spec.Frodo.Params.cdf_list_1344", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 cdf_table1344:x: glbuffer uint16 7ul {witnessed x (S.cdf_table S.Frodo1344) /\ recallable x}
[]
Hacl.Impl.Frodo.Params.cdf_table1344
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST (Lib.IntTypes.int_t Lib.IntTypes.U16 Lib.IntTypes.SEC) (FStar.UInt32.uint_to_t 7 <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) { Lib.Buffer.witnessed x (Spec.Frodo.Params.cdf_table Spec.Frodo.Params.Frodo1344) /\ Lib...
{ "end_col": 32, "end_line": 144, "start_col": 2, "start_line": 144 }
Prims.Tot
val bytes_mu (a: S.frodo_alg) : x: size_t{v x == S.bytes_mu a}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let bytes_mu (a:S.frodo_alg) : x:size_t{v x == S.bytes_mu a} = params_extracted_bits a *! params_nbar *! params_nbar /. 8ul
val bytes_mu (a: S.frodo_alg) : x: size_t{v x == S.bytes_mu a} let bytes_mu (a: S.frodo_alg) : x: size_t{v x == S.bytes_mu a} =
false
null
false
params_extracted_bits a *! params_nbar *! params_nbar /. 8ul
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Slash_Dot", "Lib.IntTypes.U32", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.PUB", "Hacl.Impl.Frodo.Params.params_extracted_bits", "Hacl.Impl.Frodo.Params.params_nbar", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "P...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 bytes_mu (a: S.frodo_alg) : x: size_t{v x == S.bytes_mu a}
[]
Hacl.Impl.Frodo.Params.bytes_mu
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.IntTypes.size_t{Lib.IntTypes.v x == Spec.Frodo.Params.bytes_mu a}
{ "end_col": 62, "end_line": 59, "start_col": 2, "start_line": 59 }
Prims.Tot
val cdf_table640:x: glbuffer uint16 13ul {witnessed x (S.cdf_table S.Frodo640) /\ recallable x}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let cdf_table640 :x:glbuffer uint16 13ul{witnessed x (S.cdf_table S.Frodo640) /\ recallable x} = createL_global S.cdf_list_640
val cdf_table640:x: glbuffer uint16 13ul {witnessed x (S.cdf_table S.Frodo640) /\ recallable x} let cdf_table640:x: glbuffer uint16 13ul {witnessed x (S.cdf_table S.Frodo640) /\ recallable x} =
false
null
false
createL_global S.cdf_list_640
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.int_t", "Lib.IntTypes.U16", "Lib.IntTypes.SEC", "Spec.Frodo.Params.cdf_list_640", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 cdf_table640:x: glbuffer uint16 13ul {witnessed x (S.cdf_table S.Frodo640) /\ recallable x}
[]
Hacl.Impl.Frodo.Params.cdf_table640
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST (Lib.IntTypes.int_t Lib.IntTypes.U16 Lib.IntTypes.SEC) (FStar.UInt32.uint_to_t 13 <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) { Lib.Buffer.witnessed x (Spec.Frodo.Params.cdf_table Spec.Frodo.Params.Frodo640) /\ Lib...
{ "end_col": 31, "end_line": 138, "start_col": 2, "start_line": 138 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let crypto_secretkeybytes (a:S.frodo_alg) = crypto_bytes a +! crypto_publickeybytes a +! secretmatrixbytes_len a +! bytes_pkhash a
let crypto_secretkeybytes (a: S.frodo_alg) =
false
null
false
crypto_bytes a +! crypto_publickeybytes a +! secretmatrixbytes_len a +! bytes_pkhash a
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Frodo.Params.crypto_bytes", "Hacl.Impl.Frodo.Params.crypto_publickeybytes", "Hacl.Impl.Frodo.Params.secretmatrixbytes_len", "Hacl.Impl.Frodo.Params.bytes_pkhash", "Lib.IntTypes.int_t" ]
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
true
Hacl.Impl.Frodo.Params.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 crypto_secretkeybytes : a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
[]
Hacl.Impl.Frodo.Params.crypto_secretkeybytes
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB
{ "end_col": 88, "end_line": 83, "start_col": 2, "start_line": 83 }
Prims.Tot
val cdf_table (a: S.frodo_alg) : x: glbuffer uint16 (cdf_table_len a) {witnessed x (S.cdf_table a) /\ recallable x}
[ { "abbrev": true, "full_module": "Spec.Frodo.Params", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Matrix", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module":...
false
let cdf_table (a:S.frodo_alg) :x:glbuffer uint16 (cdf_table_len a) {witnessed x (S.cdf_table a) /\ recallable x} = allow_inversion S.frodo_alg; match a with | S.Frodo64 | S.Frodo640 -> cdf_table640 | S.Frodo976 -> cdf_table976 | S.Frodo1344 -> cdf_table1344
val cdf_table (a: S.frodo_alg) : x: glbuffer uint16 (cdf_table_len a) {witnessed x (S.cdf_table a) /\ recallable x} let cdf_table (a: S.frodo_alg) : x: glbuffer uint16 (cdf_table_len a) {witnessed x (S.cdf_table a) /\ recallable x} =
false
null
false
allow_inversion S.frodo_alg; match a with | S.Frodo64 | S.Frodo640 -> cdf_table640 | S.Frodo976 -> cdf_table976 | S.Frodo1344 -> cdf_table1344
{ "checked_file": "Hacl.Impl.Frodo.Params.fst.checked", "dependencies": [ "Spec.Frodo.Params.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.SHA3.fst.checked", "Hacl.Impl.Matrix.fst.checked", "Hacl.Impl.Frodo.Gen.fst.checked", "FStar.U...
[ "total" ]
[ "Spec.Frodo.Params.frodo_alg", "Hacl.Impl.Frodo.Params.cdf_table640", "Hacl.Impl.Frodo.Params.cdf_table976", "Hacl.Impl.Frodo.Params.cdf_table1344", "Lib.Buffer.glbuffer", "Lib.IntTypes.uint16", "Hacl.Impl.Frodo.Params.cdf_table_len", "Prims.l_and", "Lib.Buffer.witnessed", "Spec.Frodo.Params.cdf_t...
[]
module Hacl.Impl.Frodo.Params open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix module S = Spec.Frodo.Params #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let params_n (a:S.frodo_alg) : x:size_t{v x == S.params_n ...
false
false
Hacl.Impl.Frodo.Params.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 cdf_table (a: S.frodo_alg) : x: glbuffer uint16 (cdf_table_len a) {witnessed x (S.cdf_table a) /\ recallable x}
[]
Hacl.Impl.Frodo.Params.cdf_table
{ "file_name": "code/frodo/Hacl.Impl.Frodo.Params.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> x: Lib.Buffer.glbuffer Lib.IntTypes.uint16 (Hacl.Impl.Frodo.Params.cdf_table_len a) {Lib.Buffer.witnessed x (Spec.Frodo.Params.cdf_table a) /\ Lib.Buffer.recallable x}
{ "end_col": 32, "end_line": 164, "start_col": 2, "start_line": 160 }
Prims.Tot
val fsqrt: f:S.felem -> S.felem
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let fsqrt f = let r, x2 = fexp_223_23 f in let r = S.fmul (fsquare_times r 6) x2 in let r = fsquare_times r 2 in r
val fsqrt: f:S.felem -> S.felem let fsqrt f =
false
null
false
let r, x2 = fexp_223_23 f in let r = S.fmul (fsquare_times r 6) x2 in let r = fsquare_times r 2 in r
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Spec.K256.PointOps.felem", "Hacl.Spec.K256.Finv.fsquare_times", "Spec.K256.PointOps.fmul", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.K256.Finv.fexp_223_23" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 fsqrt: f:S.felem -> S.felem
[]
Hacl.Spec.K256.Finv.fsqrt
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> Spec.K256.PointOps.felem
{ "end_col": 3, "end_line": 84, "start_col": 13, "start_line": 80 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime
let nat_mod_comm_monoid =
false
null
false
M.mk_nat_mod_comm_monoid S.prime
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Lib.NatMod.mk_nat_mod_comm_monoid", "Spec.K256.PointOps.prime" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
false
true
Hacl.Spec.K256.Finv.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 nat_mod_comm_monoid : Lib.Exponentiation.Definition.comm_monoid (Lib.NatMod.nat_mod Spec.K256.PointOps.prime)
[]
Hacl.Spec.K256.Finv.nat_mod_comm_monoid
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Lib.Exponentiation.Definition.comm_monoid (Lib.NatMod.nat_mod Spec.K256.PointOps.prime)
{ "end_col": 58, "end_line": 12, "start_col": 26, "start_line": 12 }
Prims.Tot
val finv: f:S.felem -> S.felem
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let finv f = let r, x2 = fexp_223_23 f in let r = S.fmul (fsquare_times r 5) f in let r = S.fmul (fsquare_times r 3) x2 in let r = S.fmul (fsquare_times r 2) f in r
val finv: f:S.felem -> S.felem let finv f =
false
null
false
let r, x2 = fexp_223_23 f in let r = S.fmul (fsquare_times r 5) f in let r = S.fmul (fsquare_times r 3) x2 in let r = S.fmul (fsquare_times r 2) f in r
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Spec.K256.PointOps.felem", "Spec.K256.PointOps.fmul", "Hacl.Spec.K256.Finv.fsquare_times", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.K256.Finv.fexp_223_23" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 finv: f:S.felem -> S.felem
[]
Hacl.Spec.K256.Finv.finv
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> Spec.K256.PointOps.felem
{ "end_col": 3, "end_line": 76, "start_col": 12, "start_line": 71 }
Prims.Tot
val fexp_223_23: f:S.felem -> tuple2 S.felem S.felem
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let fexp_223_23 f = let x2 = S.fmul (fsquare_times f 1) f in let x3 = S.fmul (fsquare_times x2 1) f in let x6 = S.fmul (fsquare_times x3 3) x3 in let x9 = S.fmul (fsquare_times x6 3) x3 in let x11 = S.fmul (fsquare_times x9 2) x2 in let x22 = S.fmul (fsquare_times x11 11) x11 in let x44 = S.fmul (fsquare_...
val fexp_223_23: f:S.felem -> tuple2 S.felem S.felem let fexp_223_23 f =
false
null
false
let x2 = S.fmul (fsquare_times f 1) f in let x3 = S.fmul (fsquare_times x2 1) f in let x6 = S.fmul (fsquare_times x3 3) x3 in let x9 = S.fmul (fsquare_times x6 3) x3 in let x11 = S.fmul (fsquare_times x9 2) x2 in let x22 = S.fmul (fsquare_times x11 11) x11 in let x44 = S.fmul (fsquare_times x22 22) x22 in let x88 = S.f...
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Spec.K256.PointOps.felem", "FStar.Pervasives.Native.Mktuple2", "Spec.K256.PointOps.fmul", "Hacl.Spec.K256.Finv.fsquare_times", "FStar.Pervasives.Native.tuple2" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 fexp_223_23: f:S.felem -> tuple2 S.felem S.felem
[]
Hacl.Spec.K256.Finv.fexp_223_23
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> Spec.K256.PointOps.felem * Spec.K256.PointOps.felem
{ "end_col": 7, "end_line": 62, "start_col": 19, "start_line": 49 }
Prims.Tot
val fsquare_times (a: S.felem) (b: nat) : S.felem
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let fsquare_times (a:S.felem) (b:nat) : S.felem = SE.exp_pow2 mk_nat_mod_concrete_ops a b
val fsquare_times (a: S.felem) (b: nat) : S.felem let fsquare_times (a: S.felem) (b: nat) : S.felem =
false
null
false
SE.exp_pow2 mk_nat_mod_concrete_ops a b
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Spec.K256.PointOps.felem", "Prims.nat", "Spec.Exponentiation.exp_pow2", "Hacl.Spec.K256.Finv.mk_nat_mod_concrete_ops" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 fsquare_times (a: S.felem) (b: nat) : S.felem
[]
Hacl.Spec.K256.Finv.fsquare_times
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.K256.PointOps.felem -> b: Prims.nat -> Spec.K256.PointOps.felem
{ "end_col": 41, "end_line": 37, "start_col": 2, "start_line": 37 }
Prims.Tot
val sqr_mod : SE.sqr_st S.felem mk_to_nat_mod_comm_monoid
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let sqr_mod x = S.fmul x x
val sqr_mod : SE.sqr_st S.felem mk_to_nat_mod_comm_monoid let sqr_mod x =
false
null
false
S.fmul x x
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Spec.K256.PointOps.felem", "Spec.K256.PointOps.fmul" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 sqr_mod : SE.sqr_st S.felem mk_to_nat_mod_comm_monoid
[]
Hacl.Spec.K256.Finv.sqr_mod
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Spec.Exponentiation.sqr_st Spec.K256.PointOps.felem Hacl.Spec.K256.Finv.mk_to_nat_mod_comm_monoid
{ "end_col": 26, "end_line": 27, "start_col": 16, "start_line": 27 }
Prims.Tot
val mul_mod : SE.mul_st S.felem mk_to_nat_mod_comm_monoid
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let mul_mod x y = S.fmul x y
val mul_mod : SE.mul_st S.felem mk_to_nat_mod_comm_monoid let mul_mod x y =
false
null
false
S.fmul x y
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Spec.K256.PointOps.felem", "Spec.K256.PointOps.fmul" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 mul_mod : SE.mul_st S.felem mk_to_nat_mod_comm_monoid
[]
Hacl.Spec.K256.Finv.mul_mod
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Spec.Exponentiation.mul_st Spec.K256.PointOps.felem Hacl.Spec.K256.Finv.mk_to_nat_mod_comm_monoid
{ "end_col": 28, "end_line": 24, "start_col": 18, "start_line": 24 }
Prims.Tot
val is_fsqrt: f:S.felem -> f2:S.felem -> bool
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let is_fsqrt f f2 = S.fmul f f = f2
val is_fsqrt: f:S.felem -> f2:S.felem -> bool let is_fsqrt f f2 =
false
null
false
S.fmul f f = f2
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Spec.K256.PointOps.felem", "Prims.op_Equality", "Spec.K256.PointOps.fmul", "Prims.bool" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 is_fsqrt: f:S.felem -> f2:S.felem -> bool
[]
Hacl.Spec.K256.Finv.is_fsqrt
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> f2: Spec.K256.PointOps.felem -> Prims.bool
{ "end_col": 35, "end_line": 88, "start_col": 20, "start_line": 88 }
FStar.Pervasives.Lemma
val fsqrt_is_fsqrt_lemma: f:S.felem -> Lemma (fsqrt f == S.fsqrt f)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let fsqrt_is_fsqrt_lemma f = fsqrt_lemma f; assert (fsqrt f == M.pow f ((S.prime + 1) / 4) % S.prime); M.lemma_pow_mod #S.prime f ((S.prime + 1) / 4)
val fsqrt_is_fsqrt_lemma: f:S.felem -> Lemma (fsqrt f == S.fsqrt f) let fsqrt_is_fsqrt_lemma f =
false
null
true
fsqrt_lemma f; assert (fsqrt f == M.pow f ((S.prime + 1) / 4) % S.prime); M.lemma_pow_mod #S.prime f ((S.prime + 1) / 4)
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Lib.NatMod.lemma_pow_mod", "Spec.K256.PointOps.prime", "Prims.op_Division", "Prims.op_Addition", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Hacl.Spec.K256.Finv.fsqrt", "Prims.op_Modulus", "Lib.NatMod.pow", "Hacl.Spec.K256.Finv.fsqrt_lemma" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 fsqrt_is_fsqrt_lemma: f:S.felem -> Lemma (fsqrt f == S.fsqrt f)
[]
Hacl.Spec.K256.Finv.fsqrt_is_fsqrt_lemma
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.Finv.fsqrt f == Spec.K256.PointOps.fsqrt f)
{ "end_col": 48, "end_line": 271, "start_col": 2, "start_line": 269 }
FStar.Pervasives.Lemma
val finv_is_finv_lemma: f:S.felem -> Lemma (finv f == S.finv f)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let finv_is_finv_lemma f = finv_lemma f; assert (finv f == M.pow f (S.prime - 2) % S.prime); M.lemma_pow_mod #S.prime f (S.prime - 2)
val finv_is_finv_lemma: f:S.felem -> Lemma (finv f == S.finv f) let finv_is_finv_lemma f =
false
null
true
finv_lemma f; assert (finv f == M.pow f (S.prime - 2) % S.prime); M.lemma_pow_mod #S.prime f (S.prime - 2)
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Lib.NatMod.lemma_pow_mod", "Spec.K256.PointOps.prime", "Prims.op_Subtraction", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Hacl.Spec.K256.Finv.finv", "Prims.op_Modulus", "Lib.NatMod.pow", "Hacl.Spec.K256.Finv.finv_lemma" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 finv_is_finv_lemma: f:S.felem -> Lemma (finv f == S.finv f)
[]
Hacl.Spec.K256.Finv.finv_is_finv_lemma
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.Finv.finv f == Spec.K256.PointOps.finv f)
{ "end_col": 42, "end_line": 243, "start_col": 2, "start_line": 241 }
Prims.Tot
val one_mod : SE.one_st S.felem mk_to_nat_mod_comm_monoid
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let one_mod _ = S.one
val one_mod : SE.one_st S.felem mk_to_nat_mod_comm_monoid let one_mod _ =
false
null
false
S.one
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "Prims.unit", "Spec.K256.PointOps.one", "Spec.K256.PointOps.felem" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
true
Hacl.Spec.K256.Finv.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 one_mod : SE.one_st S.felem mk_to_nat_mod_comm_monoid
[]
Hacl.Spec.K256.Finv.one_mod
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Spec.Exponentiation.one_st Spec.K256.PointOps.felem Hacl.Spec.K256.Finv.mk_to_nat_mod_comm_monoid
{ "end_col": 21, "end_line": 21, "start_col": 16, "start_line": 21 }
FStar.Pervasives.Lemma
val lemma_pow_mod_1: f:S.felem -> Lemma (f == M.pow f 1 % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let lemma_pow_mod_1 f = M.lemma_pow1 f; Math.Lemmas.small_mod f S.prime; assert_norm (pow2 0 = 1); assert (f == M.pow f 1 % S.prime)
val lemma_pow_mod_1: f:S.felem -> Lemma (f == M.pow f 1 % S.prime) let lemma_pow_mod_1 f =
false
null
true
M.lemma_pow1 f; Math.Lemmas.small_mod f S.prime; assert_norm (pow2 0 = 1); assert (f == M.pow f 1 % S.prime)
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Prims._assert", "Prims.eq2", "Prims.int", "Prims.op_Modulus", "Lib.NatMod.pow", "Spec.K256.PointOps.prime", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.pow2", "FStar.Math.Lemmas.small_mod", "Lib.NatMod.lemma_pow1" ]
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 lemma_pow_mod_1: f:S.felem -> Lemma (f == M.pow f 1 % S.prime)
[]
Hacl.Spec.K256.Finv.lemma_pow_mod_1
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> FStar.Pervasives.Lemma (ensures f == Lib.NatMod.pow f 1 % Spec.K256.PointOps.prime)
{ "end_col": 35, "end_line": 96, "start_col": 2, "start_line": 93 }
FStar.Pervasives.Lemma
val fsquare_times_lemma: a:S.felem -> b:nat -> Lemma (fsquare_times a b == M.pow a (pow2 b) % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let fsquare_times_lemma a b = SE.exp_pow2_lemma mk_nat_mod_concrete_ops a b; LE.exp_pow2_lemma nat_mod_comm_monoid a b; assert (fsquare_times a b == LE.pow nat_mod_comm_monoid a (pow2 b)); M.lemma_pow_nat_mod_is_pow #S.prime a (pow2 b)
val fsquare_times_lemma: a:S.felem -> b:nat -> Lemma (fsquare_times a b == M.pow a (pow2 b) % S.prime) let fsquare_times_lemma a b =
false
null
true
SE.exp_pow2_lemma mk_nat_mod_concrete_ops a b; LE.exp_pow2_lemma nat_mod_comm_monoid a b; assert (fsquare_times a b == LE.pow nat_mod_comm_monoid a (pow2 b)); M.lemma_pow_nat_mod_is_pow #S.prime a (pow2 b)
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Prims.nat", "Lib.NatMod.lemma_pow_nat_mod_is_pow", "Spec.K256.PointOps.prime", "Prims.pow2", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.l_or", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.K256.Finv.fsquare_times", "Lib.Exponentiation.Definition.pow", "L...
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 fsquare_times_lemma: a:S.felem -> b:nat -> Lemma (fsquare_times a b == M.pow a (pow2 b) % S.prime)
[]
Hacl.Spec.K256.Finv.fsquare_times_lemma
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.K256.PointOps.felem -> b: Prims.nat -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.Finv.fsquare_times a b == Lib.NatMod.pow a (Prims.pow2 b) % Spec.K256.PointOps.prime)
{ "end_col": 48, "end_line": 45, "start_col": 2, "start_line": 42 }
FStar.Pervasives.Lemma
val finv_lemma: f:S.felem -> Lemma (finv f == M.pow f (S.prime - 2) % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let finv_lemma f = lemma_pow_mod_1 f; let r0, x2 = fexp_223_23 f in fexp_223_23_lemma f; let r1 = S.fmul (fsquare_times r0 5) f in fsquare_times_lemma r0 5; assert_norm (pow2 5 = 0x20); lemma_pow_pow_mod_mul f 0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff 0x20 0x1; assert (r1 == M.p...
val finv_lemma: f:S.felem -> Lemma (finv f == M.pow f (S.prime - 2) % S.prime) let finv_lemma f =
false
null
true
lemma_pow_mod_1 f; let r0, x2 = fexp_223_23 f in fexp_223_23_lemma f; let r1 = S.fmul (fsquare_times r0 5) f in fsquare_times_lemma r0 5; assert_norm (pow2 5 = 0x20); lemma_pow_pow_mod_mul f 0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff 0x20 0x1; assert (r1 == M.pow f 0x7fffffffffffffffffffffffffffff...
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Prims._assert", "Prims.eq2", "Prims.int", "Prims.op_Modulus", "Lib.NatMod.pow", "Spec.K256.PointOps.prime", "Prims.unit", "Hacl.Spec.K256.Finv.lemma_pow_pow_mod_mul", "Hacl.Spec.K256.Finv.fsquare_times_lemma", "Spec.K256.PointOps.fmul", "Hacl.Spec.K256.Finv.fsquare...
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 finv_lemma: f:S.felem -> Lemma (finv f == M.pow f (S.prime - 2) % S.prime)
[]
Hacl.Spec.K256.Finv.finv_lemma
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.Finv.finv f == Lib.NatMod.pow f (Spec.K256.PointOps.prime - 2) % Spec.K256.PointOps.prime)
{ "end_col": 100, "end_line": 236, "start_col": 2, "start_line": 217 }
FStar.Pervasives.Lemma
val fsqrt_lemma: f:S.felem -> Lemma (fsqrt f == M.pow f ((S.prime + 1) / 4) % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let fsqrt_lemma f = lemma_pow_mod_1 f; let r0, x2 = fexp_223_23 f in fexp_223_23_lemma f; let r1 = S.fmul (fsquare_times r0 6) x2 in fsquare_times_lemma r0 6; assert_norm (pow2 6 = 0x40); lemma_pow_pow_mod_mul f 0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff 0x40 0x3; assert (r1 == M...
val fsqrt_lemma: f:S.felem -> Lemma (fsqrt f == M.pow f ((S.prime + 1) / 4) % S.prime) let fsqrt_lemma f =
false
null
true
lemma_pow_mod_1 f; let r0, x2 = fexp_223_23 f in fexp_223_23_lemma f; let r1 = S.fmul (fsquare_times r0 6) x2 in fsquare_times_lemma r0 6; assert_norm (pow2 6 = 0x40); lemma_pow_pow_mod_mul f 0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff 0x40 0x3; assert (r1 == M.pow f 0xfffffffffffffffffffffffffffff...
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "Prims.op_Division", "Prims.op_Addition", "Spec.K256.PointOps.prime", "Prims.unit", "Prims._assert", "Prims.op_Modulus", "Lib.NatMod.pow", "Hacl.Spec.K256.Finv.lemma_pow_pow_mod", "Prims.b2t", "Prims.op_E...
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 fsqrt_lemma: f:S.felem -> Lemma (fsqrt f == M.pow f ((S.prime + 1) / 4) % S.prime)
[]
Hacl.Spec.K256.Finv.fsqrt_lemma
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.Finv.fsqrt f == Lib.NatMod.pow f ((Spec.K256.PointOps.prime + 1) / 4) % Spec.K256.PointOps.prime)
{ "end_col": 103, "end_line": 264, "start_col": 2, "start_line": 248 }
FStar.Pervasives.Lemma
val lemma_pow_pow_mod: f:S.felem -> a:nat -> b:nat -> Lemma (M.pow (M.pow f a % S.prime) b % S.prime == M.pow f (a * b) % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let lemma_pow_pow_mod f a b = calc (==) { M.pow (M.pow f a % S.prime) b % S.prime; (==) { M.lemma_pow_mod_base (M.pow f a) b S.prime } M.pow (M.pow f a) b % S.prime; (==) { M.lemma_pow_mul f a b } M.pow f (a * b) % S.prime; }
val lemma_pow_pow_mod: f:S.felem -> a:nat -> b:nat -> Lemma (M.pow (M.pow f a % S.prime) b % S.prime == M.pow f (a * b) % S.prime) let lemma_pow_pow_mod f a b =
false
null
true
calc ( == ) { M.pow (M.pow f a % S.prime) b % S.prime; ( == ) { M.lemma_pow_mod_base (M.pow f a) b S.prime } M.pow (M.pow f a) b % S.prime; ( == ) { M.lemma_pow_mul f a b } M.pow f (a * b) % S.prime; }
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Lib.NatMod.pow", "Spec.K256.PointOps.prime", "FStar.Mul.op_Star", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "FStar.Calc.calc...
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 lemma_pow_pow_mod: f:S.felem -> a:nat -> b:nat -> Lemma (M.pow (M.pow f a % S.prime) b % S.prime == M.pow f (a * b) % S.prime)
[]
Hacl.Spec.K256.Finv.lemma_pow_pow_mod
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> a: Prims.nat -> b: Prims.nat -> FStar.Pervasives.Lemma (ensures Lib.NatMod.pow (Lib.NatMod.pow f a % Spec.K256.PointOps.prime) b % Spec.K256.PointOps.prime == Lib.NatMod.pow f (a * b) % Spec.K256.PointOps.prime)
{ "end_col": 5, "end_line": 122, "start_col": 2, "start_line": 116 }
FStar.Pervasives.Lemma
val lemma_pow_mod_mul: f:S.felem -> a:nat -> b:nat -> Lemma (S.fmul (M.pow f a % S.prime) (M.pow f b % S.prime) == M.pow f (a + b) % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let lemma_pow_mod_mul f a b = calc (==) { S.fmul (M.pow f a % S.prime) (M.pow f b % S.prime); (==) { Math.Lemmas.lemma_mod_mul_distr_l (M.pow f a) (M.pow f b % S.prime) S.prime; Math.Lemmas.lemma_mod_mul_distr_r (M.pow f a) (M.pow f b) S.prime } M.pow f a * M.pow f b % S.prime; (==) { M.le...
val lemma_pow_mod_mul: f:S.felem -> a:nat -> b:nat -> Lemma (S.fmul (M.pow f a % S.prime) (M.pow f b % S.prime) == M.pow f (a + b) % S.prime) let lemma_pow_mod_mul f a b =
false
null
true
calc ( == ) { S.fmul (M.pow f a % S.prime) (M.pow f b % S.prime); ( == ) { (Math.Lemmas.lemma_mod_mul_distr_l (M.pow f a) (M.pow f b % S.prime) S.prime; Math.Lemmas.lemma_mod_mul_distr_r (M.pow f a) (M.pow f b) S.prime) } M.pow f a * M.pow f b % S.prime; ( == ) { M.lemma_pow_add f a b } M.pow f (a + b) % ...
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Prims.nat", "FStar.Calc.calc_finish", "Prims.eq2", "Spec.K256.PointOps.fmul", "Prims.op_Modulus", "Lib.NatMod.pow", "Spec.K256.PointOps.prime", "Prims.op_Addition", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "F...
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 lemma_pow_mod_mul: f:S.felem -> a:nat -> b:nat -> Lemma (S.fmul (M.pow f a % S.prime) (M.pow f b % S.prime) == M.pow f (a + b) % S.prime)
[]
Hacl.Spec.K256.Finv.lemma_pow_mod_mul
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> a: Prims.nat -> b: Prims.nat -> FStar.Pervasives.Lemma (ensures Spec.K256.PointOps.fmul (Lib.NatMod.pow f a % Spec.K256.PointOps.prime) (Lib.NatMod.pow f b % Spec.K256.PointOps.prime) == Lib.NatMod.pow f (a + b) % Spec.K256.PointOps.prime)
{ "end_col": 3, "end_line": 110, "start_col": 2, "start_line": 102 }
FStar.Pervasives.Lemma
val fexp_223_23_lemma: f:S.felem -> Lemma (let (r, x2) = fexp_223_23 f in x2 == M.pow f 0x3 % S.prime /\ r == M.pow f 0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let fexp_223_23_lemma f = let x2 = S.fmul (fsquare_times f 1) f in fsquare_times_lemma f 1; assert_norm (pow2 1 = 0x2); lemma_pow_mod_1 f; lemma_pow_mod_mul f 0x2 0x1; assert (x2 == M.pow f 0x3 % S.prime); let x3 = S.fmul (fsquare_times x2 1) f in fsquare_times_lemma x2 1; lemma_pow_mod_1 f; lemma_...
val fexp_223_23_lemma: f:S.felem -> Lemma (let (r, x2) = fexp_223_23 f in x2 == M.pow f 0x3 % S.prime /\ r == M.pow f 0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff % S.prime) let fexp_223_23_lemma f =
false
null
true
let x2 = S.fmul (fsquare_times f 1) f in fsquare_times_lemma f 1; assert_norm (pow2 1 = 0x2); lemma_pow_mod_1 f; lemma_pow_mod_mul f 0x2 0x1; assert (x2 == M.pow f 0x3 % S.prime); let x3 = S.fmul (fsquare_times x2 1) f in fsquare_times_lemma x2 1; lemma_pow_mod_1 f; lemma_pow_pow_mod_mul f 0x3 0x2 0x1; assert (x3 == M....
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Prims._assert", "Prims.eq2", "Prims.int", "Prims.op_Modulus", "Lib.NatMod.pow", "Spec.K256.PointOps.prime", "Prims.unit", "Hacl.Spec.K256.Finv.lemma_pow_pow_mod_mul", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.pow2", "Hacl.Spec.K25...
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 fexp_223_23_lemma: f:S.felem -> Lemma (let (r, x2) = fexp_223_23 f in x2 == M.pow f 0x3 % S.prime /\ r == M.pow f 0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff % S.prime)
[]
Hacl.Spec.K256.Finv.fexp_223_23_lemma
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.K256.Finv.fexp_223_23 f in (let FStar.Pervasives.Native.Mktuple2 #_ #_ r x2 = _ in x2 == Lib.NatMod.pow f 0x3 % Spec.K256.PointOps.prime /\ r == Lib.NatMod.pow f 0x3fffffffffffffffffffffff...
{ "end_col": 99, "end_line": 211, "start_col": 25, "start_line": 142 }
FStar.Pervasives.Lemma
val lemma_pow_pow_mod_mul: f:S.felem -> a:nat -> b:nat -> c:nat -> Lemma (S.fmul (M.pow (M.pow f a % S.prime) b % S.prime) (M.pow f c % S.prime) == M.pow f (a * b + c) % S.prime)
[ { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "LE" }, { "abbrev": true, "full_module": "Spec.Exp...
false
let lemma_pow_pow_mod_mul f a b c = calc (==) { S.fmul (M.pow (M.pow f a % S.prime) b % S.prime) (M.pow f c % S.prime); (==) { lemma_pow_pow_mod f a b } S.fmul (M.pow f (a * b) % S.prime) (M.pow f c % S.prime); (==) { lemma_pow_mod_mul f (a * b) c } M.pow f (a * b + c) % S.prime; }
val lemma_pow_pow_mod_mul: f:S.felem -> a:nat -> b:nat -> c:nat -> Lemma (S.fmul (M.pow (M.pow f a % S.prime) b % S.prime) (M.pow f c % S.prime) == M.pow f (a * b + c) % S.prime) let lemma_pow_pow_mod_mul f a b c =
false
null
true
calc ( == ) { S.fmul (M.pow (M.pow f a % S.prime) b % S.prime) (M.pow f c % S.prime); ( == ) { lemma_pow_pow_mod f a b } S.fmul (M.pow f (a * b) % S.prime) (M.pow f c % S.prime); ( == ) { lemma_pow_mod_mul f (a * b) c } M.pow f (a * b + c) % S.prime; }
{ "checked_file": "Hacl.Spec.K256.Finv.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "Spec.K256.PointOps.felem", "Prims.nat", "FStar.Calc.calc_finish", "Prims.eq2", "Spec.K256.PointOps.fmul", "Prims.op_Modulus", "Lib.NatMod.pow", "Spec.K256.PointOps.prime", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FSta...
[]
module Hacl.Spec.K256.Finv open FStar.Mul module SE = Spec.Exponentiation module LE = Lib.Exponentiation module M = Lib.NatMod module S = Spec.K256 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let nat_mod_comm_monoid = M.mk_nat_mod_comm_monoid S.prime let mk_to_nat_mod_comm_monoid : SE.to_comm_monoid S.felem = ...
false
false
Hacl.Spec.K256.Finv.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 lemma_pow_pow_mod_mul: f:S.felem -> a:nat -> b:nat -> c:nat -> Lemma (S.fmul (M.pow (M.pow f a % S.prime) b % S.prime) (M.pow f c % S.prime) == M.pow f (a * b + c) % S.prime)
[]
Hacl.Spec.K256.Finv.lemma_pow_pow_mod_mul
{ "file_name": "code/k256/Hacl.Spec.K256.Finv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.K256.PointOps.felem -> a: Prims.nat -> b: Prims.nat -> c: Prims.nat -> FStar.Pervasives.Lemma (ensures Spec.K256.PointOps.fmul (Lib.NatMod.pow (Lib.NatMod.pow f a % Spec.K256.PointOps.prime) b % Spec.K256.PointOps.prime) (Lib.NatMod.pow f c % Spec.K256.PointOps.prime) == Lib....
{ "end_col": 3, "end_line": 134, "start_col": 2, "start_line": 128 }
Prims.Tot
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let block_len a = Hacl.Hash.Definitions.block_len a
let block_len a =
false
null
false
Hacl.Hash.Definitions.block_len a
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.block_len", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.op_disEquality", "Lib.IntTypes.v", "Spec.Hash.Definitions.block_length"...
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 block_len : a: Spec.Hash.Definitions.hash_alg -> n: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v n = Spec.Hash.Definitions.block_length a}
[]
EverCrypt.Hash.Incremental.block_len
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.hash_alg -> n: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v n = Spec.Hash.Definitions.block_length a}
{ "end_col": 51, "end_line": 78, "start_col": 18, "start_line": 78 }
Prims.GTot
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let hashed #a (h: HS.mem) (s: state a) = F.seen evercrypt_hash a h s
let hashed #a (h: HS.mem) (s: state a) =
false
null
false
F.seen evercrypt_hash a h s
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "sometrivial" ]
[ "EverCrypt.Hash.alg", "FStar.Monotonic.HyperStack.mem", "EverCrypt.Hash.Incremental.state", "Hacl.Streaming.Functor.seen", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Hacl.Streaming.Functor.bytes" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 hashed : h: FStar.Monotonic.HyperStack.mem -> s: EverCrypt.Hash.Incremental.state a -> Prims.GTot Hacl.Streaming.Functor.bytes
[]
EverCrypt.Hash.Incremental.hashed
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> s: EverCrypt.Hash.Incremental.state a -> Prims.GTot Hacl.Streaming.Functor.bytes
{ "end_col": 29, "end_line": 348, "start_col": 2, "start_line": 348 }
FStar.HyperStack.ST.Stack
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let init (a: G.erased Hash.alg) = F.init evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit) ()
let init (a: G.erased Hash.alg) =
false
null
false
F.init evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit) ()
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[]
[ "FStar.Ghost.erased", "EverCrypt.Hash.alg", "Hacl.Streaming.Functor.init", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "EverCrypt.Hash.state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.state", "FStar.Ghost.hide", "FStar.Monotonic.HyperSta...
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 init : a: FStar.Ghost.erased EverCrypt.Hash.alg -> s: Hacl.Streaming.Functor.state EverCrypt.Hash.Incremental.evercrypt_hash (FStar.Ghost.reveal (FStar.Ghost.hide (FStar.Ghost.reveal a))) (EverCrypt.Hash.state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.Hyper...
[]
EverCrypt.Hash.Incremental.init
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased EverCrypt.Hash.alg -> s: Hacl.Streaming.Functor.state EverCrypt.Hash.Incremental.evercrypt_hash (FStar.Ghost.reveal (FStar.Ghost.hide (FStar.Ghost.reveal a))) (EverCrypt.Hash.state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.HyperStack....
{ "end_col": 101, "end_line": 167, "start_col": 34, "start_line": 167 }
FStar.HyperStack.ST.ST
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let create_in a = F.create_in evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit) ()
let create_in a =
false
null
false
F.create_in evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit) ()
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[]
[ "Spec.Hash.Definitions.fixed_len_alg", "Hacl.Streaming.Functor.create_in", "EverCrypt.Hash.Incremental.evercrypt_hash", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit", "FStar.Monotonic.HyperHeap.rid", "Hacl.Streaming.Functor.state", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "H...
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val create_in : a: Spec.Hash.Definitions.fixed_len_alg -> r: FStar.Monotonic.HyperHeap.rid -> FStar.HyperStack.ST.ST (Hacl.Streaming.Functor.state EverCrypt.Hash.Incremental.evercrypt_hash a (EverCrypt.Hash.state a) (FStar.Ghost.erased Prims.unit))
[]
EverCrypt.Hash.Incremental.create_in
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> r: FStar.Monotonic.HyperHeap.rid -> FStar.HyperStack.ST.ST (Hacl.Streaming.Functor.state EverCrypt.Hash.Incremental.evercrypt_hash a (EverCrypt.Hash.state a) (FStar.Ghost.erased Prims.unit))
{ "end_col": 90, "end_line": 163, "start_col": 18, "start_line": 163 }
FStar.HyperStack.ST.Stack
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let alg_of_state (a: G.erased Hash.alg) = F.index_of_state evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit)
let alg_of_state (a: G.erased Hash.alg) =
true
null
false
F.index_of_state evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[]
[ "FStar.Ghost.erased", "EverCrypt.Hash.alg", "Hacl.Streaming.Functor.index_of_state", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "EverCrypt.Hash.state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.state", "FStar.Monotonic.HyperStack.mem", "...
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 alg_of_state : a: FStar.Ghost.erased EverCrypt.Hash.alg -> s: Hacl.Streaming.Functor.state EverCrypt.Hash.Incremental.evercrypt_hash (FStar.Ghost.reveal a) (EverCrypt.Hash.state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.HyperStack.ST.Stack Spec.Hash.Definit...
[]
EverCrypt.Hash.Incremental.alg_of_state
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased EverCrypt.Hash.alg -> s: Hacl.Streaming.Functor.state EverCrypt.Hash.Incremental.evercrypt_hash (FStar.Ghost.reveal a) (EverCrypt.Hash.state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.HyperStack.ST.Stack Spec.Hash.Definitions.fixed_len...
{ "end_col": 116, "end_line": 227, "start_col": 42, "start_line": 227 }
Prims.Tot
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_st a = F.finish_st evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit)
let finish_st a =
false
null
false
F.finish_st evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "Hacl.Streaming.Functor.finish_st", "EverCrypt.Hash.Incremental.evercrypt_hash", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_st : a: Spec.Hash.Definitions.fixed_len_alg -> Type0
[]
EverCrypt.Hash.Incremental.finish_st
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> Type0
{ "end_col": 87, "end_line": 196, "start_col": 18, "start_line": 196 }
Prims.Tot
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let free (i: G.erased Hash.alg) = F.free evercrypt_hash i (EverCrypt.Hash.state i) (G.erased unit)
let free (i: G.erased Hash.alg) =
false
null
false
F.free evercrypt_hash i (EverCrypt.Hash.state i) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "FStar.Ghost.erased", "EverCrypt.Hash.alg", "Hacl.Streaming.Functor.free", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "EverCrypt.Hash.state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.free_st" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 free : i: FStar.Ghost.erased EverCrypt.Hash.alg -> Hacl.Streaming.Functor.free_st EverCrypt.Hash.Incremental.evercrypt_hash (FStar.Ghost.reveal i) (EverCrypt.Hash.state (FStar.Ghost.reveal i)) (FStar.Ghost.erased Prims.unit)
[]
EverCrypt.Hash.Incremental.free
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: FStar.Ghost.erased EverCrypt.Hash.alg -> Hacl.Streaming.Functor.free_st EverCrypt.Hash.Incremental.evercrypt_hash (FStar.Ghost.reveal i) (EverCrypt.Hash.state (FStar.Ghost.reveal i)) (FStar.Ghost.erased Prims.unit)
{ "end_col": 98, "end_line": 255, "start_col": 34, "start_line": 255 }
Prims.Tot
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let state (a: Hash.alg) = F.state evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit)
let state (a: Hash.alg) =
false
null
false
F.state evercrypt_hash a (EverCrypt.Hash.state a) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "EverCrypt.Hash.alg", "Hacl.Streaming.Functor.state", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
true
EverCrypt.Hash.Incremental.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val state : a: EverCrypt.Hash.alg -> Type0
[]
EverCrypt.Hash.Incremental.state
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: EverCrypt.Hash.alg -> Type0
{ "end_col": 91, "end_line": 344, "start_col": 26, "start_line": 344 }
Prims.Tot
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let hash_state = F.state_s evercrypt_hash SHA2_256 ((agile_state).s SHA2_256) (G.erased unit)
let hash_state =
false
null
false
F.state_s evercrypt_hash SHA2_256 ((agile_state).s SHA2_256) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.state_s", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.SHA2_256", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "EverCrypt.Hash.Incremental.agile_state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 hash_state : Type0
[]
EverCrypt.Hash.Incremental.hash_state
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 78, "end_line": 153, "start_col": 2, "start_line": 153 }
Prims.Tot
val agile_state:stateful Hash.alg
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, ...
false
let agile_state: stateful Hash.alg = Stateful EverCrypt.Hash.state (fun #i h s -> EverCrypt.Hash.footprint s h) EverCrypt.Hash.freeable (fun #i h s -> EverCrypt.Hash.invariant s h) Spec.Hash.Definitions.words_state (fun i h s -> EverCrypt.Hash.repr s h) (fun #i h s -> EverCrypt.Hash.inv...
val agile_state:stateful Hash.alg let agile_state:stateful Hash.alg =
false
null
false
Stateful EverCrypt.Hash.state (fun #i h s -> EverCrypt.Hash.footprint s h) EverCrypt.Hash.freeable (fun #i h s -> EverCrypt.Hash.invariant s h) Spec.Hash.Definitions.words_state (fun i h s -> EverCrypt.Hash.repr s h) (fun #i h s -> EverCrypt.Hash.invariant_loc_in_footprint s h) (fun #i l s h0 h1 -> ...
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Interface.Stateful", "EverCrypt.Hash.alg", "EverCrypt.Hash.state", "FStar.Monotonic.HyperStack.mem", "EverCrypt.Hash.footprint", "LowStar.Monotonic.Buffer.loc", "EverCrypt.Hash.freeable", "EverCrypt.Hash.invariant", "Spec.Hash.Definitions.words_state", "EverCrypt.Hash.repr", "Eve...
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
true
EverCrypt.Hash.Incremental.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 agile_state:stateful Hash.alg
[]
EverCrypt.Hash.Incremental.agile_state
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Streaming.Interface.stateful Spec.Hash.Definitions.fixed_len_alg
{ "end_col": 37, "end_line": 52, "start_col": 2, "start_line": 34 }
Prims.Tot
val finish_blake2s:finish_st Blake2S
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_blake2s: finish_st Blake2S = F.mk_finish evercrypt_hash Blake2S (EverCrypt.Hash.state Blake2S) (G.erased unit)
val finish_blake2s:finish_st Blake2S let finish_blake2s:finish_st Blake2S =
false
null
false
F.mk_finish evercrypt_hash Blake2S (EverCrypt.Hash.state Blake2S) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.Blake2S", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_blake2s:finish_st Blake2S
[]
EverCrypt.Hash.Incremental.finish_blake2s
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.Blake2S
{ "end_col": 121, "end_line": 221, "start_col": 40, "start_line": 221 }
Prims.Tot
val finish: a:G.erased Hash.alg -> finish_st a
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish a s dst l = let a = alg_of_state a s in match a with | MD5 -> finish_md5 s dst l | SHA1 -> finish_sha1 s dst l | SHA2_224 -> finish_sha224 s dst l | SHA2_256 -> finish_sha256 s dst l | SHA2_384 -> finish_sha384 s dst l | SHA2_512 -> finish_sha512 s dst l | SHA3_224 -> finish_sha3_224 s dst ...
val finish: a:G.erased Hash.alg -> finish_st a let finish a s dst l =
false
null
false
let a = alg_of_state a s in match a with | MD5 -> finish_md5 s dst l | SHA1 -> finish_sha1 s dst l | SHA2_224 -> finish_sha224 s dst l | SHA2_256 -> finish_sha256 s dst l | SHA2_384 -> finish_sha384 s dst l | SHA2_512 -> finish_sha512 s dst l | SHA3_224 -> finish_sha3_224 s dst l | SHA3_256 -> finish_sha3_256 s dst l |...
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "FStar.Ghost.erased", "EverCrypt.Hash.alg", "Hacl.Streaming.Functor.state", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "FStar.Ghost.reveal", "EverCrypt.Hash.state", "Prims.unit", "LowStar.Buffer.buffer", "Hacl.Streaming.Functor.uint8", "Hacl.Streaming.Int...
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish: a:G.erased Hash.alg -> finish_st a
[]
EverCrypt.Hash.Incremental.finish
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased EverCrypt.Hash.alg -> EverCrypt.Hash.Incremental.finish_st (FStar.Ghost.reveal a)
{ "end_col": 37, "end_line": 251, "start_col": 22, "start_line": 237 }
Prims.Tot
val finish_sha256:finish_st SHA2_256
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_sha256: finish_st SHA2_256 = F.mk_finish evercrypt_hash SHA2_256 (EverCrypt.Hash.state SHA2_256) (G.erased unit)
val finish_sha256:finish_st SHA2_256 let finish_sha256:finish_st SHA2_256 =
false
null
false
F.mk_finish evercrypt_hash SHA2_256 (EverCrypt.Hash.state SHA2_256) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.SHA2_256", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_sha256:finish_st SHA2_256
[]
EverCrypt.Hash.Incremental.finish_sha256
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.SHA2_256
{ "end_col": 123, "end_line": 207, "start_col": 40, "start_line": 207 }
Prims.Tot
val finish_sha224:finish_st SHA2_224
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_sha224: finish_st SHA2_224 = F.mk_finish evercrypt_hash SHA2_224 (EverCrypt.Hash.state SHA2_224) (G.erased unit)
val finish_sha224:finish_st SHA2_224 let finish_sha224:finish_st SHA2_224 =
false
null
false
F.mk_finish evercrypt_hash SHA2_224 (EverCrypt.Hash.state SHA2_224) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.SHA2_224", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_sha224:finish_st SHA2_224
[]
EverCrypt.Hash.Incremental.finish_sha224
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.SHA2_224
{ "end_col": 123, "end_line": 205, "start_col": 40, "start_line": 205 }
Prims.Tot
val finish_sha3_256:finish_st SHA3_256
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_sha3_256: finish_st SHA3_256 = F.mk_finish evercrypt_hash SHA3_256 (EverCrypt.Hash.state SHA3_256) (G.erased unit)
val finish_sha3_256:finish_st SHA3_256 let finish_sha3_256:finish_st SHA3_256 =
false
null
false
F.mk_finish evercrypt_hash SHA3_256 (EverCrypt.Hash.state SHA3_256) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.SHA3_256", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_sha3_256:finish_st SHA3_256
[]
EverCrypt.Hash.Incremental.finish_sha3_256
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.SHA3_256
{ "end_col": 125, "end_line": 211, "start_col": 42, "start_line": 211 }
Prims.Tot
val finish_sha3_224:finish_st SHA3_224
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_sha3_224: finish_st SHA3_224 = F.mk_finish evercrypt_hash SHA3_224 (EverCrypt.Hash.state SHA3_224) (G.erased unit)
val finish_sha3_224:finish_st SHA3_224 let finish_sha3_224:finish_st SHA3_224 =
false
null
false
F.mk_finish evercrypt_hash SHA3_224 (EverCrypt.Hash.state SHA3_224) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.SHA3_224", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_sha3_224:finish_st SHA3_224
[]
EverCrypt.Hash.Incremental.finish_sha3_224
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.SHA3_224
{ "end_col": 125, "end_line": 209, "start_col": 42, "start_line": 209 }
Prims.Tot
val finish_md5:finish_st MD5
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_md5: finish_st MD5 = F.mk_finish evercrypt_hash MD5 (EverCrypt.Hash.state MD5) (G.erased unit)
val finish_md5:finish_st MD5 let finish_md5:finish_st MD5 =
false
null
false
F.mk_finish evercrypt_hash MD5 (EverCrypt.Hash.state MD5) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.MD5", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_md5:finish_st MD5
[]
EverCrypt.Hash.Incremental.finish_md5
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.MD5
{ "end_col": 105, "end_line": 201, "start_col": 32, "start_line": 201 }
Prims.Tot
val finish_sha1:finish_st SHA1
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_sha1: finish_st SHA1 = F.mk_finish evercrypt_hash SHA1 (EverCrypt.Hash.state SHA1) (G.erased unit)
val finish_sha1:finish_st SHA1 let finish_sha1:finish_st SHA1 =
false
null
false
F.mk_finish evercrypt_hash SHA1 (EverCrypt.Hash.state SHA1) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.SHA1", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_sha1:finish_st SHA1
[]
EverCrypt.Hash.Incremental.finish_sha1
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.SHA1
{ "end_col": 109, "end_line": 203, "start_col": 34, "start_line": 203 }
Prims.Tot
val finish_sha512:finish_st SHA2_512
[ { "abbrev": false, "full_module": "EverCrypt.Hash.Incremental.Macros", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbre...
false
let finish_sha512: finish_st SHA2_512 = F.mk_finish evercrypt_hash SHA2_512 (EverCrypt.Hash.state SHA2_512) (G.erased unit)
val finish_sha512:finish_st SHA2_512 let finish_sha512:finish_st SHA2_512 =
false
null
false
F.mk_finish evercrypt_hash SHA2_512 (EverCrypt.Hash.state SHA2_512) (G.erased unit)
{ "checked_file": "EverCrypt.Hash.Incremental.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.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ "total" ]
[ "Hacl.Streaming.Functor.mk_finish", "Spec.Hash.Definitions.fixed_len_alg", "EverCrypt.Hash.Incremental.evercrypt_hash", "Spec.Hash.Definitions.SHA2_512", "EverCrypt.Hash.state", "FStar.Ghost.erased", "Prims.unit" ]
[]
module EverCrypt.Hash.Incremental open FStar.Mul // Watch out: keep the module declarations in sync between fsti and fst // (otherwise interleaving issues may bite). module B = LowStar.Buffer module S = FStar.Seq module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module G = FStar.Ghost module U32 = FStar.UI...
false
false
EverCrypt.Hash.Incremental.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 finish_sha512:finish_st SHA2_512
[]
EverCrypt.Hash.Incremental.finish_sha512
{ "file_name": "providers/evercrypt/fst/EverCrypt.Hash.Incremental.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
EverCrypt.Hash.Incremental.finish_st Spec.Hash.Definitions.SHA2_512
{ "end_col": 123, "end_line": 219, "start_col": 40, "start_line": 219 }