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
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Spec.H...
false
let a_spec (a:fixed_len_alg) (i:nat) = Seq.lseq uint8 (if i = 0 then 0 else hash_length a)
let a_spec (a: fixed_len_alg) (i: nat) =
false
null
false
Seq.lseq uint8 (if i = 0 then 0 else hash_length a)
{ "checked_file": "Spec.Agile.HKDF.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FSta...
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "FStar.Integers.nat", "Lib.Sequence.lseq", "Lib.IntTypes.uint8", "Prims.op_Equality", "Prims.int", "Prims.bool", "Spec.Hash.Definitions.hash_length", "Lib.IntTypes.size_nat" ]
[]
module Spec.Agile.HKDF open FStar.Integers open Spec.Hash.Definitions /// FUNCTIONAL SPECIFICATION: /// /// * extraction is just HMAC using the salt as key and the input /// keying materials as text. /// /// * expansion does its own formatting of input key materials. open FStar.Seq #set-options "--max_fuel 0 --ma...
false
true
Spec.Agile.HKDF.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 a_spec : a: Spec.Hash.Definitions.fixed_len_alg -> i: FStar.Integers.nat -> Type0
[]
Spec.Agile.HKDF.a_spec
{ "file_name": "specs/Spec.Agile.HKDF.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> i: FStar.Integers.nat -> Type0
{ "end_col": 53, "end_line": 38, "start_col": 2, "start_line": 38 }
Prims.Pure
val extract: a: fixed_len_alg -> key: bytes -> data: bytes -> Pure (lbytes (hash_length a)) (requires Spec.Agile.HMAC.keysized a (Seq.length key) /\ extract_ikm_length_pred a (Seq.length data)) (ensures fun _ -> True)
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, "full_modul...
false
let extract = Spec.Agile.HMAC.hmac
val extract: a: fixed_len_alg -> key: bytes -> data: bytes -> Pure (lbytes (hash_length a)) (requires Spec.Agile.HMAC.keysized a (Seq.length key) /\ extract_ikm_length_pred a (Seq.length data)) (ensures fun _ -> True) let extract =
false
null
false
Spec.Agile.HMAC.hmac
{ "checked_file": "Spec.Agile.HKDF.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FSta...
[]
[ "Spec.Agile.HMAC.hmac" ]
[]
module Spec.Agile.HKDF open FStar.Integers open Spec.Hash.Definitions /// FUNCTIONAL SPECIFICATION: /// /// * extraction is just HMAC using the salt as key and the input /// keying materials as text. /// /// * expansion does its own formatting of input key materials. open FStar.Seq #set-options "--max_fuel 0 --ma...
false
false
Spec.Agile.HKDF.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 extract: a: fixed_len_alg -> key: bytes -> data: bytes -> Pure (lbytes (hash_length a)) (requires Spec.Agile.HMAC.keysized a (Seq.length key) /\ extract_ikm_length_pred a (Seq.length data)) (ensures fun _ -> True)
[]
Spec.Agile.HKDF.extract
{ "file_name": "specs/Spec.Agile.HKDF.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> key: Spec.Hash.Definitions.bytes -> data: Spec.Hash.Definitions.bytes -> Prims.Pure (Spec.Agile.HKDF.lbytes (Spec.Hash.Definitions.hash_length a))
{ "end_col": 34, "end_line": 17, "start_col": 14, "start_line": 17 }
Prims.Pure
val expand_loop: a:fixed_len_alg -> prk:bytes -> info:bytes -> n:nat -> i:nat{i < n} -> a_spec a i -> Pure (a_spec a (i + 1) & Seq.lseq uint8 (hash_length a)) (requires hash_length a <= Seq.length prk /\ HMAC.keysized a (Seq.length prk) /\ (hash_length a + Seq.length info + 1 + blo...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Spec.H...
false
let expand_loop a prk info n i tag = let t = Spec.Agile.HMAC.hmac a prk (tag @| info @| Seq.create 1 (u8 (i + 1))) in t, t
val expand_loop: a:fixed_len_alg -> prk:bytes -> info:bytes -> n:nat -> i:nat{i < n} -> a_spec a i -> Pure (a_spec a (i + 1) & Seq.lseq uint8 (hash_length a)) (requires hash_length a <= Seq.length prk /\ HMAC.keysized a (Seq.length prk) /\ (hash_length a + Seq.length info + 1 + blo...
false
null
false
let t = Spec.Agile.HMAC.hmac a prk (tag @| info @| Seq.create 1 (u8 (i + 1))) in t, t
{ "checked_file": "Spec.Agile.HKDF.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FSta...
[]
[ "Spec.Hash.Definitions.fixed_len_alg", "Spec.Hash.Definitions.bytes", "FStar.Integers.nat", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.Integers.Winfinite", "Spec.Agile.HKDF.a_spec", "FStar.Pervasives.Native.Mktuple2", "FStar.Integers.op_Plus", "Lib.Sequence.lseq", "...
[]
module Spec.Agile.HKDF open FStar.Integers open Spec.Hash.Definitions /// FUNCTIONAL SPECIFICATION: /// /// * extraction is just HMAC using the salt as key and the input /// keying materials as text. /// /// * expansion does its own formatting of input key materials. open FStar.Seq #set-options "--max_fuel 0 --ma...
false
false
Spec.Agile.HKDF.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 expand_loop: a:fixed_len_alg -> prk:bytes -> info:bytes -> n:nat -> i:nat{i < n} -> a_spec a i -> Pure (a_spec a (i + 1) & Seq.lseq uint8 (hash_length a)) (requires hash_length a <= Seq.length prk /\ HMAC.keysized a (Seq.length prk) /\ (hash_length a + Seq.length info + 1 + blo...
[]
Spec.Agile.HKDF.expand_loop
{ "file_name": "specs/Spec.Agile.HKDF.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> prk: Spec.Hash.Definitions.bytes -> info: Spec.Hash.Definitions.bytes -> n: FStar.Integers.nat -> i: FStar.Integers.nat{i < n} -> tag: Spec.Agile.HKDF.a_spec a i -> Prims.Pure (Spec.Agile.HKDF.a_spec a (i + 1) * Lib.Sequence.lseq Lib.IntType...
{ "end_col": 6, "end_line": 57, "start_col": 36, "start_line": 55 }
Prims.Pure
val expand: a: fixed_len_alg -> prk: bytes -> info: bytes -> len: nat -> Pure (lbytes len) (requires hash_length a <= Seq.length prk /\ HMAC.keysized a (Seq.length prk) /\ expand_info_length_pred a (Seq.length info) /\ expand_output_length_pred a len) (ensures fun _ -> True)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Spec.H...
false
let expand a prk info len = let open Spec.Agile.HMAC in let tlen = hash_length a in let n = len / tlen in let tag, output = Seq.generate_blocks tlen n n (a_spec a) (expand_loop a prk info n) FStar.Seq.empty in if n * tlen < len then let t = hmac a prk (tag @| info @| Seq.create 1 (u8 (n + 1))) in ...
val expand: a: fixed_len_alg -> prk: bytes -> info: bytes -> len: nat -> Pure (lbytes len) (requires hash_length a <= Seq.length prk /\ HMAC.keysized a (Seq.length prk) /\ expand_info_length_pred a (Seq.length info) /\ expand_output_length_pred a len) (ensures fun _ -> True) le...
false
null
false
let open Spec.Agile.HMAC in let tlen = hash_length a in let n = len / tlen in let tag, output = Seq.generate_blocks tlen n n (a_spec a) (expand_loop a prk info n) FStar.Seq.empty in if n * tlen < len then let t = hmac a prk (tag @| info @| Seq.create 1 (u8 (n + 1))) in output @| Seq.sub #_ #tlen t 0 (len - (n * t...
{ "checked_file": "Spec.Agile.HKDF.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FSta...
[]
[ "Spec.Hash.Definitions.fixed_len_alg", "Spec.Hash.Definitions.bytes", "FStar.Integers.nat", "Spec.Agile.HKDF.a_spec", "Lib.Sequence.seq", "Lib.IntTypes.uint8", "Prims.eq2", "Prims.int", "Lib.Sequence.length", "FStar.Mul.op_Star", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.Inte...
[]
module Spec.Agile.HKDF open FStar.Integers open Spec.Hash.Definitions /// FUNCTIONAL SPECIFICATION: /// /// * extraction is just HMAC using the salt as key and the input /// keying materials as text. /// /// * expansion does its own formatting of input key materials. open FStar.Seq #set-options "--max_fuel 0 --ma...
false
false
Spec.Agile.HKDF.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 expand: a: fixed_len_alg -> prk: bytes -> info: bytes -> len: nat -> Pure (lbytes len) (requires hash_length a <= Seq.length prk /\ HMAC.keysized a (Seq.length prk) /\ expand_info_length_pred a (Seq.length info) /\ expand_output_length_pred a len) (ensures fun _ -> True)
[]
Spec.Agile.HKDF.expand
{ "file_name": "specs/Spec.Agile.HKDF.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> prk: Spec.Hash.Definitions.bytes -> info: Spec.Hash.Definitions.bytes -> len: FStar.Integers.nat -> Prims.Pure (Spec.Agile.HKDF.lbytes len)
{ "end_col": 10, "end_line": 72, "start_col": 2, "start_line": 62 }
Prims.Tot
val bn_sub_eq_len_u32 (aLen: size_t) : bn_sub_eq_len_st U32 aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub_eq_len_u32 (aLen:size_t) : bn_sub_eq_len_st U32 aLen = bn_sub_eq_len aLen
val bn_sub_eq_len_u32 (aLen: size_t) : bn_sub_eq_len_st U32 aLen let bn_sub_eq_len_u32 (aLen: size_t) : bn_sub_eq_len_st U32 aLen =
false
null
false
bn_sub_eq_len aLen
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Lib.IntTypes.size_t", "Hacl.Bignum.Addition.bn_sub_eq_len", "Lib.IntTypes.U32", "Hacl.Bignum.Addition.bn_sub_eq_len_st" ]
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_sub_eq_len_u32 (aLen: size_t) : bn_sub_eq_len_st U32 aLen
[]
Hacl.Bignum.Addition.bn_sub_eq_len_u32
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_sub_eq_len_st Lib.IntTypes.U32 aLen
{ "end_col": 84, "end_line": 104, "start_col": 66, "start_line": 104 }
Prims.Tot
val bn_sub_eq_len_u64 (aLen: size_t) : bn_sub_eq_len_st U64 aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub_eq_len_u64 (aLen:size_t) : bn_sub_eq_len_st U64 aLen = bn_sub_eq_len aLen
val bn_sub_eq_len_u64 (aLen: size_t) : bn_sub_eq_len_st U64 aLen let bn_sub_eq_len_u64 (aLen: size_t) : bn_sub_eq_len_st U64 aLen =
false
null
false
bn_sub_eq_len aLen
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Lib.IntTypes.size_t", "Hacl.Bignum.Addition.bn_sub_eq_len", "Lib.IntTypes.U64", "Hacl.Bignum.Addition.bn_sub_eq_len_st" ]
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_sub_eq_len_u64 (aLen: size_t) : bn_sub_eq_len_st U64 aLen
[]
Hacl.Bignum.Addition.bn_sub_eq_len_u64
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_sub_eq_len_st Lib.IntTypes.U64 aLen
{ "end_col": 84, "end_line": 105, "start_col": 66, "start_line": 105 }
Prims.Tot
val bn_add_eq_len_u64 (aLen: size_t) : bn_add_eq_len_st U64 aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add_eq_len_u64 (aLen:size_t) : bn_add_eq_len_st U64 aLen = bn_add_eq_len aLen
val bn_add_eq_len_u64 (aLen: size_t) : bn_add_eq_len_st U64 aLen let bn_add_eq_len_u64 (aLen: size_t) : bn_add_eq_len_st U64 aLen =
false
null
false
bn_add_eq_len aLen
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Lib.IntTypes.size_t", "Hacl.Bignum.Addition.bn_add_eq_len", "Lib.IntTypes.U64", "Hacl.Bignum.Addition.bn_add_eq_len_st" ]
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_add_eq_len_u64 (aLen: size_t) : bn_add_eq_len_st U64 aLen
[]
Hacl.Bignum.Addition.bn_add_eq_len_u64
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_add_eq_len_st Lib.IntTypes.U64 aLen
{ "end_col": 84, "end_line": 262, "start_col": 66, "start_line": 262 }
Prims.Tot
val bn_add_eq_len_u32 (aLen: size_t) : bn_add_eq_len_st U32 aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add_eq_len_u32 (aLen:size_t) : bn_add_eq_len_st U32 aLen = bn_add_eq_len aLen
val bn_add_eq_len_u32 (aLen: size_t) : bn_add_eq_len_st U32 aLen let bn_add_eq_len_u32 (aLen: size_t) : bn_add_eq_len_st U32 aLen =
false
null
false
bn_add_eq_len aLen
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Lib.IntTypes.size_t", "Hacl.Bignum.Addition.bn_add_eq_len", "Lib.IntTypes.U32", "Hacl.Bignum.Addition.bn_add_eq_len_st" ]
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_add_eq_len_u32 (aLen: size_t) : bn_add_eq_len_st U32 aLen
[]
Hacl.Bignum.Addition.bn_add_eq_len_u32
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_add_eq_len_st Lib.IntTypes.U32 aLen
{ "end_col": 84, "end_line": 261, "start_col": 66, "start_line": 261 }
Prims.Tot
val bn_sub_eq_len_u (#t: limb_t) (aLen: size_t) : bn_sub_eq_len_st t aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub_eq_len_u (#t:limb_t) (aLen:size_t) : bn_sub_eq_len_st t aLen = match t with | U32 -> bn_sub_eq_len_u32 aLen | U64 -> bn_sub_eq_len_u64 aLen
val bn_sub_eq_len_u (#t: limb_t) (aLen: size_t) : bn_sub_eq_len_st t aLen let bn_sub_eq_len_u (#t: limb_t) (aLen: size_t) : bn_sub_eq_len_st t aLen =
false
null
false
match t with | U32 -> bn_sub_eq_len_u32 aLen | U64 -> bn_sub_eq_len_u64 aLen
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Addition.bn_sub_eq_len_u32", "Hacl.Bignum.Addition.bn_sub_eq_len_u64", "Hacl.Bignum.Addition.bn_sub_eq_len_st" ]
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_sub_eq_len_u (#t: limb_t) (aLen: size_t) : bn_sub_eq_len_st t aLen
[]
Hacl.Bignum.Addition.bn_sub_eq_len_u
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_sub_eq_len_st t aLen
{ "end_col": 33, "end_line": 111, "start_col": 2, "start_line": 109 }
Prims.Tot
val bn_add_eq_len_u (#t: limb_t) (aLen: size_t) : bn_add_eq_len_st t aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add_eq_len_u (#t:limb_t) (aLen:size_t) : bn_add_eq_len_st t aLen = match t with | U32 -> bn_add_eq_len_u32 aLen | U64 -> bn_add_eq_len_u64 aLen
val bn_add_eq_len_u (#t: limb_t) (aLen: size_t) : bn_add_eq_len_st t aLen let bn_add_eq_len_u (#t: limb_t) (aLen: size_t) : bn_add_eq_len_st t aLen =
false
null
false
match t with | U32 -> bn_add_eq_len_u32 aLen | U64 -> bn_add_eq_len_u64 aLen
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Addition.bn_add_eq_len_u32", "Hacl.Bignum.Addition.bn_add_eq_len_u64", "Hacl.Bignum.Addition.bn_add_eq_len_st" ]
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_add_eq_len_u (#t: limb_t) (aLen: size_t) : bn_add_eq_len_st t aLen
[]
Hacl.Bignum.Addition.bn_add_eq_len_u
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_add_eq_len_st t aLen
{ "end_col": 33, "end_line": 268, "start_col": 2, "start_line": 266 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub_eq_len_st (t:limb_t) (aLen:size_t) = a:lbignum t aLen -> b:lbignum t aLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res)...
let bn_sub_eq_len_st (t: limb_t) (aLen: size_t) =
false
null
false
a: lbignum t aLen -> b: lbignum t aLen -> res: lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Bignum.Definitions.limb", "Lib.Buffer.eq_or_disjoint", "Lib.Buffer.modifies", "...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
true
Hacl.Bignum.Addition.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 bn_sub_eq_len_st : t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> Type0
[]
Hacl.Bignum.Addition.bn_sub_eq_len_st
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> Type0
{ "end_col": 38, "end_line": 72, "start_col": 4, "start_line": 63 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add_eq_len_st (t:limb_t) (aLen:size_t) = a:lbignum t aLen -> b:lbignum t aLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res)...
let bn_add_eq_len_st (t: limb_t) (aLen: size_t) =
false
null
false
a: lbignum t aLen -> b: lbignum t aLen -> res: lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Bignum.Definitions.limb", "Lib.Buffer.eq_or_disjoint", "Lib.Buffer.modifies", "...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
true
Hacl.Bignum.Addition.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 bn_add_eq_len_st : t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> Type0
[]
Hacl.Bignum.Addition.bn_add_eq_len_st
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> Type0
{ "end_col": 38, "end_line": 228, "start_col": 4, "start_line": 219 }
FStar.HyperStack.ST.Stack
val bn_sub: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub #t aLen a bLen b res = let h0 = ST.get () in let a0 = sub a 0ul bLen in let res0 = sub res 0ul bLen in let h1 = ST.get () in let c0 = bn_sub_eq_len bLen a0 b res0 in let h1 = ST.get () in if bLen <. aLen then begin [@inline_let] let rLen = aLen -! bLen in let a1 = sub a bLen rLen in ...
val bn_sub: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
true
null
false
let h0 = ST.get () in let a0 = sub a 0ul bLen in let res0 = sub res 0ul bLen in let h1 = ST.get () in let c0 = bn_sub_eq_len bLen a0 b res0 in let h1 = ST.get () in if bLen <. aLen then [@@ inline_let ]let rLen = aLen -! bLen in let a1 = sub a bLen rLen in let res1 = sub res bLen rLen in let c1 = bn_sub_carry r...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.op_Less_Dot", "Prims.unit", "Lib.Sequence.lemma_concat2", "Hacl.Bignum.Definitions.limb",...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_sub: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
[]
Hacl.Bignum.Addition.bn_sub
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> a: Hacl.Bignum.Definitions.lbignum t aLen -> bLen: Lib.IntTypes.size_t{Lib.IntTypes.v bLen <= Lib.IntTypes.v aLen} -> b: Hacl.Bignum.Definitions.lbignum t bLen -> res: Hacl.Bignum.Definitions.lbignum t aLen -> FStar.HyperStack.ST.Stack (Hacl.Spec.Bignum.Base.carry t)
{ "end_col": 9, "end_line": 145, "start_col": 33, "start_line": 130 }
FStar.HyperStack.ST.Stack
val bn_add: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add #t aLen a bLen b res = let h0 = ST.get () in let a0 = sub a 0ul bLen in let res0 = sub res 0ul bLen in let c0 = bn_add_eq_len bLen a0 b res0 in let h1 = ST.get () in if bLen <. aLen then begin [@inline_let] let rLen = aLen -! bLen in let a1 = sub a bLen rLen in let res1 = sub res bLen...
val bn_add: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
true
null
false
let h0 = ST.get () in let a0 = sub a 0ul bLen in let res0 = sub res 0ul bLen in let c0 = bn_add_eq_len bLen a0 b res0 in let h1 = ST.get () in if bLen <. aLen then [@@ inline_let ]let rLen = aLen -! bLen in let a1 = sub a bLen rLen in let res1 = sub res bLen rLen in let c1 = bn_add_carry rLen a1 c0 res1 in le...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.op_Less_Dot", "Prims.unit", "Lib.Sequence.lemma_concat2", "Hacl.Bignum.Definitions.limb",...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_add: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
[]
Hacl.Bignum.Addition.bn_add
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> a: Hacl.Bignum.Definitions.lbignum t aLen -> bLen: Lib.IntTypes.size_t{Lib.IntTypes.v bLen <= Lib.IntTypes.v aLen} -> b: Hacl.Bignum.Definitions.lbignum t bLen -> res: Hacl.Bignum.Definitions.lbignum t aLen -> FStar.HyperStack.ST.Stack (Hacl.Spec.Bignum.Base.carry t)
{ "end_col": 9, "end_line": 301, "start_col": 33, "start_line": 287 }
FStar.HyperStack.ST.Stack
val bn_add1: #t:limb_t -> aLen:size_t{0 < v aLen} -> a:lbignum t aLen -> b1:limb t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_add1 (as_seq h0 a) b1 in ...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add1 #t aLen a b1 res = let c0 = addcarry_st (uint #t 0) a.(0ul) b1 (sub res 0ul 1ul) in let h0 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h0 res) 0 1) (LSeq.create 1 (LSeq.index (as_seq h0 res) 0)); if 1ul <. aLen then begin [@inline_let] let rLen = aLen -! 1ul in let a1 = sub a 1ul rLen in...
val bn_add1: #t:limb_t -> aLen:size_t{0 < v aLen} -> a:lbignum t aLen -> b1:limb t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_add1 (as_seq h0 a) b1 in ...
true
null
false
let c0 = addcarry_st (uint #t 0) a.(0ul) b1 (sub res 0ul 1ul) in let h0 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h0 res) 0 1) (LSeq.create 1 (LSeq.index (as_seq h0 res) 0)); if 1ul <. aLen then [@@ inline_let ]let rLen = aLen -! 1ul in let a1 = sub a 1ul rLen in let res1 = sub res 1ul rLen in let c1 = bn_...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.op_Less_Dot", "FStar.UInt32.__uint_to_t", "Prims.unit", "Lib.S...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_add1: #t:limb_t -> aLen:size_t{0 < v aLen} -> a:lbignum t aLen -> b1:limb t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_add1 (as_seq h0 a) b1 in ...
[]
Hacl.Bignum.Addition.bn_add1
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t{0 < Lib.IntTypes.v aLen} -> a: Hacl.Bignum.Definitions.lbignum t aLen -> b1: Hacl.Bignum.Definitions.limb t -> res: Hacl.Bignum.Definitions.lbignum t aLen -> FStar.HyperStack.ST.Stack (Hacl.Spec.Bignum.Base.carry t)
{ "end_col": 9, "end_line": 331, "start_col": 30, "start_line": 318 }
FStar.HyperStack.ST.Stack
val bn_sub1: #t:limb_t -> aLen:size_t{0 < v aLen} -> a:lbignum t aLen -> b1:limb t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_sub1 (as_seq h0 a) b1 in ...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub1 #t aLen a b1 res = let c0 = subborrow_st (uint #t 0) a.(0ul) b1 (sub res 0ul 1ul) in let h0 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h0 res) 0 1) (LSeq.create 1 (LSeq.index (as_seq h0 res) 0)); if 1ul <. aLen then begin [@inline_let] let rLen = aLen -! 1ul in let a1 = sub a 1ul rLen i...
val bn_sub1: #t:limb_t -> aLen:size_t{0 < v aLen} -> a:lbignum t aLen -> b1:limb t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_sub1 (as_seq h0 a) b1 in ...
true
null
false
let c0 = subborrow_st (uint #t 0) a.(0ul) b1 (sub res 0ul 1ul) in let h0 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h0 res) 0 1) (LSeq.create 1 (LSeq.index (as_seq h0 res) 0)); if 1ul <. aLen then [@@ inline_let ]let rLen = aLen -! 1ul in let a1 = sub a 1ul rLen in let res1 = sub res 1ul rLen in let c1 = bn...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.op_Less_Dot", "FStar.UInt32.__uint_to_t", "Prims.unit", "Lib.S...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_sub1: #t:limb_t -> aLen:size_t{0 < v aLen} -> a:lbignum t aLen -> b1:limb t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_sub1 (as_seq h0 a) b1 in ...
[]
Hacl.Bignum.Addition.bn_sub1
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t{0 < Lib.IntTypes.v aLen} -> a: Hacl.Bignum.Definitions.lbignum t aLen -> b1: Hacl.Bignum.Definitions.limb t -> res: Hacl.Bignum.Definitions.lbignum t aLen -> FStar.HyperStack.ST.Stack (Hacl.Spec.Bignum.Base.carry t)
{ "end_col": 9, "end_line": 175, "start_col": 30, "start_line": 162 }
Prims.Tot
val bn_add_eq_len: #t:limb_t -> aLen:size_t -> bn_add_eq_len_st t aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add_eq_len #t aLen a b res = push_frame (); let c = create 1ul (uint #t 0) in [@inline_let] let refl h i = LSeq.index (as_seq h c) 0 in [@inline_let] let footprint (i:size_nat{i <= v aLen}) : GTot (l:B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = l...
val bn_add_eq_len: #t:limb_t -> aLen:size_t -> bn_add_eq_len_st t aLen let bn_add_eq_len #t aLen a b res =
false
null
false
push_frame (); let c = create 1ul (uint #t 0) in [@@ inline_let ]let refl h i = LSeq.index (as_seq h c) 0 in [@@ inline_let ]let footprint (i: size_nat{i <= v aLen}) : GTot (l: B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = loc c in [@@ inline_let ]let spec h = ...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Lib.Buffer.op_Array_Access", "Lib.Buffer.MUT", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Lib.fill_elems4", "Hacl.Bignum.Definiti...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_add_eq_len: #t:limb_t -> aLen:size_t -> bn_add_eq_len_st t aLen
[]
Hacl.Bignum.Addition.bn_add_eq_len
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_add_eq_len_st t aLen
{ "end_col": 5, "end_line": 258, "start_col": 2, "start_line": 234 }
Prims.Tot
val bn_sub_eq_len: #t:limb_t -> aLen:size_t -> bn_sub_eq_len_st t aLen
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub_eq_len #t aLen a b res = push_frame (); let c = create 1ul (uint #t 0) in [@inline_let] let refl h i = LSeq.index (as_seq h c) 0 in [@inline_let] let footprint (i:size_nat{i <= v aLen}) : GTot (l:B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = l...
val bn_sub_eq_len: #t:limb_t -> aLen:size_t -> bn_sub_eq_len_st t aLen let bn_sub_eq_len #t aLen a b res =
false
null
false
push_frame (); let c = create 1ul (uint #t 0) in [@@ inline_let ]let refl h i = LSeq.index (as_seq h c) 0 in [@@ inline_let ]let footprint (i: size_nat{i <= v aLen}) : GTot (l: B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = loc c in [@@ inline_let ]let spec h = ...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Lib.Buffer.op_Array_Access", "Lib.Buffer.MUT", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Lib.fill_elems4", "Hacl.Bignum.Definiti...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_sub_eq_len: #t:limb_t -> aLen:size_t -> bn_sub_eq_len_st t aLen
[]
Hacl.Bignum.Addition.bn_sub_eq_len
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_sub_eq_len_st t aLen
{ "end_col": 5, "end_line": 102, "start_col": 2, "start_line": 78 }
FStar.HyperStack.ST.Stack
val bn_sub_carry: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> c_in:carry t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_sub_carry (as_seq h0 a) c_in in c_...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_sub_carry #t aLen a c_in res = push_frame (); let c = create 1ul c_in in [@inline_let] let refl h i = LSeq.index (as_seq h c) 0 in [@inline_let] let footprint (i:size_nat{i <= v aLen}) : GTot (l:B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = loc c ...
val bn_sub_carry: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> c_in:carry t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_sub_carry (as_seq h0 a) c_in in c_...
true
null
false
push_frame (); let c = create 1ul c_in in [@@ inline_let ]let refl h i = LSeq.index (as_seq h c) 0 in [@@ inline_let ]let footprint (i: size_nat{i <= v aLen}) : GTot (l: B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = loc c in [@@ inline_let ]let spec h = S.bn_su...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Lib.Buffer.op_Array_Access", "Lib.Buffer.MUT", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Lib.fill_elems4", "Hacl.Bignum.Definiti...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_sub_carry: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> c_in:carry t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_sub_carry (as_seq h0 a) c_in in c_...
[]
Hacl.Bignum.Addition.bn_sub_carry
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> a: Hacl.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> res: Hacl.Bignum.Definitions.lbignum t aLen -> FStar.HyperStack.ST.Stack (Hacl.Spec.Bignum.Base.carry t)
{ "end_col": 5, "end_line": 58, "start_col": 2, "start_line": 36 }
FStar.HyperStack.ST.Stack
val bn_add_carry: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> c_in:carry t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_add_carry (as_seq h0 a) c_in in c_...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Addition", "short_module": "S" }, { "abbrev": true, "full_mo...
false
let bn_add_carry #t aLen a c_in res = push_frame (); let c = create 1ul c_in in [@inline_let] let refl h i = LSeq.index (as_seq h c) 0 in [@inline_let] let footprint (i:size_nat{i <= v aLen}) : GTot (l:B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = loc c ...
val bn_add_carry: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> c_in:carry t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_add_carry (as_seq h0 a) c_in in c_...
true
null
false
push_frame (); let c = create 1ul c_in in [@@ inline_let ]let refl h i = LSeq.index (as_seq h c) 0 in [@@ inline_let ]let footprint (i: size_nat{i <= v aLen}) : GTot (l: B.loc{B.loc_disjoint l (loc res) /\ B.address_liveness_insensitive_locs `B.loc_includes` l}) = loc c in [@@ inline_let ]let spec h = S.bn_ad...
{ "checked_file": "Hacl.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Addition.fst.checked", "Hacl....
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Lib.Buffer.op_Array_Access", "Lib.Buffer.MUT", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Lib.fill_elems4", "Hacl.Bignum.Definiti...
[]
module Hacl.Bignum.Addition open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Addition module LSeq = Lib.Sequence ...
false
false
Hacl.Bignum.Addition.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 bn_add_carry: #t:limb_t -> aLen:size_t -> a:lbignum t aLen -> c_in:carry t -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h res /\ eq_or_disjoint a res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (let c, r = S.bn_add_carry (as_seq h0 a) c_in in c_...
[]
Hacl.Bignum.Addition.bn_add_carry
{ "file_name": "code/bignum/Hacl.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
aLen: Lib.IntTypes.size_t -> a: Hacl.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> res: Hacl.Bignum.Definitions.lbignum t aLen -> FStar.HyperStack.ST.Stack (Hacl.Spec.Bignum.Base.carry t)
{ "end_col": 5, "end_line": 214, "start_col": 2, "start_line": 192 }
Prims.Tot
val varray (#elt: Type) (a: array elt) : Tot vprop
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let varray (#elt: Type) (a: array elt) : Tot vprop = varrayp a P.full_perm
val varray (#elt: Type) (a: array elt) : Tot vprop let varray (#elt: Type) (a: array elt) : Tot vprop =
false
null
false
varrayp a P.full_perm
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[ "total" ]
[ "Steel.ST.Array.array", "Steel.Array.varrayp", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 varray (#elt: Type) (a: array elt) : Tot vprop
[]
Steel.Array.varray
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> Steel.Effect.Common.vprop
{ "end_col": 23, "end_line": 74, "start_col": 2, "start_line": 74 }
Prims.Tot
val varrayp (#elt: Type) (a: array elt) (p: P.perm) : Tot vprop
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let varrayp (#elt: Type) (a: array elt) (p: P.perm) : Tot vprop = VUnit ({ hp = varrayp_hp a p; t = _; sel = varrayp_sel a p; })
val varrayp (#elt: Type) (a: array elt) (p: P.perm) : Tot vprop let varrayp (#elt: Type) (a: array elt) (p: P.perm) : Tot vprop =
false
null
false
VUnit ({ hp = varrayp_hp a p; t = _; sel = varrayp_sel a p })
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[ "total" ]
[ "Steel.ST.Array.array", "Steel.FractionalPermission.perm", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.Mkvprop'", "Steel.Array.varrayp_hp", "FStar.Seq.Properties.lseq", "Steel.ST.Array.length", "Steel.Array.varrayp_sel", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 varrayp (#elt: Type) (a: array elt) (p: P.perm) : Tot vprop
[]
Steel.Array.varrayp
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> p: Steel.FractionalPermission.perm -> Steel.Effect.Common.vprop
{ "end_col": 4, "end_line": 59, "start_col": 2, "start_line": 55 }
Prims.GTot
val asel (#elt: Type) (#vp: vprop) (a: array elt) (h: rmem vp {FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varray a) /\ True)}) : GTot (Seq.lseq elt (length a))
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let asel (#elt: Type) (#vp: vprop) (a: array elt) (h: rmem vp { FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varray a) /\ True) }) : GTot (Seq.lseq elt (length a)) = h (varray a)
val asel (#elt: Type) (#vp: vprop) (a: array elt) (h: rmem vp {FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varray a) /\ True)}) : GTot (Seq.lseq elt (length a)) let asel (#elt: Type) (#vp: vprop) (a: array elt) (h: rmem vp {FStar.Tactics.with_tactic se...
false
null
false
h (varray a)
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[ "sometrivial" ]
[ "Steel.Effect.Common.vprop", "Steel.ST.Array.array", "Steel.Effect.Common.rmem", "FStar.Tactics.Effect.with_tactic", "Steel.Effect.Common.selector_tactic", "Prims.l_and", "Steel.Effect.Common.can_be_split", "Steel.Array.varray", "Prims.l_True", "FStar.Seq.Properties.lseq", "Steel.ST.Array.length...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 asel (#elt: Type) (#vp: vprop) (a: array elt) (h: rmem vp {FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varray a) /\ True)}) : GTot (Seq.lseq elt (length a))
[]
Steel.Array.asel
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> h: Steel.Effect.Common.rmem vp { FStar.Tactics.Effect.with_tactic Steel.Effect.Common.selector_tactic (Steel.Effect.Common.can_be_split vp (Steel.Array.varray a) /\ Prims.l_True) } -> Prims.GTot (FStar.Seq.Properties.lseq elt (Steel.ST.Array.length a))
{ "end_col": 14, "end_line": 80, "start_col": 2, "start_line": 80 }
Prims.GTot
val aselp (#elt: Type) (#vp: vprop) (a: array elt) (p: P.perm) (h: rmem vp {FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varrayp a p) /\ True)}) : GTot (Seq.lseq elt (length a))
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let aselp (#elt: Type) (#vp: vprop) (a: array elt) (p: P.perm) (h: rmem vp { FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varrayp a p) /\ True) }) : GTot (Seq.lseq elt (length a)) = h (varrayp a p)
val aselp (#elt: Type) (#vp: vprop) (a: array elt) (p: P.perm) (h: rmem vp {FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varrayp a p) /\ True)}) : GTot (Seq.lseq elt (length a)) let aselp (#elt: Type) (#vp: vprop) (a: array elt) ...
false
null
false
h (varrayp a p)
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[ "sometrivial" ]
[ "Steel.Effect.Common.vprop", "Steel.ST.Array.array", "Steel.FractionalPermission.perm", "Steel.Effect.Common.rmem", "FStar.Tactics.Effect.with_tactic", "Steel.Effect.Common.selector_tactic", "Prims.l_and", "Steel.Effect.Common.can_be_split", "Steel.Array.varrayp", "Prims.l_True", "FStar.Seq.Prop...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 aselp (#elt: Type) (#vp: vprop) (a: array elt) (p: P.perm) (h: rmem vp {FStar.Tactics.with_tactic selector_tactic (can_be_split vp (varrayp a p) /\ True)}) : GTot (Seq.lseq elt (length a))
[]
Steel.Array.aselp
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> p: Steel.FractionalPermission.perm -> h: Steel.Effect.Common.rmem vp { FStar.Tactics.Effect.with_tactic Steel.Effect.Common.selector_tactic (Steel.Effect.Common.can_be_split vp (Steel.Array.varrayp a p) /\ Prims.l_True) } -> Prims.GTot (FStar.Seq.P...
{ "end_col": 17, "end_line": 68, "start_col": 2, "start_line": 68 }
Steel.Effect.Atomic.SteelGhost
val elim_varray (#opened: _) (#elt: Type) (a: array elt) : SteelGhost (Ghost.erased (Seq.seq elt)) opened (varray a) (fun res -> pts_to a P.full_perm res) (fun _ -> True) (fun h res _ -> Ghost.reveal res == asel a h)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let elim_varray (#opened: _) (#elt: Type) (a: array elt) : SteelGhost (Ghost.erased (Seq.seq elt)) opened (varray a) (fun res -> pts_to a P.full_perm res) (fun _ -> True) (fun h res _ -> Ghost.reveal res == asel a h ) = elim_varrayp _ _
val elim_varray (#opened: _) (#elt: Type) (a: array elt) : SteelGhost (Ghost.erased (Seq.seq elt)) opened (varray a) (fun res -> pts_to a P.full_perm res) (fun _ -> True) (fun h res _ -> Ghost.reveal res == asel a h) let elim_varray (#opened: _) (#elt: Type) (a: array elt) : SteelG...
true
null
false
elim_varrayp _ _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.Memory.inames", "Steel.ST.Array.array", "Steel.Array.elim_varrayp", "Steel.FractionalPermission.full_perm", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Steel.Array.varray", "Steel.ST.Array.pts_to", "FStar.Ghost.reveal", "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "Prims.l_...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 elim_varray (#opened: _) (#elt: Type) (a: array elt) : SteelGhost (Ghost.erased (Seq.seq elt)) opened (varray a) (fun res -> pts_to a P.full_perm res) (fun _ -> True) (fun h res _ -> Ghost.reveal res == asel a h)
[]
Steel.Array.elim_varray
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> Steel.Effect.Atomic.SteelGhost (FStar.Ghost.erased (FStar.Seq.Base.seq elt))
{ "end_col": 18, "end_line": 124, "start_col": 2, "start_line": 124 }
Steel.Effect.Atomic.SteelGhost
val intro_varray (#opened: _) (#elt: Type) (a: array elt) (s: Seq.seq elt) : SteelGhost unit opened (pts_to a P.full_perm s) (fun _ -> varray a) (fun _ -> True) (fun _ _ h' -> asel a h' == s)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let intro_varray (#opened: _) (#elt: Type) (a: array elt) (s: Seq.seq elt) : SteelGhost unit opened (pts_to a P.full_perm s) (fun _ -> varray a) (fun _ -> True) (fun _ _ h' -> asel a h' == s ) = intro_varrayp _ _ _
val intro_varray (#opened: _) (#elt: Type) (a: array elt) (s: Seq.seq elt) : SteelGhost unit opened (pts_to a P.full_perm s) (fun _ -> varray a) (fun _ -> True) (fun _ _ h' -> asel a h' == s) let intro_varray (#opened: _) (#elt: Type) (a: array elt) (s: Seq.seq elt) : SteelGhost un...
true
null
false
intro_varrayp _ _ _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.Memory.inames", "Steel.ST.Array.array", "FStar.Seq.Base.seq", "Steel.Array.intro_varrayp", "Steel.FractionalPermission.full_perm", "Prims.unit", "Steel.ST.Array.pts_to", "Steel.Array.varray", "Steel.Effect.Common.vprop", "Steel.Effect.Common.rmem", "Prims.l_True", "Prims.eq2", "Steel....
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 intro_varray (#opened: _) (#elt: Type) (a: array elt) (s: Seq.seq elt) : SteelGhost unit opened (pts_to a P.full_perm s) (fun _ -> varray a) (fun _ -> True) (fun _ _ h' -> asel a h' == s)
[]
Steel.Array.intro_varray
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> s: FStar.Seq.Base.seq elt -> Steel.Effect.Atomic.SteelGhost Prims.unit
{ "end_col": 21, "end_line": 102, "start_col": 2, "start_line": 102 }
Steel.Effect.SteelT
val intro_fits_ptrdiff64: unit -> SteelT (squash (UP.fits (FStar.Int.max_int 64))) emp (fun _ -> emp)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let intro_fits_ptrdiff64 (_:unit) : SteelT (squash (UP.fits (FStar.Int.max_int 64))) emp (fun _ -> emp) = A.intro_fits_ptrdiff64 ()
val intro_fits_ptrdiff64: unit -> SteelT (squash (UP.fits (FStar.Int.max_int 64))) emp (fun _ -> emp) let intro_fits_ptrdiff64 (_: unit) : SteelT (squash (UP.fits (FStar.Int.max_int 64))) emp (fun _ -> emp) =
true
null
true
A.intro_fits_ptrdiff64 ()
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Prims.unit", "Steel.ST.Array.intro_fits_ptrdiff64", "Prims.squash", "FStar.PtrdiffT.fits", "FStar.Int.max_int", "Steel.Effect.Common.emp", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 intro_fits_ptrdiff64: unit -> SteelT (squash (UP.fits (FStar.Int.max_int 64))) emp (fun _ -> emp)
[]
Steel.Array.intro_fits_ptrdiff64
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> Steel.Effect.SteelT (Prims.squash (FStar.PtrdiffT.fits (FStar.Int.max_int 64)))
{ "end_col": 29, "end_line": 423, "start_col": 4, "start_line": 423 }
Steel.Effect.SteelT
val intro_fits_u64: unit -> SteelT (squash (US.fits_u64)) emp (fun _ -> emp)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let intro_fits_u64 (_:unit) : SteelT (squash (US.fits_u64)) emp (fun _ -> emp) = A.intro_fits_u64 ()
val intro_fits_u64: unit -> SteelT (squash (US.fits_u64)) emp (fun _ -> emp) let intro_fits_u64 (_: unit) : SteelT (squash (US.fits_u64)) emp (fun _ -> emp) =
true
null
true
A.intro_fits_u64 ()
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Prims.unit", "Steel.ST.Array.intro_fits_u64", "Prims.squash", "FStar.SizeT.fits_u64", "Steel.Effect.Common.emp", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 intro_fits_u64: unit -> SteelT (squash (US.fits_u64)) emp (fun _ -> emp)
[]
Steel.Array.intro_fits_u64
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> Steel.Effect.SteelT (Prims.squash FStar.SizeT.fits_u64)
{ "end_col": 23, "end_line": 405, "start_col": 4, "start_line": 405 }
Steel.Effect.SteelT
val intro_fits_ptrdiff32: unit -> SteelT (squash (UP.fits (FStar.Int.max_int 32))) emp (fun _ -> emp)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let intro_fits_ptrdiff32 (_:unit) : SteelT (squash (UP.fits (FStar.Int.max_int 32))) emp (fun _ -> emp) = A.intro_fits_ptrdiff32 ()
val intro_fits_ptrdiff32: unit -> SteelT (squash (UP.fits (FStar.Int.max_int 32))) emp (fun _ -> emp) let intro_fits_ptrdiff32 (_: unit) : SteelT (squash (UP.fits (FStar.Int.max_int 32))) emp (fun _ -> emp) =
true
null
true
A.intro_fits_ptrdiff32 ()
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Prims.unit", "Steel.ST.Array.intro_fits_ptrdiff32", "Prims.squash", "FStar.PtrdiffT.fits", "FStar.Int.max_int", "Steel.Effect.Common.emp", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 intro_fits_ptrdiff32: unit -> SteelT (squash (UP.fits (FStar.Int.max_int 32))) emp (fun _ -> emp)
[]
Steel.Array.intro_fits_ptrdiff32
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> Steel.Effect.SteelT (Prims.squash (FStar.PtrdiffT.fits (FStar.Int.max_int 32)))
{ "end_col": 29, "end_line": 414, "start_col": 4, "start_line": 414 }
Steel.Effect.SteelT
val intro_fits_u32: unit -> SteelT (squash (US.fits_u32)) emp (fun _ -> emp)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let intro_fits_u32 (_:unit) : SteelT (squash (US.fits_u32)) emp (fun _ -> emp) = A.intro_fits_u32 ()
val intro_fits_u32: unit -> SteelT (squash (US.fits_u32)) emp (fun _ -> emp) let intro_fits_u32 (_: unit) : SteelT (squash (US.fits_u32)) emp (fun _ -> emp) =
true
null
true
A.intro_fits_u32 ()
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Prims.unit", "Steel.ST.Array.intro_fits_u32", "Prims.squash", "FStar.SizeT.fits_u32", "Steel.Effect.Common.emp", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 intro_fits_u32: unit -> SteelT (squash (US.fits_u32)) emp (fun _ -> emp)
[]
Steel.Array.intro_fits_u32
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> Steel.Effect.SteelT (Prims.squash FStar.SizeT.fits_u32)
{ "end_col": 23, "end_line": 396, "start_col": 4, "start_line": 396 }
Steel.Effect.Atomic.SteelGhost
val varrayp_not_null (#opened: _) (#elt: Type) (a: array elt) (p: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> varrayp a p) (fun _ -> True) (fun h _ h' -> aselp a p h' == aselp a p h /\ a =!= null)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let varrayp_not_null (#opened: _) (#elt: Type) (a: array elt) (p: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> varrayp a p) (fun _ -> True) (fun h _ h' -> aselp a p h' == aselp a p h /\ a =!= null ) = let _ = elim_varrayp a p in pts_to_not_null a _; intro_varrayp a p _
val varrayp_not_null (#opened: _) (#elt: Type) (a: array elt) (p: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> varrayp a p) (fun _ -> True) (fun h _ h' -> aselp a p h' == aselp a p h /\ a =!= null) let varrayp_not_null (#opened: _) (#elt: Type) (a: array elt) (p: P.perm) ...
true
null
false
let _ = elim_varrayp a p in pts_to_not_null a _; intro_varrayp a p _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.Memory.inames", "Steel.ST.Array.array", "Steel.FractionalPermission.perm", "Steel.Array.intro_varrayp", "FStar.Ghost.reveal", "FStar.Seq.Base.seq", "Prims.unit", "Steel.ST.Array.pts_to_not_null", "FStar.Ghost.erased", "Steel.Array.elim_varrayp", "Steel.Array.varrayp", "Steel.Effect.Comm...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 varrayp_not_null (#opened: _) (#elt: Type) (a: array elt) (p: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> varrayp a p) (fun _ -> True) (fun h _ h' -> aselp a p h' == aselp a p h /\ a =!= null)
[]
Steel.Array.varrayp_not_null
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> p: Steel.FractionalPermission.perm -> Steel.Effect.Atomic.SteelGhost Prims.unit
{ "end_col": 21, "end_line": 138, "start_col": 1, "start_line": 136 }
Steel.Effect.Steel
val malloc (#elt: Type) (x: elt) (n: US.t) : Steel (array elt) emp (fun a -> varray a) (fun _ -> True) (fun _ a h' -> length a == US.v n /\ is_full_array a /\ asel a h' == Seq.create (US.v n) x)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let malloc (#elt: Type) (x: elt) (n: US.t) : Steel (array elt) emp (fun a -> varray a) (fun _ -> True) (fun _ a h' -> length a == US.v n /\ is_full_array a /\ asel a h' == Seq.create (US.v n) x ) = let res = A.malloc x n in intro_varray res _; return res
val malloc (#elt: Type) (x: elt) (n: US.t) : Steel (array elt) emp (fun a -> varray a) (fun _ -> True) (fun _ a h' -> length a == US.v n /\ is_full_array a /\ asel a h' == Seq.create (US.v n) x) let malloc (#elt: Type) (x: elt) (n: US.t) : Steel (array elt) emp (fun a -> varr...
true
null
false
let res = A.malloc x n in intro_varray res _; return res
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "FStar.SizeT.t", "Steel.Effect.Atomic.return", "Steel.ST.Array.array", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Array.varrayp", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop", "Prims.unit", "Steel.Array.intro_varray", "FStar.Se...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 malloc (#elt: Type) (x: elt) (n: US.t) : Steel (array elt) emp (fun a -> varray a) (fun _ -> True) (fun _ a h' -> length a == US.v n /\ is_full_array a /\ asel a h' == Seq.create (US.v n) x)
[]
Steel.Array.malloc
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: elt -> n: FStar.SizeT.t -> Steel.Effect.Steel (Steel.ST.Array.array elt)
{ "end_col": 12, "end_line": 160, "start_col": 1, "start_line": 158 }
Steel.Effect.Atomic.SteelGhost
val share (#opened: _) (#elt: Type) (a: array elt) (p p1 p2: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> (varrayp a p1) `star` (varrayp a p2)) (fun _ -> p == p1 `P.sum_perm` p2) (fun h _ h' -> aselp a p1 h' == aselp a p h /\ aselp a p2 h' == aselp a p h)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let share (#opened: _) (#elt: Type) (a: array elt) (p p1 p2: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> varrayp a p1 `star` varrayp a p2) (fun _ -> p == p1 `P.sum_perm` p2) (fun h _ h' -> aselp a p1 h' == aselp a p h /\ aselp a p2 h' == aselp a p h ) = let _ = elim_...
val share (#opened: _) (#elt: Type) (a: array elt) (p p1 p2: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> (varrayp a p1) `star` (varrayp a p2)) (fun _ -> p == p1 `P.sum_perm` p2) (fun h _ h' -> aselp a p1 h' == aselp a p h /\ aselp a p2 h' == aselp a p h) let share (#opened...
true
null
false
let _ = elim_varrayp a p in A.share a p p1 p2; intro_varrayp a p1 _; intro_varrayp a p2 _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.Memory.inames", "Steel.ST.Array.array", "Steel.FractionalPermission.perm", "Steel.Array.intro_varrayp", "FStar.Ghost.reveal", "FStar.Seq.Base.seq", "Prims.unit", "Steel.ST.Array.share", "FStar.Ghost.erased", "Steel.Array.elim_varrayp", "Steel.Array.varrayp", "Steel.Effect.Common.star", ...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 share (#opened: _) (#elt: Type) (a: array elt) (p p1 p2: P.perm) : SteelGhost unit opened (varrayp a p) (fun _ -> (varrayp a p1) `star` (varrayp a p2)) (fun _ -> p == p1 `P.sum_perm` p2) (fun h _ h' -> aselp a p1 h' == aselp a p h /\ aselp a p2 h' == aselp a p h)
[]
Steel.Array.share
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> p: Steel.FractionalPermission.perm -> p1: Steel.FractionalPermission.perm -> p2: Steel.FractionalPermission.perm -> Steel.Effect.Atomic.SteelGhost Prims.unit
{ "end_col": 22, "end_line": 199, "start_col": 1, "start_line": 196 }
Steel.Effect.Atomic.SteelGhost
val gather (#opened: _) (#elt: Type) (a: array elt) (p1 p2: P.perm) : SteelGhost unit opened ((varrayp a p1) `star` (varrayp a p2)) (fun _ -> varrayp a (p1 `P.sum_perm` p2)) (fun _ -> True) (fun h _ h' -> aselp a (p1 `P.sum_perm` p2) h' == aselp a p1 h /\ aselp a (p...
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let gather (#opened: _) (#elt: Type) (a: array elt) (p1: P.perm) (p2: P.perm) : SteelGhost unit opened (varrayp a p1 `star` varrayp a p2) (fun _ -> varrayp a (p1 `P.sum_perm` p2)) (fun _ -> True) (fun h _ h' -> aselp a (p1 `P.sum_perm` p2) h' == aselp a p1 h /\ aselp a (p1 `P.sum_p...
val gather (#opened: _) (#elt: Type) (a: array elt) (p1 p2: P.perm) : SteelGhost unit opened ((varrayp a p1) `star` (varrayp a p2)) (fun _ -> varrayp a (p1 `P.sum_perm` p2)) (fun _ -> True) (fun h _ h' -> aselp a (p1 `P.sum_perm` p2) h' == aselp a p1 h /\ aselp a (p...
true
null
false
let _ = elim_varrayp a p1 in let _ = elim_varrayp a p2 in A.gather a p1 p2; intro_varrayp a _ _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.Memory.inames", "Steel.ST.Array.array", "Steel.FractionalPermission.perm", "Steel.Array.intro_varrayp", "Steel.FractionalPermission.sum_perm", "FStar.Ghost.reveal", "FStar.Seq.Base.seq", "Prims.unit", "Steel.ST.Array.gather", "FStar.Ghost.erased", "Steel.Array.elim_varrayp", "Steel.Effe...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 gather (#opened: _) (#elt: Type) (a: array elt) (p1 p2: P.perm) : SteelGhost unit opened ((varrayp a p1) `star` (varrayp a p2)) (fun _ -> varrayp a (p1 `P.sum_perm` p2)) (fun _ -> True) (fun h _ h' -> aselp a (p1 `P.sum_perm` p2) h' == aselp a p1 h /\ aselp a (p...
[]
Steel.Array.gather
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> p1: Steel.FractionalPermission.perm -> p2: Steel.FractionalPermission.perm -> Steel.Effect.Atomic.SteelGhost Prims.unit
{ "end_col": 21, "end_line": 219, "start_col": 1, "start_line": 216 }
Steel.Effect.Steel
val index (#t: Type) (#p: P.perm) (a: array t) (i: US.t) : Steel t (varrayp a p) (fun _ -> varrayp a p) (fun _ -> US.v i < length a) (fun h res h' -> let s = aselp a p h in aselp a p h' == s /\ US.v i < Seq.length s /\ res == Seq.index s (US.v i))
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let index (#t: Type) (#p: P.perm) (a: array t) (i: US.t) : Steel t (varrayp a p) (fun _ -> varrayp a p) (fun _ -> US.v i < length a) (fun h res h' -> let s = aselp a p h in aselp a p h' == s /\ US.v i < Seq.length s /\ res == Seq.index s (US.v i) ) = let _ = elim_varray...
val index (#t: Type) (#p: P.perm) (a: array t) (i: US.t) : Steel t (varrayp a p) (fun _ -> varrayp a p) (fun _ -> US.v i < length a) (fun h res h' -> let s = aselp a p h in aselp a p h' == s /\ US.v i < Seq.length s /\ res == Seq.index s (US.v i)) let index (#t: Type) (#p...
true
null
false
let _ = elim_varrayp a p in let res = A.index a i in intro_varrayp a _ _; return res
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "FStar.SizeT.t", "Steel.Effect.Atomic.return", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Array.varrayp", "Steel.Effect.Common.vprop", "Prims.unit", "Steel.Array.intro_varrayp", "FStar.Ghost....
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 index (#t: Type) (#p: P.perm) (a: array t) (i: US.t) : Steel t (varrayp a p) (fun _ -> varrayp a p) (fun _ -> US.v i < length a) (fun h res h' -> let s = aselp a p h in aselp a p h' == s /\ US.v i < Seq.length s /\ res == Seq.index s (US.v i))
[]
Steel.Array.index
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array t -> i: FStar.SizeT.t -> Steel.Effect.Steel t
{ "end_col": 12, "end_line": 242, "start_col": 1, "start_line": 239 }
Steel.Effect.Atomic.SteelGhost
val ghost_join (#opened: _) (#elt: Type) (#p: P.perm) (a1 a2: array elt) (sq: squash (adjacent a1 a2)) : SteelGhost unit opened ((varrayp a1 p) `star` (varrayp a2 p)) (fun res -> varrayp (merge a1 a2) p) (fun _ -> True) (fun h _ h' -> aselp (merge a1 a2) p...
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let ghost_join (#opened: _) (#elt: Type) (#p: P.perm) (a1 a2: array elt) (sq: squash (adjacent a1 a2)) : SteelGhost unit opened (varrayp a1 p `star` varrayp a2 p) (fun res -> varrayp (merge a1 a2) p) (fun _ -> True) (fun h _ h' -> aselp (merge a1 a2) p h' == aselp a1 p h `Seq.append` ase...
val ghost_join (#opened: _) (#elt: Type) (#p: P.perm) (a1 a2: array elt) (sq: squash (adjacent a1 a2)) : SteelGhost unit opened ((varrayp a1 p) `star` (varrayp a2 p)) (fun res -> varrayp (merge a1 a2) p) (fun _ -> True) (fun h _ h' -> aselp (merge a1 a2) p...
true
null
false
let _ = elim_varrayp a1 p in let _ = elim_varrayp a2 p in A.ghost_join a1 a2 (); intro_varrayp _ _ _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "Prims.squash", "Steel.ST.Array.adjacent", "Steel.Array.intro_varrayp", "Steel.ST.Array.merge", "FStar.Ghost.hide", "FStar.Seq.Base.append", "FStar.Ghost.reveal", "FStar.Seq.Base.seq", "Prims.unit", "Steel.ST.A...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 ghost_join (#opened: _) (#elt: Type) (#p: P.perm) (a1 a2: array elt) (sq: squash (adjacent a1 a2)) : SteelGhost unit opened ((varrayp a1 p) `star` (varrayp a2 p)) (fun res -> varrayp (merge a1 a2) p) (fun _ -> True) (fun h _ h' -> aselp (merge a1 a2) p...
[]
Steel.Array.ghost_join
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a1: Steel.ST.Array.array elt -> a2: Steel.ST.Array.array elt -> sq: Prims.squash (Steel.ST.Array.adjacent a1 a2) -> Steel.Effect.Atomic.SteelGhost Prims.unit
{ "end_col": 21, "end_line": 284, "start_col": 1, "start_line": 281 }
Steel.Effect.Steel
val upd (#t: Type) (a: array t) (i: US.t) (v: t) : Steel unit (varray a) (fun _ -> varray a) (fun _ -> US.v i < length a) (fun h _ h' -> US.v i < length a /\ asel a h' == Seq.upd (asel a h) (US.v i) v)
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let upd (#t: Type) (a: array t) (i: US.t) (v: t) : Steel unit (varray a) (fun _ -> varray a) (fun _ -> US.v i < length a) (fun h _ h' -> US.v i < length a /\ asel a h' == Seq.upd (asel a h) (US.v i) v ) = let s = elim_varray a in A.pts_to_length a _; A.upd a i v; intro_var...
val upd (#t: Type) (a: array t) (i: US.t) (v: t) : Steel unit (varray a) (fun _ -> varray a) (fun _ -> US.v i < length a) (fun h _ h' -> US.v i < length a /\ asel a h' == Seq.upd (asel a h) (US.v i) v) let upd (#t: Type) (a: array t) (i: US.t) (v: t) : Steel unit (varray a) (...
true
null
false
let s = elim_varray a in A.pts_to_length a _; A.upd a i v; intro_varray a _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.ST.Array.array", "FStar.SizeT.t", "Steel.Array.intro_varray", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "FStar.Seq.Base.upd", "FStar.Ghost.reveal", "FStar.Seq.Base.seq", "FStar.SizeT.v", "Prims.unit", "Steel.ST.Array.upd", "Steel.ST.Array.pts_to_l...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 upd (#t: Type) (a: array t) (i: US.t) (v: t) : Steel unit (varray a) (fun _ -> varray a) (fun _ -> US.v i < length a) (fun h _ h' -> US.v i < length a /\ asel a h' == Seq.upd (asel a h) (US.v i) v)
[]
Steel.Array.upd
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array t -> i: FStar.SizeT.t -> v: t -> Steel.Effect.Steel Prims.unit
{ "end_col": 18, "end_line": 264, "start_col": 1, "start_line": 261 }
Steel.Effect.Atomic.SteelAtomicBase
val join (#opened: _) (#elt: Type) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : SteelAtomicBase (array elt) false opened Unobservable ((varrayp a1 p) `star` (varrayp a2 p)) (fun res -> varrayp res p) (fun _ -> adjacent a1 a2) (fun h res h' -> merg...
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let join (#opened: _) (#elt: Type) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : SteelAtomicBase (array elt) false opened Unobservable (varrayp a1 p `star` varrayp a2 p) (fun res -> varrayp res p) (fun _ -> adjacent a1 a2) (fun h res h' -> merge_into a1 a2 res /\ as...
val join (#opened: _) (#elt: Type) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : SteelAtomicBase (array elt) false opened Unobservable ((varrayp a1 p) `star` (varrayp a2 p)) (fun res -> varrayp res p) (fun _ -> adjacent a1 a2) (fun h res h' -> merg...
true
null
false
let _ = elim_varrayp a1 _ in let _ = elim_varrayp a2 _ in let res = A.join a1 a2 in intro_varrayp res _ _; return res
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "FStar.Ghost.erased", "Steel.Effect.Atomic.return", "Steel.Array.varrayp", "Steel.Effect.Common.vprop", "Prims.unit", "Steel.Array.intro_varrayp", "FStar.Seq.Base.append", "FStar.Ghost.reveal", "FStar.Seq.Base.se...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 join (#opened: _) (#elt: Type) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : SteelAtomicBase (array elt) false opened Unobservable ((varrayp a1 p) `star` (varrayp a2 p)) (fun res -> varrayp res p) (fun _ -> adjacent a1 a2) (fun h res h' -> merg...
[]
Steel.Array.join
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a1: Steel.ST.Array.array elt -> a2: FStar.Ghost.erased (Steel.ST.Array.array elt) -> Steel.Effect.Atomic.SteelAtomicBase (Steel.ST.Array.array elt)
{ "end_col": 12, "end_line": 312, "start_col": 1, "start_line": 308 }
Steel.Effect.Steel
val memcpy (#t: _) (#p0: P.perm) (a0 a1: array t) (i: US.t) : Steel unit ((varrayp a0 p0) `star` (varray a1)) (fun _ -> (varrayp a0 p0) `star` (varray a1)) (requires fun _ -> US.v i == length a0 /\ length a0 == length a1) (ensures fun h0 _ h1 -> length a0 == length a1 /\ as...
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let memcpy (#t:_) (#p0:P.perm) (a0 a1:array t) (i:US.t) : Steel unit (varrayp a0 p0 `star` varray a1) (fun _ -> varrayp a0 p0 `star` varray a1) (requires fun _ -> US.v i == length a0 /\ length a0 == length a1) (ensures fun h0 _ h1 -> length a0 == length a1 /\ ...
val memcpy (#t: _) (#p0: P.perm) (a0 a1: array t) (i: US.t) : Steel unit ((varrayp a0 p0) `star` (varray a1)) (fun _ -> (varrayp a0 p0) `star` (varray a1)) (requires fun _ -> US.v i == length a0 /\ length a0 == length a1) (ensures fun h0 _ h1 -> length a0 == length a1 /\ as...
true
null
false
let _ = elim_varrayp a0 _ in let _ = elim_varray a1 in A.memcpy a0 a1 i; intro_varrayp a0 _ _; intro_varray a1 _
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "FStar.SizeT.t", "Steel.Array.intro_varray", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "FStar.Ghost.reveal", "FStar.Seq.Base.seq", "Prims.unit", "Steel.Array.intro_varrayp", "Steel.ST.Array.memcpy"...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 memcpy (#t: _) (#p0: P.perm) (a0 a1: array t) (i: US.t) : Steel unit ((varrayp a0 p0) `star` (varray a1)) (fun _ -> (varrayp a0 p0) `star` (varray a1)) (requires fun _ -> US.v i == length a0 /\ length a0 == length a1) (ensures fun h0 _ h1 -> length a0 == length a1 /\ as...
[]
Steel.Array.memcpy
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a0: Steel.ST.Array.array t -> a1: Steel.ST.Array.array t -> i: FStar.SizeT.t -> Steel.Effect.Steel Prims.unit
{ "end_col": 21, "end_line": 366, "start_col": 3, "start_line": 361 }
Steel.Effect.Steel
val ptrdiff (#a: Type) (#p1 #p2: P.perm) (arr1 arr2: array a) : Steel UP.t ((varrayp arr1 p1) `star` (varrayp arr2 p2)) (fun _ -> (varrayp arr1 p1) `star` (varrayp arr2 p2)) (requires fun _ -> base (ptr_of arr1) == base (ptr_of arr2) /\ UP.fits (offset (ptr_of arr1) - o...
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let ptrdiff (#a: Type) (#p1 #p2:P.perm) (arr1 arr2: array a) : Steel UP.t (varrayp arr1 p1 `star` varrayp arr2 p2) (fun _ -> varrayp arr1 p1 `star` varrayp arr2 p2) (requires fun _ -> base (ptr_of arr1) == base (ptr_of arr2) /\ UP.fits (offset (ptr_of arr1) - offset (ptr_of arr2))) (ensures fun h0 r h...
val ptrdiff (#a: Type) (#p1 #p2: P.perm) (arr1 arr2: array a) : Steel UP.t ((varrayp arr1 p1) `star` (varrayp arr2 p2)) (fun _ -> (varrayp arr1 p1) `star` (varrayp arr2 p2)) (requires fun _ -> base (ptr_of arr1) == base (ptr_of arr2) /\ UP.fits (offset (ptr_of arr1) - o...
true
null
false
let _ = elim_varrayp arr1 p1 in let _ = elim_varrayp arr2 p2 in let res = A.ptrdiff arr1 arr2 in intro_varrayp arr1 _ _; intro_varrayp arr2 _ _; return res
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "Steel.Effect.Atomic.return", "FStar.PtrdiffT.t", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.VStar", "Steel.Array.varrayp", "Steel.Effect.Common.vprop", "Prims.unit", "Steel.Arr...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 ptrdiff (#a: Type) (#p1 #p2: P.perm) (arr1 arr2: array a) : Steel UP.t ((varrayp arr1 p1) `star` (varrayp arr2 p2)) (fun _ -> (varrayp arr1 p1) `star` (varrayp arr2 p2)) (requires fun _ -> base (ptr_of arr1) == base (ptr_of arr2) /\ UP.fits (offset (ptr_of arr1) - o...
[]
Steel.Array.ptrdiff
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
arr1: Steel.ST.Array.array a -> arr2: Steel.ST.Array.array a -> Steel.Effect.Steel FStar.PtrdiffT.t
{ "end_col": 14, "end_line": 444, "start_col": 3, "start_line": 439 }
Steel.Effect.Steel
val compare (#t: eqtype) (#p0 #p1: P.perm) (a0 a1: array t) (l: US.t{length a0 == length a1 /\ US.v l == length a0}) : Steel bool ((varrayp a0 p0) `star` (varrayp a1 p1)) (fun _ -> (varrayp a0 p0) `star` (varrayp a1 p1)) (requires fun _ -> True) (ensures fun h...
[ { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Steel...
false
let compare (#t:eqtype) (#p0 #p1:P.perm) (a0 a1:array t) (l:US.t { length a0 == length a1 /\ US.v l == length a0}) : Steel bool (varrayp a0 p0 `star` varrayp a1 p1) (fun _ -> varrayp a0 p0 `star` varrayp a1 p1) (requires fun _ -> True) (ensures fun h0 b h1 -> aselp a0 p0 ...
val compare (#t: eqtype) (#p0 #p1: P.perm) (a0 a1: array t) (l: US.t{length a0 == length a1 /\ US.v l == length a0}) : Steel bool ((varrayp a0 p0) `star` (varrayp a1 p1)) (fun _ -> (varrayp a0 p0) `star` (varrayp a1 p1)) (requires fun _ -> True) (ensures fun h...
true
null
false
let _ = elim_varrayp a0 _ in let _ = elim_varrayp a1 _ in let res = A.compare a0 a1 l in intro_varrayp a0 _ _; intro_varrayp a1 _ _; return res
{ "checked_file": "Steel.Array.fsti.checked", "dependencies": [ "Steel.ST.Coercions.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", ...
[]
[ "Prims.eqtype", "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "FStar.SizeT.t", "Prims.l_and", "Prims.eq2", "Prims.nat", "Steel.ST.Array.length", "FStar.SizeT.v", "Steel.Effect.Atomic.return", "Prims.bool", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set...
[]
(* Copyright 2020, 2021, 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 ...
false
false
Steel.Array.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 (#t: eqtype) (#p0 #p1: P.perm) (a0 a1: array t) (l: US.t{length a0 == length a1 /\ US.v l == length a0}) : Steel bool ((varrayp a0 p0) `star` (varrayp a1 p1)) (fun _ -> (varrayp a0 p0) `star` (varrayp a1 p1)) (requires fun _ -> True) (ensures fun h...
[]
Steel.Array.compare
{ "file_name": "lib/steel/Steel.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a0: Steel.ST.Array.array t -> a1: Steel.ST.Array.array t -> l: FStar.SizeT.t { Steel.ST.Array.length a0 == Steel.ST.Array.length a1 /\ FStar.SizeT.v l == Steel.ST.Array.length a0 } -> Steel.Effect.Steel Prims.bool
{ "end_col": 14, "end_line": 387, "start_col": 3, "start_line": 381 }
Prims.Tot
val bn_sub_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:size_nat{i < aLen} -> c:carry t -> carry t & limb t
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_f #t #aLen a b i c = subborrow c a.[i] b.[i]
val bn_sub_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:size_nat{i < aLen} -> c:carry t -> carry t & limb t let bn_sub_f #t #aLen a b i c =
false
null
false
subborrow c a.[ i ] b.[ i ]
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Bignum.Base.subborrow", "Lib.Sequence.op_String_Access", "Hacl.Spec.Bignum.Definitions.limb", "FStar.Pervasives.Native...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:size_nat{i < aLen} -> c:carry t -> carry t & limb t
[]
Hacl.Spec.Bignum.Addition.bn_sub_f
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Lib.IntTypes.size_nat{i < aLen} -> c: Hacl.Spec.Bignum.Base.carry t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.limb t
{ "end_col": 55, "end_line": 22, "start_col": 32, "start_line": 22 }
Prims.Tot
val bn_add_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:size_nat{i < aLen} -> c:carry t -> carry t & limb t
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_f #t #aLen a b i c = addcarry c a.[i] b.[i]
val bn_add_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:size_nat{i < aLen} -> c:carry t -> carry t & limb t let bn_add_f #t #aLen a b i c =
false
null
false
addcarry c a.[ i ] b.[ i ]
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Bignum.Base.addcarry", "Lib.Sequence.op_String_Access", "Hacl.Spec.Bignum.Definitions.limb", "FStar.Pervasives.Native....
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:size_nat{i < aLen} -> c:carry t -> carry t & limb t
[]
Hacl.Spec.Bignum.Addition.bn_add_f
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Lib.IntTypes.size_nat{i < aLen} -> c: Hacl.Spec.Bignum.Base.carry t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.limb t
{ "end_col": 54, "end_line": 51, "start_col": 32, "start_line": 51 }
Prims.Tot
val bn_add_carry: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> tuple2 (carry t) (lbignum t aLen)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_carry #t #aLen a c_in = generate_elems aLen aLen (bn_add_carry_f a) c_in
val bn_add_carry: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> tuple2 (carry t) (lbignum t aLen) let bn_add_carry #t #aLen a c_in =
false
null
false
generate_elems aLen aLen (bn_add_carry_f a) c_in
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Lib.generate_elems", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Addition.bn_add_carry_f", "FStar.Pervasives.Native.tuple2" ]
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_carry: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> tuple2 (carry t) (lbignum t aLen)
[]
Hacl.Spec.Bignum.Addition.bn_add_carry
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.lbignum t aLen
{ "end_col": 83, "end_line": 48, "start_col": 35, "start_line": 48 }
Prims.Tot
val bn_add_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:carry t -> carry t & limb t
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_carry_f #t #aLen a i c_in = addcarry c_in a.[i] (uint #t 0)
val bn_add_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:carry t -> carry t & limb t let bn_add_carry_f #t #aLen a i c_in =
false
null
false
addcarry c_in a.[ i ] (uint #t 0)
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Bignum.Base.addcarry", "Lib.Sequence.op_String_Access", "Hacl.Spec.Bignum.Definitions.limb", "Lib.IntTypes.uint", "L...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:carry t -> carry t & limb t
[]
Hacl.Spec.Bignum.Addition.bn_add_carry_f
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Lib.IntTypes.size_nat{i < aLen} -> c_in: Hacl.Spec.Bignum.Base.carry t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.limb t
{ "end_col": 70, "end_line": 45, "start_col": 39, "start_line": 45 }
Prims.Tot
val bn_sub_carry: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> tuple2 (carry t) (lbignum t aLen)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_carry #t #aLen a c_in = generate_elems aLen aLen (bn_sub_carry_f a) c_in
val bn_sub_carry: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> tuple2 (carry t) (lbignum t aLen) let bn_sub_carry #t #aLen a c_in =
false
null
false
generate_elems aLen aLen (bn_sub_carry_f a) c_in
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Lib.generate_elems", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Addition.bn_sub_carry_f", "FStar.Pervasives.Native.tuple2" ]
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_carry: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> tuple2 (carry t) (lbignum t aLen)
[]
Hacl.Spec.Bignum.Addition.bn_sub_carry
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.lbignum t aLen
{ "end_col": 83, "end_line": 19, "start_col": 35, "start_line": 19 }
Prims.Tot
val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:carry t -> carry t & limb t
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_carry_f #t #aLen a i c_in = subborrow c_in a.[i] (uint #t 0)
val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:carry t -> carry t & limb t let bn_sub_carry_f #t #aLen a i c_in =
false
null
false
subborrow c_in a.[ i ] (uint #t 0)
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Bignum.Base.subborrow", "Lib.Sequence.op_String_Access", "Hacl.Spec.Bignum.Definitions.limb", "Lib.IntTypes.uint", "...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:carry t -> carry t & limb t
[]
Hacl.Spec.Bignum.Addition.bn_sub_carry_f
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Lib.IntTypes.size_nat{i < aLen} -> c_in: Hacl.Spec.Bignum.Base.carry t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.limb t
{ "end_col": 71, "end_line": 16, "start_col": 39, "start_line": 16 }
Prims.Tot
val bn_sub: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> tuple2 (carry t) (lbignum t aLen)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub #t #aLen #bLen a b = let c0, res0 = generate_elems bLen bLen (bn_sub_f (sub a 0 bLen) b) (uint #t 0) in if bLen < aLen then let c1, res1 = bn_sub_carry (sub a bLen (aLen - bLen)) c0 in c1, concat #_ #bLen res0 res1 else c0, res0
val bn_sub: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> tuple2 (carry t) (lbignum t aLen) let bn_sub #t #aLen #bLen a b =
false
null
false
let c0, res0 = generate_elems bLen bLen (bn_sub_f (sub a 0 bLen) b) (uint #t 0) in if bLen < aLen then let c1, res1 = bn_sub_carry (sub a bLen (aLen - bLen)) c0 in c1, concat #_ #bLen res0 res1 else c0, res0
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Lib.Sequence.seq", "Hacl.Spec.Bignum.Definitions.limb", "Prims.eq2", "Prims.nat", "Lib.Sequence.length", "Prims.op_Le...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> tuple2 (carry t) (lbignum t aLen)
[]
Hacl.Spec.Bignum.Addition.bn_sub
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.lbignum t aLen
{ "end_col": 15, "end_line": 31, "start_col": 31, "start_line": 25 }
FStar.Pervasives.Lemma
val bn_sub_carry_lemma: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> Lemma (let (c_out, res) = bn_sub_carry a c_in in bn_v res - v c_out * pow2 (bits t * aLen) == bn_v a - v c_in)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_carry_lemma #t #aLen a c_in = let (c_out, res) = bn_sub_carry a c_in in bn_sub_carry_lemma_loop a c_in aLen
val bn_sub_carry_lemma: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> Lemma (let (c_out, res) = bn_sub_carry a c_in in bn_v res - v c_out * pow2 (bits t * aLen) == bn_v a - v c_in) let bn_sub_carry_lemma #t #aLen a c_in =
false
null
true
let c_out, res = bn_sub_carry a c_in in bn_sub_carry_lemma_loop a c_in aLen
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Bignum.Addition.bn_sub_carry_lemma_loop", "Prims.unit", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.Bignum.Addition.bn_sub_carry" ]
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_carry_lemma: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> Lemma (let (c_out, res) = bn_sub_carry a c_in in bn_v res - v c_out * pow2 (bits t * aLen) == bn_v a - v c_in)
[]
Hacl.Spec.Bignum.Addition.bn_sub_carry_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Bignum.Addition.bn_sub_carry a c_in in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c_out res = _ in Hacl.Spec.Bignum.Definitions.bn_v res - ...
{ "end_col": 37, "end_line": 399, "start_col": 40, "start_line": 397 }
Prims.Tot
val bn_add: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> carry t & lbignum t aLen
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add #t #aLen #bLen a b = let c0, res0 = generate_elems bLen bLen (bn_add_f (sub a 0 bLen) b) (uint #t 0) in if bLen < aLen then let c1, res1 = bn_add_carry (sub a bLen (aLen - bLen)) c0 in c1, concat #_ #bLen res0 res1 else c0, res0
val bn_add: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> carry t & lbignum t aLen let bn_add #t #aLen #bLen a b =
false
null
false
let c0, res0 = generate_elems bLen bLen (bn_add_f (sub a 0 bLen) b) (uint #t 0) in if bLen < aLen then let c1, res1 = bn_add_carry (sub a bLen (aLen - bLen)) c0 in c1, concat #_ #bLen res0 res1 else c0, res0
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Lib.Sequence.seq", "Hacl.Spec.Bignum.Definitions.limb", "Prims.eq2", "Prims.nat", "Lib.Sequence.length", "Prims.op_Le...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> carry t & lbignum t aLen
[]
Hacl.Spec.Bignum.Addition.bn_add
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.lbignum t aLen
{ "end_col": 15, "end_line": 60, "start_col": 31, "start_line": 54 }
FStar.Pervasives.Lemma
val bn_add_carry_lemma: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> Lemma (let (c_out, res) = bn_add_carry a c_in in v c_out * pow2 (bits t * aLen) + bn_v res == bn_v a + v c_in)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_carry_lemma #t #aLen a c_in = let (c_out, res) = bn_add_carry a c_in in bn_add_carry_lemma_loop a c_in aLen
val bn_add_carry_lemma: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> Lemma (let (c_out, res) = bn_add_carry a c_in in v c_out * pow2 (bits t * aLen) + bn_v res == bn_v a + v c_in) let bn_add_carry_lemma #t #aLen a c_in =
false
null
true
let c_out, res = bn_add_carry a c_in in bn_add_carry_lemma_loop a c_in aLen
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Hacl.Spec.Bignum.Addition.bn_add_carry_lemma_loop", "Prims.unit", "FStar.Pervasives.Native.tuple2", "Hacl.Spec.Bignum.Addition.bn_add_carry" ]
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_carry_lemma: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> Lemma (let (c_out, res) = bn_add_carry a c_in in v c_out * pow2 (bits t * aLen) + bn_v res == bn_v a + v c_in)
[]
Hacl.Spec.Bignum.Addition.bn_add_carry_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Bignum.Addition.bn_add_carry a c_in in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c_out res = _ in Lib.IntTypes.v c_out * Prims.pow2 (Lib.IntTypes.bi...
{ "end_col": 37, "end_line": 149, "start_col": 40, "start_line": 147 }
Prims.Tot
val bn_sub1: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> tuple2 (carry t) (lbignum t aLen)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub1 #t #aLen a b1 = let c0, r0 = subborrow (uint #t 0) a.[0] b1 in let res0 = create 1 r0 in if 1 < aLen then let c1, res1 = bn_sub_carry (sub a 1 (aLen - 1)) c0 in c1, concat res0 res1 else c0, res0
val bn_sub1: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> tuple2 (carry t) (lbignum t aLen) let bn_sub1 #t #aLen a b1 =
false
null
false
let c0, r0 = subborrow (uint #t 0) a.[ 0 ] b1 in let res0 = create 1 r0 in if 1 < aLen then let c1, res1 = bn_sub_carry (sub a 1 (aLen - 1)) c0 in c1, concat res0 res1 else c0, res0
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_pos", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Base.carry", "Prims.op_LessThan", "Prims.op_Subtraction", "FStar.Pervasives.Native.Mktuple2", "Lib.Sequence.concat", "FStar.Pervasives.Nati...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub1: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> tuple2 (carry t) (lbignum t aLen)
[]
Hacl.Spec.Bignum.Addition.bn_sub1
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b1: Hacl.Spec.Bignum.Definitions.limb t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.lbignum t aLen
{ "end_col": 15, "end_line": 41, "start_col": 27, "start_line": 34 }
Prims.Tot
val bn_add1: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> tuple2 (carry t) (lbignum t aLen)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add1 #t #aLen a b1 = let c0, r0 = addcarry (uint #t 0) a.[0] b1 in let res0 = create 1 r0 in if 1 < aLen then let c1, res1 = bn_add_carry (sub a 1 (aLen - 1)) c0 in c1, concat res0 res1 else c0, res0
val bn_add1: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> tuple2 (carry t) (lbignum t aLen) let bn_add1 #t #aLen a b1 =
false
null
false
let c0, r0 = addcarry (uint #t 0) a.[ 0 ] b1 in let res0 = create 1 r0 in if 1 < aLen then let c1, res1 = bn_add_carry (sub a 1 (aLen - 1)) c0 in c1, concat res0 res1 else c0, res0
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_pos", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Base.carry", "Prims.op_LessThan", "Prims.op_Subtraction", "FStar.Pervasives.Native.Mktuple2", "Lib.Sequence.concat", "FStar.Pervasives.Nati...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add1: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> tuple2 (carry t) (lbignum t aLen)
[]
Hacl.Spec.Bignum.Addition.bn_add1
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b1: Hacl.Spec.Bignum.Definitions.limb t -> Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.lbignum t aLen
{ "end_col": 15, "end_line": 70, "start_col": 27, "start_line": 63 }
FStar.Pervasives.Lemma
val bn_sub_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> Lemma (let (c, res) = bn_sub a b in bn_v res - v c * pow2 (bits t * aLen) == bn_v a - bn_v b)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_lemma #t #aLen #bLen a b = let pbits = bits t in let (c, res) = bn_sub a b in if bLen = aLen then bn_sub_lemma_loop a b aLen else begin let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c0, res0 = generate_elems bLen bLen (bn_sub_f a0 b) (uint #t 0) in bn_sub_lemm...
val bn_sub_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> Lemma (let (c, res) = bn_sub a b in bn_v res - v c * pow2 (bits t * aLen) == bn_v a - bn_v b) let bn_sub_lemma #t #aLen #bLen a b =
false
null
true
let pbits = bits t in let c, res = bn_sub a b in if bLen = aLen then bn_sub_lemma_loop a b aLen else let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c0, res0 = generate_elems bLen bLen (bn_sub_f a0 b) (uint #t 0) in bn_sub_lemma_loop a0 b bLen; assert (bn_v #t #bLen res0 - v c0 * pow2 (pbits...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Equality", "Hacl.Spec.Bignum.Addition.bn_sub_lemma_loop", "Prims.bool", "Lib.Sequence.seq", "Hacl.Spec.Bignum....
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> Lemma (let (c, res) = bn_sub a b in bn_v res - v c * pow2 (bits t * aLen) == bn_v a - bn_v b)
[]
Hacl.Spec.Bignum.Addition.bn_sub_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Bignum.Addition.bn_sub a b in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c res = _ in Hacl.Spec.Bignum.Definitions.bn_v res - Li...
{ "end_col": 54, "end_line": 539, "start_col": 37, "start_line": 527 }
FStar.Pervasives.Lemma
val bn_sub1_lemma: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> Lemma (let (c, res) = bn_sub1 a b1 in bn_v res - v c * pow2 (bits t * aLen) == bn_v a - v b1)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub1_lemma #t #aLen a b1 = let pbits = bits t in let c0, r0 = subborrow (uint #t 0) a.[0] b1 in assert (v r0 - v c0 * pow2 pbits = v a.[0] - v b1); let res0 = create 1 r0 in let b = create 1 b1 in bn_eval1 res0; bn_eval1 b; if aLen = 1 then bn_eval1 a else begin let bLen = 1 in le...
val bn_sub1_lemma: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> Lemma (let (c, res) = bn_sub1 a b1 in bn_v res - v c * pow2 (bits t * aLen) == bn_v a - v b1) let bn_sub1_lemma #t #aLen a b1 =
false
null
true
let pbits = bits t in let c0, r0 = subborrow (uint #t 0) a.[ 0 ] b1 in assert (v r0 - v c0 * pow2 pbits = v a.[ 0 ] - v b1); let res0 = create 1 r0 in let b = create 1 b1 in bn_eval1 res0; bn_eval1 b; if aLen = 1 then bn_eval1 a else let bLen = 1 in let a0 = sub a 0 bLen in bn_eval1 a0; assert (bn_v #t #1 res0 ...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_pos", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Equality", "Prims.int", "Hacl.Spec.Bignum.Definitions.bn_eval1", "Prims.bool", "Hacl.Spec.Bignum.Addition.bn_sub_con...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub1_lemma: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> Lemma (let (c, res) = bn_sub1 a b1 in bn_v res - v c * pow2 (bits t * aLen) == bn_v a - v b1)
[]
Hacl.Spec.Bignum.Addition.bn_sub1_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b1: Hacl.Spec.Bignum.Definitions.limb t -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Bignum.Addition.bn_sub1 a b1 in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c res = _ in Hacl.Spec.Bignum.Definitions.bn_v res - Lib.Int...
{ "end_col": 39, "end_line": 567, "start_col": 33, "start_line": 550 }
FStar.Pervasives.Lemma
val bn_add1_lemma: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> Lemma (let (c, res) = bn_add1 a b1 in v c * pow2 (bits t * aLen) + bn_v res == bn_v a + v b1)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add1_lemma #t #aLen a b1 = let pbits = bits t in let c0, r0 = addcarry (uint #t 0) a.[0] b1 in assert (v c0 * pow2 pbits + v r0 = v a.[0] + v b1); let res0 = create 1 r0 in let b = create 1 b1 in bn_eval1 res0; bn_eval1 b; if aLen = 1 then bn_eval1 a else begin let bLen = 1 in let...
val bn_add1_lemma: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> Lemma (let (c, res) = bn_add1 a b1 in v c * pow2 (bits t * aLen) + bn_v res == bn_v a + v b1) let bn_add1_lemma #t #aLen a b1 =
false
null
true
let pbits = bits t in let c0, r0 = addcarry (uint #t 0) a.[ 0 ] b1 in assert (v c0 * pow2 pbits + v r0 = v a.[ 0 ] + v b1); let res0 = create 1 r0 in let b = create 1 b1 in bn_eval1 res0; bn_eval1 b; if aLen = 1 then bn_eval1 a else let bLen = 1 in let a0 = sub a 0 bLen in bn_eval1 a0; assert (v c0 * pow2 (pbit...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_pos", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Equality", "Prims.int", "Hacl.Spec.Bignum.Definitions.bn_eval1", "Prims.bool", "Hacl.Spec.Bignum.Addition.bn_add_con...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add1_lemma: #t:limb_t -> #aLen:size_pos -> a:lbignum t aLen -> b1:limb t -> Lemma (let (c, res) = bn_add1 a b1 in v c * pow2 (bits t * aLen) + bn_v res == bn_v a + v b1)
[]
Hacl.Spec.Bignum.Addition.bn_add1_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b1: Hacl.Spec.Bignum.Definitions.limb t -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Bignum.Addition.bn_add1 a b1 in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c res = _ in Lib.IntTypes.v c * Prims.pow2 (Lib.IntTypes.bits t * aLen...
{ "end_col": 39, "end_line": 319, "start_col": 33, "start_line": 302 }
FStar.Pervasives.Lemma
val bn_add_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> Lemma (let (c, res) = bn_add a b in v c * pow2 (bits t * aLen) + bn_v res == bn_v a + bn_v b)
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_lemma #t #aLen #bLen a b = let pbits = bits t in let (c, res) = bn_add a b in if bLen = aLen then bn_add_lemma_loop a b aLen else begin let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c0, res0 = generate_elems bLen bLen (bn_add_f a0 b) (uint #t 0) in bn_add_lemm...
val bn_add_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> Lemma (let (c, res) = bn_add a b in v c * pow2 (bits t * aLen) + bn_v res == bn_v a + bn_v b) let bn_add_lemma #t #aLen #bLen a b =
false
null
true
let pbits = bits t in let c, res = bn_add a b in if bLen = aLen then bn_add_lemma_loop a b aLen else let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c0, res0 = generate_elems bLen bLen (bn_add_f a0 b) (uint #t 0) in bn_add_lemma_loop a0 b bLen; assert (v c0 * pow2 (pbits * bLen) + bn_v #t #b...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Equality", "Hacl.Spec.Bignum.Addition.bn_add_lemma_loop", "Prims.bool", "Lib.Sequence.seq", "Hacl.Spec.Bignum....
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen <= aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> Lemma (let (c, res) = bn_add a b in v c * pow2 (bits t * aLen) + bn_v res == bn_v a + bn_v b)
[]
Hacl.Spec.Bignum.Addition.bn_add_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Bignum.Addition.bn_add a b in (let FStar.Pervasives.Native.Mktuple2 #_ #_ c res = _ in Lib.IntTypes.v c * Prims.pow2 (Lib.IntTypes.bits t *...
{ "end_col": 54, "end_line": 291, "start_col": 37, "start_line": 279 }
FStar.Pervasives.Lemma
val bn_add_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:nat{i <= aLen} -> Lemma (let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_f a b) (uint #t 0) in v c * pow2 (bits t * i) + bn_v #t #i res == eval_ aLen a i + eval_ aLen...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let rec bn_add_lemma_loop #t #aLen a b i = let pbits = bits t in let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_f a b) (uint #t 0) in if i = 0 then begin eq_generate_elems0 aLen i (bn_add_f a b) (uint #t 0); assert (c == uint #t 0 /\ res == Seq.empty); bn_eval...
val bn_add_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:nat{i <= aLen} -> Lemma (let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_f a b) (uint #t 0) in v c * pow2 (bits t * i) + bn_v #t #i res == eval_ aLen a i + eval_ aLen...
false
null
true
let pbits = bits t in let c, res:generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_f a b) (uint #t 0) in if i = 0 then (eq_generate_elems0 aLen i (bn_add_f a b) (uint #t 0); assert (c == uint #t 0 /\ res == Seq.empty); bn_eval0 #t #0 res; assert_norm (pow2 0 = 1); bn_eval0 a;...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Bignum.Base.carry", "Lib.Sequence.seq", "Hacl.Spec.Bignum.Definitions.limb", "Prims.eq2", "Lib.Sequence.length", "Prims.op_Eq...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:nat{i <= aLen} -> Lemma (let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_f a b) (uint #t 0) in v c * pow2 (bits t * i) + bn_v #t #i res == eval_ aLen a i + eval_ aLen...
[ "recursion" ]
Hacl.Spec.Bignum.Addition.bn_add_lemma_loop
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Prims.nat{i <= aLen} -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Lib.generate_elems aLen i (Hacl.Spec.Bignum.Addition.bn_add_f a b) (Lib...
{ "end_col": 10, "end_line": 225, "start_col": 42, "start_line": 204 }
FStar.Pervasives.Lemma
val bn_add_carry_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:nat{i <= aLen} -> Lemma (let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_carry_f a) c_in in v c_out * pow2 (bits t * i) + bn_v #t #i res == eval_ aLen a i + v c...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let rec bn_add_carry_lemma_loop #t #aLen a c_in i = let pbits = bits t in let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_carry_f a) c_in in if i = 0 then begin eq_generate_elems0 aLen i (bn_add_carry_f a) c_in; assert (c_out == c_in /\ res == Seq.empty); b...
val bn_add_carry_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:nat{i <= aLen} -> Lemma (let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_carry_f a) c_in in v c_out * pow2 (bits t * i) + bn_v #t #i res == eval_ aLen a i + v c...
false
null
true
let pbits = bits t in let c_out, res:generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_carry_f a) c_in in if i = 0 then (eq_generate_elems0 aLen i (bn_add_carry_f a) c_in; assert (c_out == c_in /\ res == Seq.empty); bn_eval0 #t #0 res; assert_norm (pow2 0 = 1); bn_eval0 a; ...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.seq", "Hacl.Spec.Bignum.Definitions.limb", "Prims.eq2", "Lib.Sequence.length", "Prims.op_Eq...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_carry_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:nat{i <= aLen} -> Lemma (let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_add_carry_f a) c_in in v c_out * pow2 (bits t * i) + bn_v #t #i res == eval_ aLen a i + v c...
[ "recursion" ]
Hacl.Spec.Bignum.Addition.bn_add_carry_lemma_loop
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> i: Prims.nat{i <= aLen} -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Lib.generate_elems aLen i (Hacl.Spec.Bignum.Addition.bn_add_carry_f a) c_in in (let FStar.Pervasives.N...
{ "end_col": 10, "end_line": 140, "start_col": 51, "start_line": 120 }
FStar.Pervasives.Lemma
val bn_sub_carry_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:nat{i <= aLen} -> Lemma (let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_carry_f a) c_in in bn_v #t #i res - v c_out * pow2 (bits t * i) == eval_ aLen a i - v c...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let rec bn_sub_carry_lemma_loop #t #aLen a c_in i = let pbits = bits t in let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_carry_f a) c_in in if i = 0 then begin eq_generate_elems0 aLen i (bn_sub_carry_f a) c_in; assert (c_out == c_in /\ res == Seq.empty); ...
val bn_sub_carry_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:nat{i <= aLen} -> Lemma (let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_carry_f a) c_in in bn_v #t #i res - v c_out * pow2 (bits t * i) == eval_ aLen a i - v c...
false
null
true
let pbits = bits t in let c_out, res:generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_carry_f a) c_in in if i = 0 then (eq_generate_elems0 aLen i (bn_sub_carry_f a) c_in; assert (c_out == c_in /\ res == Seq.empty); bn_eval0 #t #0 res; assert_norm (pow2 0 = 1); bn_eval0 a; ...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.seq", "Hacl.Spec.Bignum.Definitions.limb", "Prims.eq2", "Lib.Sequence.length", "Prims.op_Eq...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_carry_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:nat{i <= aLen} -> Lemma (let (c_out, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_carry_f a) c_in in bn_v #t #i res - v c_out * pow2 (bits t * i) == eval_ aLen a i - v c...
[ "recursion" ]
Hacl.Spec.Bignum.Addition.bn_sub_carry_lemma_loop
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> i: Prims.nat{i <= aLen} -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Lib.generate_elems aLen i (Hacl.Spec.Bignum.Addition.bn_sub_carry_f a) c_in in (let FStar.Pervasives.N...
{ "end_col": 10, "end_line": 390, "start_col": 51, "start_line": 370 }
FStar.Pervasives.Lemma
val bn_sub_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:nat{i <= aLen} -> Lemma (let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_f a b) (uint #t 0) in bn_v #t #i res - v c * pow2 (bits t * i) == eval_ aLen a i - eval_ aLen...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let rec bn_sub_lemma_loop #t #aLen a b i = let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_f a b) (uint #t 0) in if i = 0 then begin eq_generate_elems0 aLen i (bn_sub_f a b) (uint #t 0); assert (c == uint #t 0 /\ res == Seq.empty); bn_eval0 #t #0 res; assert_...
val bn_sub_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:nat{i <= aLen} -> Lemma (let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_f a b) (uint #t 0) in bn_v #t #i res - v c * pow2 (bits t * i) == eval_ aLen a i - eval_ aLen...
false
null
true
let c, res:generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_f a b) (uint #t 0) in if i = 0 then (eq_generate_elems0 aLen i (bn_sub_f a b) (uint #t 0); assert (c == uint #t 0 /\ res == Seq.empty); bn_eval0 #t #0 res; assert_norm (pow2 0 = 1); bn_eval0 a; bn_eval0 b; (...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Bignum.Base.carry", "Lib.Sequence.seq", "Hacl.Spec.Bignum.Definitions.limb", "Prims.eq2", "Lib.Sequence.length", "Prims.op_Eq...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_lemma_loop: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:nat{i <= aLen} -> Lemma (let (c, res) : generate_elem_a (limb t) (carry t) aLen i = generate_elems aLen i (bn_sub_f a b) (uint #t 0) in bn_v #t #i res - v c * pow2 (bits t * i) == eval_ aLen a i - eval_ aLen...
[ "recursion" ]
Hacl.Spec.Bignum.Addition.bn_sub_lemma_loop
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Prims.nat{i <= aLen} -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Lib.generate_elems aLen i (Hacl.Spec.Bignum.Addition.bn_sub_f a b) (Lib...
{ "end_col": 10, "end_line": 473, "start_col": 42, "start_line": 453 }
FStar.Pervasives.Lemma
val bn_sub_concat_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen < aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> c0:carry t -> res0:lbignum t bLen -> Lemma (requires bn_v #t #bLen res0 - v c0 * pow2 (bits t * bLen) == eval_ bLen (sub a 0 bLen) bLen - eval_ bLen b bLen) (ensures ...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_concat_lemma #t #aLen #bLen a b c0 res0 = let pbits = bits t in let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c1, res1 = bn_sub_carry a1 c0 in bn_sub_carry_lemma a1 c0; assert (bn_v res1 - v c1 * pow2 (pbits * (aLen - bLen)) == bn_v a1 - v c0); let res = concat #_ #bLen re...
val bn_sub_concat_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen < aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> c0:carry t -> res0:lbignum t bLen -> Lemma (requires bn_v #t #bLen res0 - v c0 * pow2 (bits t * bLen) == eval_ bLen (sub a 0 bLen) bLen - eval_ bLen b bLen) (ensures ...
false
null
true
let pbits = bits t in let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c1, res1 = bn_sub_carry a1 c0 in bn_sub_carry_lemma a1 c0; assert (bn_v res1 - v c1 * pow2 (pbits * (aLen - bLen)) == bn_v a1 - v c0); let res = concat #_ #bLen res0 res1 in bn_concat_lemma res0 res1; assert (bn_v res == bn_v #t #bL...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Subtraction", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "Hacl.Spec.Bignum.Definition...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_concat_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen < aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> c0:carry t -> res0:lbignum t bLen -> Lemma (requires bn_v #t #bLen res0 - v c0 * pow2 (bits t * bLen) == eval_ bLen (sub a 0 bLen) bLen - eval_ bLen b bLen) (ensures ...
[]
Hacl.Spec.Bignum.Addition.bn_sub_concat_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> c0: Hacl.Spec.Bignum.Base.carry t -> res0: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> FStar.Pervasives.Lemma (requires Hacl.Spec.Bignum.Definitions.bn_v res0 - Lib.IntTypes.v ...
{ "end_col": 3, "end_line": 515, "start_col": 52, "start_line": 491 }
FStar.Pervasives.Lemma
val bn_add_concat_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen < aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> c0:carry t -> res0:lbignum t bLen -> Lemma (requires v c0 * pow2 (bits t * bLen) + bn_v #t #bLen res0 == eval_ bLen (sub a 0 bLen) bLen + eval_ bLen b bLen) (ensures ...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_concat_lemma #t #aLen #bLen a b c0 res0 = let pbits = bits t in let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c1, res1 = bn_add_carry a1 c0 in bn_add_carry_lemma a1 c0; assert (v c1 * pow2 (pbits * (aLen - bLen)) + bn_v res1 == bn_v a1 + v c0); let res = concat #_ #bLen re...
val bn_add_concat_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen < aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> c0:carry t -> res0:lbignum t bLen -> Lemma (requires v c0 * pow2 (bits t * bLen) + bn_v #t #bLen res0 == eval_ bLen (sub a 0 bLen) bLen + eval_ bLen b bLen) (ensures ...
false
null
true
let pbits = bits t in let a0 = sub a 0 bLen in let a1 = sub a bLen (aLen - bLen) in let c1, res1 = bn_add_carry a1 c0 in bn_add_carry_lemma a1 c0; assert (v c1 * pow2 (pbits * (aLen - bLen)) + bn_v res1 == bn_v a1 + v c0); let res = concat #_ #bLen res0 res1 in bn_concat_lemma res0 res1; assert (bn_v res == bn_v #t #bL...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Subtraction", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "Hacl.Spec.Bignum.Definition...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_concat_lemma: #t:limb_t -> #aLen:size_nat -> #bLen:size_nat{bLen < aLen} -> a:lbignum t aLen -> b:lbignum t bLen -> c0:carry t -> res0:lbignum t bLen -> Lemma (requires v c0 * pow2 (bits t * bLen) + bn_v #t #bLen res0 == eval_ bLen (sub a 0 bLen) bLen + eval_ bLen b bLen) (ensures ...
[]
Hacl.Spec.Bignum.Addition.bn_add_concat_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> c0: Hacl.Spec.Bignum.Base.carry t -> res0: Hacl.Spec.Bignum.Definitions.lbignum t bLen -> FStar.Pervasives.Lemma (requires Lib.IntTypes.v c0 * Prims.pow2 (Lib.IntTypes.bits t * bLen) + ...
{ "end_col": 3, "end_line": 267, "start_col": 52, "start_line": 243 }
FStar.Pervasives.Lemma
val bn_sub_carry_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in bn_v #t #(i - 1) res1 - v c1 * pow2 (bits t * (i - 1)) == eval_ aLen a (...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_carry_lemma_loop_step #t #aLen a c_in i (c1, res1) = let pbits = bits t in let (c_out, res) = generate_elem_f aLen (bn_sub_carry_f a) (i - 1) (c1, res1) in let c, e = bn_sub_carry_f a (i - 1) c1 in assert (v e - v c * pow2 pbits == v a.[i - 1] - v c1); calc (==) { bn_v #t #i res - v c * pow2 (...
val bn_sub_carry_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in bn_v #t #(i - 1) res1 - v c1 * pow2 (bits t * (i - 1)) == eval_ aLen a (...
false
null
true
let pbits = bits t in let c_out, res = generate_elem_f aLen (bn_sub_carry_f a) (i - 1) (c1, res1) in let c, e = bn_sub_carry_f a (i - 1) c1 in assert (v e - v c * pow2 pbits == v a.[ i - 1 ] - v c1); calc ( == ) { bn_v #t #i res - v c * pow2 (pbits * i); ( == ) { bn_eval_snoc #t #(i - 1) res1 e } bn_v #t #(i - 1)...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.pos", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Lib.generate_elem_a", "Hacl.Spec.Bignum.Definitions.limb", "Prims.op_Subtraction", "Lib.Sequence...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_carry_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in bn_v #t #(i - 1) res1 - v c1 * pow2 (bits t * (i - 1)) == eval_ aLen a (...
[]
Hacl.Spec.Bignum.Addition.bn_sub_carry_lemma_loop_step
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> i: Prims.pos{i <= aLen} -> c1_res1: Hacl.Spec.Lib.generate_elem_a (Hacl.Spec.Bignum.Definitions.limb t) (Hacl.Spec.Bignum.Base.carry t) aLen (i - 1) -> FStar.Pervasives.Lemma (...
{ "end_col": 77, "end_line": 358, "start_col": 63, "start_line": 337 }
FStar.Pervasives.Lemma
val bn_add_carry_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in v c1 * pow2 (bits t * (i - 1)) + bn_v #t #(i - 1) res1 == eval_ aLen a (...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_carry_lemma_loop_step #t #aLen a c_in i (c1, res1) = let (c_out, res) = generate_elem_f aLen (bn_add_carry_f a) (i - 1) (c1, res1) in let c, e = bn_add_carry_f a (i - 1) c1 in assert (v e + v c * pow2 (bits t) == v a.[i - 1] + v c1); let pbits = bits t in calc (==) { v c * pow2 (pbits * i) + b...
val bn_add_carry_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in v c1 * pow2 (bits t * (i - 1)) + bn_v #t #(i - 1) res1 == eval_ aLen a (...
false
null
true
let c_out, res = generate_elem_f aLen (bn_add_carry_f a) (i - 1) (c1, res1) in let c, e = bn_add_carry_f a (i - 1) c1 in assert (v e + v c * pow2 (bits t) == v a.[ i - 1 ] + v c1); let pbits = bits t in calc ( == ) { v c * pow2 (pbits * i) + bn_v #t #i res; ( == ) { bn_eval_snoc #t #(i - 1) res1 e } v c * pow2 (p...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.pos", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Lib.generate_elem_a", "Hacl.Spec.Bignum.Definitions.limb", "Prims.op_Subtraction", "Lib.Sequence...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_carry_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> c_in:carry t -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in v c1 * pow2 (bits t * (i - 1)) + bn_v #t #(i - 1) res1 == eval_ aLen a (...
[]
Hacl.Spec.Bignum.Addition.bn_add_carry_lemma_loop_step
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> c_in: Hacl.Spec.Bignum.Base.carry t -> i: Prims.pos{i <= aLen} -> c1_res1: Hacl.Spec.Lib.generate_elem_a (Hacl.Spec.Bignum.Definitions.limb t) (Hacl.Spec.Bignum.Base.carry t) aLen (i - 1) -> FStar.Pervasives.Lemma (...
{ "end_col": 77, "end_line": 108, "start_col": 63, "start_line": 87 }
FStar.Pervasives.Lemma
val bn_sub_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in bn_v #t #(i - 1) res1 - v c1 * pow2 (bits t * (i - 1)) == eval_ aLen a (i -...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_sub_lemma_loop_step #t #aLen a b i (c1, res1) = let pbits = bits t in let (c, res) = generate_elem_f aLen (bn_sub_f a b) (i - 1) (c1, res1) in let c, e = bn_sub_f a b (i - 1) c1 in assert (v e - v c * pow2 pbits == v a.[i - 1] - v b.[i - 1] - v c1); calc (==) { bn_v #t #i res - v c * pow2 (pbits *...
val bn_sub_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in bn_v #t #(i - 1) res1 - v c1 * pow2 (bits t * (i - 1)) == eval_ aLen a (i -...
false
null
true
let pbits = bits t in let c, res = generate_elem_f aLen (bn_sub_f a b) (i - 1) (c1, res1) in let c, e = bn_sub_f a b (i - 1) c1 in assert (v e - v c * pow2 pbits == v a.[ i - 1 ] - v b.[ i - 1 ] - v c1); calc ( == ) { bn_v #t #i res - v c * pow2 (pbits * i); ( == ) { bn_eval_snoc #t #(i - 1) res1 e } bn_v #t #(i ...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.pos", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Lib.generate_elem_a", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Subtraction", "Lib.Sequence...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_sub_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in bn_v #t #(i - 1) res1 - v c1 * pow2 (bits t * (i - 1)) == eval_ aLen a (i -...
[]
Hacl.Spec.Bignum.Addition.bn_sub_lemma_loop_step
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Prims.pos{i <= aLen} -> c1_res1: Hacl.Spec.Lib.generate_elem_a (Hacl.Spec.Bignum.Definitions.limb t) (Hacl.Spec.Bignum.Base.carry t) aLen (i - 1) -> FStar.Pervasives.Le...
{ "end_col": 85, "end_line": 441, "start_col": 54, "start_line": 416 }
FStar.Pervasives.Lemma
val bn_add_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in v c1 * pow2 (bits t * (i - 1)) + bn_v #t #(i - 1) res1 == eval_ aLen a (i ...
[ { "abbrev": false, "full_module": "Hacl.Spec.Lib", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": fals...
false
let bn_add_lemma_loop_step #t #aLen a b i (c1, res1) = let pbits = bits t in let (c, res) = generate_elem_f aLen (bn_add_f a b) (i - 1) (c1, res1) in let c, e = bn_add_f a b (i - 1) c1 in assert (v e + v c * pow2 pbits == v a.[i - 1] + v b.[i - 1] + v c1); calc (==) { v c * pow2 (pbits * i) + bn_v #t #i ...
val bn_add_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in v c1 * pow2 (bits t * (i - 1)) + bn_v #t #(i - 1) res1 == eval_ aLen a (i ...
false
null
true
let pbits = bits t in let c, res = generate_elem_f aLen (bn_add_f a b) (i - 1) (c1, res1) in let c, e = bn_add_f a b (i - 1) c1 in assert (v e + v c * pow2 pbits == v a.[ i - 1 ] + v b.[ i - 1 ] + v c1); calc ( == ) { v c * pow2 (pbits * i) + bn_v #t #i res; ( == ) { bn_eval_snoc #t #(i - 1) res1 e } v c * pow2 (...
{ "checked_file": "Hacl.Spec.Bignum.Addition.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Lib.fst.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Seq.fst.checked...
[ "lemma" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.pos", "Prims.b2t", "Prims.op_LessThanOrEqual", "Hacl.Spec.Lib.generate_elem_a", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Base.carry", "Prims.op_Subtraction", "Lib.Sequence...
[]
module Hacl.Spec.Bignum.Addition open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum.Base open Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val bn_sub_carry_f: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> i:size_nat{i < aLen} -> c_in:...
false
false
Hacl.Spec.Bignum.Addition.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 bn_add_lemma_loop_step: #t:limb_t -> #aLen:size_nat -> a:lbignum t aLen -> b:lbignum t aLen -> i:pos{i <= aLen} -> c1_res1:generate_elem_a (limb t) (carry t) aLen (i - 1) -> Lemma (requires (let (c1, res1) = c1_res1 in v c1 * pow2 (bits t * (i - 1)) + bn_v #t #(i - 1) res1 == eval_ aLen a (i ...
[]
Hacl.Spec.Bignum.Addition.bn_add_lemma_loop_step
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Addition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> b: Hacl.Spec.Bignum.Definitions.lbignum t aLen -> i: Prims.pos{i <= aLen} -> c1_res1: Hacl.Spec.Lib.generate_elem_a (Hacl.Spec.Bignum.Definitions.limb t) (Hacl.Spec.Bignum.Base.carry t) aLen (i - 1) -> FStar.Pervasives.Le...
{ "end_col": 85, "end_line": 192, "start_col": 54, "start_line": 167 }
FStar.Tactics.Effect.Tac
val get_max_ifuel: Prims.unit -> Tac int
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let get_max_ifuel () : Tac int = (get_vconfig ()).max_ifuel
val get_max_ifuel: Prims.unit -> Tac int let get_max_ifuel () : Tac int =
true
null
false
(get_vconfig ()).max_ifuel
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.unit", "FStar.VConfig.__proj__Mkvconfig__item__max_ifuel", "Prims.int", "FStar.VConfig.vconfig", "FStar.Tactics.V2.Builtins.get_vconfig" ]
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 get_max_ifuel: Prims.unit -> Tac int
[]
FStar.Tactics.SMT.get_max_ifuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.int
{ "end_col": 71, "end_line": 26, "start_col": 45, "start_line": 26 }
FStar.Tactics.Effect.Tac
val get_initial_ifuel: Prims.unit -> Tac int
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let get_initial_ifuel () : Tac int = (get_vconfig ()).initial_ifuel
val get_initial_ifuel: Prims.unit -> Tac int let get_initial_ifuel () : Tac int =
true
null
false
(get_vconfig ()).initial_ifuel
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.unit", "FStar.VConfig.__proj__Mkvconfig__item__initial_ifuel", "Prims.int", "FStar.VConfig.vconfig", "FStar.Tactics.V2.Builtins.get_vconfig" ]
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 get_initial_ifuel: Prims.unit -> Tac int
[]
FStar.Tactics.SMT.get_initial_ifuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.int
{ "end_col": 75, "end_line": 24, "start_col": 45, "start_line": 24 }
FStar.Tactics.Effect.Tac
val set_fuel (v: int) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let set_fuel (v : int) : Tac unit = set_vconfig { get_vconfig () with initial_fuel = v; max_fuel = v }
val set_fuel (v: int) : Tac unit let set_fuel (v: int) : Tac unit =
true
null
false
set_vconfig ({ get_vconfig () with initial_fuel = v; max_fuel = v })
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.int", "FStar.Tactics.V2.Builtins.set_vconfig", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__initial_ifuel", "FStar.VConfig.__proj__Mkvconfig__item__max_ifuel", "FStar.VConfig.__proj__Mkvconfig__item__detail_errors", "FStar.VConfig._...
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 set_fuel (v: int) : Tac unit
[]
FStar.Tactics.SMT.set_fuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 113, "end_line": 34, "start_col": 45, "start_line": 34 }
FStar.Tactics.Effect.Tac
val set_initial_fuel (v: int) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let set_initial_fuel (v : int) : Tac unit = set_vconfig { get_vconfig () with initial_fuel = v }
val set_initial_fuel (v: int) : Tac unit let set_initial_fuel (v: int) : Tac unit =
true
null
false
set_vconfig ({ get_vconfig () with initial_fuel = v })
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.int", "FStar.Tactics.V2.Builtins.set_vconfig", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__max_fuel", "FStar.VConfig.__proj__Mkvconfig__item__initial_ifuel", "FStar.VConfig.__proj__Mkvconfig__item__max_ifuel", "FStar.VConfig.__proj...
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 set_initial_fuel (v: int) : Tac unit
[]
FStar.Tactics.SMT.set_initial_fuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 98, "end_line": 28, "start_col": 45, "start_line": 28 }
FStar.Tactics.Effect.Tac
val get_max_fuel: Prims.unit -> Tac int
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let get_max_fuel () : Tac int = (get_vconfig ()).max_fuel
val get_max_fuel: Prims.unit -> Tac int let get_max_fuel () : Tac int =
true
null
false
(get_vconfig ()).max_fuel
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.unit", "FStar.VConfig.__proj__Mkvconfig__item__max_fuel", "Prims.int", "FStar.VConfig.vconfig", "FStar.Tactics.V2.Builtins.get_vconfig" ]
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 get_max_fuel: Prims.unit -> Tac int
[]
FStar.Tactics.SMT.get_max_fuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.int
{ "end_col": 70, "end_line": 25, "start_col": 45, "start_line": 25 }
FStar.Tactics.Effect.Tac
val smt_sync: Prims.unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let smt_sync () : Tac unit = t_smt_sync (get_vconfig ())
val smt_sync: Prims.unit -> Tac unit let smt_sync () : Tac unit =
true
null
false
t_smt_sync (get_vconfig ())
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.unit", "FStar.Tactics.V2.Builtins.t_smt_sync", "FStar.VConfig.vconfig", "FStar.Tactics.V2.Builtins.get_vconfig" ]
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig
false
false
FStar.Tactics.SMT.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 smt_sync: Prims.unit -> Tac unit
[]
FStar.Tactics.SMT.smt_sync
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 56, "end_line": 8, "start_col": 29, "start_line": 8 }
FStar.Tactics.Effect.Tac
val get_rlimit: Prims.unit -> Tac int
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let get_rlimit () : Tac int = (get_vconfig()).z3rlimit
val get_rlimit: Prims.unit -> Tac int let get_rlimit () : Tac int =
true
null
false
(get_vconfig ()).z3rlimit
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.unit", "FStar.VConfig.__proj__Mkvconfig__item__z3rlimit", "Prims.int", "FStar.VConfig.vconfig", "FStar.Tactics.V2.Builtins.get_vconfig" ]
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 get_rlimit: Prims.unit -> Tac int
[]
FStar.Tactics.SMT.get_rlimit
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.int
{ "end_col": 69, "end_line": 20, "start_col": 45, "start_line": 20 }
FStar.Tactics.Effect.Tac
val set_initial_ifuel (v: int) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let set_initial_ifuel (v : int) : Tac unit = set_vconfig { get_vconfig () with initial_ifuel = v }
val set_initial_ifuel (v: int) : Tac unit let set_initial_ifuel (v: int) : Tac unit =
true
null
false
set_vconfig ({ get_vconfig () with initial_ifuel = v })
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.int", "FStar.Tactics.V2.Builtins.set_vconfig", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__initial_fuel", "FStar.VConfig.__proj__Mkvconfig__item__max_fuel", "FStar.VConfig.__proj__Mkvconfig__item__max_ifuel", "FStar.VConfig.__proj_...
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 set_initial_ifuel (v: int) : Tac unit
[]
FStar.Tactics.SMT.set_initial_ifuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 98, "end_line": 29, "start_col": 45, "start_line": 29 }
FStar.Tactics.Effect.Tac
val get_initial_fuel: Prims.unit -> Tac int
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let get_initial_fuel () : Tac int = (get_vconfig ()).initial_fuel
val get_initial_fuel: Prims.unit -> Tac int let get_initial_fuel () : Tac int =
true
null
false
(get_vconfig ()).initial_fuel
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.unit", "FStar.VConfig.__proj__Mkvconfig__item__initial_fuel", "Prims.int", "FStar.VConfig.vconfig", "FStar.Tactics.V2.Builtins.get_vconfig" ]
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 get_initial_fuel: Prims.unit -> Tac int
[]
FStar.Tactics.SMT.get_initial_fuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.int
{ "end_col": 74, "end_line": 23, "start_col": 45, "start_line": 23 }
FStar.Tactics.Effect.Tac
val smt_sync' (fuel ifuel: nat) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let smt_sync' (fuel ifuel : nat) : Tac unit = let vcfg = get_vconfig () in let vcfg' = { vcfg with initial_fuel = fuel; max_fuel = fuel ; initial_ifuel = ifuel; max_ifuel = ifuel } in t_smt_sync vcfg'
val smt_sync' (fuel ifuel: nat) : Tac unit let smt_sync' (fuel ifuel: nat) : Tac unit =
true
null
false
let vcfg = get_vconfig () in let vcfg' = { vcfg with initial_fuel = fuel; max_fuel = fuel; initial_ifuel = ifuel; max_ifuel = ifuel } in t_smt_sync vcfg'
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.nat", "FStar.Tactics.V2.Builtins.t_smt_sync", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__detail_errors", "FStar.VConfig.__proj__Mkvconfig__item__detail_hint_replay", "FStar.VConfig.__proj__Mkvconfig__item__no_smt", "FStar.VConfig....
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ())
false
false
FStar.Tactics.SMT.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 smt_sync' (fuel ifuel: nat) : Tac unit
[]
FStar.Tactics.SMT.smt_sync'
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
fuel: Prims.nat -> ifuel: Prims.nat -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 20, "end_line": 16, "start_col": 45, "start_line": 11 }
FStar.Tactics.Effect.Tac
val set_rlimit (v: int) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let set_rlimit (v : int) : Tac unit = set_vconfig { get_vconfig () with z3rlimit = v }
val set_rlimit (v: int) : Tac unit let set_rlimit (v: int) : Tac unit =
true
null
false
set_vconfig ({ get_vconfig () with z3rlimit = v })
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.int", "FStar.Tactics.V2.Builtins.set_vconfig", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__initial_fuel", "FStar.VConfig.__proj__Mkvconfig__item__max_fuel", "FStar.VConfig.__proj__Mkvconfig__item__initial_ifuel", "FStar.VConfig.__p...
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 set_rlimit (v: int) : Tac unit
[]
FStar.Tactics.SMT.set_rlimit
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 93, "end_line": 21, "start_col": 45, "start_line": 21 }
FStar.Tactics.Effect.Tac
val set_max_ifuel (v: int) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let set_max_ifuel (v : int) : Tac unit = set_vconfig { get_vconfig () with max_ifuel = v }
val set_max_ifuel (v: int) : Tac unit let set_max_ifuel (v: int) : Tac unit =
true
null
false
set_vconfig ({ get_vconfig () with max_ifuel = v })
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.int", "FStar.Tactics.V2.Builtins.set_vconfig", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__initial_fuel", "FStar.VConfig.__proj__Mkvconfig__item__max_fuel", "FStar.VConfig.__proj__Mkvconfig__item__initial_ifuel", "FStar.VConfig.__p...
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 set_max_ifuel (v: int) : Tac unit
[]
FStar.Tactics.SMT.set_max_ifuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 98, "end_line": 31, "start_col": 45, "start_line": 31 }
FStar.Tactics.Effect.Tac
val set_max_fuel (v: int) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let set_max_fuel (v : int) : Tac unit = set_vconfig { get_vconfig () with max_fuel = v }
val set_max_fuel (v: int) : Tac unit let set_max_fuel (v: int) : Tac unit =
true
null
false
set_vconfig ({ get_vconfig () with max_fuel = v })
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.int", "FStar.Tactics.V2.Builtins.set_vconfig", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__initial_fuel", "FStar.VConfig.__proj__Mkvconfig__item__initial_ifuel", "FStar.VConfig.__proj__Mkvconfig__item__max_ifuel", "FStar.VConfig.__...
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 set_max_fuel (v: int) : Tac unit
[]
FStar.Tactics.SMT.set_max_fuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 98, "end_line": 30, "start_col": 45, "start_line": 30 }
FStar.Tactics.Effect.Tac
val set_ifuel (v: int) : Tac unit
[ { "abbrev": false, "full_module": "FStar.VConfig", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": false, ...
false
let set_ifuel (v : int) : Tac unit = set_vconfig { get_vconfig () with initial_ifuel = v; max_ifuel = v }
val set_ifuel (v: int) : Tac unit let set_ifuel (v: int) : Tac unit =
true
null
false
set_vconfig ({ get_vconfig () with initial_ifuel = v; max_ifuel = v })
{ "checked_file": "FStar.Tactics.SMT.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.VConfig.fsti.checked", "FStar.Tactics.V2.Builtins.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Tactics.S...
[]
[ "Prims.int", "FStar.Tactics.V2.Builtins.set_vconfig", "Prims.unit", "FStar.VConfig.vconfig", "FStar.VConfig.Mkvconfig", "FStar.VConfig.__proj__Mkvconfig__item__initial_fuel", "FStar.VConfig.__proj__Mkvconfig__item__max_fuel", "FStar.VConfig.__proj__Mkvconfig__item__detail_errors", "FStar.VConfig.__p...
[]
module FStar.Tactics.SMT open FStar.Tactics.Effect open FStar.Tactics.V2.Builtins open FStar.VConfig (* Alias to just use the current vconfig *) let smt_sync () : Tac unit = t_smt_sync (get_vconfig ()) (* smt_sync': as smt_sync, but using a particular fuel/ifuel *) let smt_sync' (fuel ifuel : nat) : Tac unit = l...
false
false
FStar.Tactics.SMT.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 set_ifuel (v: int) : Tac unit
[]
FStar.Tactics.SMT.set_ifuel
{ "file_name": "ulib/FStar.Tactics.SMT.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 113, "end_line": 35, "start_col": 45, "start_line": 35 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Ladder", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "abbrev": false, "full_module": "Hacl.Bignum25519", "short_module": null }, { "abbrev": tr...
false
let point_inv_full_t (h:mem) (p:point) = F51.point_inv_t h p /\ F51.inv_ext_point (as_seq h p)
let point_inv_full_t (h: mem) (p: point) =
false
null
false
F51.point_inv_t h p /\ F51.inv_ext_point (as_seq h p)
{ "checked_file": "Hacl.Impl.Ed25519.Verify.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.SHA512.ModQ.fst.checked", ...
[ "total" ]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Bignum25519.point", "Prims.l_and", "Hacl.Impl.Ed25519.Field51.point_inv_t", "Hacl.Impl.Ed25519.Field51.inv_ext_point", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Prims.logical" ]
[]
module Hacl.Impl.Ed25519.Verify open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module PM = Hacl.Impl.Ed25519.Ladder #reset-options "--z3rlimi...
false
true
Hacl.Impl.Ed25519.Verify.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 point_inv_full_t : h: FStar.Monotonic.HyperStack.mem -> p: Hacl.Bignum25519.point -> Prims.logical
[]
Hacl.Impl.Ed25519.Verify.point_inv_full_t
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Verify.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> p: Hacl.Bignum25519.point -> Prims.logical
{ "end_col": 55, "end_line": 21, "start_col": 2, "start_line": 21 }
FStar.HyperStack.ST.Stack
val verify_sb: sb:lbuffer uint8 32ul -> Stack bool (requires fun h -> live h sb) (ensures fun h0 b h1 -> modifies0 h0 h1 /\ (b <==> (BSeq.nat_from_bytes_le (as_seq h0 sb) >= Spec.Ed25519.q)))
[ { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Ladder", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "abbrev": false, "full_module": "Hacl.Bignum25519", "short_module": null }, { "abbrev": tr...
false
let verify_sb sb = push_frame (); let tmp = create 5ul (u64 0) in Hacl.Impl.Load56.load_32_bytes tmp sb; let b = Hacl.Impl.Ed25519.PointEqual.gte_q tmp in pop_frame (); b
val verify_sb: sb:lbuffer uint8 32ul -> Stack bool (requires fun h -> live h sb) (ensures fun h0 b h1 -> modifies0 h0 h1 /\ (b <==> (BSeq.nat_from_bytes_le (as_seq h0 sb) >= Spec.Ed25519.q))) let verify_sb sb =
true
null
false
push_frame (); let tmp = create 5ul (u64 0) in Hacl.Impl.Load56.load_32_bytes tmp sb; let b = Hacl.Impl.Ed25519.PointEqual.gte_q tmp in pop_frame (); b
{ "checked_file": "Hacl.Impl.Ed25519.Verify.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.SHA512.ModQ.fst.checked", ...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Prims.bool", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Hacl.Impl.Ed25519.PointEqual.gte_q", "Hacl.Impl.Load56.load_32_bytes", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Li...
[]
module Hacl.Impl.Ed25519.Verify open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module PM = Hacl.Impl.Ed25519.Ladder #reset-options "--z3rlimi...
false
false
Hacl.Impl.Ed25519.Verify.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 verify_sb: sb:lbuffer uint8 32ul -> Stack bool (requires fun h -> live h sb) (ensures fun h0 b h1 -> modifies0 h0 h1 /\ (b <==> (BSeq.nat_from_bytes_le (as_seq h0 sb) >= Spec.Ed25519.q)))
[]
Hacl.Impl.Ed25519.Verify.verify_sb
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Verify.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
sb: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> FStar.HyperStack.ST.Stack Prims.bool
{ "end_col": 3, "end_line": 60, "start_col": 2, "start_line": 55 }
FStar.HyperStack.ST.Stack
val verify: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature) (ensures fun h0 z h1 -> modifies0 h0 h1 /\ z == Spec.Ed25519.verify (as_seq h0 pu...
[ { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Ladder", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "abbrev": false, "full_module": "Hacl.Bignum25519", "short_module": null }, { "abbrev": tr...
false
let verify public_key msg_len msg signature = push_frame (); let a' = create 20ul (u64 0) in let h0 = ST.get () in Spec.Ed25519.Lemmas.point_decompress_lemma (as_seq h0 public_key); let b = Hacl.Impl.Ed25519.PointDecompress.point_decompress a' public_key in let res = if b then verify_valid_pk public_key msg...
val verify: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature) (ensures fun h0 z h1 -> modifies0 h0 h1 /\ z == Spec.Ed25519.verify (as_seq h0 pu...
true
null
false
push_frame (); let a' = create 20ul (u64 0) in let h0 = ST.get () in Spec.Ed25519.Lemmas.point_decompress_lemma (as_seq h0 public_key); let b = Hacl.Impl.Ed25519.PointDecompress.point_decompress a' public_key in let res = if b then verify_valid_pk public_key msg_len msg signature a' else false in pop_frame (); res
{ "checked_file": "Hacl.Impl.Ed25519.Verify.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.SHA512.ModQ.fst.checked", ...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.bool", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Hacl.Impl.Ed25519.Verify.verify_valid_pk", "Hacl.Impl.Ed25519.PointDecompress.point_decompress", "Spec.Ed25519.Lemmas.point_decompress_lemma"...
[]
module Hacl.Impl.Ed25519.Verify open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module PM = Hacl.Impl.Ed25519.Ladder #reset-options "--z3rlimi...
false
false
Hacl.Impl.Ed25519.Verify.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 verify: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature) (ensures fun h0 z h1 -> modifies0 h0 h1 /\ z == Spec.Ed25519.verify (as_seq h0 pu...
[]
Hacl.Impl.Ed25519.Verify.verify
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Verify.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
public_key: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> msg_len: Lib.IntTypes.size_t -> msg: Lib.Buffer.lbuffer Lib.IntTypes.uint8 msg_len -> signature: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> FStar.HyperStack.ST.Stack Prims.bool
{ "end_col": 5, "end_line": 144, "start_col": 2, "start_line": 137 }
FStar.HyperStack.ST.Stack
val verify_all_valid_hb (sb hb:lbuffer uint8 32ul) (a' r':point) : Stack bool (requires fun h -> live h sb /\ live h hb /\ live h a' /\ live h r' /\ point_inv_full_t h a' /\ point_inv_full_t h r') (ensures fun h0 z h1 -> modifies0 h0 h1 /\ (z == Spec.Ed25519.( let exp_d = point_negate_mul_double_g...
[ { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Ladder", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "abbrev": false, "full_module": "Hacl.Bignum25519", "short_module": null }, { "abbrev": tr...
false
let verify_all_valid_hb sb hb a' r' = push_frame (); let exp_d = create 20ul (u64 0) in PM.point_negate_mul_double_g_vartime exp_d sb hb a'; let b = Hacl.Impl.Ed25519.PointEqual.point_equal exp_d r' in let h0 = ST.get () in Spec.Ed25519.Lemmas.point_equal_lemma (F51.point_eval h0 exp_d) (Spec.Ed2551...
val verify_all_valid_hb (sb hb:lbuffer uint8 32ul) (a' r':point) : Stack bool (requires fun h -> live h sb /\ live h hb /\ live h a' /\ live h r' /\ point_inv_full_t h a' /\ point_inv_full_t h r') (ensures fun h0 z h1 -> modifies0 h0 h1 /\ (z == Spec.Ed25519.( let exp_d = point_negate_mul_double_g...
true
null
false
push_frame (); let exp_d = create 20ul (u64 0) in PM.point_negate_mul_double_g_vartime exp_d sb hb a'; let b = Hacl.Impl.Ed25519.PointEqual.point_equal exp_d r' in let h0 = ST.get () in Spec.Ed25519.Lemmas.point_equal_lemma (F51.point_eval h0 exp_d) (Spec.Ed25519.point_negate_mul_double_g (as_seq h0 sb) (as_seq h0 hb...
{ "checked_file": "Hacl.Impl.Ed25519.Verify.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.SHA512.ModQ.fst.checked", ...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Hacl.Bignum25519.point", "Prims.bool", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Spec.Ed25519.Lemmas.point_equal_lemma", "Hacl.Impl.Ed25519.Field51.point_eval", "Spec.Ed25519.point_negate_mul_double_g", "Lib.Buffer.as...
[]
module Hacl.Impl.Ed25519.Verify open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module PM = Hacl.Impl.Ed25519.Ladder #reset-options "--z3rlimi...
false
false
Hacl.Impl.Ed25519.Verify.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 verify_all_valid_hb (sb hb:lbuffer uint8 32ul) (a' r':point) : Stack bool (requires fun h -> live h sb /\ live h hb /\ live h a' /\ live h r' /\ point_inv_full_t h a' /\ point_inv_full_t h r') (ensures fun h0 z h1 -> modifies0 h0 h1 /\ (z == Spec.Ed25519.( let exp_d = point_negate_mul_double_g...
[]
Hacl.Impl.Ed25519.Verify.verify_all_valid_hb
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Verify.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
sb: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> hb: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> a': Hacl.Bignum25519.point -> r': Hacl.Bignum25519.point -> FStar.HyperStack.ST.Stack Prims.bool
{ "end_col": 3, "end_line": 45, "start_col": 2, "start_line": 35 }
FStar.HyperStack.ST.Stack
val verify_valid_pk: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> a':point -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature /\ live h a' /\ (Some? (Spec.Ed25519.point_decompress (as_seq h...
[ { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Ladder", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "abbrev": false, "full_module": "Hacl.Bignum25519", "short_module": null }, { "abbrev": tr...
false
let verify_valid_pk public_key msg_len msg signature a' = push_frame (); let r' = create 20ul (u64 0) in let rs = sub signature 0ul 32ul in let h0 = ST.get () in Spec.Ed25519.Lemmas.point_decompress_lemma (as_seq h0 rs); let b' = Hacl.Impl.Ed25519.PointDecompress.point_decompress r' rs in let res = if b' ...
val verify_valid_pk: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> a':point -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature /\ live h a' /\ (Some? (Spec.Ed25519.point_decompress (as_seq h...
true
null
false
push_frame (); let r' = create 20ul (u64 0) in let rs = sub signature 0ul 32ul in let h0 = ST.get () in Spec.Ed25519.Lemmas.point_decompress_lemma (as_seq h0 rs); let b' = Hacl.Impl.Ed25519.PointDecompress.point_decompress r' rs in let res = if b' then verify_valid_pk_rs public_key msg_len msg signature a' r' else fals...
{ "checked_file": "Hacl.Impl.Ed25519.Verify.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.SHA512.ModQ.fst.checked", ...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Hacl.Bignum25519.point", "Prims.bool", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Hacl.Impl.Ed25519.Verify.verify_valid_pk_rs", "Hacl.Impl.Ed25519.PointDecompress.point_decompress", "Spec.Ed25519...
[]
module Hacl.Impl.Ed25519.Verify open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module PM = Hacl.Impl.Ed25519.Ladder #reset-options "--z3rlimi...
false
false
Hacl.Impl.Ed25519.Verify.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 verify_valid_pk: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> a':point -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature /\ live h a' /\ (Some? (Spec.Ed25519.point_decompress (as_seq h...
[]
Hacl.Impl.Ed25519.Verify.verify_valid_pk
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Verify.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
public_key: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> msg_len: Lib.IntTypes.size_t -> msg: Lib.Buffer.lbuffer Lib.IntTypes.uint8 msg_len -> signature: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> a': Hacl.Bignum25519.point -> FStar.HyperStack.ST.Stack Prims.bool
{ "end_col": 5, "end_line": 121, "start_col": 2, "start_line": 113 }
FStar.HyperStack.ST.Stack
val verify_valid_pk_rs: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> a':point -> r':point -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature /\ live h a' /\ live h r' /\ (Some? (Spec.Ed25...
[ { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Ladder", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "abbrev": false, "full_module": "Hacl.Bignum25519", "short_module": null }, { "abbrev": tr...
false
let verify_valid_pk_rs public_key msg_len msg signature a' r' = push_frame (); let hb = create 32ul (u8 0) in let rs = sub signature 0ul 32ul in let sb = sub signature 32ul 32ul in let b = verify_sb sb in let res = if b then false else begin Hacl.Impl.SHA512.ModQ.store_sha512_modq_pre_pre2 hb...
val verify_valid_pk_rs: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> a':point -> r':point -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature /\ live h a' /\ live h r' /\ (Some? (Spec.Ed25...
true
null
false
push_frame (); let hb = create 32ul (u8 0) in let rs = sub signature 0ul 32ul in let sb = sub signature 32ul 32ul in let b = verify_sb sb in let res = if b then false else (Hacl.Impl.SHA512.ModQ.store_sha512_modq_pre_pre2 hb rs public_key msg_len msg; verify_all_valid_hb sb hb a' r') in pop_frame (); re...
{ "checked_file": "Hacl.Impl.Ed25519.Verify.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.SHA512.ModQ.fst.checked", ...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Hacl.Bignum25519.point", "Prims.bool", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Hacl.Impl.Ed25519.Verify.verify_all_valid_hb", "Hacl.Impl.SHA512.ModQ.store_sha512_modq_pre_pre2", "Hacl.Impl.Ed2...
[]
module Hacl.Impl.Ed25519.Verify open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module PM = Hacl.Impl.Ed25519.Ladder #reset-options "--z3rlimi...
false
false
Hacl.Impl.Ed25519.Verify.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 verify_valid_pk_rs: public_key:lbuffer uint8 32ul -> msg_len:size_t -> msg:lbuffer uint8 msg_len -> signature:lbuffer uint8 64ul -> a':point -> r':point -> Stack bool (requires fun h -> live h public_key /\ live h msg /\ live h signature /\ live h a' /\ live h r' /\ (Some? (Spec.Ed25...
[]
Hacl.Impl.Ed25519.Verify.verify_valid_pk_rs
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Verify.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
public_key: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> msg_len: Lib.IntTypes.size_t -> msg: Lib.Buffer.lbuffer Lib.IntTypes.uint8 msg_len -> signature: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> a': Hacl.Bignum25519.point -> r': Hacl.Bignum25519.point -> FStar.HyperStack.ST.Stack Prims....
{ "end_col": 5, "end_line": 94, "start_col": 2, "start_line": 82 }
FStar.Tactics.Effect.Tac
val pp_sigmaTable: Prims.unit -> Tactics.Tac unit
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_modul...
false
let pp_sigmaTable () : Tactics.Tac unit = Tactics.norm [delta_only [`%Spec.list_sigma]]; Tactics.trefl ()
val pp_sigmaTable: Prims.unit -> Tactics.Tac unit let pp_sigmaTable () : Tactics.Tac unit =
true
null
false
Tactics.norm [delta_only [`%Spec.list_sigma]]; Tactics.trefl ()
{ "checked_file": "Hacl.Impl.Blake2.Constants.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar...
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.trefl", "FStar.Tactics.V1.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta_only", "Prims.string", "Prims.Nil" ]
[]
module Hacl.Impl.Blake2.Constants open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 /// We need to unfold m...
false
false
Hacl.Impl.Blake2.Constants.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 pp_sigmaTable: Prims.unit -> Tactics.Tac unit
[]
Hacl.Impl.Blake2.Constants.pp_sigmaTable
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Constants.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 65, "end_line": 25, "start_col": 2, "start_line": 25 }
Prims.Tot
val ivTable_B:(x: glbuffer (Spec.pub_word_t Spec.Blake2B) 8ul {witnessed x (Spec.ivTable Spec.Blake2B) /\ recallable x})
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_modul...
false
let ivTable_B: (x:glbuffer (Spec.pub_word_t Spec.Blake2B) 8ul{witnessed x (Spec.ivTable Spec.Blake2B) /\ recallable x}) = createL_global Spec.list_iv_B
val ivTable_B:(x: glbuffer (Spec.pub_word_t Spec.Blake2B) 8ul {witnessed x (Spec.ivTable Spec.Blake2B) /\ recallable x}) let ivTable_B:(x: glbuffer (Spec.pub_word_t Spec.Blake2B) 8ul {witnessed x (Spec.ivTable Spec.Blake2B) /\ recallable x}) =
false
null
false
createL_global Spec.list_iv_B
{ "checked_file": "Hacl.Impl.Blake2.Constants.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar...
[ "total" ]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.PUB", "Spec.Blake2.list_iv_B", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length" ]
[]
module Hacl.Impl.Blake2.Constants open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 /// We need to unfold m...
false
false
Hacl.Impl.Blake2.Constants.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 ivTable_B:(x: glbuffer (Spec.pub_word_t Spec.Blake2B) 8ul {witnessed x (Spec.ivTable Spec.Blake2B) /\ recallable x})
[]
Hacl.Impl.Blake2.Constants.ivTable_B
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Constants.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST (Spec.Blake2.pub_word_t Spec.Blake2.Blake2B) (FStar.UInt32.uint_to_t 8 <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) {Lib.Buffer.witnessed x (Spec.Blake2.ivTable Spec.Blake2.Blake2B) /\ Lib.Buffer.recallable x}
{ "end_col": 31, "end_line": 35, "start_col": 2, "start_line": 35 }
Prims.Tot
val ivTable_S:(x: glbuffer (Spec.pub_word_t Spec.Blake2S) 8ul {witnessed x (Spec.ivTable Spec.Blake2S) /\ recallable x})
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_modul...
false
let ivTable_S: (x:glbuffer (Spec.pub_word_t Spec.Blake2S) 8ul{witnessed x (Spec.ivTable Spec.Blake2S) /\ recallable x}) = createL_global Spec.list_iv_S
val ivTable_S:(x: glbuffer (Spec.pub_word_t Spec.Blake2S) 8ul {witnessed x (Spec.ivTable Spec.Blake2S) /\ recallable x}) let ivTable_S:(x: glbuffer (Spec.pub_word_t Spec.Blake2S) 8ul {witnessed x (Spec.ivTable Spec.Blake2S) /\ recallable x}) =
false
null
false
createL_global Spec.list_iv_S
{ "checked_file": "Hacl.Impl.Blake2.Constants.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar...
[ "total" ]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Blake2.list_iv_S", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length" ]
[]
module Hacl.Impl.Blake2.Constants open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 /// We need to unfold m...
false
false
Hacl.Impl.Blake2.Constants.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 ivTable_S:(x: glbuffer (Spec.pub_word_t Spec.Blake2S) 8ul {witnessed x (Spec.ivTable Spec.Blake2S) /\ recallable x})
[]
Hacl.Impl.Blake2.Constants.ivTable_S
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Constants.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST (Spec.Blake2.pub_word_t Spec.Blake2.Blake2S) (FStar.UInt32.uint_to_t 8 <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) {Lib.Buffer.witnessed x (Spec.Blake2.ivTable Spec.Blake2.Blake2S) /\ Lib.Buffer.recallable x}
{ "end_col": 31, "end_line": 32, "start_col": 2, "start_line": 32 }
Prims.Tot
val rTable_B:x: glbuffer (rotval U64) 4ul {witnessed x (Spec.rTable Spec.Blake2B) /\ recallable x}
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_modul...
false
let rTable_B : x:glbuffer (rotval U64) 4ul{witnessed x (Spec.rTable Spec.Blake2B) /\ recallable x} = createL_global Spec.rTable_list_B
val rTable_B:x: glbuffer (rotval U64) 4ul {witnessed x (Spec.rTable Spec.Blake2B) /\ recallable x} let rTable_B:x: glbuffer (rotval U64) 4ul {witnessed x (Spec.rTable Spec.Blake2B) /\ recallable x} =
false
null
false
createL_global Spec.rTable_list_B
{ "checked_file": "Hacl.Impl.Blake2.Constants.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar...
[ "total" ]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.rotval", "Lib.IntTypes.U64", "Spec.Blake2.rTable_list_B", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length" ]
[]
module Hacl.Impl.Blake2.Constants open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 /// We need to unfold m...
false
false
Hacl.Impl.Blake2.Constants.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 rTable_B:x: glbuffer (rotval U64) 4ul {witnessed x (Spec.rTable Spec.Blake2B) /\ recallable x}
[]
Hacl.Impl.Blake2.Constants.rTable_B
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Constants.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST (Lib.IntTypes.rotval Lib.IntTypes.U64) (FStar.UInt32.uint_to_t 4 <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) {Lib.Buffer.witnessed x (Spec.Blake2.rTable Spec.Blake2.Blake2B) /\ Lib.Buffer.recallable x}
{ "end_col": 35, "end_line": 38, "start_col": 2, "start_line": 38 }
Prims.Tot
val sigmaTable:x: glbuffer Spec.sigma_elt_t 160ul {witnessed x Spec.sigmaTable /\ recallable x}
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_modul...
false
let sigmaTable : x:glbuffer Spec.sigma_elt_t 160ul{witnessed x Spec.sigmaTable /\ recallable x} = createL_global Spec.list_sigma
val sigmaTable:x: glbuffer Spec.sigma_elt_t 160ul {witnessed x Spec.sigmaTable /\ recallable x} let sigmaTable:x: glbuffer Spec.sigma_elt_t 160ul {witnessed x Spec.sigmaTable /\ recallable x} =
false
null
false
createL_global Spec.list_sigma
{ "checked_file": "Hacl.Impl.Blake2.Constants.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar...
[ "total" ]
[ "Lib.Buffer.createL_global", "Spec.Blake2.sigma_elt_t", "Prims.Cons", "Lib.IntTypes.size", "Prims.Nil" ]
[]
module Hacl.Impl.Blake2.Constants open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 /// We need to unfold m...
false
false
Hacl.Impl.Blake2.Constants.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 sigmaTable:x: glbuffer Spec.sigma_elt_t 160ul {witnessed x Spec.sigmaTable /\ recallable x}
[]
Hacl.Impl.Blake2.Constants.sigmaTable
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Constants.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST Spec.Blake2.sigma_elt_t (FStar.UInt32.uint_to_t 160 <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) {Lib.Buffer.witnessed x Spec.Blake2.sigmaTable /\ Lib.Buffer.recallable x}
{ "end_col": 32, "end_line": 29, "start_col": 2, "start_line": 29 }
Prims.Tot
val sealBase: sealBase_st cs True
[ { "abbrev": true, "full_module": "Hacl.HPKE.Interface.AEAD", "short_module": "IAEAD" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.Hash", "short_module": "IHash" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.HKDF", "short_module": "IHK" }, { ...
false
let sealBase = hpke_sealBase_higher #cs True IAEAD.aead_encrypt_cp32 setupBaseS
val sealBase: sealBase_st cs True let sealBase =
false
null
false
hpke_sealBase_higher #cs True IAEAD.aead_encrypt_cp32 setupBaseS
{ "checked_file": "Hacl.HPKE.P256_CP32_SHA256.fst.checked", "dependencies": [ "prims.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.HPKE.Interface.HKDF.fst.checked", "Hacl.HPKE.Interface.Hash.fst.checked", "Hacl.HPKE.Interface.DH.fst.checked", "Hacl.HPKE....
[ "total" ]
[ "Hacl.Meta.HPKE.hpke_sealBase_higher", "Hacl.HPKE.P256_CP32_SHA256.cs", "Prims.l_True", "Hacl.HPKE.Interface.AEAD.aead_encrypt_cp32", "Hacl.HPKE.P256_CP32_SHA256.setupBaseS" ]
[]
module Hacl.HPKE.P256_CP32_SHA256 open Hacl.Meta.HPKE module IDH = Hacl.HPKE.Interface.DH module IHK = Hacl.HPKE.Interface.HKDF module IHash = Hacl.HPKE.Interface.Hash module IAEAD = Hacl.HPKE.Interface.AEAD friend Hacl.Meta.HPKE #set-options "--fuel 0 --ifuel 0" let setupBaseS = hpke_setupBaseS_higher #cs True IH...
false
true
Hacl.HPKE.P256_CP32_SHA256.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sealBase: sealBase_st cs True
[]
Hacl.HPKE.P256_CP32_SHA256.sealBase
{ "file_name": "code/hpke/Hacl.HPKE.P256_CP32_SHA256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.HPKE.sealBase_st Hacl.HPKE.P256_CP32_SHA256.cs Prims.l_True
{ "end_col": 79, "end_line": 18, "start_col": 15, "start_line": 18 }
Prims.Tot
val openBase: openBase_st cs True
[ { "abbrev": true, "full_module": "Hacl.HPKE.Interface.AEAD", "short_module": "IAEAD" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.Hash", "short_module": "IHash" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.HKDF", "short_module": "IHK" }, { ...
false
let openBase = hpke_openBase_higher #cs True IAEAD.aead_decrypt_cp32 setupBaseR
val openBase: openBase_st cs True let openBase =
false
null
false
hpke_openBase_higher #cs True IAEAD.aead_decrypt_cp32 setupBaseR
{ "checked_file": "Hacl.HPKE.P256_CP32_SHA256.fst.checked", "dependencies": [ "prims.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.HPKE.Interface.HKDF.fst.checked", "Hacl.HPKE.Interface.Hash.fst.checked", "Hacl.HPKE.Interface.DH.fst.checked", "Hacl.HPKE....
[ "total" ]
[ "Hacl.Meta.HPKE.hpke_openBase_higher", "Hacl.HPKE.P256_CP32_SHA256.cs", "Prims.l_True", "Hacl.HPKE.Interface.AEAD.aead_decrypt_cp32", "Hacl.HPKE.P256_CP32_SHA256.setupBaseR" ]
[]
module Hacl.HPKE.P256_CP32_SHA256 open Hacl.Meta.HPKE module IDH = Hacl.HPKE.Interface.DH module IHK = Hacl.HPKE.Interface.HKDF module IHash = Hacl.HPKE.Interface.Hash module IAEAD = Hacl.HPKE.Interface.AEAD friend Hacl.Meta.HPKE #set-options "--fuel 0 --ifuel 0" let setupBaseS = hpke_setupBaseS_higher #cs True IH...
false
true
Hacl.HPKE.P256_CP32_SHA256.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val openBase: openBase_st cs True
[]
Hacl.HPKE.P256_CP32_SHA256.openBase
{ "file_name": "code/hpke/Hacl.HPKE.P256_CP32_SHA256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.HPKE.openBase_st Hacl.HPKE.P256_CP32_SHA256.cs Prims.l_True
{ "end_col": 79, "end_line": 20, "start_col": 15, "start_line": 20 }
Prims.Tot
val setupBaseS: setupBaseS_st cs True
[ { "abbrev": true, "full_module": "Hacl.HPKE.Interface.AEAD", "short_module": "IAEAD" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.Hash", "short_module": "IHash" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.HKDF", "short_module": "IHK" }, { ...
false
let setupBaseS = hpke_setupBaseS_higher #cs True IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.secret_to_public_p256 IDH.dh_p256 IHK.hkdf_expand256 IHK.hkdf_extract256
val setupBaseS: setupBaseS_st cs True let setupBaseS =
false
null
false
hpke_setupBaseS_higher #cs True IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.secret_to_public_p256 IDH.dh_p256 IHK.hkdf_expand256 IHK.hkdf_extract256
{ "checked_file": "Hacl.HPKE.P256_CP32_SHA256.fst.checked", "dependencies": [ "prims.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.HPKE.Interface.HKDF.fst.checked", "Hacl.HPKE.Interface.Hash.fst.checked", "Hacl.HPKE.Interface.DH.fst.checked", "Hacl.HPKE....
[ "total" ]
[ "Hacl.Meta.HPKE.hpke_setupBaseS_higher", "Hacl.HPKE.P256_CP32_SHA256.cs", "Prims.l_True", "Hacl.HPKE.Interface.HKDF.hkdf_expand256", "Hacl.HPKE.Interface.HKDF.hkdf_extract256", "Hacl.HPKE.Interface.DH.secret_to_public_p256", "Hacl.HPKE.Interface.DH.dh_p256" ]
[]
module Hacl.HPKE.P256_CP32_SHA256 open Hacl.Meta.HPKE module IDH = Hacl.HPKE.Interface.DH module IHK = Hacl.HPKE.Interface.HKDF module IHash = Hacl.HPKE.Interface.Hash module IAEAD = Hacl.HPKE.Interface.AEAD friend Hacl.Meta.HPKE #set-options "--fuel 0 --ifuel 0"
false
true
Hacl.HPKE.P256_CP32_SHA256.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val setupBaseS: setupBaseS_st cs True
[]
Hacl.HPKE.P256_CP32_SHA256.setupBaseS
{ "file_name": "code/hpke/Hacl.HPKE.P256_CP32_SHA256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.HPKE.setupBaseS_st Hacl.HPKE.P256_CP32_SHA256.cs Prims.l_True
{ "end_col": 164, "end_line": 14, "start_col": 17, "start_line": 14 }
Prims.Tot
val setupBaseR: setupBaseR_st cs True
[ { "abbrev": true, "full_module": "Hacl.HPKE.Interface.AEAD", "short_module": "IAEAD" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.Hash", "short_module": "IHash" }, { "abbrev": true, "full_module": "Hacl.HPKE.Interface.HKDF", "short_module": "IHK" }, { ...
false
let setupBaseR = hpke_setupBaseR_higher #cs True IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.dh_p256 IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.secret_to_public_p256
val setupBaseR: setupBaseR_st cs True let setupBaseR =
false
null
false
hpke_setupBaseR_higher #cs True IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.dh_p256 IHK.hkdf_expand256 IHK.hkdf_extract256 IDH.secret_to_public_p256
{ "checked_file": "Hacl.HPKE.P256_CP32_SHA256.fst.checked", "dependencies": [ "prims.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.Meta.HPKE.fst.checked", "Hacl.HPKE.Interface.HKDF.fst.checked", "Hacl.HPKE.Interface.Hash.fst.checked", "Hacl.HPKE.Interface.DH.fst.checked", "Hacl.HPKE....
[ "total" ]
[ "Hacl.Meta.HPKE.hpke_setupBaseR_higher", "Hacl.HPKE.P256_CP32_SHA256.cs", "Prims.l_True", "Hacl.HPKE.Interface.HKDF.hkdf_expand256", "Hacl.HPKE.Interface.HKDF.hkdf_extract256", "Hacl.HPKE.Interface.DH.dh_p256", "Hacl.HPKE.Interface.DH.secret_to_public_p256" ]
[]
module Hacl.HPKE.P256_CP32_SHA256 open Hacl.Meta.HPKE module IDH = Hacl.HPKE.Interface.DH module IHK = Hacl.HPKE.Interface.HKDF module IHash = Hacl.HPKE.Interface.Hash module IAEAD = Hacl.HPKE.Interface.AEAD friend Hacl.Meta.HPKE #set-options "--fuel 0 --ifuel 0" let setupBaseS = hpke_setupBaseS_higher #cs True IH...
false
true
Hacl.HPKE.P256_CP32_SHA256.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val setupBaseR: setupBaseR_st cs True
[]
Hacl.HPKE.P256_CP32_SHA256.setupBaseR
{ "file_name": "code/hpke/Hacl.HPKE.P256_CP32_SHA256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.HPKE.setupBaseR_st Hacl.HPKE.P256_CP32_SHA256.cs Prims.l_True
{ "end_col": 164, "end_line": 16, "start_col": 17, "start_line": 16 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.X64.Decls", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.PossiblyMonad", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Machine_s", "short_module": null }, { "abbrev": false, "...
false
let equiv_states (s1 s2:va_state) = let open Vale.X64.State in s1.vs_ok == s2.vs_ok /\ Vale.X64.Regs.equal s1.vs_regs s2.vs_regs /\ Vale.X64.Flags.sel fCarry s1.vs_flags == Vale.X64.Flags.sel fCarry s2.vs_flags /\ Vale.X64.Flags.sel fOverflow s1.vs_flags == Vale.X64.Flags.sel fOverflow s2.vs_flags /\ s1.vs_...
let equiv_states (s1 s2: va_state) =
false
null
false
let open Vale.X64.State in s1.vs_ok == s2.vs_ok /\ Vale.X64.Regs.equal s1.vs_regs s2.vs_regs /\ Vale.X64.Flags.sel fCarry s1.vs_flags == Vale.X64.Flags.sel fCarry s2.vs_flags /\ Vale.X64.Flags.sel fOverflow s1.vs_flags == Vale.X64.Flags.sel fOverflow s2.vs_flags /\ s1.vs_heap == s2.vs_heap /\ s1.vs_stack == s2.vs_stack...
{ "checked_file": "Vale.Transformers.Common.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Def.PossiblyMonad.fst.checked", "prims.fst.check...
[ "total" ]
[ "Vale.X64.Decls.va_state", "Prims.l_and", "Prims.eq2", "Prims.bool", "Vale.X64.State.__proj__Mkvale_state__item__vs_ok", "Vale.X64.Regs.equal", "Vale.X64.State.__proj__Mkvale_state__item__vs_regs", "Vale.X64.Flags.flag_val_t", "Vale.X64.Flags.sel", "Vale.X64.Machine_s.fCarry", "Vale.X64.State.__...
[]
module Vale.Transformers.Common open Vale.X64.Machine_s open Vale.Def.PossiblyMonad open Vale.X64.Decls /// Common definitions amongst transformations.
false
true
Vale.Transformers.Common.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 equiv_states : s1: Vale.X64.Decls.va_state -> s2: Vale.X64.Decls.va_state -> Prims.logical
[]
Vale.Transformers.Common.equiv_states
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.Common.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s1: Vale.X64.Decls.va_state -> s2: Vale.X64.Decls.va_state -> Prims.logical
{ "end_col": 38, "end_line": 17, "start_col": 2, "start_line": 10 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Exponentiation.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { ...
false
let table_len_t (len:size_t{v len > 0}) = table_len:size_t{v table_len * v len <= max_size_t}
let table_len_t (len: size_t{v len > 0}) =
false
null
false
table_len: size_t{v table_len * v len <= max_size_t}
{ "checked_file": "Hacl.Impl.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.PrecompTable.fsti.checked", "Hacl.Impl.Exponentiation.Defin...
[ "total" ]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t" ]
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module PT = Hacl.Impl.PrecompTable include Hacl.Impl.Exponenti...
false
false
Hacl.Impl.Exponentiation.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 table_len_t : len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
[]
Hacl.Impl.Exponentiation.table_len_t
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
{ "end_col": 53, "end_line": 124, "start_col": 2, "start_line": 124 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Exponentiation.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { ...
false
let size_window_t (a_t:inttype_a) (len:size_t{v len > 0}) = l:size_t{0 < v l /\ v l < bits a_t /\ v l < 32 /\ pow2 (v l) * v len <= max_size_t}
let size_window_t (a_t: inttype_a) (len: size_t{v len > 0}) =
false
null
false
l: size_t{0 < v l /\ v l < bits a_t /\ v l < 32 /\ pow2 (v l) * v len <= max_size_t}
{ "checked_file": "Hacl.Impl.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.PrecompTable.fsti.checked", "Hacl.Impl.Exponentiation.Defin...
[ "total" ]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.l_and", "Prims.op_LessThan", "Lib.IntTypes.bits", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Prims.pow2", "L...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module PT = Hacl.Impl.PrecompTable include Hacl.Impl.Exponenti...
false
false
Hacl.Impl.Exponentiation.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 size_window_t : a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
[]
Hacl.Impl.Exponentiation.size_window_t
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
{ "end_col": 85, "end_line": 120, "start_col": 2, "start_line": 120 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Exponentiation.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { ...
false
let table_inv_t (a_t:inttype_a) (len:size_t{v len > 0}) (table_len:table_len_t len) = a:LSeq.lseq (uint_t a_t SEC) (v len) -> table:LSeq.lseq (uint_t a_t SEC) (v (table_len *! len)) -> GTot Type0
let table_inv_t (a_t: inttype_a) (len: size_t{v len > 0}) (table_len: table_len_t len) =
false
null
false
a: LSeq.lseq (uint_t a_t SEC) (v len) -> table: LSeq.lseq (uint_t a_t SEC) (v (table_len *! len)) -> GTot Type0
{ "checked_file": "Hacl.Impl.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.PrecompTable.fsti.checked", "Hacl.Impl.Exponentiation.Defin...
[ "total" ]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.table_len_t", "Lib.Sequence.lseq", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Lib.IntTypes.op_Star_...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module PT = Hacl.Impl.PrecompTable include Hacl.Impl.Exponenti...
false
false
Hacl.Impl.Exponentiation.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 table_inv_t : a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> table_len: Hacl.Impl.Exponentiation.table_len_t len -> Type
[]
Hacl.Impl.Exponentiation.table_inv_t
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> table_len: Hacl.Impl.Exponentiation.table_len_t len -> Type
{ "end_col": 74, "end_line": 129, "start_col": 2, "start_line": 128 }