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 add_mod (#m: pos) (a b: nat_mod m) : nat_mod m
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let add_mod (#m:pos) (a:nat_mod m) (b:nat_mod m) : nat_mod m = (a + b) % m
val add_mod (#m: pos) (a b: nat_mod m) : nat_mod m let add_mod (#m: pos) (a b: nat_mod m) : nat_mod m =
false
null
false
(a + b) % m
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total" ]
[ "Prims.pos", "Lib.NatMod.nat_mod", "Prims.op_Modulus", "Prims.op_Addition" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0" let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul...
false
false
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val add_mod (#m: pos) (a b: nat_mod m) : nat_mod m
[]
Lib.NatMod.add_mod
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Lib.NatMod.nat_mod m -> b: Lib.NatMod.nat_mod m -> Lib.NatMod.nat_mod m
{ "end_col": 74, "end_line": 55, "start_col": 63, "start_line": 55 }
Prims.Tot
val one_mod (#m: pos) : nat_mod m
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let one_mod (#m:pos) : nat_mod m = 1 % m
val one_mod (#m: pos) : nat_mod m let one_mod (#m: pos) : nat_mod m =
false
null
false
1 % m
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total" ]
[ "Prims.pos", "Prims.op_Modulus", "Lib.NatMod.nat_mod" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0" let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul...
false
false
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val one_mod (#m: pos) : nat_mod m
[]
Lib.NatMod.one_mod
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Lib.NatMod.nat_mod m
{ "end_col": 40, "end_line": 53, "start_col": 35, "start_line": 53 }
Prims.Tot
val mul_mod (#m: pos) (a b: nat_mod m) : nat_mod m
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let mul_mod (#m:pos) (a:nat_mod m) (b:nat_mod m) : nat_mod m = a * b % m
val mul_mod (#m: pos) (a b: nat_mod m) : nat_mod m let mul_mod (#m: pos) (a b: nat_mod m) : nat_mod m =
false
null
false
a * b % m
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total" ]
[ "Prims.pos", "Lib.NatMod.nat_mod", "Prims.op_Modulus", "FStar.Mul.op_Star" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0" let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul...
false
false
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mul_mod (#m: pos) (a b: nat_mod m) : nat_mod m
[]
Lib.NatMod.mul_mod
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Lib.NatMod.nat_mod m -> b: Lib.NatMod.nat_mod m -> Lib.NatMod.nat_mod m
{ "end_col": 72, "end_line": 54, "start_col": 63, "start_line": 54 }
Prims.Tot
val pow_mod_ (#m: pos{1 < m}) (a: nat_mod m) (b: nat) : Tot (nat_mod m) (decreases b)
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let rec pow_mod_ (#m:pos{1 < m}) (a:nat_mod m) (b:nat) : Tot (nat_mod m) (decreases b) = if b = 0 then 1 else if b % 2 = 0 then pow_mod_ (mul_mod a a) (b / 2) else mul_mod a (pow_mod_ (mul_mod a a) (b / 2))
val pow_mod_ (#m: pos{1 < m}) (a: nat_mod m) (b: nat) : Tot (nat_mod m) (decreases b) let rec pow_mod_ (#m: pos{1 < m}) (a: nat_mod m) (b: nat) : Tot (nat_mod m) (decreases b) =
false
null
false
if b = 0 then 1 else if b % 2 = 0 then pow_mod_ (mul_mod a a) (b / 2) else mul_mod a (pow_mod_ (mul_mod a a) (b / 2))
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total", "" ]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "Lib.NatMod.nat_mod", "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.bool", "Prims.op_Modulus", "Lib.NatMod.pow_mod_", "Lib.NatMod.mul_mod", "Prims.op_Division" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0" let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul...
false
false
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pow_mod_ (#m: pos{1 < m}) (a: nat_mod m) (b: nat) : Tot (nat_mod m) (decreases b)
[ "recursion" ]
Lib.NatMod.pow_mod_
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Lib.NatMod.nat_mod m -> b: Prims.nat -> Prims.Tot (Lib.NatMod.nat_mod m)
{ "end_col": 51, "end_line": 79, "start_col": 2, "start_line": 76 }
Prims.Tot
val pow (x: int) (n: nat) : Tot int
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let rec pow (x:int) (n:nat) : Tot int = if n = 0 then 1 else x * pow x (n - 1)
val pow (x: int) (n: nat) : Tot int let rec pow (x: int) (n: nat) : Tot int =
false
null
false
if n = 0 then 1 else x * pow x (n - 1)
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total" ]
[ "Prims.int", "Prims.nat", "Prims.op_Equality", "Prims.bool", "FStar.Mul.op_Star", "Lib.NatMod.pow", "Prims.op_Subtraction" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0" let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul...
false
true
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pow (x: int) (n: nat) : Tot int
[ "recursion" ]
Lib.NatMod.pow
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Prims.int -> n: Prims.nat -> Prims.int
{ "end_col": 24, "end_line": 23, "start_col": 2, "start_line": 22 }
Prims.Tot
val mk_nat_comm_monoid:LE.comm_monoid int
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul_one_right_is_same; LE.lemma_mul_assoc = Math.Lemmas.paren_mul_right; LE.lemma_mul_comm = Math.Lemmas.swap_mul; }
val mk_nat_comm_monoid:LE.comm_monoid int let mk_nat_comm_monoid:LE.comm_monoid int =
false
null
false
{ LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul_one_right_is_same; LE.lemma_mul_assoc = Math.Lemmas.paren_mul_right; LE.lemma_mul_comm = Math.Lemmas.swap_mul }
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total" ]
[ "Lib.Exponentiation.Definition.Mkcomm_monoid", "Prims.int", "FStar.Mul.op_Star", "FStar.Math.Lemmas.mul_one_right_is_same", "FStar.Math.Lemmas.paren_mul_right", "FStar.Math.Lemmas.swap_mul" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0"
false
true
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_nat_comm_monoid:LE.comm_monoid int
[]
Lib.NatMod.mk_nat_comm_monoid
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Lib.Exponentiation.Definition.comm_monoid Prims.int
{ "end_col": 43, "end_line": 17, "start_col": 2, "start_line": 13 }
Prims.Tot
val sub_mod (#m: pos) (a b: nat_mod m) : nat_mod m
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let sub_mod (#m:pos) (a:nat_mod m) (b:nat_mod m) : nat_mod m = (a - b) % m
val sub_mod (#m: pos) (a b: nat_mod m) : nat_mod m let sub_mod (#m: pos) (a b: nat_mod m) : nat_mod m =
false
null
false
(a - b) % m
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total" ]
[ "Prims.pos", "Lib.NatMod.nat_mod", "Prims.op_Modulus", "Prims.op_Subtraction" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0" let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul...
false
false
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sub_mod (#m: pos) (a b: nat_mod m) : nat_mod m
[]
Lib.NatMod.sub_mod
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Lib.NatMod.nat_mod m -> b: Lib.NatMod.nat_mod m -> Lib.NatMod.nat_mod m
{ "end_col": 74, "end_line": 56, "start_col": 63, "start_line": 56 }
Prims.Tot
val inv_mod (#m: pos{1 < m}) (a: nat_mod m) : nat_mod m
[ { "abbrev": true, "full_module": "Lib.Exponentiation.Definition", "short_module": "LE" }, { "abbrev": true, "full_module": "FStar.Math.Euclid", "short_module": "Euclid" }, { "abbrev": true, "full_module": "FStar.Math.Fermat", "short_module": "Fermat" }, { "abbrev"...
false
let inv_mod (#m:pos{1 < m}) (a:nat_mod m) : nat_mod m = pow_mod #m a (m - 2)
val inv_mod (#m: pos{1 < m}) (a: nat_mod m) : nat_mod m let inv_mod (#m: pos{1 < m}) (a: nat_mod m) : nat_mod m =
false
null
false
pow_mod #m a (m - 2)
{ "checked_file": "Lib.NatMod.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Exponentiation.Definition.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Math.Fermat.fsti.checked", "FStar.Math.Euclid.fsti.checked" ...
[ "total" ]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "Lib.NatMod.nat_mod", "Lib.NatMod.pow_mod", "Prims.op_Subtraction" ]
[]
module Lib.NatMod open FStar.Mul module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module LE = Lib.Exponentiation.Definition #set-options "--z3rlimit 10 --fuel 0 --ifuel 0" let mk_nat_comm_monoid : LE.comm_monoid int = { LE.one = 1; LE.mul = FStar.Mul.op_Star; LE.lemma_one = Math.Lemmas.mul...
false
false
Lib.NatMod.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val inv_mod (#m: pos{1 < m}) (a: nat_mod m) : nat_mod m
[]
Lib.NatMod.inv_mod
{ "file_name": "lib/Lib.NatMod.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Lib.NatMod.nat_mod m -> Lib.NatMod.nat_mod m
{ "end_col": 76, "end_line": 114, "start_col": 56, "start_line": 114 }
Prims.Tot
val opaque_make (#a:Type) (x:a) : a
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", ...
false
let opaque_make #a x = x
val opaque_make (#a:Type) (x:a) : a let opaque_make #a x =
false
null
false
x
{ "checked_file": "Vale.Def.Opaque_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Def.Opaque_s.fst" }
[ "total" ]
[]
[]
module Vale.Def.Opaque_s open FStar.Mul
false
false
Vale.Def.Opaque_s.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 opaque_make (#a:Type) (x:a) : a
[]
Vale.Def.Opaque_s.opaque_make
{ "file_name": "vale/specs/defs/Vale.Def.Opaque_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: a -> a
{ "end_col": 24, "end_line": 4, "start_col": 23, "start_line": 4 }
FStar.Pervasives.Lemma
val opaque_reveal (#a:Type) (s:string) (x1 x2:a) : Lemma (requires norm [delta_only [s]] (x1 == opaque_make x2)) (ensures x1 == x2)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", ...
false
let opaque_reveal #a s x1 x2 = norm_spec [delta_only [s]] (x1 == opaque_make x2)
val opaque_reveal (#a:Type) (s:string) (x1 x2:a) : Lemma (requires norm [delta_only [s]] (x1 == opaque_make x2)) (ensures x1 == x2) let opaque_reveal #a s x1 x2 =
false
null
true
norm_spec [delta_only [s]] (x1 == opaque_make x2)
{ "checked_file": "Vale.Def.Opaque_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Def.Opaque_s.fst" }
[ "lemma" ]
[ "Prims.string", "FStar.Pervasives.norm_spec", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta_only", "Prims.Nil", "Prims.logical", "Prims.eq2", "Vale.Def.Opaque_s.opaque_make", "Prims.unit" ]
[]
module Vale.Def.Opaque_s open FStar.Mul let opaque_make #a x = x
false
false
Vale.Def.Opaque_s.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 opaque_reveal (#a:Type) (s:string) (x1 x2:a) : Lemma (requires norm [delta_only [s]] (x1 == opaque_make x2)) (ensures x1 == x2)
[]
Vale.Def.Opaque_s.opaque_reveal
{ "file_name": "vale/specs/defs/Vale.Def.Opaque_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Prims.string -> x1: a -> x2: a -> FStar.Pervasives.Lemma (requires FStar.Pervasives.norm [FStar.Pervasives.delta_only [s]] (x1 == Vale.Def.Opaque_s.opaque_make x2)) (ensures x1 == x2)
{ "end_col": 51, "end_line": 7, "start_col": 2, "start_line": 7 }
Prims.Pure
val opaque_revealer (#a:Type) (s:string) (x1 x2:a) : Pure (unit -> Lemma (x1 == x2)) (requires norm [delta_only [s]] (x1 == opaque_make x2)) (ensures fun _ -> True)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", ...
false
let opaque_revealer #a s x1 x2 = fun () -> opaque_reveal s x1 x2
val opaque_revealer (#a:Type) (s:string) (x1 x2:a) : Pure (unit -> Lemma (x1 == x2)) (requires norm [delta_only [s]] (x1 == opaque_make x2)) (ensures fun _ -> True) let opaque_revealer #a s x1 x2 =
false
null
true
fun () -> opaque_reveal s x1 x2
{ "checked_file": "Vale.Def.Opaque_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Def.Opaque_s.fst" }
[]
[ "Prims.string", "Prims.unit", "Vale.Def.Opaque_s.opaque_reveal" ]
[]
module Vale.Def.Opaque_s open FStar.Mul let opaque_make #a x = x let opaque_reveal #a s x1 x2 = norm_spec [delta_only [s]] (x1 == opaque_make x2) let opaque_assert #a s x1 x2 p = norm_spec [delta_only [s]] (x1 == opaque_make x2)
false
false
Vale.Def.Opaque_s.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 opaque_revealer (#a:Type) (s:string) (x1 x2:a) : Pure (unit -> Lemma (x1 == x2)) (requires norm [delta_only [s]] (x1 == opaque_make x2)) (ensures fun _ -> True)
[]
Vale.Def.Opaque_s.opaque_revealer
{ "file_name": "vale/specs/defs/Vale.Def.Opaque_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Prims.string -> x1: a -> x2: a -> Prims.Pure (_: Prims.unit -> FStar.Pervasives.Lemma (ensures x1 == x2))
{ "end_col": 33, "end_line": 13, "start_col": 2, "start_line": 13 }
FStar.Pervasives.Lemma
val opaque_assert (#a:Type) (s:string) (x1 x2:a) (p:Type0) : Lemma (requires norm [delta_only [s]] (x1 == opaque_make x2) /\ (x1 == x2 ==> p)) (ensures p)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def", ...
false
let opaque_assert #a s x1 x2 p = norm_spec [delta_only [s]] (x1 == opaque_make x2)
val opaque_assert (#a:Type) (s:string) (x1 x2:a) (p:Type0) : Lemma (requires norm [delta_only [s]] (x1 == opaque_make x2) /\ (x1 == x2 ==> p)) (ensures p) let opaque_assert #a s x1 x2 p =
false
null
true
norm_spec [delta_only [s]] (x1 == opaque_make x2)
{ "checked_file": "Vale.Def.Opaque_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Def.Opaque_s.fst" }
[ "lemma" ]
[ "Prims.string", "FStar.Pervasives.norm_spec", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta_only", "Prims.Nil", "Prims.logical", "Prims.eq2", "Vale.Def.Opaque_s.opaque_make", "Prims.unit" ]
[]
module Vale.Def.Opaque_s open FStar.Mul let opaque_make #a x = x let opaque_reveal #a s x1 x2 = norm_spec [delta_only [s]] (x1 == opaque_make x2)
false
false
Vale.Def.Opaque_s.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 opaque_assert (#a:Type) (s:string) (x1 x2:a) (p:Type0) : Lemma (requires norm [delta_only [s]] (x1 == opaque_make x2) /\ (x1 == x2 ==> p)) (ensures p)
[]
Vale.Def.Opaque_s.opaque_assert
{ "file_name": "vale/specs/defs/Vale.Def.Opaque_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Prims.string -> x1: a -> x2: a -> p: Type0 -> FStar.Pervasives.Lemma (requires FStar.Pervasives.norm [FStar.Pervasives.delta_only [s]] (x1 == Vale.Def.Opaque_s.opaque_make x2) /\ (x1 == x2 ==> p)) (ensures p)
{ "end_col": 51, "end_line": 10, "start_col": 2, "start_line": 10 }
FStar.Tactics.Effect.Tac
val join_smt_goals: Prims.unit -> Tac unit
[ { "abbrev": true, "full_module": "Pulse.Recursion", "short_module": "Rec" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, "full_...
false
let join_smt_goals () : Tac unit = let open FStar.Tactics.V2 in let open FStar.List.Tot in if RU.debug_at_level (top_env ()) "pulse.join" then dump "PULSE: Goals before join"; (* Join *) let smt_goals = smt_goals () in set_goals (goals () @ smt_goals); set_smt_goals []; let n = List.Tot.length (go...
val join_smt_goals: Prims.unit -> Tac unit let join_smt_goals () : Tac unit =
true
null
false
let open FStar.Tactics.V2 in let open FStar.List.Tot in if RU.debug_at_level (top_env ()) "pulse.join" then dump "PULSE: Goals before join"; let smt_goals = smt_goals () in set_goals (goals () @ smt_goals); set_smt_goals []; let n = List.Tot.length (goals ()) in ignore (repeat join); if not (Nil? (goals ())) then (le...
{ "checked_file": "Pulse.Main.fst.checked", "dependencies": [ "Pulse.Typing.Printer.fst.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Builder.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Soundness.Common.fst.checked", "Pulse.Soundness.fst.ch...
[]
[ "Prims.unit", "FStar.Tactics.V2.Builtins.dump", "Prims.bool", "Pulse.RuntimeUtils.debug_at_level", "FStar.Reflection.Types.env", "FStar.Tactics.V2.Builtins.top_env", "FStar.Tactics.SMT.set_rlimit", "Prims.int", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.op_Subtraction", "FStar.Tactics.SM...
[]
module Pulse.Main module T = FStar.Tactics.V2 module R = FStar.Reflection.V2 module RT = FStar.Reflection.Typing open FStar.Tactics.V2 open Pulse.Syntax open Pulse.Typing open Pulse.Checker open Pulse.Elaborate open Pulse.Soundness module Cfg = Pulse.Config module RU = Pulse.RuntimeUtils module P = Pulse.Syntax.Print...
false
false
Pulse.Main.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 join_smt_goals: Prims.unit -> Tac unit
[]
Pulse.Main.join_smt_goals
{ "file_name": "lib/steel/pulse/Pulse.Main.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 4, "end_line": 136, "start_col": 2, "start_line": 111 }
Prims.Tot
val check_pulse (namespaces:list string) (module_abbrevs:list (string & string)) (content:string) (file_name:string) (line col:int) (nm:string) : RT.dsl_tac_t
[ { "abbrev": true, "full_module": "Pulse.Recursion", "short_module": "Rec" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, "full_...
false
let check_pulse (namespaces:list string) (module_abbrevs:list (string & string)) (content:string) (file_name:string) (line col:int) (nm:string) : RT.dsl_tac_t = fun env -> match Pulse.ASTBuilder.parse_pulse env namespaces module_a...
val check_pulse (namespaces:list string) (module_abbrevs:list (string & string)) (content:string) (file_name:string) (line col:int) (nm:string) : RT.dsl_tac_t let check_pulse (namespaces: list string) (module_abbrevs: list (st...
false
null
false
fun env -> match Pulse.ASTBuilder.parse_pulse env namespaces module_abbrevs content file_name line col with | Inl decl -> main nm decl tm_emp env | Inr None -> T.fail "Pulse parser failed" | Inr (Some (msg, range)) -> let i = Issue.mk_issue "Error" (Printf.sprintf "%s: %s" (T.range_to_string r...
{ "checked_file": "Pulse.Main.fst.checked", "dependencies": [ "Pulse.Typing.Printer.fst.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Builder.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Soundness.Common.fst.checked", "Pulse.Soundness.fst.ch...
[ "total" ]
[ "Prims.list", "Prims.string", "FStar.Pervasives.Native.tuple2", "Prims.int", "FStar.Reflection.Typing.fstar_top_env", "Pulse.Syntax.Base.decl", "Pulse.Main.main", "Pulse.Syntax.Base.tm_emp", "FStar.Reflection.Typing.dsl_tac_result_t", "FStar.Tactics.V2.Derived.fail", "FStar.Range.range", "Prim...
[]
module Pulse.Main module T = FStar.Tactics.V2 module R = FStar.Reflection.V2 module RT = FStar.Reflection.Typing open FStar.Tactics.V2 open Pulse.Syntax open Pulse.Typing open Pulse.Checker open Pulse.Elaborate open Pulse.Soundness module Cfg = Pulse.Config module RU = Pulse.RuntimeUtils module P = Pulse.Syntax.Print...
false
true
Pulse.Main.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 check_pulse (namespaces:list string) (module_abbrevs:list (string & string)) (content:string) (file_name:string) (line col:int) (nm:string) : RT.dsl_tac_t
[]
Pulse.Main.check_pulse
{ "file_name": "lib/steel/pulse/Pulse.Main.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
namespaces: Prims.list Prims.string -> module_abbrevs: Prims.list (Prims.string * Prims.string) -> content: Prims.string -> file_name: Prims.string -> line: Prims.int -> col: Prims.int -> nm: Prims.string -> FStar.Reflection.Typing.dsl_tac_t
{ "end_col": 36, "end_line": 182, "start_col": 4, "start_line": 165 }
FStar.Tactics.Effect.Tac
val main' (nm: string) (d: decl) (pre: term) (g: RT.fstar_top_env) : T.Tac (RT.dsl_tac_result_t g)
[ { "abbrev": true, "full_module": "Pulse.Recursion", "short_module": "Rec" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, "full_...
false
let main' (nm:string) (d:decl) (pre:term) (g:RT.fstar_top_env) : T.Tac (RT.dsl_tac_result_t g) = match Pulse.Soundness.Common.check_top_level_environment g with | None -> T.fail "pulse main: top-level environment does not include stt at the expected types" | Some g -> if RU.debug_at_level (fstar_env g...
val main' (nm: string) (d: decl) (pre: term) (g: RT.fstar_top_env) : T.Tac (RT.dsl_tac_result_t g) let main' (nm: string) (d: decl) (pre: term) (g: RT.fstar_top_env) : T.Tac (RT.dsl_tac_result_t g) =
true
null
false
match Pulse.Soundness.Common.check_top_level_environment g with | None -> T.fail "pulse main: top-level environment does not include stt at the expected types" | Some g -> if RU.debug_at_level (fstar_env g) "Pulse" then T.print (Printf.sprintf "About to check pulse decl:\n%s\n" (P.decl_to_string d)); let (| pre ,...
{ "checked_file": "Pulse.Main.fst.checked", "dependencies": [ "Pulse.Typing.Printer.fst.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Builder.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Soundness.Common.fst.checked", "Pulse.Soundness.fst.ch...
[]
[ "Prims.string", "Pulse.Syntax.Base.decl", "Pulse.Syntax.Base.term", "FStar.Reflection.Typing.fstar_top_env", "Pulse.Soundness.Common.check_top_level_environment", "FStar.Tactics.V2.Derived.fail", "FStar.Reflection.Typing.dsl_tac_result_t", "Pulse.Soundness.Common.stt_env", "Pulse.Syntax.Base.typ", ...
[]
module Pulse.Main module T = FStar.Tactics.V2 module R = FStar.Reflection.V2 module RT = FStar.Reflection.Typing open FStar.Tactics.V2 open Pulse.Syntax open Pulse.Typing open Pulse.Checker open Pulse.Elaborate open Pulse.Soundness module Cfg = Pulse.Config module RU = Pulse.RuntimeUtils module P = Pulse.Syntax.Print...
false
false
Pulse.Main.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 main' (nm: string) (d: decl) (pre: term) (g: RT.fstar_top_env) : T.Tac (RT.dsl_tac_result_t g)
[]
Pulse.Main.main'
{ "file_name": "lib/steel/pulse/Pulse.Main.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
nm: Prims.string -> d: Pulse.Syntax.Base.decl -> pre: Pulse.Syntax.Base.term -> g: FStar.Reflection.Typing.fstar_top_env -> FStar.Tactics.Effect.Tac (FStar.Reflection.Typing.dsl_tac_result_t g)
{ "end_col": 39, "end_line": 108, "start_col": 4, "start_line": 97 }
FStar.Tactics.Effect.TacH
val mk_abs (g: env) (qbs: list (option qualifier & binder & bv)) (body: st_term) (comp: comp) : TacH st_term (fun _ -> not (Nil? qbs)) (fun _ r -> match r with | FStar.Tactics.Result.Success v _ -> Tm_Abs? v.term | _ -> False)
[ { "abbrev": true, "full_module": "Pulse.Recursion", "short_module": "Rec" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, "full_...
false
let rec mk_abs (g:env) (qbs:list (option qualifier & binder & bv)) (body:st_term) (comp:comp) : TacH st_term (fun _ -> not (Nil? qbs)) (fun _ r -> match r with FStar.Tactics.Result.Success v _ -> Tm_Abs? v.term | _ -> False) = let with_range (s:st_term') (r:range) : st_term = { term = s; range = r;...
val mk_abs (g: env) (qbs: list (option qualifier & binder & bv)) (body: st_term) (comp: comp) : TacH st_term (fun _ -> not (Nil? qbs)) (fun _ r -> match r with | FStar.Tactics.Result.Success v _ -> Tm_Abs? v.term | _ -> False) let rec mk_abs (g: env) (qbs: list (option qual...
true
null
false
let with_range (s: st_term') (r: range) : st_term = { term = s; range = r; effect_tag = default_effect_hint } in match qbs with | [q, last, last_bv] -> let body = close_st_term body last_bv.bv_index in let comp = close_comp comp last_bv.bv_index in with_range (Pulse.Syntax.Builder.tm_abs last q comp body) body....
{ "checked_file": "Pulse.Main.fst.checked", "dependencies": [ "Pulse.Typing.Printer.fst.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Builder.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Soundness.Common.fst.checked", "Pulse.Soundness.fst.ch...
[]
[ "Pulse.Typing.Env.env", "Prims.list", "FStar.Pervasives.Native.tuple3", "FStar.Pervasives.Native.option", "Pulse.Syntax.Base.qualifier", "Pulse.Syntax.Base.binder", "Pulse.Syntax.Base.bv", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp", "Pulse.Syntax.Builder.tm_abs", "Pulse.Syntax.Base.__...
[]
module Pulse.Main module T = FStar.Tactics.V2 module R = FStar.Reflection.V2 module RT = FStar.Reflection.Typing open FStar.Tactics.V2 open Pulse.Syntax open Pulse.Typing open Pulse.Checker open Pulse.Elaborate open Pulse.Soundness module Cfg = Pulse.Config module RU = Pulse.RuntimeUtils module P = Pulse.Syntax.Print...
false
false
Pulse.Main.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 mk_abs (g: env) (qbs: list (option qualifier & binder & bv)) (body: st_term) (comp: comp) : TacH st_term (fun _ -> not (Nil? qbs)) (fun _ r -> match r with | FStar.Tactics.Result.Success v _ -> Tm_Abs? v.term | _ -> False)
[ "recursion" ]
Pulse.Main.mk_abs
{ "file_name": "lib/steel/pulse/Pulse.Main.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> qbs: Prims.list ((FStar.Pervasives.Native.option Pulse.Syntax.Base.qualifier * Pulse.Syntax.Base.binder) * Pulse.Syntax.Base.bv) -> body: Pulse.Syntax.Base.st_term -> comp: Pulse.Syntax.Base.comp -> FStar.Tactics.Effect.TacH Pulse.Syntax.Base.st_te...
{ "end_col": 69, "end_line": 39, "start_col": 1, "start_line": 26 }
FStar.Tactics.Effect.Tac
val check_fndecl (d: decl{FnDecl? d.d}) (g: Soundness.Common.stt_env{bindings g == []}) (pre: term) (pre_typing: tot_typing g pre tm_vprop) : T.Tac (RT.dsl_tac_result_t (fstar_env g))
[ { "abbrev": true, "full_module": "Pulse.Recursion", "short_module": "Rec" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, "full_...
false
let check_fndecl (d : decl{FnDecl? d.d}) (g : Soundness.Common.stt_env{bindings g == []}) (pre : term) (pre_typing : tot_typing g pre tm_vprop) : T.Tac (RT.dsl_tac_result_t (fstar_env g)) = (* Maybe add a recursive knot before starting *) let FnDecl fn_d = d.d in let nm_orig = fst (inspect_ident f...
val check_fndecl (d: decl{FnDecl? d.d}) (g: Soundness.Common.stt_env{bindings g == []}) (pre: term) (pre_typing: tot_typing g pre tm_vprop) : T.Tac (RT.dsl_tac_result_t (fstar_env g)) let check_fndecl (d: decl{FnDecl? d.d}) (g: Soundness.Common.stt_env{bindings g == []}) (p...
true
null
false
let FnDecl fn_d = d.d in let nm_orig = fst (inspect_ident fn_d.id) in let d = if fn_d.isrec then Recursion.add_knot g d.range d else d in let FnDecl { id = id ; isrec = isrec ; bs = bs ; comp = comp ; meas = meas ; body = body } = d.d in if Nil? bs then fail g (Some d.range) "main: FnDecl does not have binders"; let bo...
{ "checked_file": "Pulse.Main.fst.checked", "dependencies": [ "Pulse.Typing.Printer.fst.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Builder.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Soundness.Common.fst.checked", "Pulse.Soundness.fst.ch...
[]
[ "Pulse.Syntax.Base.decl", "Prims.b2t", "Pulse.Syntax.Base.uu___is_FnDecl", "Pulse.Syntax.Base.__proj__Mkdecl__item__d", "Pulse.Soundness.Common.stt_env", "Prims.eq2", "Prims.list", "Pulse.Typing.Env.binding", "Pulse.Typing.Env.bindings", "Prims.Nil", "Pulse.Syntax.Base.term", "Pulse.Typing.tot...
[]
module Pulse.Main module T = FStar.Tactics.V2 module R = FStar.Reflection.V2 module RT = FStar.Reflection.Typing open FStar.Tactics.V2 open Pulse.Syntax open Pulse.Typing open Pulse.Checker open Pulse.Elaborate open Pulse.Soundness module Cfg = Pulse.Config module RU = Pulse.RuntimeUtils module P = Pulse.Syntax.Print...
false
false
Pulse.Main.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 check_fndecl (d: decl{FnDecl? d.d}) (g: Soundness.Common.stt_env{bindings g == []}) (pre: term) (pre_typing: tot_typing g pre tm_vprop) : T.Tac (RT.dsl_tac_result_t (fstar_env g))
[]
Pulse.Main.check_fndecl
{ "file_name": "lib/steel/pulse/Pulse.Main.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
d: Pulse.Syntax.Base.decl{FnDecl? (Mkdecl?.d d)} -> g: Pulse.Soundness.Common.stt_env{Pulse.Typing.Env.bindings g == []} -> pre: Pulse.Syntax.Base.term -> pre_typing: Pulse.Typing.tot_typing g pre Pulse.Syntax.Base.tm_vprop -> FStar.Tactics.Effect.Tac (FStar.Reflection.Typing.dsl_tac_result_t (Pu...
{ "end_col": 30, "end_line": 93, "start_col": 1, "start_line": 46 }
Prims.Tot
val poly128_of_poly32s (a0 a1 a2 a3: poly) : poly
[ { "abbrev": false, "full_module": "Vale.Math.Poly2.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2.Bits_s", "short_module": null }, { "abbrev": false, ...
false
let poly128_of_poly32s (a0 a1 a2 a3:poly) : poly = a0 +. shift a1 32 +. shift a2 64 +. shift a3 96
val poly128_of_poly32s (a0 a1 a2 a3: poly) : poly let poly128_of_poly32s (a0 a1 a2 a3: poly) : poly =
false
null
false
a0 +. shift a1 32 +. shift a2 64 +. shift a3 96
{ "checked_file": "Vale.Math.Poly2.Bits.fsti.checked", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Lemmas.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Math.Poly2.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale....
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Vale.Math.Poly2.op_Plus_Dot", "Vale.Math.Poly2_s.shift" ]
[]
module Vale.Math.Poly2.Bits open FStar.Mul open Vale.Def.Words_s open Vale.Def.Types_s open FStar.UInt open FStar.Seq open Vale.Arch.Types open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2 open Vale.Math.Poly2.Lemmas val lemma_to_of_uint (n:pos) (u:uint_t n) : Lemma (ensures to_uint n (of_uint ...
false
true
Vale.Math.Poly2.Bits.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly128_of_poly32s (a0 a1 a2 a3: poly) : poly
[]
Vale.Math.Poly2.Bits.poly128_of_poly32s
{ "file_name": "vale/code/lib/math/Vale.Math.Poly2.Bits.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a0: Vale.Math.Poly2_s.poly -> a1: Vale.Math.Poly2_s.poly -> a2: Vale.Math.Poly2_s.poly -> a3: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
{ "end_col": 49, "end_line": 56, "start_col": 2, "start_line": 56 }
Prims.Tot
val poly128_of_nat32s (a0 a1 a2 a3: nat32) : poly
[ { "abbrev": false, "full_module": "Vale.Math.Poly2.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2.Bits_s", "short_module": null }, { "abbrev": false, ...
false
let poly128_of_nat32s (a0 a1 a2 a3:nat32) : poly = poly128_of_poly32s (of_nat32 a0) (of_nat32 a1) (of_nat32 a2) (of_nat32 a3)
val poly128_of_nat32s (a0 a1 a2 a3: nat32) : poly let poly128_of_nat32s (a0 a1 a2 a3: nat32) : poly =
false
null
false
poly128_of_poly32s (of_nat32 a0) (of_nat32 a1) (of_nat32 a2) (of_nat32 a3)
{ "checked_file": "Vale.Math.Poly2.Bits.fsti.checked", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Lemmas.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Math.Poly2.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale....
[ "total" ]
[ "Vale.Def.Types_s.nat32", "Vale.Math.Poly2.Bits.poly128_of_poly32s", "Vale.Math.Poly2.Bits.of_nat32", "Vale.Math.Poly2_s.poly" ]
[]
module Vale.Math.Poly2.Bits open FStar.Mul open Vale.Def.Words_s open Vale.Def.Types_s open FStar.UInt open FStar.Seq open Vale.Arch.Types open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2 open Vale.Math.Poly2.Lemmas val lemma_to_of_uint (n:pos) (u:uint_t n) : Lemma (ensures to_uint n (of_uint ...
false
true
Vale.Math.Poly2.Bits.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly128_of_nat32s (a0 a1 a2 a3: nat32) : poly
[]
Vale.Math.Poly2.Bits.poly128_of_nat32s
{ "file_name": "vale/code/lib/math/Vale.Math.Poly2.Bits.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a0: Vale.Def.Types_s.nat32 -> a1: Vale.Def.Types_s.nat32 -> a2: Vale.Def.Types_s.nat32 -> a3: Vale.Def.Types_s.nat32 -> Vale.Math.Poly2_s.poly
{ "end_col": 76, "end_line": 59, "start_col": 2, "start_line": 59 }
Prims.Tot
val of_uint_ (n: nat) (u: uint_t n) : poly
[ { "abbrev": false, "full_module": "Vale.Math.Poly2.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2.Bits_s", "short_module": null }, { "abbrev": false, ...
false
let of_uint_ (n:nat) (u:uint_t n) : poly = if n = 0 then zero else of_uint n u
val of_uint_ (n: nat) (u: uint_t n) : poly let of_uint_ (n: nat) (u: uint_t n) : poly =
false
null
false
if n = 0 then zero else of_uint n u
{ "checked_file": "Vale.Math.Poly2.Bits.fsti.checked", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Lemmas.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Math.Poly2.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale....
[ "total" ]
[ "Prims.nat", "FStar.UInt.uint_t", "Prims.op_Equality", "Prims.int", "Vale.Math.Poly2_s.zero", "Prims.bool", "Vale.Math.Poly2.Bits_s.of_uint", "Vale.Math.Poly2_s.poly" ]
[]
module Vale.Math.Poly2.Bits open FStar.Mul open Vale.Def.Words_s open Vale.Def.Types_s open FStar.UInt open FStar.Seq open Vale.Arch.Types open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2 open Vale.Math.Poly2.Lemmas val lemma_to_of_uint (n:pos) (u:uint_t n) : Lemma (ensures to_uint n (of_uint ...
false
false
Vale.Math.Poly2.Bits.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val of_uint_ (n: nat) (u: uint_t n) : poly
[]
Vale.Math.Poly2.Bits.of_uint_
{ "file_name": "vale/code/lib/math/Vale.Math.Poly2.Bits.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat -> u3: FStar.UInt.uint_t n -> Vale.Math.Poly2_s.poly
{ "end_col": 37, "end_line": 21, "start_col": 2, "start_line": 21 }
Prims.Tot
val poly_nat_eq_rec (len: nat) (p: poly) (c n: nat) : bool
[ { "abbrev": false, "full_module": "Vale.Math.Poly2.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2.Bits_s", "short_module": null }, { "abbrev": false, ...
false
let rec poly_nat_eq_rec (len:nat) (p:poly) (c:nat) (n:nat) : bool = if n = 0 then c = 0 else (c % 2 = (if p.[len - n] then 1 else 0)) && poly_nat_eq_rec len p (c / 2) (n - 1)
val poly_nat_eq_rec (len: nat) (p: poly) (c n: nat) : bool let rec poly_nat_eq_rec (len: nat) (p: poly) (c n: nat) : bool =
false
null
false
if n = 0 then c = 0 else (c % 2 = (if p.[ len - n ] then 1 else 0)) && poly_nat_eq_rec len p (c / 2) (n - 1)
{ "checked_file": "Vale.Math.Poly2.Bits.fsti.checked", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Lemmas.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Math.Poly2.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale....
[ "total" ]
[ "Prims.nat", "Vale.Math.Poly2_s.poly", "Prims.op_Equality", "Prims.int", "Prims.bool", "Prims.op_AmpAmp", "Prims.op_Modulus", "Vale.Math.Poly2_s.op_String_Access", "Prims.op_Subtraction", "Vale.Math.Poly2.Bits.poly_nat_eq_rec", "Prims.op_Division" ]
[]
module Vale.Math.Poly2.Bits open FStar.Mul open Vale.Def.Words_s open Vale.Def.Types_s open FStar.UInt open FStar.Seq open Vale.Arch.Types open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2 open Vale.Math.Poly2.Lemmas val lemma_to_of_uint (n:pos) (u:uint_t n) : Lemma (ensures to_uint n (of_uint ...
false
true
Vale.Math.Poly2.Bits.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly_nat_eq_rec (len: nat) (p: poly) (c n: nat) : bool
[ "recursion" ]
Vale.Math.Poly2.Bits.poly_nat_eq_rec
{ "file_name": "vale/code/lib/math/Vale.Math.Poly2.Bits.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Prims.nat -> p: Vale.Math.Poly2_s.poly -> c: Prims.nat -> n: Prims.nat -> Prims.bool
{ "end_col": 41, "end_line": 31, "start_col": 2, "start_line": 28 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let tset = TSet.set
let tset =
false
null
false
TSet.set
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "total" ]
[ "FStar.TSet.set" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val tset : a: Type -> Type
[]
FStar.Monotonic.Heap.tset
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> Type
{ "end_col": 19, "end_line": 24, "start_col": 11, "start_line": 24 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let set = Set.set
let set =
false
null
false
Set.set
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "total" ]
[ "FStar.Set.set" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val set : a: Prims.eqtype -> Type0
[]
FStar.Monotonic.Heap.set
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.eqtype -> Type0
{ "end_col": 18, "end_line": 23, "start_col": 11, "start_line": 23 }
Prims.Tot
val mref (a: Type0) (rel: preorder a) : Type0
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let mref (a:Type0) (rel:preorder a) : Type0 = core_mref a
val mref (a: Type0) (rel: preorder a) : Type0 let mref (a: Type0) (rel: preorder a) : Type0 =
false
null
false
core_mref a
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "total" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.core_mref" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mref (a: Type0) (rel: preorder a) : Type0
[]
FStar.Monotonic.Heap.mref
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type0 -> rel: FStar.Preorder.preorder a -> Type0
{ "end_col": 57, "end_line": 40, "start_col": 46, "start_line": 40 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let fresh (#a:Type) (#rel:preorder a) (r:mref a rel) (h0:heap) (h1:heap) = r `unused_in` h0 /\ h1 `contains` r
let fresh (#a: Type) (#rel: preorder a) (r: mref a rel) (h0 h1: heap) =
false
null
false
r `unused_in` h0 /\ h1 `contains` r
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "total" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "FStar.Monotonic.Heap.heap", "Prims.l_and", "FStar.Monotonic.Heap.unused_in", "FStar.Monotonic.Heap.contains", "Prims.logical" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val fresh : r: FStar.Monotonic.Heap.mref a rel -> h0: FStar.Monotonic.Heap.heap -> h1: FStar.Monotonic.Heap.heap -> Prims.logical
[]
FStar.Monotonic.Heap.fresh
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
r: FStar.Monotonic.Heap.mref a rel -> h0: FStar.Monotonic.Heap.heap -> h1: FStar.Monotonic.Heap.heap -> Prims.logical
{ "end_col": 37, "end_line": 58, "start_col": 2, "start_line": 58 }
Prims.GTot
val equal_dom (h1 h2: heap) : GTot Type0
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let equal_dom (h1:heap) (h2:heap) :GTot Type0 = (forall (a:Type0) (rel:preorder a) (r:mref a rel). {:pattern (h1 `contains` r) \/ (h2 `contains` r)} h1 `contains` r <==> h2 `contains` r) /\ (forall (a:Type0) (rel:preorder a) (r:mref a rel). {:pattern (r `unused_in` h1) \/ (r `unused_in` h2)} r `...
val equal_dom (h1 h2: heap) : GTot Type0 let equal_dom (h1 h2: heap) : GTot Type0 =
false
null
false
(forall (a: Type0) (rel: preorder a) (r: mref a rel). {:pattern (h1 `contains` r)\/(h2 `contains` r)} h1 `contains` r <==> h2 `contains` r) /\ (forall (a: Type0) (rel: preorder a) (r: mref a rel). {:pattern (r `unused_in` h1)\/(r `unused_in` h2)} r `unused_in` h1 <==> r `unused_in` h2)
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "sometrivial" ]
[ "FStar.Monotonic.Heap.heap", "Prims.l_and", "Prims.l_Forall", "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "Prims.l_iff", "FStar.Monotonic.Heap.contains", "FStar.Monotonic.Heap.unused_in" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val equal_dom (h1 h2: heap) : GTot Type0
[]
FStar.Monotonic.Heap.equal_dom
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
h1: FStar.Monotonic.Heap.heap -> h2: FStar.Monotonic.Heap.heap -> Prims.GTot Type0
{ "end_col": 44, "end_line": 103, "start_col": 2, "start_line": 98 }
Prims.GTot
val only_t (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (tset nat)
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let only_t (#a:Type0) (#rel:preorder a) (x:mref a rel) :GTot (tset nat) = TS.singleton (addr_of x)
val only_t (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (tset nat) let only_t (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (tset nat) =
false
null
false
TS.singleton (addr_of x)
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "sometrivial" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "FStar.TSet.singleton", "Prims.nat", "FStar.Monotonic.Heap.addr_of", "FStar.Monotonic.Heap.tset" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val only_t (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (tset nat)
[]
FStar.Monotonic.Heap.only_t
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.Monotonic.Heap.mref a rel -> Prims.GTot (FStar.Monotonic.Heap.tset Prims.nat)
{ "end_col": 98, "end_line": 60, "start_col": 74, "start_line": 60 }
Prims.GTot
val compare_addrs (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot bool
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let compare_addrs (#a #b:Type0) (#rel1:preorder a) (#rel2:preorder b) (r1:mref a rel1) (r2:mref b rel2) :GTot bool = addr_of r1 = addr_of r2
val compare_addrs (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot bool let compare_addrs (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot bool =
false
null
false
addr_of r1 = addr_of r2
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "sometrivial" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "Prims.op_Equality", "Prims.pos", "FStar.Monotonic.Heap.addr_of", "Prims.bool" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val compare_addrs (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot bool
[]
FStar.Monotonic.Heap.compare_addrs
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
r1: FStar.Monotonic.Heap.mref a rel1 -> r2: FStar.Monotonic.Heap.mref b rel2 -> Prims.GTot Prims.bool
{ "end_col": 38, "end_line": 47, "start_col": 15, "start_line": 47 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let modifies_t (s:tset nat) (h0:heap) (h1:heap) = (forall (a:Type) (rel:preorder a) (r:mref a rel).{:pattern (sel h1 r)} ((~ (TS.mem (addr_of r) s)) /\ h0 `contains` r) ==> sel h1 r == sel h0 r) /\ (forall (a:Type) (rel:preorder a) (r:mref a rel).{:pattern (contains h1 r)} ...
let modifies_t (s: tset nat) (h0 h1: heap) =
false
null
false
(forall (a: Type) (rel: preorder a) (r: mref a rel). {:pattern (sel h1 r)} ((~(TS.mem (addr_of r) s)) /\ h0 `contains` r) ==> sel h1 r == sel h0 r) /\ (forall (a: Type) (rel: preorder a) (r: mref a rel). {:pattern (contains h1 r)} h0 `contains` r ==> h1 `contains` r) /\ (forall (a: Type) (rel: preorder a) (r: m...
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "total" ]
[ "FStar.Monotonic.Heap.tset", "Prims.nat", "FStar.Monotonic.Heap.heap", "Prims.l_and", "Prims.l_Forall", "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "Prims.l_imp", "Prims.l_not", "FStar.TSet.mem", "FStar.Monotonic.Heap.addr_of", "FStar.Monotonic.Heap.contains", "Prims.eq2", "FSt...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies_t : s: FStar.Monotonic.Heap.tset Prims.nat -> h0: FStar.Monotonic.Heap.heap -> h1: FStar.Monotonic.Heap.heap -> Prims.logical
[]
FStar.Monotonic.Heap.modifies_t
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
s: FStar.Monotonic.Heap.tset Prims.nat -> h0: FStar.Monotonic.Heap.heap -> h1: FStar.Monotonic.Heap.heap -> Prims.logical
{ "end_col": 3, "end_line": 92, "start_col": 2, "start_line": 84 }
Prims.GTot
val op_Hat_Plus_Hat (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot (set nat)
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let op_Hat_Plus_Hat (#a:Type0) (#b:Type0) (#rel1:preorder a) (#rel2:preorder b) (r1:mref a rel1) (r2:mref b rel2) :GTot (set nat) = S.union (only r1) (only r2)
val op_Hat_Plus_Hat (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot (set nat) let op_Hat_Plus_Hat (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot (set n...
false
null
false
S.union (only r1) (only r2)
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "sometrivial" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "FStar.Set.union", "Prims.nat", "FStar.Monotonic.Heap.only", "FStar.Monotonic.Heap.set" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Hat_Plus_Hat (#a #b: Type0) (#rel1: preorder a) (#rel2: preorder b) (r1: mref a rel1) (r2: mref b rel2) : GTot (set nat)
[]
FStar.Monotonic.Heap.op_Hat_Plus_Hat
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
r1: FStar.Monotonic.Heap.mref a rel1 -> r2: FStar.Monotonic.Heap.mref b rel2 -> Prims.GTot (FStar.Monotonic.Heap.set Prims.nat)
{ "end_col": 47, "end_line": 69, "start_col": 20, "start_line": 69 }
Prims.GTot
val only (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (set nat)
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let only (#a:Type0) (#rel:preorder a) (x:mref a rel) :GTot (set nat) = S.singleton (addr_of x)
val only (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (set nat) let only (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (set nat) =
false
null
false
S.singleton (addr_of x)
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "sometrivial" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "FStar.Set.singleton", "Prims.nat", "FStar.Monotonic.Heap.addr_of", "FStar.Monotonic.Heap.set" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val only (#a: Type0) (#rel: preorder a) (x: mref a rel) : GTot (set nat)
[]
FStar.Monotonic.Heap.only
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.Monotonic.Heap.mref a rel -> Prims.GTot (FStar.Monotonic.Heap.set Prims.nat)
{ "end_col": 94, "end_line": 62, "start_col": 71, "start_line": 62 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let modifies (s:set nat) (h0:heap) (h1:heap) = modifies_t (TS.tset_of_set s) h0 h1
let modifies (s: set nat) (h0 h1: heap) =
false
null
false
modifies_t (TS.tset_of_set s) h0 h1
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "total" ]
[ "FStar.Monotonic.Heap.set", "Prims.nat", "FStar.Monotonic.Heap.heap", "FStar.Monotonic.Heap.modifies_t", "FStar.TSet.tset_of_set", "Prims.logical" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies : s: FStar.Monotonic.Heap.set Prims.nat -> h0: FStar.Monotonic.Heap.heap -> h1: FStar.Monotonic.Heap.heap -> Prims.logical
[]
FStar.Monotonic.Heap.modifies
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
s: FStar.Monotonic.Heap.set Prims.nat -> h0: FStar.Monotonic.Heap.heap -> h1: FStar.Monotonic.Heap.heap -> Prims.logical
{ "end_col": 82, "end_line": 95, "start_col": 47, "start_line": 95 }
Prims.GTot
val op_Hat_Plus_Plus (#a: Type0) (#rel: preorder a) (r: mref a rel) (s: set nat) : GTot (set nat)
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let op_Hat_Plus_Plus (#a:Type0) (#rel:preorder a) (r:mref a rel) (s:set nat) :GTot (set nat) = S.union (only r) s
val op_Hat_Plus_Plus (#a: Type0) (#rel: preorder a) (r: mref a rel) (s: set nat) : GTot (set nat) let op_Hat_Plus_Plus (#a: Type0) (#rel: preorder a) (r: mref a rel) (s: set nat) : GTot (set nat) =
false
null
false
S.union (only r) s
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "sometrivial" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.mref", "FStar.Monotonic.Heap.set", "Prims.nat", "FStar.Set.union", "FStar.Monotonic.Heap.only" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Hat_Plus_Plus (#a: Type0) (#rel: preorder a) (r: mref a rel) (s: set nat) : GTot (set nat)
[]
FStar.Monotonic.Heap.op_Hat_Plus_Plus
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
r: FStar.Monotonic.Heap.mref a rel -> s: FStar.Monotonic.Heap.set Prims.nat -> Prims.GTot (FStar.Monotonic.Heap.set Prims.nat)
{ "end_col": 113, "end_line": 64, "start_col": 95, "start_line": 64 }
Prims.GTot
val op_Plus_Plus_Hat (#a: Type0) (#rel: preorder a) (s: set nat) (r: mref a rel) : GTot (set nat)
[ { "abbrev": false, "full_module": "FStar.Preorder", "short_module": null }, { "abbrev": true, "full_module": "FStar.TSet", "short_module": "TS" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mon...
false
let op_Plus_Plus_Hat (#a:Type0) (#rel:preorder a) (s:set nat) (r:mref a rel) :GTot (set nat) = S.union s (only r)
val op_Plus_Plus_Hat (#a: Type0) (#rel: preorder a) (s: set nat) (r: mref a rel) : GTot (set nat) let op_Plus_Plus_Hat (#a: Type0) (#rel: preorder a) (s: set nat) (r: mref a rel) : GTot (set nat) =
false
null
false
S.union s (only r)
{ "checked_file": "FStar.Monotonic.Heap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.TSet.fsti.checked", "FStar.Set.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Monotonic.Heap.fsti" }
[ "sometrivial" ]
[ "FStar.Preorder.preorder", "FStar.Monotonic.Heap.set", "Prims.nat", "FStar.Monotonic.Heap.mref", "FStar.Set.union", "FStar.Monotonic.Heap.only" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Monotonic.Heap.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Plus_Plus_Hat (#a: Type0) (#rel: preorder a) (s: set nat) (r: mref a rel) : GTot (set nat)
[]
FStar.Monotonic.Heap.op_Plus_Plus_Hat
{ "file_name": "ulib/FStar.Monotonic.Heap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
s: FStar.Monotonic.Heap.set Prims.nat -> r: FStar.Monotonic.Heap.mref a rel -> Prims.GTot (FStar.Monotonic.Heap.set Prims.nat)
{ "end_col": 113, "end_line": 66, "start_col": 95, "start_line": 66 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Incremental.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": fal...
false
let hash_is_hash_incremental (a: fixed_len_alg) (input: bytes { S.length input `less_than_max_input_length` a }) = hash_is_hash_incremental' a input ()
let hash_is_hash_incremental (a: fixed_len_alg) (input: bytes{(S.length input) `less_than_max_input_length` a}) =
false
null
false
hash_is_hash_incremental' a input ()
{ "checked_file": "Spec.Hash.Incremental.fsti.checked", "dependencies": [ "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.fst...
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "Lib.ByteSequence.bytes", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "FStar.Seq.Base.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Spec.Hash.Incremental.hash_is_hash_incremental'", "Prims.unit" ]
[]
module Spec.Hash.Incremental module S = FStar.Seq module Blake2 = Spec.Blake2 open Spec.Agile.Hash open Spec.Hash.Definitions open FStar.Mul open Lib.Sequence open Lib.ByteSequence open Lib.IntTypes module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti #set-options "--fuel 0 --ifuel 0 --z3rlimit ...
false
false
Spec.Hash.Incremental.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_is_hash_incremental : a: Spec.Hash.Definitions.fixed_len_alg -> input: Lib.ByteSequence.bytes {Spec.Hash.Definitions.less_than_max_input_length (FStar.Seq.Base.length input) a} -> Prims.unit
[]
Spec.Hash.Incremental.hash_is_hash_incremental
{ "file_name": "specs/lemmas/Spec.Hash.Incremental.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> input: Lib.ByteSequence.bytes {Spec.Hash.Definitions.less_than_max_input_length (FStar.Seq.Base.length input) a} -> Prims.unit
{ "end_col": 38, "end_line": 31, "start_col": 2, "start_line": 31 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Curve25519.Fields", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full...
false
let scalarmult_st (s:field_spec) (p: Type0) = o:lbuffer uint8 32ul -> k:lbuffer uint8 32ul -> i:lbuffer uint8 32ul -> Stack unit (requires fun h0 -> p /\ live h0 o /\ live h0 k /\ live h0 i /\ disjoint o i /\ disjoint o k) (ensures fun h0 _ h1 -> modifies (loc o) h0 h1 /\ as_s...
let scalarmult_st (s: field_spec) (p: Type0) =
false
null
false
o: lbuffer uint8 32ul -> k: lbuffer uint8 32ul -> i: lbuffer uint8 32ul -> Stack unit (requires fun h0 -> p /\ live h0 o /\ live h0 k /\ live h0 i /\ disjoint o i /\ disjoint o k) (ensures fun h0 _ h1 -> modifies (loc o) h0 h1 /\ as_seq h1 o == S.scalarmult (as_seq h0 k) (as_seq h0 i))
{ "checked_file": "Hacl.Impl.Curve25519.Generic.fsti.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Curve25519.Fields.fst.chec...
[ "total" ]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "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.eq...
[]
module Hacl.Impl.Curve25519.Generic open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields module S = Spec.Curve25519 inline_for_extraction noextract
false
true
Hacl.Impl.Curve25519.Generic.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val scalarmult_st : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
[]
Hacl.Impl.Curve25519.Generic.scalarmult_st
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Generic.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
{ "end_col": 62, "end_line": 23, "start_col": 4, "start_line": 14 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Curve25519.Fields", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full...
false
let secret_to_public_st (s: field_spec) (p: Type0) = o:lbuffer uint8 32ul -> i:lbuffer uint8 32ul -> Stack unit (requires fun h0 -> p /\ live h0 o /\ live h0 i /\ disjoint o i) (ensures fun h0 _ h1 -> modifies (loc o) h0 h1 /\ as_seq h1 o == S.secret_to_public (as_seq h0 i))
let secret_to_public_st (s: field_spec) (p: Type0) =
false
null
false
o: lbuffer uint8 32ul -> i: lbuffer uint8 32ul -> Stack unit (requires fun h0 -> p /\ live h0 o /\ live h0 i /\ disjoint o i) (ensures fun h0 _ h1 -> modifies (loc o) h0 h1 /\ as_seq h1 o == S.secret_to_public (as_seq h0 i))
{ "checked_file": "Hacl.Impl.Curve25519.Generic.fsti.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Curve25519.Fields.fst.chec...
[ "total" ]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "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.eq...
[]
module Hacl.Impl.Curve25519.Generic open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields module S = Spec.Curve25519 inline_for_extraction noextract let scalarmult_st (s:field_spec) (p: Type0) = o:lbuffer uint8 32ul -> k:lbuffer uint8 32ul -> i:lb...
false
true
Hacl.Impl.Curve25519.Generic.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secret_to_public_st : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
[]
Hacl.Impl.Curve25519.Generic.secret_to_public_st
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Generic.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
{ "end_col": 54, "end_line": 34, "start_col": 4, "start_line": 27 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.Curve25519.Fields", "short_module": null }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full...
false
let ecdh_st (s:field_spec) (p: Type0) = o:lbuffer uint8 32ul -> k:lbuffer uint8 32ul -> i:lbuffer uint8 32ul -> Stack bool (requires fun h0 -> p /\ live h0 o /\ live h0 k /\ live h0 i /\ disjoint o i /\ disjoint o k) (ensures fun h0 r h1 -> modifies (loc o) h0 h1 /\ as_seq h1 ...
let ecdh_st (s: field_spec) (p: Type0) =
false
null
false
o: lbuffer uint8 32ul -> k: lbuffer uint8 32ul -> i: lbuffer uint8 32ul -> Stack bool (requires fun h0 -> p /\ live h0 o /\ live h0 k /\ live h0 i /\ disjoint o i /\ disjoint o k) (ensures fun h0 r h1 -> modifies (loc o) h0 h1 /\ as_seq h1 o == S.scalarmult (as_seq h0 k) (as_seq h0 i) /\...
{ "checked_file": "Hacl.Impl.Curve25519.Generic.fsti.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Curve25519.Fields.fst.chec...
[ "total" ]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Prims.bool", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Prims.eq...
[]
module Hacl.Impl.Curve25519.Generic open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields module S = Spec.Curve25519 inline_for_extraction noextract let scalarmult_st (s:field_spec) (p: Type0) = o:lbuffer uint8 32ul -> k:lbuffer uint8 32ul -> i:lb...
false
true
Hacl.Impl.Curve25519.Generic.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val ecdh_st : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
[]
Hacl.Impl.Curve25519.Generic.ecdh_st
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Generic.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
{ "end_col": 97, "end_line": 48, "start_col": 4, "start_line": 38 }
FStar.HyperStack.ST.Stack
val while: inv: (mem -> Type0) -> guard: (h:mem{inv h} -> GTot bool) -> test: (unit -> Stack bool (requires inv) (ensures fun h0 b h1 -> b == guard h0 /\ h0 == h1)) -> body: (unit -> Stack unit (requires fun h -> inv h /\ guard h) ...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module...
false
let while inv guard test body = let test: unit -> Stack bool (requires fun h -> inv h) //AR: C.Loops.while precondition is written in eta-expanded form (ensures fun _ b h -> inv h /\ b == guard h) = test in C.Loops.while #inv #(fun b h -> inv h /\ b == guard h) test body
val while: inv: (mem -> Type0) -> guard: (h:mem{inv h} -> GTot bool) -> test: (unit -> Stack bool (requires inv) (ensures fun h0 b h1 -> b == guard h0 /\ h0 == h1)) -> body: (unit -> Stack unit (requires fun h -> inv h /\ guard h) ...
true
null
false
let test: unit -> Stack bool (requires fun h -> inv h) (ensures fun _ b h -> inv h /\ b == guard h) = test in C.Loops.while #inv #(fun b h -> inv h /\ b == guard h) test body
{ "checked_file": "Lib.Loops.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[]
[ "FStar.Monotonic.HyperStack.mem", "Prims.bool", "Prims.unit", "Prims.l_and", "Prims.eq2", "Prims.b2t", "C.Loops.while" ]
[]
module Lib.Loops open Lib.IntTypes let for start finish inv f = C.Loops.for start finish (fun h i -> v start <= i /\ i <= v finish /\ inv h i) (fun i -> f i)
false
false
Lib.Loops.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 while: inv: (mem -> Type0) -> guard: (h:mem{inv h} -> GTot bool) -> test: (unit -> Stack bool (requires inv) (ensures fun h0 b h1 -> b == guard h0 /\ h0 == h1)) -> body: (unit -> Stack unit (requires fun h -> inv h /\ guard h) ...
[]
Lib.Loops.while
{ "file_name": "lib/Lib.Loops.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
inv: (_: FStar.Monotonic.HyperStack.mem -> Type0) -> guard: (h: FStar.Monotonic.HyperStack.mem{inv h} -> Prims.GTot Prims.bool) -> test: (_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.bool) -> body: (_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit) -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 66, "end_line": 18, "start_col": 31, "start_line": 12 }
FStar.HyperStack.ST.Stack
val for: start:size_t -> finish:size_t{v finish >= v start} -> inv:(mem -> (i:nat{v start <= i /\ i <= v finish}) -> Type0) -> f:(i:size_t{v start <= v i /\ v i < v finish} -> Stack unit (requires fun h -> inv h (v i)) (ensures fun h_1 _ h_2 -> inv h_2 (v i + 1))) -> Sta...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module...
false
let for start finish inv f = C.Loops.for start finish (fun h i -> v start <= i /\ i <= v finish /\ inv h i) (fun i -> f i)
val for: start:size_t -> finish:size_t{v finish >= v start} -> inv:(mem -> (i:nat{v start <= i /\ i <= v finish}) -> Type0) -> f:(i:size_t{v start <= v i /\ v i < v finish} -> Stack unit (requires fun h -> inv h (v i)) (ensures fun h_1 _ h_2 -> inv h_2 (v i + 1))) -> Sta...
true
null
false
C.Loops.for start finish (fun h i -> v start <= i /\ i <= v finish /\ inv h i) (fun i -> f i)
{ "checked_file": "Lib.Loops.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.Monotonic.HyperStack.mem", "Prims.nat", "Prims.l_and", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.unit", "Prims.op_Addition", "C.Loops.for", "F...
[]
module Lib.Loops open Lib.IntTypes
false
false
Lib.Loops.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 for: start:size_t -> finish:size_t{v finish >= v start} -> inv:(mem -> (i:nat{v start <= i /\ i <= v finish}) -> Type0) -> f:(i:size_t{v start <= v i /\ v i < v finish} -> Stack unit (requires fun h -> inv h (v i)) (ensures fun h_1 _ h_2 -> inv h_2 (v i + 1))) -> Sta...
[]
Lib.Loops.for
{ "file_name": "lib/Lib.Loops.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
start: Lib.IntTypes.size_t -> finish: Lib.IntTypes.size_t{Lib.IntTypes.v finish >= Lib.IntTypes.v start} -> inv: ( _: FStar.Monotonic.HyperStack.mem -> i: Prims.nat{Lib.IntTypes.v start <= i /\ i <= Lib.IntTypes.v finish} -> Type0) -> f: ( i: ...
{ "end_col": 18, "end_line": 10, "start_col": 2, "start_line": 6 }
FStar.HyperStack.ST.Stack
val square_while: unit -> Stack UInt32.t (fun _ -> true) (fun h0 x h1 -> x == 9ul)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module...
false
let square_while () = let open LowStar.Buffer in let open LowStar.BufferOps in let open FStar.UInt32 in push_frame(); let l = [ 1ul; 2ul; 3ul ] in let b = alloca_of_list l in let r = alloca 0ul 1ul in let h = HyperStack.ST.get() in assert (forall i. Seq.index (Seq.seq_of_list l) i == List.Tot.index l ...
val square_while: unit -> Stack UInt32.t (fun _ -> true) (fun h0 x h1 -> x == 9ul) let square_while () =
true
null
false
let open LowStar.Buffer in let open LowStar.BufferOps in let open FStar.UInt32 in push_frame (); let l = [1ul; 2ul; 3ul] in let b = alloca_of_list l in let r = alloca 0ul 1ul in let h = HyperStack.ST.get () in assert (forall i. Seq.index (Seq.seq_of_list l) i == List.Tot.index l i); let h0 = HyperStack.ST.get () in let...
{ "checked_file": "Lib.Loops.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[]
[ "Prims.unit", "FStar.UInt32.t", "FStar.HyperStack.ST.pop_frame", "LowStar.BufferOps.op_Array_Access", "LowStar.Buffer.trivial_preorder", "FStar.UInt32.__uint_to_t", "Lib.Loops.while", "FStar.UInt32.op_Less_Hat", "Prims.bool", "LowStar.BufferOps.op_Bang_Star", "LowStar.BufferOps.op_Array_Assignme...
[]
module Lib.Loops open Lib.IntTypes let for start finish inv f = C.Loops.for start finish (fun h i -> v start <= i /\ i <= v finish /\ inv h i) (fun i -> f i) let while inv guard test body = let test: unit -> Stack bool (requires fun h -> inv h) //AR: C.Loops.while precondition is written in ...
false
false
Lib.Loops.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 3, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val square_while: unit -> Stack UInt32.t (fun _ -> true) (fun h0 x h1 -> x == 9ul)
[]
Lib.Loops.square_while
{ "file_name": "lib/Lib.Loops.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt32.t
{ "end_col": 3, "end_line": 48, "start_col": 2, "start_line": 26 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.Stubs.Pprint", "short_module": "Pprint" }, { "abbrev": false, "full_module": "FStar.Range", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FS...
false
let issue_level_string = s:string { s == "Info" \/ s == "Warning" \/ s == "Error" \/ s == "Feature not yet implemented: " }
let issue_level_string =
false
null
false
s: string{s == "Info" \/ s == "Warning" \/ s == "Error" \/ s == "Feature not yet implemented: "}
{ "checked_file": "FStar.Issue.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Stubs.Pprint.fsti.checked", "FStar.Range.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Issue.fsti" }
[ "total" ]
[ "Prims.string", "Prims.l_or", "Prims.eq2" ]
[]
module FStar.Issue open FStar.Range module Pprint = FStar.Stubs.Pprint new val issue : Type0
false
true
FStar.Issue.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val issue_level_string : Type0
[]
FStar.Issue.issue_level_string
{ "file_name": "ulib/FStar.Issue.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Type0
{ "end_col": 1, "end_line": 14, "start_col": 25, "start_line": 9 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.Stubs.Pprint", "short_module": "Pprint" }, { "abbrev": false, "full_module": "FStar.Range", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FS...
false
let mk_issue (i:issue_level_string) (msg:string) (range:option range) (number:option int) (ctx:list string) = mk_issue_doc i [Pprint.arbitrary_string msg] range number ctx
let mk_issue (i: issue_level_string) (msg: string) (range: option range) (number: option int) (ctx: list string) =
false
null
false
mk_issue_doc i [Pprint.arbitrary_string msg] range number ctx
{ "checked_file": "FStar.Issue.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Stubs.Pprint.fsti.checked", "FStar.Range.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Issue.fsti" }
[ "total" ]
[ "FStar.Issue.issue_level_string", "Prims.string", "FStar.Pervasives.Native.option", "FStar.Range.range", "Prims.int", "Prims.list", "FStar.Issue.mk_issue_doc", "Prims.Cons", "FStar.Stubs.Pprint.document", "FStar.Stubs.Pprint.arbitrary_string", "Prims.Nil", "FStar.Issue.issue" ]
[]
module FStar.Issue open FStar.Range module Pprint = FStar.Stubs.Pprint new val issue : Type0 let issue_level_string = s:string { s == "Info" \/ s == "Warning" \/ s == "Error" \/ s == "Feature not yet implemented: " } val message_of_issue (i:issue) : Tot (list Pprint.document) val level_of_issue (i:issue) :...
false
true
FStar.Issue.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_issue : i: FStar.Issue.issue_level_string -> msg: Prims.string -> range: FStar.Pervasives.Native.option FStar.Range.range -> number: FStar.Pervasives.Native.option Prims.int -> ctx: Prims.list Prims.string -> FStar.Issue.issue
[]
FStar.Issue.mk_issue
{ "file_name": "ulib/FStar.Issue.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
i: FStar.Issue.issue_level_string -> msg: Prims.string -> range: FStar.Pervasives.Native.option FStar.Range.range -> number: FStar.Pervasives.Native.option Prims.int -> ctx: Prims.list Prims.string -> FStar.Issue.issue
{ "end_col": 65, "end_line": 49, "start_col": 4, "start_line": 49 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let felem = SD.lbignum U64 4
let felem =
false
null
false
SD.lbignum U64 4
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.U64" ]
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
true
Hacl.Spec.Curve25519.Field64.Core.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 felem : Type0
[]
Hacl.Spec.Curve25519.Field64.Core.felem
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 28, "end_line": 19, "start_col": 12, "start_line": 19 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let felem_wide = SD.lbignum U64 8
let felem_wide =
false
null
false
SD.lbignum U64 8
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.U64" ]
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
true
Hacl.Spec.Curve25519.Field64.Core.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 felem_wide : Type0
[]
Hacl.Spec.Curve25519.Field64.Core.felem_wide
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 33, "end_line": 21, "start_col": 17, "start_line": 21 }
Prims.Tot
val carry_pass: f:felem -> cin:uint64 -> felem
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let carry_pass f cin = let c, r = add1 f (cin *. u64 38) in let b1 = r.[0] +. c *. u64 38 in let out = r.[0] <- b1 in out
val carry_pass: f:felem -> cin:uint64 -> felem let carry_pass f cin =
false
null
false
let c, r = add1 f (cin *. u64 38) in let b1 = r.[ 0 ] +. c *. u64 38 in let out = r.[ 0 ] <- b1 in out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[ "total" ]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Lib.Sequence.lseq", "Hacl.Spec.Bignum.Definitions.limb", "Lib.IntTypes.U64", "Prims.l_and", "Prims.eq2", "FStar.Seq.Base.seq", "Lib.Sequence.to_seq", "FStar.Seq.Base.upd", "Lib.Sequence.index", "Prims.l_Forall", "Prims.nat", ...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
true
Hacl.Spec.Curve25519.Field64.Core.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 carry_pass: f:felem -> cin:uint64 -> felem
[]
Hacl.Spec.Curve25519.Field64.Core.carry_pass
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> cin: Lib.IntTypes.uint64 -> Hacl.Spec.Curve25519.Field64.Core.felem
{ "end_col": 5, "end_line": 82, "start_col": 22, "start_line": 78 }
Prims.Pure
val add1: f:felem -> cin:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r + v c * pow2 256 == SD.bn_v f + v cin)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let add1 f cin = let (c, out) = SB.bn_add1 f cin in SB.bn_add1_lemma f cin; (c, out)
val add1: f:felem -> cin:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r + v c * pow2 256 == SD.bn_v f + v cin) let add1 f cin =
false
null
false
let c, out = SB.bn_add1 f cin in SB.bn_add1_lemma f cin; (c, out)
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Hacl.Spec.Bignum.Base.carry", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "Hacl.Spec.Bignum.bn_add1_lemma", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.Bignum.bn_ad...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 add1: f:felem -> cin:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r + v c * pow2 256 == SD.bn_v f + v cin)
[]
Hacl.Spec.Curve25519.Field64.Core.add1
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> cin: Lib.IntTypes.uint64 -> Prims.Pure (Lib.IntTypes.uint64 * Hacl.Spec.Curve25519.Field64.Core.felem)
{ "end_col": 10, "end_line": 38, "start_col": 16, "start_line": 35 }
Prims.Pure
val sub4: f1:felem -> f2:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r - v c * pow2 256 == SD.bn_v f1 - SD.bn_v f2)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let sub4 f1 f2 = let c, out = SB.bn_sub f1 f2 in SB.bn_sub_lemma f1 f2; c, out
val sub4: f1:felem -> f2:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r - v c * pow2 256 == SD.bn_v f1 - SD.bn_v f2) let sub4 f1 f2 =
false
null
false
let c, out = SB.bn_sub f1 f2 in SB.bn_sub_lemma f1 f2; c, out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Hacl.Spec.Bignum.Base.carry", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "FStar.Pervasives.Native.Mktuple2", "Lib.IntTypes.uint64", "Prims.unit", "Hacl.Spec.Bignum.bn_sub_lemma", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.Bignum.bn_sub...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 sub4: f1:felem -> f2:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r - v c * pow2 256 == SD.bn_v f1 - SD.bn_v f2)
[]
Hacl.Spec.Curve25519.Field64.Core.sub4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f1: Hacl.Spec.Curve25519.Field64.Core.felem -> f2: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure (Lib.IntTypes.uint64 * Hacl.Spec.Curve25519.Field64.Core.felem)
{ "end_col": 8, "end_line": 200, "start_col": 16, "start_line": 197 }
Prims.Pure
val mul1_add: f1:felem -> u2:uint64 -> f3:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> SD.bn_v r + v c * pow2 256 == SD.bn_v f3 + SD.bn_v f1 * v u2)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let mul1_add f1 u2 f3 = let c, out = SB.bn_mul1_lshift_add f1 u2 0 f3 in SB.bn_mul1_lshift_add_lemma f1 u2 0 f3; c, out
val mul1_add: f1:felem -> u2:uint64 -> f3:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> SD.bn_v r + v c * pow2 256 == SD.bn_v f3 + SD.bn_v f1 * v u2) let mul1_add f1 u2 f3 =
false
null
false
let c, out = SB.bn_mul1_lshift_add f1 u2 0 f3 in SB.bn_mul1_lshift_add_lemma f1 u2 0 f3; c, out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Hacl.Spec.Bignum.Definitions.limb", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "Hacl.Spec.Bignum.bn_mul1_lshift_add_lemma", "FStar.Pervasives.Native.tuple2", "Hacl....
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 mul1_add: f1:felem -> u2:uint64 -> f3:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> SD.bn_v r + v c * pow2 256 == SD.bn_v f3 + SD.bn_v f1 * v u2)
[]
Hacl.Spec.Curve25519.Field64.Core.mul1_add
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f1: Hacl.Spec.Curve25519.Field64.Core.felem -> u2: Lib.IntTypes.uint64 -> f3: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure (Lib.IntTypes.uint64 * Hacl.Spec.Curve25519.Field64.Core.felem)
{ "end_col": 8, "end_line": 74, "start_col": 23, "start_line": 71 }
Prims.Pure
val mul4: f:felem -> r:felem -> Pure felem_wide (requires True) (ensures fun out -> SD.bn_v out == SD.bn_v f * SD.bn_v r)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let mul4 f r = let out = SB.bn_mul f r in SB.bn_mul_lemma f r; out
val mul4: f:felem -> r:felem -> Pure felem_wide (requires True) (ensures fun out -> SD.bn_v out == SD.bn_v f * SD.bn_v r) let mul4 f r =
false
null
false
let out = SB.bn_mul f r in SB.bn_mul_lemma f r; out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Prims.unit", "Hacl.Spec.Bignum.bn_mul_lemma", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.op_Addition", "Hacl.Spec.Bignum.bn_mul", "Hacl.Spec.Curve25519.Field64.Core.felem_wide" ]
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 mul4: f:felem -> r:felem -> Pure felem_wide (requires True) (ensures fun out -> SD.bn_v out == SD.bn_v f * SD.bn_v r)
[]
Hacl.Spec.Curve25519.Field64.Core.mul4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> r: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem_wide
{ "end_col": 5, "end_line": 261, "start_col": 14, "start_line": 258 }
Prims.Pure
val mul1: f:felem -> u:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> SD.bn_v r + v c * pow2 256 == SD.bn_v f * v u)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let mul1 f u = let c, out = SB.bn_mul1 f u in SB.bn_mul1_lemma f u; c, out
val mul1: f:felem -> u:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> SD.bn_v r + v c * pow2 256 == SD.bn_v f * v u) let mul1 f u =
false
null
false
let c, out = SB.bn_mul1 f u in SB.bn_mul1_lemma f u; c, out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Hacl.Spec.Bignum.Definitions.limb", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "Hacl.Spec.Bignum.bn_mul1_lemma", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.Bignum...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 mul1: f:felem -> u:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> SD.bn_v r + v c * pow2 256 == SD.bn_v f * v u)
[]
Hacl.Spec.Curve25519.Field64.Core.mul1
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> u7: Lib.IntTypes.uint64 -> Prims.Pure (Lib.IntTypes.uint64 * Hacl.Spec.Curve25519.Field64.Core.felem)
{ "end_col": 8, "end_line": 62, "start_col": 14, "start_line": 59 }
Prims.Pure
val sub1: f:felem -> cin:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r - v c * pow2 256 == SD.bn_v f - v cin)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let sub1 f cin = let c, out = SB.bn_sub1 f cin in SB.bn_sub1_lemma f cin; c, out
val sub1: f:felem -> cin:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r - v c * pow2 256 == SD.bn_v f - v cin) let sub1 f cin =
false
null
false
let c, out = SB.bn_sub1 f cin in SB.bn_sub1_lemma f cin; c, out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Hacl.Spec.Bignum.Base.carry", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "Hacl.Spec.Bignum.bn_sub1_lemma", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.Bignum.bn_su...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 sub1: f:felem -> cin:uint64 -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r - v c * pow2 256 == SD.bn_v f - v cin)
[]
Hacl.Spec.Curve25519.Field64.Core.sub1
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> cin: Lib.IntTypes.uint64 -> Prims.Pure (Lib.IntTypes.uint64 * Hacl.Spec.Curve25519.Field64.Core.felem)
{ "end_col": 8, "end_line": 50, "start_col": 16, "start_line": 47 }
Prims.Pure
val fadd4: f1:felem -> f2:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fadd (SD.bn_v f1 % P.prime) (SD.bn_v f2 % P.prime))
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let fadd4 f1 f2 = let c0, out0 = add4 f1 f2 in let out = carry_pass out0 c0 in carry_pass_lemma out0 c0; assert (SD.bn_v out % P.prime == (SD.bn_v f1 + SD.bn_v f2) % P.prime); Math.Lemmas.lemma_mod_plus_distr_l (SD.bn_v f1) (SD.bn_v f2) P.prime; Math.Lemmas.lemma_mod_plus_distr_r (SD.bn_v f1 % P.prime) (SD....
val fadd4: f1:felem -> f2:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fadd (SD.bn_v f1 % P.prime) (SD.bn_v f2 % P.prime)) let fadd4 f1 f2 =
false
null
false
let c0, out0 = add4 f1 f2 in let out = carry_pass out0 c0 in carry_pass_lemma out0 c0; assert (SD.bn_v out % P.prime == (SD.bn_v f1 + SD.bn_v f2) % P.prime); Math.Lemmas.lemma_mod_plus_distr_l (SD.bn_v f1) (SD.bn_v f2) P.prime; Math.Lemmas.lemma_mod_plus_distr_r (SD.bn_v f1 % P.prime) (SD.bn_v f2) P.prime; out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Prims.unit", "FStar.Math.Lemmas.lemma_mod_plus_distr_r", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.IntTypes.U64", "Spec.Curve25519.prime", "FStar.Math.Lemmas.lemma_mod_plus_distr_l", "Prims._assert", "Prims.eq...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 fadd4: f1:felem -> f2:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fadd (SD.bn_v f1 % P.prime) (SD.bn_v f2 % P.prime))
[]
Hacl.Spec.Curve25519.Field64.Core.fadd4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f1: Hacl.Spec.Curve25519.Field64.Core.felem -> f2: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem
{ "end_col": 5, "end_line": 188, "start_col": 17, "start_line": 181 }
Prims.Pure
val sqr4: f:felem -> Pure felem_wide (requires True) (ensures fun out -> SD.bn_v out == SD.bn_v f * SD.bn_v f)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let sqr4 f = let out = SB.bn_sqr f in SB.bn_sqr_lemma f; out
val sqr4: f:felem -> Pure felem_wide (requires True) (ensures fun out -> SD.bn_v out == SD.bn_v f * SD.bn_v f) let sqr4 f =
false
null
false
let out = SB.bn_sqr f in SB.bn_sqr_lemma f; out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Prims.unit", "Hacl.Spec.Bignum.bn_sqr_lemma", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.op_Addition", "Hacl.Spec.Bignum.bn_sqr", "Hacl.Spec.Curve25519.Field64.Core.felem_wide" ]
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 sqr4: f:felem -> Pure felem_wide (requires True) (ensures fun out -> SD.bn_v out == SD.bn_v f * SD.bn_v f)
[]
Hacl.Spec.Curve25519.Field64.Core.sqr4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem_wide
{ "end_col": 5, "end_line": 314, "start_col": 12, "start_line": 311 }
Prims.Pure
val add4: f1:felem -> f2:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r + v c * pow2 256 == SD.bn_v f1 + SD.bn_v f2)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let add4 f1 f2 = let c, out = SB.bn_add f1 f2 in SB.bn_add_lemma f1 f2; c, out
val add4: f1:felem -> f2:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r + v c * pow2 256 == SD.bn_v f1 + SD.bn_v f2) let add4 f1 f2 =
false
null
false
let c, out = SB.bn_add f1 f2 in SB.bn_add_lemma f1 f2; c, out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Hacl.Spec.Bignum.Base.carry", "Lib.IntTypes.U64", "Hacl.Spec.Bignum.Definitions.lbignum", "FStar.Pervasives.Native.Mktuple2", "Lib.IntTypes.uint64", "Prims.unit", "Hacl.Spec.Bignum.bn_add_lemma", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.Bignum.bn_add...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 add4: f1:felem -> f2:felem -> Pure (uint64 & felem) (requires True) (ensures fun (c, r) -> v c <= 1 /\ SD.bn_v r + v c * pow2 256 == SD.bn_v f1 + SD.bn_v f2)
[]
Hacl.Spec.Curve25519.Field64.Core.add4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f1: Hacl.Spec.Curve25519.Field64.Core.felem -> f2: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure (Lib.IntTypes.uint64 * Hacl.Spec.Curve25519.Field64.Core.felem)
{ "end_col": 8, "end_line": 172, "start_col": 16, "start_line": 169 }
Prims.Pure
val fsqr4: f:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fmul (SD.bn_v f % P.prime) (SD.bn_v f % P.prime))
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let fsqr4 f = let tmp = sqr4 f in let out = carry_wide tmp in Math.Lemmas.lemma_mod_mul_distr_l (SD.bn_v f) (SD.bn_v f) P.prime; Math.Lemmas.lemma_mod_mul_distr_r (SD.bn_v f % P.prime) (SD.bn_v f) P.prime; out
val fsqr4: f:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fmul (SD.bn_v f % P.prime) (SD.bn_v f % P.prime)) let fsqr4 f =
false
null
false
let tmp = sqr4 f in let out = carry_wide tmp in Math.Lemmas.lemma_mod_mul_distr_l (SD.bn_v f) (SD.bn_v f) P.prime; Math.Lemmas.lemma_mod_mul_distr_r (SD.bn_v f % P.prime) (SD.bn_v f) P.prime; out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Prims.unit", "FStar.Math.Lemmas.lemma_mod_mul_distr_r", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.IntTypes.U64", "Spec.Curve25519.prime", "FStar.Math.Lemmas.lemma_mod_mul_distr_l", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Cu...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 fsqr4: f:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fmul (SD.bn_v f % P.prime) (SD.bn_v f % P.prime))
[]
Hacl.Spec.Curve25519.Field64.Core.fsqr4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem
{ "end_col": 5, "end_line": 328, "start_col": 13, "start_line": 323 }
Prims.Pure
val fmul4: f1:felem -> r:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fmul (SD.bn_v f1 % P.prime) (SD.bn_v r % P.prime))
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let fmul4 f1 r = let tmp = mul4 f1 r in let out = carry_wide tmp in Math.Lemmas.lemma_mod_mul_distr_l (SD.bn_v f1) (SD.bn_v r) P.prime; Math.Lemmas.lemma_mod_mul_distr_r (SD.bn_v f1 % P.prime) (SD.bn_v r) P.prime; out
val fmul4: f1:felem -> r:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fmul (SD.bn_v f1 % P.prime) (SD.bn_v r % P.prime)) let fmul4 f1 r =
false
null
false
let tmp = mul4 f1 r in let out = carry_wide tmp in Math.Lemmas.lemma_mod_mul_distr_l (SD.bn_v f1) (SD.bn_v r) P.prime; Math.Lemmas.lemma_mod_mul_distr_r (SD.bn_v f1 % P.prime) (SD.bn_v r) P.prime; out
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Prims.unit", "FStar.Math.Lemmas.lemma_mod_mul_distr_r", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.IntTypes.U64", "Spec.Curve25519.prime", "FStar.Math.Lemmas.lemma_mod_mul_distr_l", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Cu...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 fmul4: f1:felem -> r:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fmul (SD.bn_v f1 % P.prime) (SD.bn_v r % P.prime))
[]
Hacl.Spec.Curve25519.Field64.Core.fmul4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f1: Hacl.Spec.Curve25519.Field64.Core.felem -> r: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem
{ "end_col": 5, "end_line": 275, "start_col": 16, "start_line": 270 }
FStar.Pervasives.Lemma
val lemma_add1_carry: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (let c, r = add1 f (cin *! u64 38) in let b1 = r.[0] +. c *. u64 38 in v b1 == v r.[0] + v c * 38)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let lemma_add1_carry f cin = let c, r = add1 f (cin *! u64 38) in let b1 = r.[0] +. c *. u64 38 in assert (SD.bn_v r + v c * pow2 256 == SD.bn_v f + v cin * 38); SD.bn_eval_split_i f 1; SD.bn_eval1 (slice f 0 1); //assert (SD.bn_v f == v f.[0] + pow2 64 * SD.bn_v (slice f 1 4)); SD.bn_eval_split_i r 1; ...
val lemma_add1_carry: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (let c, r = add1 f (cin *! u64 38) in let b1 = r.[0] +. c *. u64 38 in v b1 == v r.[0] + v c * 38) let lemma_add1_carry f cin =
false
null
true
let c, r = add1 f (cin *! u64 38) in let b1 = r.[ 0 ] +. c *. u64 38 in assert (SD.bn_v r + v c * pow2 256 == SD.bn_v f + v cin * 38); SD.bn_eval_split_i f 1; SD.bn_eval1 (slice f 0 1); SD.bn_eval_split_i r 1; SD.bn_eval1 (slice r 0 1); assert (v r.[ 0 ] + pow2 64 * SD.bn_v (slice r 1 4) + v c * pow2 256 == v f.[ 0...
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[ "lemma" ]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_LessThan", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims._assert", "Prims.eq2", "Prims.int", "Lib.Sequence.op_String_Access", "Hacl.Spec.Bignum.Def...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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_add1_carry: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (let c, r = add1 f (cin *! u64 38) in let b1 = r.[0] +. c *. u64 38 in v b1 == v r.[0] + v c * 38)
[]
Hacl.Spec.Curve25519.Field64.Core.lemma_add1_carry
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> cin: Lib.IntTypes.uint64{Lib.IntTypes.v cin * 38 < Prims.pow2 63} -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Curve25519.Field64.Core.add1 f (cin *! Lib.IntTypes.u64 38) in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c r = _ in ...
{ "end_col": 54, "end_line": 103, "start_col": 28, "start_line": 90 }
FStar.Pervasives.Lemma
val lemma_sub1_carry: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (let c, r = sub1 f (cin *! u64 38) in let b1 = r.[0] -. c *. u64 38 in v b1 == v r.[0] - v c * 38)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let lemma_sub1_carry f cin = let c, r = sub1 f (cin *! u64 38) in let b1 = r.[0] -. c *. u64 38 in assert (SD.bn_v r - v c * pow2 256 == SD.bn_v f - v cin * 38); SD.bn_eval_split_i f 1; SD.bn_eval1 (slice f 0 1); //assert (SD.bn_v f == v f.[0] + pow2 64 * SD.bn_v (slice f 1 4)); SD.bn_eval_split_i r 1; ...
val lemma_sub1_carry: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (let c, r = sub1 f (cin *! u64 38) in let b1 = r.[0] -. c *. u64 38 in v b1 == v r.[0] - v c * 38) let lemma_sub1_carry f cin =
false
null
true
let c, r = sub1 f (cin *! u64 38) in let b1 = r.[ 0 ] -. c *. u64 38 in assert (SD.bn_v r - v c * pow2 256 == SD.bn_v f - v cin * 38); SD.bn_eval_split_i f 1; SD.bn_eval1 (slice f 0 1); SD.bn_eval_split_i r 1; SD.bn_eval1 (slice r 0 1); assert (v r.[ 0 ] + pow2 64 * SD.bn_v (slice r 1 4) - v c * pow2 256 == v f.[ 0...
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[ "lemma" ]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_LessThan", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims._assert", "Prims.eq2", "Prims.int", "Lib.Sequence.op_String_Access", "Hacl.Spec.Bignum.Def...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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_sub1_carry: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (let c, r = sub1 f (cin *! u64 38) in let b1 = r.[0] -. c *. u64 38 in v b1 == v r.[0] - v c * 38)
[]
Hacl.Spec.Curve25519.Field64.Core.lemma_sub1_carry
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> cin: Lib.IntTypes.uint64{Lib.IntTypes.v cin * 38 < Prims.pow2 63} -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Curve25519.Field64.Core.sub1 f (cin *! Lib.IntTypes.u64 38) in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c r = _ in ...
{ "end_col": 54, "end_line": 222, "start_col": 28, "start_line": 208 }
Prims.Pure
val fmul14: f1:felem -> f2:uint64 -> Pure felem (requires v f2 < pow2 17) (ensures fun out -> SD.bn_v out % P.prime == SD.bn_v f1 % P.prime * v f2 % P.prime)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let fmul14 f1 f2 = let c0, r0 = mul1 f1 f2 in assert (SD.bn_v r0 + v c0 * pow2 256 == SD.bn_v f1 * v f2); SD.bn_eval_bound f1 4; SD.bn_eval_bound r0 4; Lemmas.fmul14_bound (SD.bn_v r0) (v c0) (SD.bn_v f1) (v f2); let out = carry_pass r0 c0 in calc (==) { SD.bn_v out % P.prime; (==) { carry_pass_l...
val fmul14: f1:felem -> f2:uint64 -> Pure felem (requires v f2 < pow2 17) (ensures fun out -> SD.bn_v out % P.prime == SD.bn_v f1 % P.prime * v f2 % P.prime) let fmul14 f1 f2 =
false
null
false
let c0, r0 = mul1 f1 f2 in assert (SD.bn_v r0 + v c0 * pow2 256 == SD.bn_v f1 * v f2); SD.bn_eval_bound f1 4; SD.bn_eval_bound r0 4; Lemmas.fmul14_bound (SD.bn_v r0) (v c0) (SD.bn_v f1) (v f2); let out = carry_pass r0 c0 in calc ( == ) { SD.bn_v out % P.prime; ( == ) { carry_pass_lemma r0 c0 } (SD.bn_v r0 + v c0 ...
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Prims.unit", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.IntTypes.U64", "Spec.Curve25519.prime", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.SEC",...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 fmul14: f1:felem -> f2:uint64 -> Pure felem (requires v f2 < pow2 17) (ensures fun out -> SD.bn_v out % P.prime == SD.bn_v f1 % P.prime * v f2 % P.prime)
[]
Hacl.Spec.Curve25519.Field64.Core.fmul14
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f1: Hacl.Spec.Curve25519.Field64.Core.felem -> f2: Lib.IntTypes.uint64 -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem
{ "end_col": 5, "end_line": 302, "start_col": 18, "start_line": 285 }
Prims.Pure
val fsub4: f1:felem -> f2:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fsub (SD.bn_v f1 % P.prime) (SD.bn_v f2 % P.prime))
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let fsub4 f1 f2 = let c0, r0 = sub4 f1 f2 in let c1, r1 = sub1 r0 (c0 *! u64 38) in let b1 = r1.[0] -. c1 *. u64 38 in let out = r1.[0] <- b1 in SD.bn_upd_eval r1 b1 0; calc (==) { SD.bn_v out % P.prime; (==) { assert_norm (pow2 0 = 1) } (SD.bn_v r1 - v r1.[0] + v b1) % P.prime; (==) { lemm...
val fsub4: f1:felem -> f2:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fsub (SD.bn_v f1 % P.prime) (SD.bn_v f2 % P.prime)) let fsub4 f1 f2 =
false
null
false
let c0, r0 = sub4 f1 f2 in let c1, r1 = sub1 r0 (c0 *! u64 38) in let b1 = r1.[ 0 ] -. c1 *. u64 38 in let out = r1.[ 0 ] <- b1 in SD.bn_upd_eval r1 b1 0; calc ( == ) { SD.bn_v out % P.prime; ( == ) { assert_norm (pow2 0 = 1) } (SD.bn_v r1 - v r1.[ 0 ] + v b1) % P.prime; ( == ) { lemma_sub1_carry r0 c0 } (SD....
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Prims.unit", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.IntTypes.U64", "Spec.Curve25519.prime", "Prims.op_Subtraction", "Prims.Cons", "FStar.Preorder.rela...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 fsub4: f1:felem -> f2:felem -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == P.fsub (SD.bn_v f1 % P.prime) (SD.bn_v f2 % P.prime))
[]
Hacl.Spec.Curve25519.Field64.Core.fsub4
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f1: Hacl.Spec.Curve25519.Field64.Core.felem -> f2: Hacl.Spec.Curve25519.Field64.Core.felem -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem
{ "end_col": 5, "end_line": 249, "start_col": 17, "start_line": 231 }
Prims.Pure
val carry_wide: f:felem_wide -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == SD.bn_v f % P.prime)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let carry_wide f = let c, r0 = mul1_add (sub f 4 4) (u64 38) (sub f 0 4) in assert (SD.bn_v r0 + v c * pow2 256 == SD.bn_v (sub f 0 4) + SD.bn_v (sub f 4 4) * 38); SD.bn_eval_bound (sub f 0 4) 4; SD.bn_eval_bound (sub f 4 4) 4; SD.bn_eval_bound r0 4; Lemmas.carry_wide_bound (SD.bn_v r0) (v c) (SD.bn_v (sub ...
val carry_wide: f:felem_wide -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == SD.bn_v f % P.prime) let carry_wide f =
false
null
false
let c, r0 = mul1_add (sub f 4 4) (u64 38) (sub f 0 4) in assert (SD.bn_v r0 + v c * pow2 256 == SD.bn_v (sub f 0 4) + SD.bn_v (sub f 4 4) * 38); SD.bn_eval_bound (sub f 0 4) 4; SD.bn_eval_bound (sub f 4 4) 4; SD.bn_eval_bound r0 4; Lemmas.carry_wide_bound (SD.bn_v r0) (v c) (SD.bn_v (sub f 0 4)) (SD.bn_v (sub f 4 4)); ...
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem_wide", "Lib.IntTypes.uint64", "Hacl.Spec.Curve25519.Field64.Core.felem", "Prims.unit", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.IntTypes.U64", "Spec.Curve25519.prime", "Prims.Cons"...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 carry_wide: f:felem_wide -> Pure felem (requires True) (ensures fun out -> SD.bn_v out % P.prime == SD.bn_v f % P.prime)
[]
Hacl.Spec.Curve25519.Field64.Core.carry_wide
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem_wide -> Prims.Pure Hacl.Spec.Curve25519.Field64.Core.felem
{ "end_col": 5, "end_line": 160, "start_col": 18, "start_line": 138 }
FStar.Pervasives.Lemma
val carry_pass_lemma: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (SD.bn_v (carry_pass f cin) % P.prime == (SD.bn_v f + v cin * pow2 256) % P.prime)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Lemmas", "short_module": "CL" }, { ...
false
let carry_pass_lemma f cin = let c, r = add1 f (cin *! u64 38) in let b1 = r.[0] +. c *. u64 38 in let out = r.[0] <- b1 in SD.bn_upd_eval r b1 0; calc (==) { SD.bn_v out % P.prime; (==) { assert_norm (pow2 0 = 1) } (SD.bn_v r - v r.[0] + v b1) % P.prime; (==) { lemma_add1_carry f cin } (...
val carry_pass_lemma: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (SD.bn_v (carry_pass f cin) % P.prime == (SD.bn_v f + v cin * pow2 256) % P.prime) let carry_pass_lemma f cin =
false
null
true
let c, r = add1 f (cin *! u64 38) in let b1 = r.[ 0 ] +. c *. u64 38 in let out = r.[ 0 ] <- b1 in SD.bn_upd_eval r b1 0; calc ( == ) { SD.bn_v out % P.prime; ( == ) { assert_norm (pow2 0 = 1) } (SD.bn_v r - v r.[ 0 ] + v b1) % P.prime; ( == ) { lemma_add1_carry f cin } (SD.bn_v r - v r.[ 0 ] + (v r.[ 0 ] + v...
{ "checked_file": "Hacl.Spec.Curve25519.Field64.Core.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.c...
[ "lemma" ]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_LessThan", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definit...
[]
module Hacl.Spec.Curve25519.Field64.Core open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Curve25519.Field64.Definition module P = Spec.Curve25519 module CL = Hacl.Spec.Curve25519.Field64.Lemmas module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.Bignum #reset-options "--z3rlimit 50 --...
false
false
Hacl.Spec.Curve25519.Field64.Core.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 carry_pass_lemma: f:felem -> cin:uint64{v cin * 38 < pow2 63} -> Lemma (SD.bn_v (carry_pass f cin) % P.prime == (SD.bn_v f + v cin * pow2 256) % P.prime)
[]
Hacl.Spec.Curve25519.Field64.Core.carry_pass_lemma
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Core.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field64.Core.felem -> cin: Lib.IntTypes.uint64{Lib.IntTypes.v cin * 38 < Prims.pow2 63} -> FStar.Pervasives.Lemma (ensures Hacl.Spec.Bignum.Definitions.bn_v (Hacl.Spec.Curve25519.Field64.Core.carry_pass f cin) % Spec.Curve25519.prime == (Hacl.Spec.Bignum.Definiti...
{ "end_col": 5, "end_line": 129, "start_col": 28, "start_line": 109 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let fragments = list fragment
let fragments =
false
null
false
list fragment
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.list", "Steel.ST.Printf.fragment" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 fragments : Type0
[]
Steel.ST.Printf.fragments
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Type0
{ "end_col": 29, "end_line": 175, "start_col": 16, "start_line": 175 }
Prims.Tot
val parse_format_string (s: string) : option fragments
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let parse_format_string (s:string) : option fragments = parse_format (list_of_string s)
val parse_format_string (s: string) : option fragments let parse_format_string (s: string) : option fragments =
false
null
false
parse_format (list_of_string s)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.string", "Steel.ST.Printf.parse_format", "FStar.String.list_of_string", "FStar.Pervasives.Native.option", "Steel.ST.Printf.fragments" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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_format_string (s: string) : option fragments
[]
Steel.ST.Printf.parse_format_string
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
s: Prims.string -> FStar.Pervasives.Native.option Steel.ST.Printf.fragments
{ "end_col": 35, "end_line": 247, "start_col": 4, "start_line": 247 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let fragment_printer = (acc:list frag_t) -> STT unit (live_frags acc) (fun _ -> live_frags acc)
let fragment_printer =
false
null
false
acc: list frag_t -> STT unit (live_frags acc) (fun _ -> live_frags acc)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.list", "Steel.ST.Printf.frag_t", "Prims.unit", "Steel.ST.Printf.live_frags", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 fragment_printer : Type
[]
Steel.ST.Printf.fragment_printer
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Type
{ "end_col": 56, "end_line": 361, "start_col": 2, "start_line": 360 }
Prims.Tot
val no_inst: #a: _ -> #b: (a -> Type) -> f: (#x: a -> b x) -> unit -> #x: a -> b x
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let no_inst #a (#b:a -> Type) (f: (#x:a -> b x)) : unit -> #x:a -> b x = fun () -> f
val no_inst: #a: _ -> #b: (a -> Type) -> f: (#x: a -> b x) -> unit -> #x: a -> b x let no_inst #a (#b: (a -> Type)) (f: (#x: a -> b x)) : unit -> #x: a -> b x =
false
null
false
fun () -> f
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.unit" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 no_inst: #a: _ -> #b: (a -> Type) -> f: (#x: a -> b x) -> unit -> #x: a -> b x
[]
Steel.ST.Printf.no_inst
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: b x -> _: Prims.unit -> b x
{ "end_col": 84, "end_line": 440, "start_col": 73, "start_line": 440 }
Prims.Tot
val normal (#a: Type) (x: a) : a
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let normal (#a:Type) (x:a) : a = FStar.Pervasives.norm [iota; zeta; delta_attr [`%__printf_reduce__; `%BigOps.__reduce__]; delta_only [`%Base?; `%Array?; `%Some?; `%Some?.v; `%list_of_string]; primops; simplify] x
val normal (#a: Type) (x: a) : a let normal (#a: Type) (x: a) : a =
false
null
false
FStar.Pervasives.norm [ iota; zeta; delta_attr [`%__printf_reduce__; `%BigOps.__reduce__]; delta_only [`%Base?; `%Array?; `%Some?; `%Some?.v; `%list_of_string]; primops; simplify ] x
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "FStar.Pervasives.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "FStar.Pervasives.delta_attr", "Prims.string", "Prims.Nil", "FStar.Pervasives.delta_only", "FStar.Pervasives.primops", "FStar.Pervasives.simplify" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 normal (#a: Type) (x: a) : a
[]
Steel.ST.Printf.normal
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: a -> a
{ "end_col": 6, "end_line": 351, "start_col": 2, "start_line": 344 }
Prims.Tot
val elim_unit_arrow (#t: _) (f: (unit -> t)) : t
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let elim_unit_arrow #t (f:unit -> t) : t = f ()
val elim_unit_arrow (#t: _) (f: (unit -> t)) : t let elim_unit_arrow #t (f: (unit -> t)) : t =
false
null
false
f ()
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.unit" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 elim_unit_arrow (#t: _) (f: (unit -> t)) : t
[]
Steel.ST.Printf.elim_unit_arrow
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: (_: Prims.unit -> t) -> t
{ "end_col": 47, "end_line": 442, "start_col": 43, "start_line": 442 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let frag_t = either string (a:arg & arg_t a)
let frag_t =
false
null
false
either string (a: arg & arg_t a)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "FStar.Pervasives.either", "Prims.string", "Prims.dtuple2", "Steel.ST.Printf.arg", "Steel.ST.Printf.arg_t" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 frag_t : Type
[]
Steel.ST.Printf.frag_t
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Type
{ "end_col": 44, "end_line": 274, "start_col": 13, "start_line": 274 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let format_string = s:string{normal #bool (Some? (parse_format_string s))}
let format_string =
false
null
false
s: string{normal #bool (Some? (parse_format_string s))}
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.string", "Prims.b2t", "Steel.ST.Printf.normal", "Prims.bool", "FStar.Pervasives.Native.uu___is_Some", "Steel.ST.Printf.fragments", "Steel.ST.Printf.parse_format_string" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 format_string : Type0
[]
Steel.ST.Printf.format_string
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Type0
{ "end_col": 74, "end_line": 492, "start_col": 20, "start_line": 492 }
Prims.Tot
val live_frag (f: frag_t) : vprop
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let live_frag (f: frag_t) : vprop = live_frag0 f
val live_frag (f: frag_t) : vprop let live_frag (f: frag_t) : vprop =
false
null
false
live_frag0 f
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.frag_t", "Steel.ST.Printf.live_frag0", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 live_frag (f: frag_t) : vprop
[]
Steel.ST.Printf.live_frag
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: Steel.ST.Printf.frag_t -> Steel.Effect.Common.vprop
{ "end_col": 14, "end_line": 291, "start_col": 2, "start_line": 291 }
Prims.Tot
val printf : s:normal format_string -> normal (interpret_format_string s)
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let printf = intro_normal_f #format_string interpret_format_string printf'
val printf : s:normal format_string -> normal (interpret_format_string s) let printf =
false
null
false
intro_normal_f #format_string interpret_format_string printf'
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.intro_normal_f", "Steel.ST.Printf.format_string", "Steel.ST.Printf.interpret_format_string", "Steel.ST.Printf.printf'" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 printf : s:normal format_string -> normal (interpret_format_string s)
[]
Steel.ST.Printf.printf
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
s: Steel.ST.Printf.normal Steel.ST.Printf.format_string -> Steel.ST.Printf.normal (Steel.ST.Printf.interpret_format_string s)
{ "end_col": 74, "end_line": 529, "start_col": 13, "start_line": 529 }
Prims.Tot
val skip : s:normal format_string -> normal (interpret_format_string s)
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let skip = intro_normal_f #format_string interpret_format_string skip'
val skip : s:normal format_string -> normal (interpret_format_string s) let skip =
false
null
false
intro_normal_f #format_string interpret_format_string skip'
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.intro_normal_f", "Steel.ST.Printf.format_string", "Steel.ST.Printf.interpret_format_string", "Steel.ST.Printf.skip'" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 skip : s:normal format_string -> normal (interpret_format_string s)
[]
Steel.ST.Printf.skip
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
s: Steel.ST.Printf.normal Steel.ST.Printf.format_string -> Steel.ST.Printf.normal (Steel.ST.Printf.interpret_format_string s)
{ "end_col": 70, "end_line": 543, "start_col": 11, "start_line": 543 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let lmbuffer a l = b: A.array a { A.length b == U32.v l }
let lmbuffer a l =
false
null
false
b: A.array a {A.length b == U32.v l}
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "FStar.UInt32.t", "Steel.ST.Array.array", "Prims.eq2", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Steel.ST.Array.length", "FStar.UInt32.v" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 lmbuffer : a: Type0 -> l: FStar.UInt32.t -> Type0
[]
Steel.ST.Printf.lmbuffer
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Type0 -> l: FStar.UInt32.t -> Type0
{ "end_col": 5, "end_line": 72, "start_col": 4, "start_line": 70 }
Prims.Tot
val base_typ_as_type (b: base_typ) : Type0
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let base_typ_as_type (b:base_typ) : Type0 = match b with | Bool -> bool | Char -> char | String -> string | U8 -> FStar.UInt8.t | U16 -> FStar.UInt16.t | U32 -> FStar.UInt32.t | U64 -> FStar.UInt64.t | I8 -> FStar.Int8.t | I16 -> FStar.Int16.t | I32 -> FStar.Int32.t | ...
val base_typ_as_type (b: base_typ) : Type0 let base_typ_as_type (b: base_typ) : Type0 =
false
null
false
match b with | Bool -> bool | Char -> char | String -> string | U8 -> FStar.UInt8.t | U16 -> FStar.UInt16.t | U32 -> FStar.UInt32.t | U64 -> FStar.UInt64.t | I8 -> FStar.Int8.t | I16 -> FStar.Int16.t | I32 -> FStar.Int32.t | I64 -> FStar.Int64.t
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.base_typ", "Prims.bool", "FStar.String.char", "Prims.string", "FStar.UInt8.t", "FStar.UInt16.t", "FStar.UInt32.t", "FStar.UInt64.t", "FStar.Int8.t", "FStar.Int16.t", "FStar.Int32.t", "FStar.Int64.t" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 base_typ_as_type (b: base_typ) : Type0
[]
Steel.ST.Printf.base_typ_as_type
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
b: Steel.ST.Printf.base_typ -> Type0
{ "end_col": 27, "end_line": 164, "start_col": 2, "start_line": 153 }
Prims.Tot
val intro_normal_f (#a: Type) (b: (a -> Type)) (f: (x: a -> b x)) : (x: (normal a) -> normal (b x))
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let intro_normal_f (#a:Type) (b: (a -> Type)) (f:(x:a -> b x)) : (x:(normal a) -> normal (b x)) = f
val intro_normal_f (#a: Type) (b: (a -> Type)) (f: (x: a -> b x)) : (x: (normal a) -> normal (b x)) let intro_normal_f (#a: Type) (b: (a -> Type)) (f: (x: a -> b x)) : (x: (normal a) -> normal (b x)) =
false
null
false
f
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.normal" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 intro_normal_f (#a: Type) (b: (a -> Type)) (f: (x: a -> b x)) : (x: (normal a) -> normal (b x))
[]
Steel.ST.Printf.intro_normal_f
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
b: (_: a -> Type) -> f: (x: a -> b x) -> x: Steel.ST.Printf.normal a -> Steel.ST.Printf.normal (b x)
{ "end_col": 5, "end_line": 517, "start_col": 4, "start_line": 517 }
Prims.Tot
val live_frags (l: list frag_t) : vprop
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let rec live_frags (l:list frag_t) : vprop = match l with | [] -> emp | a :: q -> live_frag a `star` live_frags q
val live_frags (l: list frag_t) : vprop let rec live_frags (l: list frag_t) : vprop =
false
null
false
match l with | [] -> emp | a :: q -> (live_frag a) `star` (live_frags q)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.list", "Steel.ST.Printf.frag_t", "Steel.Effect.Common.emp", "Steel.Effect.Common.star", "Steel.ST.Printf.live_frag", "Steel.ST.Printf.live_frags", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 live_frags (l: list frag_t) : vprop
[ "recursion" ]
Steel.ST.Printf.live_frags
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Prims.list Steel.ST.Printf.frag_t -> Steel.Effect.Common.vprop
{ "end_col": 45, "end_line": 298, "start_col": 2, "start_line": 296 }
Prims.Tot
val live_frag0 (f: frag_t) : vprop
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let live_frag0 (f: frag_t) : vprop = match f with | Inl _ -> emp | Inr a -> (match a with | (| Base _, _ |) -> emp | (| Any, _ |) -> emp | (| Array _, Lift ((| _, b |), p, v) |) -> A.pts_to b p v)
val live_frag0 (f: frag_t) : vprop let live_frag0 (f: frag_t) : vprop =
false
null
false
match f with | Inl _ -> emp | Inr a -> (match a with | (| Base _ , _ |) -> emp | (| Any , _ |) -> emp | (| Array _ , Lift ((| _ , b |), p, v) |) -> A.pts_to b p v)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.frag_t", "Prims.string", "Steel.Effect.Common.emp", "Prims.dtuple2", "Steel.ST.Printf.arg", "Steel.ST.Printf.arg_t", "Steel.ST.Printf.base_typ", "Steel.ST.Printf.Base", "Steel.ST.Printf.Any", "FStar.UInt32.t", "Steel.ST.Printf.lmbuffer", "Steel.ST.Printf.base_typ_as_type", "...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 live_frag0 (f: frag_t) : vprop
[]
Steel.ST.Printf.live_frag0
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: Steel.ST.Printf.frag_t -> Steel.Effect.Common.vprop
{ "end_col": 64, "end_line": 286, "start_col": 2, "start_line": 280 }
Prims.Tot
val arg_t (a: arg) : Type u#1
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let rec arg_t (a:arg) : Type u#1 = match a with | Base t -> lift (base_typ_as_type t) | Array t -> lift ((l:UInt32.t & lmbuffer (base_typ_as_type t) l) & perm & Ghost.erased (Seq.seq (base_typ_as_type t))) | Any -> (a:Type0 & (a -> StTrivial unit) & a)
val arg_t (a: arg) : Type u#1 let rec arg_t (a: arg) : Type u#1 =
false
null
false
match a with | Base t -> lift (base_typ_as_type t) | Array t -> lift ((l: UInt32.t & lmbuffer (base_typ_as_type t) l) & perm & Ghost.erased (Seq.seq (base_typ_as_type t))) | Any -> (a: Type0 & (a -> StTrivial unit) & a)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.arg", "Steel.ST.Printf.base_typ", "Steel.ST.Printf.lift", "Steel.ST.Printf.base_typ_as_type", "FStar.Pervasives.Native.tuple3", "Prims.dtuple2", "FStar.UInt32.t", "Steel.ST.Printf.lmbuffer", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "FStar....
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 arg_t (a: arg) : Type u#1
[ "recursion" ]
Steel.ST.Printf.arg_t
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Printf.arg -> Type
{ "end_col": 48, "end_line": 270, "start_col": 2, "start_line": 267 }
Prims.Tot
val coerce (x: 'a{'a == 'b}) : 'b
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let coerce (x:'a{'a == 'b}) : 'b = x
val coerce (x: 'a{'a == 'b}) : 'b let coerce (x: 'a{'a == 'b}) : 'b =
false
null
false
x
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Prims.eq2" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 (x: 'a{'a == 'b}) : 'b
[]
Steel.ST.Printf.coerce
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: 'a{'a == 'b} -> 'b
{ "end_col": 36, "end_line": 355, "start_col": 35, "start_line": 355 }
Prims.Tot
val parse_format (s: list char) : Tot (option fragments) (decreases (L.length s))
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let rec parse_format (s:list char) : Tot (option fragments) (decreases (L.length s)) = let add_dir (d:arg) (ods : option fragments) = match ods with | None -> None | Some ds -> Some (Interpolate d::ds) in let head_buffer (ods:option fragments) = match ods with | Some ...
val parse_format (s: list char) : Tot (option fragments) (decreases (L.length s)) let rec parse_format (s: list char) : Tot (option fragments) (decreases (L.length s)) =
false
null
false
let add_dir (d: arg) (ods: option fragments) = match ods with | None -> None | Some ds -> Some (Interpolate d :: ds) in let head_buffer (ods: option fragments) = match ods with | Some (Interpolate (Base t) :: rest) -> Some (Interpolate (Array t) :: rest) | _ -> None in let cons_frag (c: char) (ods: option f...
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total", "" ]
[ "Prims.list", "FStar.String.char", "FStar.Pervasives.Native.Some", "Steel.ST.Printf.fragments", "Prims.Nil", "Steel.ST.Printf.fragment", "FStar.Pervasives.Native.None", "Steel.ST.Printf.Any", "Steel.ST.Printf.parse_format", "Prims.Cons", "Steel.ST.Printf.Base", "Steel.ST.Printf.U8", "Steel.S...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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_format (s: list char) : Tot (option fragments) (decreases (L.length s))
[ "recursion" ]
Steel.ST.Printf.parse_format
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
s: Prims.list FStar.String.char -> Prims.Tot (FStar.Pervasives.Native.option Steel.ST.Printf.fragments)
{ "end_col": 34, "end_line": 238, "start_col": 2, "start_line": 186 }
Prims.Tot
val printf' (s: format_string) : interpret_format_string s
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let printf' (s:format_string) : interpret_format_string s = normalize_term (match parse_format_string s with | Some frags -> aux frags [] print_frags)
val printf' (s: format_string) : interpret_format_string s let printf' (s: format_string) : interpret_format_string s =
false
null
false
normalize_term (match parse_format_string s with | Some frags -> aux frags [] print_frags)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.format_string", "FStar.Pervasives.normalize_term", "Steel.ST.Printf.interpret_format_string", "Steel.ST.Printf.parse_format_string", "Steel.ST.Printf.fragments", "Steel.ST.Printf.aux", "Prims.Nil", "Steel.ST.Printf.frag_t", "Steel.ST.Printf.print_frags" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 printf' (s: format_string) : interpret_format_string s
[]
Steel.ST.Printf.printf'
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
s: Steel.ST.Printf.format_string -> Steel.ST.Printf.interpret_format_string s
{ "end_col": 45, "end_line": 510, "start_col": 2, "start_line": 508 }
Prims.Tot
val interpret_frags (l: fragments) (acc: list frag_t) : Type u#1
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let rec interpret_frags (l:fragments) (acc: list frag_t) : Type u#1 = match l with | [] -> // Always a dummy argument at the end // Ensures that all cases of this match // have the same universe, i.e., u#1 lift u#0 u#1 unit -> STT unit (live_frags acc) (fun _ -> live_frags acc) | Interpolate...
val interpret_frags (l: fragments) (acc: list frag_t) : Type u#1 let rec interpret_frags (l: fragments) (acc: list frag_t) : Type u#1 =
false
null
false
match l with | [] -> lift u#0 u#1 unit -> STT unit (live_frags acc) (fun _ -> live_frags acc) | Interpolate (Base t) :: args -> x: base_typ_as_type t -> interpret_frags args (Inr (| Base t, Lift x |) :: acc) | Interpolate (Array t) :: args -> l: UInt32.t -> #p: perm -> #v: Ghost.erased (Seq.seq (ba...
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.fragments", "Prims.list", "Steel.ST.Printf.frag_t", "Steel.ST.Printf.lift", "Prims.unit", "Steel.ST.Printf.live_frags", "Steel.Effect.Common.vprop", "Steel.ST.Printf.base_typ", "Steel.ST.Printf.fragment", "Steel.ST.Printf.base_typ_as_type", "Steel.ST.Printf.interpret_frags", "...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
Steel.ST.Printf.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 interpret_frags (l: fragments) (acc: list frag_t) : Type u#1
[ "recursion" ]
Steel.ST.Printf.interpret_frags
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
l: Steel.ST.Printf.fragments -> acc: Prims.list Steel.ST.Printf.frag_t -> Type
{ "end_col": 39, "end_line": 338, "start_col": 2, "start_line": 306 }
Prims.Tot
val skip' (s: format_string) : interpret_format_string s
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let skip' (s:format_string) : interpret_format_string s = normalize_term (match parse_format_string s with | Some frags -> aux frags [] (fun _ -> noop ()))
val skip' (s: format_string) : interpret_format_string s let skip' (s: format_string) : interpret_format_string s =
false
null
false
normalize_term (match parse_format_string s with | Some frags -> aux frags [] (fun _ -> noop ()))
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.format_string", "FStar.Pervasives.normalize_term", "Steel.ST.Printf.interpret_format_string", "Steel.ST.Printf.parse_format_string", "Steel.ST.Printf.fragments", "Steel.ST.Printf.aux", "Prims.Nil", "Steel.ST.Printf.frag_t", "Prims.list", "Steel.ST.Util.noop", "FStar.Ghost.hide",...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 skip' (s: format_string) : interpret_format_string s
[]
Steel.ST.Printf.skip'
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
s: Steel.ST.Printf.format_string -> Steel.ST.Printf.interpret_format_string s
{ "end_col": 52, "end_line": 539, "start_col": 2, "start_line": 537 }
Steel.ST.Effect.STT
val test2_printf (x: (int * int)) (print_pair: ((int * int) -> StTrivial unit)) : STT unit emp (fun _ -> emp)
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let test2_printf (x:(int * int)) (print_pair:(int * int) -> StTrivial unit) : STT unit emp (fun _ -> emp) = printf "Hello pair %a" print_pair x done
val test2_printf (x: (int * int)) (print_pair: ((int * int) -> StTrivial unit)) : STT unit emp (fun _ -> emp) let test2_printf (x: (int * int)) (print_pair: ((int * int) -> StTrivial unit)) : STT unit emp (fun _ -> emp) =
true
null
false
printf "Hello pair %a" print_pair x done
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[]
[ "FStar.Pervasives.Native.tuple2", "Prims.int", "Prims.unit", "Steel.ST.Printf.printf", "Steel.ST.Printf.done", "Steel.Effect.Common.emp", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 test2_printf (x: (int * int)) (print_pair: ((int * int) -> StTrivial unit)) : STT unit emp (fun _ -> emp)
[]
Steel.ST.Printf.test2_printf
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: (Prims.int * Prims.int) -> print_pair: (_: (Prims.int * Prims.int) -> Steel.ST.Printf.StTrivial Prims.unit) -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 44, "end_line": 570, "start_col": 4, "start_line": 570 }
Steel.ST.Effect.STT
val test3_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v)
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let test3_printf (m:UInt64.t) (l:UInt32.t) (x:A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v) = skip "Hello %b Steel.ST %uL Printf %xb %s" true //%b boolean m //%uL u64 l x /...
val test3_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v) let test3_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l...
true
null
false
skip "Hello %b Steel.ST %uL Printf %xb %s" true m l x "bye" done
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[]
[ "FStar.UInt64.t", "FStar.UInt32.t", "Steel.ST.Array.array", "Prims.bool", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt.size", "FStar.UInt32.n", "Steel.ST.Array.length", "FStar.UInt32.v", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Ste...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 test3_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v)
[]
Steel.ST.Printf.test3_printf
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
m: FStar.UInt64.t -> l: FStar.UInt32.t -> x: Steel.ST.Array.array Prims.bool {Steel.ST.Array.length x == FStar.UInt32.v l} -> v: FStar.Ghost.erased (FStar.Seq.Base.seq Prims.bool) -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 18, "end_line": 579, "start_col": 4, "start_line": 574 }
Steel.ST.Effect.STT
val test_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v)
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let test_printf (m:UInt64.t) (l:UInt32.t) (x:A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v) = printf "Hello %b Steel.ST %uL Printf %xb %s" true //%b boolean m //%uL u64 l x ...
val test_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v) let test_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l})...
true
null
false
printf "Hello %b Steel.ST %uL Printf %xb %s" true m l x "bye" done
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[]
[ "FStar.UInt64.t", "FStar.UInt32.t", "Steel.ST.Array.array", "Prims.bool", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt.size", "FStar.UInt32.n", "Steel.ST.Array.length", "FStar.UInt32.v", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Ste...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 test_printf (m: UInt64.t) (l: UInt32.t) (x: A.array bool {A.length x == U32.v l}) (v: Ghost.erased (Seq.seq bool)) : STT unit (A.pts_to x full_perm v) (fun _ -> A.pts_to x full_perm v)
[]
Steel.ST.Printf.test_printf
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
m: FStar.UInt64.t -> l: FStar.UInt32.t -> x: Steel.ST.Array.array Prims.bool {Steel.ST.Array.length x == FStar.UInt32.v l} -> v: FStar.Ghost.erased (FStar.Seq.Base.seq Prims.bool) -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 18, "end_line": 566, "start_col": 4, "start_line": 561 }
Prims.Tot
val aux (frags: fragments) (acc: list frag_t) (fp: fragment_printer) : interpret_frags frags acc
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let rec aux (frags:fragments) (acc:list frag_t) (fp: fragment_printer) : interpret_frags frags acc = match frags with | [] -> let f (l:lift u#0 u#1 unit) : STT unit (live_frags acc) (fun _ -> live_frags acc) = fp acc in (f <: interpret_frags [] acc) | Frag s :: rest -> coerce (aux res...
val aux (frags: fragments) (acc: list frag_t) (fp: fragment_printer) : interpret_frags frags acc let rec aux (frags: fragments) (acc: list frag_t) (fp: fragment_printer) : interpret_frags frags acc =
false
null
false
match frags with | [] -> let f (l: lift u#0 u#1 unit) : STT unit (live_frags acc) (fun _ -> live_frags acc) = fp acc in (f <: interpret_frags [] acc) | Frag s :: rest -> coerce (aux rest (Inl s :: acc) fp) | Interpolate (Base t) :: args -> let f (x: base_typ_as_type t) : interpret_frags args (Inr (| Base t, Lift ...
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[ "total" ]
[ "Steel.ST.Printf.fragments", "Prims.list", "Steel.ST.Printf.frag_t", "Steel.ST.Printf.fragment_printer", "Steel.ST.Printf.interpret_frags", "Prims.Nil", "Steel.ST.Printf.fragment", "Steel.ST.Printf.lift", "Prims.unit", "Steel.ST.Printf.live_frags", "Steel.Effect.Common.vprop", "Prims.string", ...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 aux (frags: fragments) (acc: list frag_t) (fp: fragment_printer) : interpret_frags frags acc
[ "recursion" ]
Steel.ST.Printf.aux
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
frags: Steel.ST.Printf.fragments -> acc: Prims.list Steel.ST.Printf.frag_t -> fp: Steel.ST.Printf.fragment_printer -> Steel.ST.Printf.interpret_frags frags acc
{ "end_col": 95, "end_line": 487, "start_col": 2, "start_line": 449 }
Steel.ST.Effect.ST
val print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_fra...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_frag fr == A.pts_to #t (coerce #_ #(lmbuffer t l) b) ...
val print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_fra...
true
null
false
[@@ inline_let ]let b':lmbuffer t l = coerce b in let v':Ghost.erased (Seq.seq t) = coerce v in let p':Ghost.erased (lmbuffer t l & perm) = Ghost.hide (b', p) in rewrite (live_frag fr) (A.pts_to #t (fst p') (snd p') v'); f l _ _ (A.ptr_of b'); rewrite (A.pts_to _ _ _) (live_frag fr)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[]
[ "Steel.ST.Printf.frag_t", "Steel.ST.Printf.stBuf", "FStar.UInt32.t", "Steel.FractionalPermission.perm", "Steel.ST.Util.rewrite", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.ST.Array.pts_to", "FStar.Pervasives.Native.fst", "Steel.ST.Printf.lmbuffer", "...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_fra...
[]
Steel.ST.Printf.print_lmbuffer_gen
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
f: Steel.ST.Printf.stBuf t -> l: FStar.UInt32.t -> b: tb -> p: Steel.FractionalPermission.perm -> v: tv -> Steel.ST.Effect.ST Prims.unit
{ "end_col": 41, "end_line": 389, "start_col": 2, "start_line": 384 }
Steel.ST.Effect.STT
val print_frags (acc: list frag_t) : STT unit (live_frags acc) (fun _ -> live_frags acc)
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
false
let rec print_frags (acc:list frag_t) : STT unit (live_frags acc) (fun _ -> live_frags acc) = match acc with | [] -> noop () | hd::tl -> rewrite (live_frags acc) (live_frag hd `star` live_frags tl); print_frags tl; print_frag hd; rewrite (live_frag hd `star` live_frags tl...
val print_frags (acc: list frag_t) : STT unit (live_frags acc) (fun _ -> live_frags acc) let rec print_frags (acc: list frag_t) : STT unit (live_frags acc) (fun _ -> live_frags acc) =
true
null
false
match acc with | [] -> noop () | hd :: tl -> rewrite (live_frags acc) ((live_frag hd) `star` (live_frags tl)); print_frags tl; print_frag hd; rewrite ((live_frag hd) `star` (live_frags tl)) (live_frags acc)
{ "checked_file": "Steel.ST.Printf.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16...
[]
[ "Prims.list", "Steel.ST.Printf.frag_t", "Steel.ST.Util.noop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Prims.unit", "Steel.ST.Util.rewrite", "Steel.Effect.Common.star", "Steel.ST.Printf.live_frag", "Steel.ST.Printf.live_frags", "Steel.ST.Printf.print_fra...
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
Steel.ST.Printf.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 print_frags (acc: list frag_t) : STT unit (live_frags acc) (fun _ -> live_frags acc)
[ "recursion" ]
Steel.ST.Printf.print_frags
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
acc: Prims.list Steel.ST.Printf.frag_t -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 66, "end_line": 437, "start_col": 4, "start_line": 431 }
Prims.Tot
val v (x:t) : Tot (uint_t n)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let v x = x.v
val v (x:t) : Tot (uint_t n) let v x =
false
null
false
x.v
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[ "total" ]
[ "FStar.UInt8.t", "FStar.UInt8.__proj__Mk__item__v", "FStar.UInt.uint_t", "FStar.UInt8.n" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.UInt8.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 v (x:t) : Tot (uint_t n)
[]
FStar.UInt8.v
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.UInt8.t -> FStar.UInt.uint_t FStar.UInt8.n
{ "end_col": 13, "end_line": 28, "start_col": 10, "start_line": 28 }
Prims.Tot
val zero : x:t{v x = 0}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let zero = uint_to_t 0
val zero : x:t{v x = 0} let zero =
false
null
false
uint_to_t 0
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[ "total" ]
[ "FStar.UInt8.uint_to_t" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 zero : x:t{v x = 0}
[]
FStar.UInt8.zero
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.UInt8.t{FStar.UInt8.v x = 0}
{ "end_col": 22, "end_line": 38, "start_col": 11, "start_line": 38 }
Prims.Tot
val one : x:t{v x = 1}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let one = uint_to_t 1
val one : x:t{v x = 1} let one =
false
null
false
uint_to_t 1
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[ "total" ]
[ "FStar.UInt8.uint_to_t" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 one : x:t{v x = 1}
[]
FStar.UInt8.one
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.UInt8.t{FStar.UInt8.v x = 1}
{ "end_col": 21, "end_line": 40, "start_col": 10, "start_line": 40 }
Prims.Pure
val sub_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a - v b) n ==> v a - v b = v c))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let sub_underspec a b = Mk (sub_underspec (v a) (v b))
val sub_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a - v b) n ==> v a - v b = v c)) let sub_underspec a b =
false
null
false
Mk (sub_underspec (v a) (v b))
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[]
[ "FStar.UInt8.t", "FStar.UInt8.Mk", "FStar.UInt.sub_underspec", "FStar.UInt8.n", "FStar.UInt8.v" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 sub_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a - v b) n ==> v a - v b = v c))
[]
FStar.UInt8.sub_underspec
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt8.t -> b: FStar.UInt8.t -> Prims.Pure FStar.UInt8.t
{ "end_col": 54, "end_line": 50, "start_col": 24, "start_line": 50 }
Prims.Pure
val mul (a:t) (b:t) : Pure t (requires (size (v a * v b) n)) (ensures (fun c -> v a * v b = v c))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let mul a b = Mk (mul (v a) (v b))
val mul (a:t) (b:t) : Pure t (requires (size (v a * v b) n)) (ensures (fun c -> v a * v b = v c)) let mul a b =
false
null
false
Mk (mul (v a) (v b))
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[]
[ "FStar.UInt8.t", "FStar.UInt8.Mk", "FStar.UInt.mul", "FStar.UInt8.n", "FStar.UInt8.v" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 mul (a:t) (b:t) : Pure t (requires (size (v a * v b) n)) (ensures (fun c -> v a * v b = v c))
[]
FStar.UInt8.mul
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt8.t -> b: FStar.UInt8.t -> Prims.Pure FStar.UInt8.t
{ "end_col": 34, "end_line": 54, "start_col": 14, "start_line": 54 }
Prims.Pure
val mul_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a * v b) n ==> v a * v b = v c))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let mul_underspec a b = Mk (mul_underspec (v a) (v b))
val mul_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a * v b) n ==> v a * v b = v c)) let mul_underspec a b =
false
null
false
Mk (mul_underspec (v a) (v b))
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[]
[ "FStar.UInt8.t", "FStar.UInt8.Mk", "FStar.UInt.mul_underspec", "FStar.UInt8.n", "FStar.UInt8.v" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 mul_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a * v b) n ==> v a * v b = v c))
[]
FStar.UInt8.mul_underspec
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt8.t -> b: FStar.UInt8.t -> Prims.Pure FStar.UInt8.t
{ "end_col": 54, "end_line": 56, "start_col": 24, "start_line": 56 }
Prims.Pure
val add_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a + v b) n ==> v a + v b = v c))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let add_underspec a b = Mk (add_underspec (v a) (v b))
val add_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a + v b) n ==> v a + v b = v c)) let add_underspec a b =
false
null
false
Mk (add_underspec (v a) (v b))
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[]
[ "FStar.UInt8.t", "FStar.UInt8.Mk", "FStar.UInt.add_underspec", "FStar.UInt8.n", "FStar.UInt8.v" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 add_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a + v b) n ==> v a + v b = v c))
[]
FStar.UInt8.add_underspec
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt8.t -> b: FStar.UInt8.t -> Prims.Pure FStar.UInt8.t
{ "end_col": 54, "end_line": 44, "start_col": 24, "start_line": 44 }
Prims.Pure
val add (a:t) (b:t) : Pure t (requires (size (v a + v b) n)) (ensures (fun c -> v a + v b = v c))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let add a b = Mk (add (v a) (v b))
val add (a:t) (b:t) : Pure t (requires (size (v a + v b) n)) (ensures (fun c -> v a + v b = v c)) let add a b =
false
null
false
Mk (add (v a) (v b))
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[]
[ "FStar.UInt8.t", "FStar.UInt8.Mk", "FStar.UInt.add", "FStar.UInt8.n", "FStar.UInt8.v" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 add (a:t) (b:t) : Pure t (requires (size (v a + v b) n)) (ensures (fun c -> v a + v b = v c))
[]
FStar.UInt8.add
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt8.t -> b: FStar.UInt8.t -> Prims.Pure FStar.UInt8.t
{ "end_col": 34, "end_line": 42, "start_col": 14, "start_line": 42 }
Prims.Pure
val sub (a:t) (b:t) : Pure t (requires (size (v a - v b) n)) (ensures (fun c -> v a - v b = v c))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let sub a b = Mk (sub (v a) (v b))
val sub (a:t) (b:t) : Pure t (requires (size (v a - v b) n)) (ensures (fun c -> v a - v b = v c)) let sub a b =
false
null
false
Mk (sub (v a) (v b))
{ "checked_file": "FStar.UInt8.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt8.fst" }
[]
[ "FStar.UInt8.t", "FStar.UInt8.Mk", "FStar.UInt.sub", "FStar.UInt8.n", "FStar.UInt8.v" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.UInt8.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 sub (a:t) (b:t) : Pure t (requires (size (v a - v b) n)) (ensures (fun c -> v a - v b = v c))
[]
FStar.UInt8.sub
{ "file_name": "ulib/FStar.UInt8.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt8.t -> b: FStar.UInt8.t -> Prims.Pure FStar.UInt8.t
{ "end_col": 34, "end_line": 48, "start_col": 14, "start_line": 48 }