file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.AES.PPC64LE.GF128_Mul.fsti
Vale.AES.PPC64LE.GF128_Mul.va_quick_Gf128MulRev128
val va_quick_Gf128MulRev128: Prims.unit -> (va_quickCode unit (va_code_Gf128MulRev128 ()))
val va_quick_Gf128MulRev128: Prims.unit -> (va_quickCode unit (va_code_Gf128MulRev128 ()))
let va_quick_Gf128MulRev128 () : (va_quickCode unit (va_code_Gf128MulRev128 ())) = (va_QProc (va_code_Gf128MulRev128 ()) ([va_Mod_vec 6; va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10]) va_wp_Gf128MulRev128 va_wpProof_Gf128MulRev128)
{ "file_name": "obj/Vale.AES.PPC64LE.GF128_Mul.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 215, "start_col": 0, "start_line": 212 }
module Vale.AES.PPC64LE.GF128_Mul open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.TypesNative open Vale.Math.Poly2_s open Vale.Math.Poly2 open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2.Bits open Vale.Math.Poly2.Lemmas open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.PPC64LE.Machine_s open Vale.PPC64LE.St...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem.fsti.checked", "Vale.PPC64LE.InsBasi...
[ { "abbrev": false, "full_module": "Vale.AES.GHash_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.Types_helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.PolyOps", "short_module": null }, { "abbrev": fal...
{ "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...
false
_: Prims.unit -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.AES.PPC64LE.GF128_Mul.va_code_Gf128MulRev128 ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.PPC64LE.QuickCode.va_QProc", "Vale.AES.PPC64LE.GF128_Mul.va_code_Gf128MulRev128", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Vale.PPC64LE.QuickCode.va_Mod_reg", "Prims.Nil", "Vale.AES.PPC64LE.GF128_Mul.va_wp_Gf128MulRev128", "Vale.AES.PP...
[]
false
false
false
false
false
let va_quick_Gf128MulRev128 () : (va_quickCode unit (va_code_Gf128MulRev128 ())) =
(va_QProc (va_code_Gf128MulRev128 ()) ([ va_Mod_vec 6; va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10 ]) va_wp_Gf128MulRev128 va_wpProof_Gf128MulRev128)
false
Vale.AES.PPC64LE.GF128_Mul.fsti
Vale.AES.PPC64LE.GF128_Mul.va_quick_High64ToLow
val va_quick_High64ToLow (dst src: va_operand_vec_opr) (a: poly) : (va_quickCode unit (va_code_High64ToLow dst src))
val va_quick_High64ToLow (dst src: va_operand_vec_opr) (a: poly) : (va_quickCode unit (va_code_High64ToLow dst src))
let va_quick_High64ToLow (dst:va_operand_vec_opr) (src:va_operand_vec_opr) (a:poly) : (va_quickCode unit (va_code_High64ToLow dst src)) = (va_QProc (va_code_High64ToLow dst src) ([va_mod_vec_opr dst]) (va_wp_High64ToLow dst src a) (va_wpProof_High64ToLow dst src a))
{ "file_name": "obj/Vale.AES.PPC64LE.GF128_Mul.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 91, "start_col": 0, "start_line": 88 }
module Vale.AES.PPC64LE.GF128_Mul open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.TypesNative open Vale.Math.Poly2_s open Vale.Math.Poly2 open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2.Bits open Vale.Math.Poly2.Lemmas open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.PPC64LE.Machine_s open Vale.PPC64LE.St...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem.fsti.checked", "Vale.PPC64LE.InsBasi...
[ { "abbrev": false, "full_module": "Vale.AES.GHash_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.Types_helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.PolyOps", "short_module": null }, { "abbrev": fal...
{ "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...
false
dst: Vale.PPC64LE.Decls.va_operand_vec_opr -> src: Vale.PPC64LE.Decls.va_operand_vec_opr -> a: Vale.Math.Poly2_s.poly -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.AES.PPC64LE.GF128_Mul.va_code_High64ToLow dst src)
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Decls.va_operand_vec_opr", "Vale.Math.Poly2_s.poly", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.AES.PPC64LE.GF128_Mul.va_code_High64ToLow", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_mod_vec_opr", "Prims.Nil", "Vale.AES.PPC64LE.GF128_Mul.va_w...
[]
false
false
false
false
false
let va_quick_High64ToLow (dst src: va_operand_vec_opr) (a: poly) : (va_quickCode unit (va_code_High64ToLow dst src)) =
(va_QProc (va_code_High64ToLow dst src) ([va_mod_vec_opr dst]) (va_wp_High64ToLow dst src a) (va_wpProof_High64ToLow dst src a))
false
LowStar.Lens.Buffer.fsti
LowStar.Lens.Buffer.as_seq
val as_seq (#a #p #q: _) (#b: B.mbuffer a p q) (#f: flavor b) (v0: view_type_of f) : lseq_of b
val as_seq (#a #p #q: _) (#b: B.mbuffer a p q) (#f: flavor b) (v0: view_type_of f) : lseq_of b
let as_seq #a #p #q (#b:B.mbuffer a p q) (#f:flavor b) (v0:view_type_of f) : lseq_of b = match f with | Pointer -> Seq.create 1 v0 | Buffer -> v0
{ "file_name": "examples/data_structures/LowStar.Lens.Buffer.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 124, "start_col": 0, "start_line": 117 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lens.fsti.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v0: LowStar.Lens.Buffer.view_type_of f -> LowStar.Lens.Buffer.lseq_of b
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.srel", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Lens.Buffer.flavor", "LowStar.Lens.Buffer.view_type_of", "FStar.Seq.Base.create", "LowStar.Lens.Buffer.lseq_of" ]
[]
false
false
false
false
false
let as_seq #a #p #q (#b: B.mbuffer a p q) (#f: flavor b) (v0: view_type_of f) : lseq_of b =
match f with | Pointer -> Seq.create 1 v0 | Buffer -> v0
false
Vale.AES.PPC64LE.GF128_Mul.fsti
Vale.AES.PPC64LE.GF128_Mul.va_quick_ReduceMulRev128
val va_quick_ReduceMulRev128 (a b: poly) : (va_quickCode unit (va_code_ReduceMulRev128 ()))
val va_quick_ReduceMulRev128 (a b: poly) : (va_quickCode unit (va_code_ReduceMulRev128 ()))
let va_quick_ReduceMulRev128 (a:poly) (b:poly) : (va_quickCode unit (va_code_ReduceMulRev128 ())) = (va_QProc (va_code_ReduceMulRev128 ()) ([va_Mod_vec 6; va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10]) (va_wp_ReduceMulRev128 a b) (va_wpProof_ReduceMulRev128...
{ "file_name": "obj/Vale.AES.PPC64LE.GF128_Mul.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 176, "start_col": 0, "start_line": 173 }
module Vale.AES.PPC64LE.GF128_Mul open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.TypesNative open Vale.Math.Poly2_s open Vale.Math.Poly2 open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2.Bits open Vale.Math.Poly2.Lemmas open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.PPC64LE.Machine_s open Vale.PPC64LE.St...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem.fsti.checked", "Vale.PPC64LE.InsBasi...
[ { "abbrev": false, "full_module": "Vale.AES.GHash_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.Types_helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.PolyOps", "short_module": null }, { "abbrev": fal...
{ "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...
false
a: Vale.Math.Poly2_s.poly -> b: Vale.Math.Poly2_s.poly -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.AES.PPC64LE.GF128_Mul.va_code_ReduceMulRev128 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.Math.Poly2_s.poly", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.AES.PPC64LE.GF128_Mul.va_code_ReduceMulRev128", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Vale.PPC64LE.QuickCode.va_Mod_reg", "Prims.Nil", "Vale.AES.PPC64LE.GF128_Mul.va_wp_Re...
[]
false
false
false
false
false
let va_quick_ReduceMulRev128 (a b: poly) : (va_quickCode unit (va_code_ReduceMulRev128 ())) =
(va_QProc (va_code_ReduceMulRev128 ()) ([ va_Mod_vec 6; va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10 ]) (va_wp_ReduceMulRev128 a b) (va_wpProof_ReduceMulRev128 a b))
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint64_to_uint16
val uint64_to_uint16: a:U64.t -> Tot (b:U16.t{U16.v b = U64.v a % pow2 16})
val uint64_to_uint16: a:U64.t -> Tot (b:U16.t{U16.v b = U64.v a % pow2 16})
let uint64_to_uint16 x = U16.uint_to_t (U64.v x % pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 62, "start_col": 0, "start_line": 62 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt64.t -> b: FStar.UInt16.t{FStar.UInt16.v b = FStar.UInt64.v a % Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "FStar.UInt16.uint_to_t", "Prims.op_Modulus", "FStar.UInt64.v", "Prims.pow2", "FStar.UInt16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let uint64_to_uint16 x =
U16.uint_to_t (U64.v x % pow2 16)
false
LowStar.Lens.Buffer.fsti
LowStar.Lens.Buffer.id_lens
val id_lens (#a: _) : lens a a
val id_lens (#a: _) : lens a a
let id_lens #a : lens a a = { get= (fun x -> x); put= (fun x s -> x); lens_laws = () }
{ "file_name": "examples/data_structures/LowStar.Lens.Buffer.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 171, "start_col": 0, "start_line": 167 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lens.fsti.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar...
[ { "abbrev": true, "full_module": "LowStar.Lens", "short_module": "LL" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowStar.Lens.lens a a
Prims.Tot
[ "total" ]
[]
[ "LowStar.Lens.Mklens", "LowStar.Lens.lens" ]
[]
false
false
false
true
false
let id_lens #a : lens a a =
{ get = (fun x -> x); put = (fun x s -> x); lens_laws = () }
false
Vale.AES.PPC64LE.GF128_Mul.fsti
Vale.AES.PPC64LE.GF128_Mul.va_quick_ShiftLeft128_1
val va_quick_ShiftLeft128_1 (a: poly) : (va_quickCode unit (va_code_ShiftLeft128_1 ()))
val va_quick_ShiftLeft128_1 (a: poly) : (va_quickCode unit (va_code_ShiftLeft128_1 ()))
let va_quick_ShiftLeft128_1 (a:poly) : (va_quickCode unit (va_code_ShiftLeft128_1 ())) = (va_QProc (va_code_ShiftLeft128_1 ()) ([va_Mod_vec 2; va_Mod_vec 1]) (va_wp_ShiftLeft128_1 a) (va_wpProof_ShiftLeft128_1 a))
{ "file_name": "obj/Vale.AES.PPC64LE.GF128_Mul.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 51, "start_col": 0, "start_line": 49 }
module Vale.AES.PPC64LE.GF128_Mul open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.TypesNative open Vale.Math.Poly2_s open Vale.Math.Poly2 open Vale.Math.Poly2.Bits_s open Vale.Math.Poly2.Bits open Vale.Math.Poly2.Lemmas open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.PPC64LE.Machine_s open Vale.PPC64LE.St...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem.fsti.checked", "Vale.PPC64LE.InsBasi...
[ { "abbrev": false, "full_module": "Vale.AES.GHash_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.Types_helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.PolyOps", "short_module": null }, { "abbrev": fal...
{ "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...
false
a: Vale.Math.Poly2_s.poly -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.AES.PPC64LE.GF128_Mul.va_code_ShiftLeft128_1 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.Math.Poly2_s.poly", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.AES.PPC64LE.GF128_Mul.va_code_ShiftLeft128_1", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.AES.PPC64LE.GF128_Mul.va_wp_ShiftLeft128_1", "Vale.AES.PPC64LE.GF128...
[]
false
false
false
false
false
let va_quick_ShiftLeft128_1 (a: poly) : (va_quickCode unit (va_code_ShiftLeft128_1 ())) =
(va_QProc (va_code_ShiftLeft128_1 ()) ([va_Mod_vec 2; va_Mod_vec 1]) (va_wp_ShiftLeft128_1 a) (va_wpProof_ShiftLeft128_1 a))
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint32_to_uint16
val uint32_to_uint16: a:U32.t -> Tot (b:U16.t{U16.v b = U32.v a % pow2 16})
val uint32_to_uint16: a:U32.t -> Tot (b:U16.t{U16.v b = U32.v a % pow2 16})
let uint32_to_uint16 x = U16.uint_to_t (U32.v x % pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 53, "start_col": 0, "start_line": 53 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt32.t -> b: FStar.UInt16.t{FStar.UInt16.v b = FStar.UInt32.v a % Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "FStar.UInt16.uint_to_t", "Prims.op_Modulus", "FStar.UInt32.v", "Prims.pow2", "FStar.UInt16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let uint32_to_uint16 x =
U16.uint_to_t (U32.v x % pow2 16)
false
Steel.GhostMonotonicHigherReference.fst
Steel.GhostMonotonicHigherReference.witness_thunk
val witness_thunk: #inames: _ -> #a: Type -> #pcm: FStar.PCM.pcm a -> r: PR.ref a pcm -> fact: M.stable_property pcm -> v: erased a -> sq: squash (fact_valid_compat #_ #pcm fact v) -> unit -> SteelAtomicUT (PR.witnessed r fact) inames (PR.pts_to r v) (fun _ -> PR.pts_to r v)
val witness_thunk: #inames: _ -> #a: Type -> #pcm: FStar.PCM.pcm a -> r: PR.ref a pcm -> fact: M.stable_property pcm -> v: erased a -> sq: squash (fact_valid_compat #_ #pcm fact v) -> unit -> SteelAtomicUT (PR.witnessed r fact) inames (PR.pts_to r v) (fun _ -> PR.pts_to r v)
let witness_thunk (#inames: _) (#a:Type) (#pcm:FStar.PCM.pcm a) (r:PR.ref a pcm) (fact:M.stable_property pcm) (v:erased a) (sq:squash (fact_valid_compat #_ #pcm fact v)) (_:unit) : SteelAtomicUT (PR.witnessed r fact) inames ...
{ "file_name": "lib/steel/Steel.GhostMonotonicHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 23, "end_line": 126, "start_col": 0, "start_line": 117 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Preorder.fst.checked", "Steel.Memory.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti...
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": true, "full_module": "Steel.Effect.Atomic", "short_module": "A" }, { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "PR" }, { "abbrev": true, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.GhostPCMReference.ref a pcm -> fact: Steel.Memory.stable_property pcm -> v: FStar.Ghost.erased a -> sq: Prims.squash (Steel.Preorder.fact_valid_compat fact (FStar.Ghost.reveal v)) -> _: Prims.unit -> Steel.Effect.Atomic.SteelAtomicUT (Steel.GhostPCMReference.witnessed r fact)
Steel.Effect.Atomic.SteelAtomicUT
[]
[]
[ "Steel.Memory.inames", "FStar.PCM.pcm", "Steel.GhostPCMReference.ref", "Steel.Memory.stable_property", "FStar.Ghost.erased", "Prims.squash", "Steel.Preorder.fact_valid_compat", "FStar.Ghost.reveal", "Prims.unit", "Steel.GhostPCMReference.witness", "Steel.GhostPCMReference.witnessed", "Steel.Gh...
[]
false
true
false
false
false
let witness_thunk (#inames: _) (#a: Type) (#pcm: FStar.PCM.pcm a) (r: PR.ref a pcm) (fact: M.stable_property pcm) (v: erased a) (sq: squash (fact_valid_compat #_ #pcm fact v)) (_: unit) : SteelAtomicUT (PR.witnessed r fact) inames (PR.pts_to r v) (fun _ -> PR.pts_to r...
witness r fact v sq
false
FStar.Int.Cast.fst
FStar.Int.Cast.int32_to_int16
val int32_to_int16: a:I32.t -> Tot (b:I16.t{I16.v b = (I32.v a @% pow2 16)})
val int32_to_int16: a:I32.t -> Tot (b:I16.t{I16.v b = (I32.v a @% pow2 16)})
let int32_to_int16 x = I16.int_to_t (I32.v x @% pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 95, "start_col": 0, "start_line": 95 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int32.t -> b: FStar.Int16.t{FStar.Int16.v b = FStar.Int32.v a @% Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int32.t", "FStar.Int16.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int32.v", "Prims.pow2", "FStar.Int16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int16.v" ]
[]
false
false
false
false
false
let int32_to_int16 x =
I16.int_to_t (I32.v x @% pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint32_to_uint8
val uint32_to_uint8 : a:U32.t -> Tot (b:U8.t{U8.v b = U32.v a % pow2 8})
val uint32_to_uint8 : a:U32.t -> Tot (b:U8.t{U8.v b = U32.v a % pow2 8})
let uint32_to_uint8 x = U8.uint_to_t (U32.v x % pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 56, "start_col": 0, "start_line": 56 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt32.t -> b: FStar.UInt8.t{FStar.UInt8.v b = FStar.UInt32.v a % Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "FStar.UInt8.uint_to_t", "Prims.op_Modulus", "FStar.UInt32.v", "Prims.pow2", "FStar.UInt8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let uint32_to_uint8 x =
U8.uint_to_t (U32.v x % pow2 8)
false
Steel.GhostMonotonicHigherReference.fst
Steel.GhostMonotonicHigherReference.intro_pts_to
val intro_pts_to (#o: _) (#a: Type) (#p: Preorder.preorder a) (r: ref a p) (f: perm) (v: a) : SteelGhostT unit o (pts_to' r f v) (fun _ -> pts_to' r f v)
val intro_pts_to (#o: _) (#a: Type) (#p: Preorder.preorder a) (r: ref a p) (f: perm) (v: a) : SteelGhostT unit o (pts_to' r f v) (fun _ -> pts_to' r f v)
let intro_pts_to #o (#a:Type) (#p:Preorder.preorder a) (r:ref a p) (f:perm) (v:a) : SteelGhostT unit o (pts_to' r f v) (fun _ -> pts_to' r f v) = rewrite_slprop _ _ (fun _ -> ())
{ "file_name": "lib/steel/Steel.GhostMonotonicHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 178, "start_col": 0, "start_line": 170 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Preorder.fst.checked", "Steel.Memory.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti...
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": true, "full_module": "Steel.Effect.Atomic", "short_module": "A" }, { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "PR" }, { "abbrev": true, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.GhostMonotonicHigherReference.ref a p -> f: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Atomic.SteelGhostT Prims.unit
Steel.Effect.Atomic.SteelGhostT
[]
[]
[ "Steel.Memory.inames", "FStar.Preorder.preorder", "Steel.GhostMonotonicHigherReference.ref", "Steel.FractionalPermission.perm", "Steel.Effect.Atomic.rewrite_slprop", "Steel.GhostMonotonicHigherReference.pts_to'", "Steel.Memory.mem", "Prims.unit", "Steel.Effect.Common.vprop" ]
[]
false
true
false
false
false
let intro_pts_to #o (#a: Type) (#p: Preorder.preorder a) (r: ref a p) (f: perm) (v: a) : SteelGhostT unit o (pts_to' r f v) (fun _ -> pts_to' r f v) =
rewrite_slprop _ _ (fun _ -> ())
false
LowStar.Lens.Buffer.fsti
LowStar.Lens.Buffer.upd
val upd (#a #p #q: _) (#b: B.mbuffer a p q) (#f: flavor b) (bl: buffer_lens b f) : writer_t f id_lens (lens_of bl)
val upd (#a #p #q: _) (#b: B.mbuffer a p q) (#f: flavor b) (bl: buffer_lens b f) : writer_t f id_lens (lens_of bl)
let upd #a #p #q (#b:B.mbuffer a p q) (#f:flavor b) (bl:buffer_lens b f) : writer_t f id_lens (lens_of bl) = fun i v -> reveal_inv (); let h = HST.get() in bl.writer h i v
{ "file_name": "examples/data_structures/LowStar.Lens.Buffer.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 227, "start_col": 0, "start_line": 219 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lens.fsti.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar...
[ { "abbrev": true, "full_module": "LowStar.Lens", "short_module": "LL" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
bl: LowStar.Lens.Buffer.buffer_lens b f -> LowStar.Lens.Buffer.writer_t f LowStar.Lens.Buffer.id_lens (LowStar.Lens.Buffer.lens_of bl)
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.srel", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Lens.Buffer.flavor", "LowStar.Lens.Buffer.buffer_lens", "LowStar.Lens.Buffer.ix", "LowStar.Lens.Buffer.__proj__Mk__item__writer", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "LowStar.Lens.r...
[]
false
false
false
false
false
let upd #a #p #q (#b: B.mbuffer a p q) (#f: flavor b) (bl: buffer_lens b f) : writer_t f id_lens (lens_of bl) =
fun i v -> reveal_inv (); let h = HST.get () in bl.writer h i v
false
FStar.Int.Cast.fst
FStar.Int.Cast.int8_to_int32
val int8_to_int32: a:I8.t -> Tot (b:I32.t{I32.v b = I8.v a})
val int8_to_int32: a:I8.t -> Tot (b:I32.t{I32.v b = I8.v a})
let int8_to_int32 x = I32.int_to_t (I8.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 43, "end_line": 73, "start_col": 0, "start_line": 73 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int8.t -> b: FStar.Int32.t{FStar.Int32.v b = FStar.Int8.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int8.t", "FStar.Int32.int_to_t", "FStar.Int8.v", "FStar.Int32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int32.n", "FStar.Int8.n", "FStar.Int32.v" ]
[]
false
false
false
false
false
let int8_to_int32 x =
I32.int_to_t (I8.v x)
false
Steel.GhostMonotonicHigherReference.fst
Steel.GhostMonotonicHigherReference.intro_pure
val intro_pure (#opened #a #p #f: _) (r: ref a p) (v: a) (h: history a p {history_val h v f}) : SteelGhostT unit opened (PR.pts_to r h) (fun _ -> pts_to_body r f v h)
val intro_pure (#opened #a #p #f: _) (r: ref a p) (v: a) (h: history a p {history_val h v f}) : SteelGhostT unit opened (PR.pts_to r h) (fun _ -> pts_to_body r f v h)
let intro_pure #opened #a #p #f (r:ref a p) (v:a) (h:history a p { history_val h v f }) : SteelGhostT unit opened (PR.pts_to r h) (fun _ -> pts_to_body r f v h) = A.intro_pure (history_val h v f)
{ "file_name": "lib/steel/Steel.GhostMonotonicHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 56, "start_col": 0, "start_line": 49 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Preorder.fst.checked", "Steel.Memory.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti...
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": true, "full_module": "Steel.Effect.Atomic", "short_module": "A" }, { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "PR" }, { "abbrev": true, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.GhostMonotonicHigherReference.ref a p -> v: a -> h: Steel.Preorder.history a p {Steel.Preorder.history_val h (FStar.Ghost.hide v) f} -> Steel.Effect.Atomic.SteelGhostT Prims.unit
Steel.Effect.Atomic.SteelGhostT
[]
[]
[ "Steel.Memory.inames", "FStar.Preorder.preorder", "Steel.FractionalPermission.perm", "Steel.GhostMonotonicHigherReference.ref", "Steel.Preorder.history", "Steel.Preorder.history_val", "FStar.Ghost.hide", "Steel.Effect.Atomic.intro_pure", "Prims.unit", "Steel.GhostPCMReference.pts_to", "Steel.Pre...
[]
false
true
false
false
false
let intro_pure #opened #a #p #f (r: ref a p) (v: a) (h: history a p {history_val h v f}) : SteelGhostT unit opened (PR.pts_to r h) (fun _ -> pts_to_body r f v h) =
A.intro_pure (history_val h v f)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint64_to_uint8
val uint64_to_uint8 : a:U64.t -> Tot (b:U8.t{U8.v b = U64.v a % pow2 8})
val uint64_to_uint8 : a:U64.t -> Tot (b:U8.t{U8.v b = U64.v a % pow2 8})
let uint64_to_uint8 x = U8.uint_to_t (U64.v x % pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 65, "start_col": 0, "start_line": 65 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt64.t -> b: FStar.UInt8.t{FStar.UInt8.v b = FStar.UInt64.v a % Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "FStar.UInt8.uint_to_t", "Prims.op_Modulus", "FStar.UInt64.v", "Prims.pow2", "FStar.UInt8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let uint64_to_uint8 x =
U8.uint_to_t (U64.v x % pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int32_to_int8
val int32_to_int8 : a:I32.t -> Tot (b:I8.t {I8.v b = (I32.v a @% pow2 8)})
val int32_to_int8 : a:I32.t -> Tot (b:I8.t {I8.v b = (I32.v a @% pow2 8)})
let int32_to_int8 x = I8.int_to_t (I32.v x @% pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 100, "start_col": 0, "start_line": 100 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int32.t -> b: FStar.Int8.t{FStar.Int8.v b = FStar.Int32.v a @% Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int32.t", "FStar.Int8.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int32.v", "Prims.pow2", "FStar.Int8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int8.v" ]
[]
false
false
false
false
false
let int32_to_int8 x =
I8.int_to_t (I32.v x @% pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int64_to_int32
val int64_to_int32: a:I64.t -> Tot (b:I32.t{I32.v b = (I64.v a @% pow2 32)})
val int64_to_int32: a:I64.t -> Tot (b:I32.t{I32.v b = (I64.v a @% pow2 32)})
let int64_to_int32 x = I32.int_to_t (I64.v x @% pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 105, "start_col": 0, "start_line": 105 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.Int32.t{FStar.Int32.v b = FStar.Int64.v a @% Prims.pow2 32}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.Int32.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int64.v", "Prims.pow2", "FStar.Int32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int32.v" ]
[]
false
false
false
false
false
let int64_to_int32 x =
I32.int_to_t (I64.v x @% pow2 32)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int32_to_int64
val int32_to_int64: a:I32.t -> Tot (b:I64.t{I64.v b = I32.v a})
val int32_to_int64: a:I32.t -> Tot (b:I64.t{I64.v b = I32.v a})
let int32_to_int64 x = I64.int_to_t (I32.v x @% pow2 64)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 90, "start_col": 0, "start_line": 90 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int32.t -> b: FStar.Int64.t{FStar.Int64.v b = FStar.Int32.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int32.t", "FStar.Int64.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int32.v", "Prims.pow2", "FStar.Int64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int64.n", "FStar.Int32.n", "FStar.Int64.v" ]
[]
false
false
false
false
false
let int32_to_int64 x =
I64.int_to_t (I32.v x @% pow2 64)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint8_to_int64
val uint8_to_int64: a:U8.t -> Tot (b:I64.t{I64.v b = U8.v a})
val uint8_to_int64: a:U8.t -> Tot (b:I64.t{I64.v b = U8.v a})
let uint8_to_int64 x = I64.int_to_t (U8.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 120, "start_col": 0, "start_line": 120 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt8.t -> b: FStar.Int64.t{FStar.Int64.v b = FStar.UInt8.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.t", "FStar.Int64.int_to_t", "FStar.UInt8.v", "FStar.Int64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int64.n", "FStar.UInt.size", "FStar.UInt8.n", "FStar.Int64.v" ]
[]
false
false
false
false
false
let uint8_to_int64 x =
I64.int_to_t (U8.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int8_to_int64
val int8_to_int64: a:I8.t -> Tot (b:I64.t{I64.v b = I8.v a})
val int8_to_int64: a:I8.t -> Tot (b:I64.t{I64.v b = I8.v a})
let int8_to_int64 x = I64.int_to_t (I8.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 43, "end_line": 70, "start_col": 0, "start_line": 70 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int8.t -> b: FStar.Int64.t{FStar.Int64.v b = FStar.Int8.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int8.t", "FStar.Int64.int_to_t", "FStar.Int8.v", "FStar.Int64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int64.n", "FStar.Int8.n", "FStar.Int64.v" ]
[]
false
false
false
false
false
let int8_to_int64 x =
I64.int_to_t (I8.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int16_to_int8
val int16_to_int8 : a:I16.t -> Tot (b:I8.t {I8.v b = (I16.v a @% pow2 8)})
val int16_to_int8 : a:I16.t -> Tot (b:I8.t {I8.v b = (I16.v a @% pow2 8)})
let int16_to_int8 x = I8.int_to_t (I16.v x @% pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 87, "start_col": 0, "start_line": 87 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int16.t -> b: FStar.Int8.t{FStar.Int8.v b = FStar.Int16.v a @% Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int16.t", "FStar.Int8.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int16.v", "Prims.pow2", "FStar.Int8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int8.v" ]
[]
false
false
false
false
false
let int16_to_int8 x =
I8.int_to_t (I16.v x @% pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint16_to_int64
val uint16_to_int64: a:U16.t -> Tot (b:I64.t{I64.v b = U16.v a})
val uint16_to_int64: a:U16.t -> Tot (b:I64.t{I64.v b = U16.v a})
let uint16_to_int64 x = I64.int_to_t (U16.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 134, "start_col": 0, "start_line": 134 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt16.t -> b: FStar.Int64.t{FStar.Int64.v b = FStar.UInt16.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt16.t", "FStar.Int64.int_to_t", "FStar.UInt16.v", "FStar.Int64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int64.n", "FStar.UInt.size", "FStar.UInt16.n", "FStar.Int64.v" ]
[]
false
false
false
false
false
let uint16_to_int64 x =
I64.int_to_t (U16.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int64_to_int8
val int64_to_int8 : a:I64.t -> Tot (b:I8.t {I8.v b = (I64.v a @% pow2 8)})
val int64_to_int8 : a:I64.t -> Tot (b:I8.t {I8.v b = (I64.v a @% pow2 8)})
let int64_to_int8 x = I8.int_to_t (I64.v x @% pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 115, "start_col": 0, "start_line": 115 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.Int8.t{FStar.Int8.v b = FStar.Int64.v a @% Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.Int8.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int64.v", "Prims.pow2", "FStar.Int8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int8.v" ]
[]
false
false
false
false
false
let int64_to_int8 x =
I8.int_to_t (I64.v x @% pow2 8)
false
Steel.GhostMonotonicHigherReference.fst
Steel.GhostMonotonicHigherReference.elim_pts_to
val elim_pts_to (#o: _) (#a: Type) (#p: Preorder.preorder a) (r: ref a p) (f: perm) (v: a) : SteelGhostT unit o (pts_to r f v) (fun _ -> pts_to' r f v)
val elim_pts_to (#o: _) (#a: Type) (#p: Preorder.preorder a) (r: ref a p) (f: perm) (v: a) : SteelGhostT unit o (pts_to r f v) (fun _ -> pts_to' r f v)
let elim_pts_to #o (#a:Type) (#p:Preorder.preorder a) (r:ref a p) (f:perm) (v:a) : SteelGhostT unit o (pts_to r f v) (fun _ -> pts_to' r f v) = rewrite_slprop _ _ (fun _ -> ())
{ "file_name": "lib/steel/Steel.GhostMonotonicHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 167, "start_col": 0, "start_line": 159 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Preorder.fst.checked", "Steel.Memory.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti...
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": true, "full_module": "Steel.Effect.Atomic", "short_module": "A" }, { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "PR" }, { "abbrev": true, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.GhostMonotonicHigherReference.ref a p -> f: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Atomic.SteelGhostT Prims.unit
Steel.Effect.Atomic.SteelGhostT
[]
[]
[ "Steel.Memory.inames", "FStar.Preorder.preorder", "Steel.GhostMonotonicHigherReference.ref", "Steel.FractionalPermission.perm", "Steel.Effect.Atomic.rewrite_slprop", "Steel.GhostMonotonicHigherReference.pts_to", "Steel.GhostMonotonicHigherReference.pts_to'", "Steel.Memory.mem", "Prims.unit", "Stee...
[]
false
true
false
false
false
let elim_pts_to #o (#a: Type) (#p: Preorder.preorder a) (r: ref a p) (f: perm) (v: a) : SteelGhostT unit o (pts_to r f v) (fun _ -> pts_to' r f v) =
rewrite_slprop _ _ (fun _ -> ())
false
FStar.Int.Cast.fst
FStar.Int.Cast.int8_to_int16
val int8_to_int16: a:I8.t -> Tot (b:I16.t{I16.v b = I8.v a})
val int8_to_int16: a:I8.t -> Tot (b:I16.t{I16.v b = I8.v a})
let int8_to_int16 x = I16.int_to_t (I8.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 43, "end_line": 76, "start_col": 0, "start_line": 76 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int8.t -> b: FStar.Int16.t{FStar.Int16.v b = FStar.Int8.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int8.t", "FStar.Int16.int_to_t", "FStar.Int8.v", "FStar.Int16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int16.n", "FStar.Int8.n", "FStar.Int16.v" ]
[]
false
false
false
false
false
let int8_to_int16 x =
I16.int_to_t (I8.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint8_to_int32
val uint8_to_int32: a:U8.t -> Tot (b:I32.t{I32.v b = U8.v a})
val uint8_to_int32: a:U8.t -> Tot (b:I32.t{I32.v b = U8.v a})
let uint8_to_int32 x = I32.int_to_t (U8.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 123, "start_col": 0, "start_line": 123 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt8.t -> b: FStar.Int32.t{FStar.Int32.v b = FStar.UInt8.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.t", "FStar.Int32.int_to_t", "FStar.UInt8.v", "FStar.Int32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int32.n", "FStar.UInt.size", "FStar.UInt8.n", "FStar.Int32.v" ]
[]
false
false
false
false
false
let uint8_to_int32 x =
I32.int_to_t (U8.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint16_to_int32
val uint16_to_int32: a:U16.t -> Tot (b:I32.t{I32.v b = U16.v a})
val uint16_to_int32: a:U16.t -> Tot (b:I32.t{I32.v b = U16.v a})
let uint16_to_int32 x = I32.int_to_t (U16.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 137, "start_col": 0, "start_line": 137 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt16.t -> b: FStar.Int32.t{FStar.Int32.v b = FStar.UInt16.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt16.t", "FStar.Int32.int_to_t", "FStar.UInt16.v", "FStar.Int32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int32.n", "FStar.UInt.size", "FStar.UInt16.n", "FStar.Int32.v" ]
[]
false
false
false
false
false
let uint16_to_int32 x =
I32.int_to_t (U16.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int16_to_int32
val int16_to_int32: a:I16.t -> Tot (b:I32.t{I32.v b = I16.v a})
val int16_to_int32: a:I16.t -> Tot (b:I32.t{I32.v b = I16.v a})
let int16_to_int32 x = I32.int_to_t (I16.v x @% pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 82, "start_col": 0, "start_line": 82 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int16.t -> b: FStar.Int32.t{FStar.Int32.v b = FStar.Int16.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int16.t", "FStar.Int32.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int16.v", "Prims.pow2", "FStar.Int32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int32.n", "FStar.Int16.n", "FStar.Int32.v" ]
[]
false
false
false
false
false
let int16_to_int32 x =
I32.int_to_t (I16.v x @% pow2 32)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int64_to_int16
val int64_to_int16: a:I64.t -> Tot (b:I16.t{I16.v b = (I64.v a @% pow2 16)})
val int64_to_int16: a:I64.t -> Tot (b:I16.t{I16.v b = (I64.v a @% pow2 16)})
let int64_to_int16 x = I16.int_to_t (I64.v x @% pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 110, "start_col": 0, "start_line": 110 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.Int16.t{FStar.Int16.v b = FStar.Int64.v a @% Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.Int16.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int64.v", "Prims.pow2", "FStar.Int16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int16.v" ]
[]
false
false
false
false
false
let int64_to_int16 x =
I16.int_to_t (I64.v x @% pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint32_to_int32
val uint32_to_int32: a:U32.t -> Tot (b:I32.t{I32.v b = (U32.v a @% pow2 32)})
val uint32_to_int32: a:U32.t -> Tot (b:I32.t{I32.v b = (U32.v a @% pow2 32)})
let uint32_to_int32 x = I32.int_to_t (U32.v x @% pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 155, "start_col": 0, "start_line": 155 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt32.t -> b: FStar.Int32.t{FStar.Int32.v b = FStar.UInt32.v a @% Prims.pow2 32}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "FStar.Int32.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt32.v", "Prims.pow2", "FStar.Int32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int32.v" ]
[]
false
false
false
false
false
let uint32_to_int32 x =
I32.int_to_t (U32.v x @% pow2 32)
false
LowStar.Lens.Buffer.fsti
LowStar.Lens.Buffer.index
val index (#a #p #q: _) (#b: B.mbuffer a p q) (#f: flavor b) (bl: buffer_lens b f) : reader_t f id_lens (lens_of bl)
val index (#a #p #q: _) (#b: B.mbuffer a p q) (#f: flavor b) (bl: buffer_lens b f) : reader_t f id_lens (lens_of bl)
let index #a #p #q (#b:B.mbuffer a p q) (#f:flavor b) (bl:buffer_lens b f) : reader_t f id_lens (lens_of bl) = fun i -> reveal_inv (); let h = HST.get() in bl.reader h i
{ "file_name": "examples/data_structures/LowStar.Lens.Buffer.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 216, "start_col": 0, "start_line": 208 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lens.fsti.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar...
[ { "abbrev": true, "full_module": "LowStar.Lens", "short_module": "LL" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
bl: LowStar.Lens.Buffer.buffer_lens b f -> LowStar.Lens.Buffer.reader_t f LowStar.Lens.Buffer.id_lens (LowStar.Lens.Buffer.lens_of bl)
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.srel", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Lens.Buffer.flavor", "LowStar.Lens.Buffer.buffer_lens", "LowStar.Lens.Buffer.ix", "LowStar.Lens.Buffer.__proj__Mk__item__reader", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Prims.unit", "LowStar.Lens.r...
[]
false
false
false
false
false
let index #a #p #q (#b: B.mbuffer a p q) (#f: flavor b) (bl: buffer_lens b f) : reader_t f id_lens (lens_of bl) =
fun i -> reveal_inv (); let h = HST.get () in bl.reader h i
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint16_to_int8
val uint16_to_int8 : a:U16.t -> Tot (b:I8.t {I8.v b = (U16.v a @% pow2 8)})
val uint16_to_int8 : a:U16.t -> Tot (b:I8.t {I8.v b = (U16.v a @% pow2 8)})
let uint16_to_int8 x = I8.int_to_t (U16.v x @% pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 147, "start_col": 0, "start_line": 147 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt16.t -> b: FStar.Int8.t{FStar.Int8.v b = FStar.UInt16.v a @% Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt16.t", "FStar.Int8.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt16.v", "Prims.pow2", "FStar.Int8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int8.v" ]
[]
false
false
false
false
false
let uint16_to_int8 x =
I8.int_to_t (U16.v x @% pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint16_to_int16
val uint16_to_int16: a:U16.t -> Tot (b:I16.t{I16.v b = (U16.v a @% pow2 16)})
val uint16_to_int16: a:U16.t -> Tot (b:I16.t{I16.v b = (U16.v a @% pow2 16)})
let uint16_to_int16 x = I16.int_to_t (U16.v x @% pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 142, "start_col": 0, "start_line": 142 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt16.t -> b: FStar.Int16.t{FStar.Int16.v b = FStar.UInt16.v a @% Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt16.t", "FStar.Int16.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt16.v", "Prims.pow2", "FStar.Int16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int16.v" ]
[]
false
false
false
false
false
let uint16_to_int16 x =
I16.int_to_t (U16.v x @% pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint8_to_int16
val uint8_to_int16: a:U8.t -> Tot (b:I16.t{I16.v b = U8.v a})
val uint8_to_int16: a:U8.t -> Tot (b:I16.t{I16.v b = U8.v a})
let uint8_to_int16 x = I16.int_to_t (U8.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 126, "start_col": 0, "start_line": 126 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt8.t -> b: FStar.Int16.t{FStar.Int16.v b = FStar.UInt8.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.t", "FStar.Int16.int_to_t", "FStar.UInt8.v", "FStar.Int16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int16.n", "FStar.UInt.size", "FStar.UInt8.n", "FStar.Int16.v" ]
[]
false
false
false
false
false
let uint8_to_int16 x =
I16.int_to_t (U8.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int16_to_uint16
val int16_to_uint16: a:I16.t -> Tot (b:U16.t{U16.v b = I16.v a % pow2 16})
val int16_to_uint16: a:I16.t -> Tot (b:U16.t{U16.v b = I16.v a % pow2 16})
let int16_to_uint16 x = U16.uint_to_t (I16.v x % pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 208, "start_col": 0, "start_line": 208 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int16.t -> b: FStar.UInt16.t{FStar.UInt16.v b = FStar.Int16.v a % Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int16.t", "FStar.UInt16.uint_to_t", "Prims.op_Modulus", "FStar.Int16.v", "Prims.pow2", "FStar.UInt16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let int16_to_uint16 x =
U16.uint_to_t (I16.v x % pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint64_to_int32
val uint64_to_int32: a:U64.t -> Tot (b:I32.t{I32.v b = (U64.v a @% pow2 32)})
val uint64_to_int32: a:U64.t -> Tot (b:I32.t{I32.v b = (U64.v a @% pow2 32)})
let uint64_to_int32 x = I32.int_to_t (U64.v x @% pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 175, "start_col": 0, "start_line": 175 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt64.t -> b: FStar.Int32.t{FStar.Int32.v b = FStar.UInt64.v a @% Prims.pow2 32}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "FStar.Int32.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt64.v", "Prims.pow2", "FStar.Int32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int32.v" ]
[]
false
false
false
false
false
let uint64_to_int32 x =
I32.int_to_t (U64.v x @% pow2 32)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint32_to_int64
val uint32_to_int64: a:U32.t -> Tot (b:I64.t{I64.v b = U32.v a})
val uint32_to_int64: a:U32.t -> Tot (b:I64.t{I64.v b = U32.v a})
let uint32_to_int64 x = I64.int_to_t (U32.v x)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 150, "start_col": 0, "start_line": 150 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt32.t -> b: FStar.Int64.t{FStar.Int64.v b = FStar.UInt32.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "FStar.Int64.int_to_t", "FStar.UInt32.v", "FStar.Int64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int64.n", "FStar.UInt.size", "FStar.UInt32.n", "FStar.Int64.v" ]
[]
false
false
false
false
false
let uint32_to_int64 x =
I64.int_to_t (U32.v x)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int16_to_uint64
val int16_to_uint64: a:I16.t -> Tot (b:U64.t{U64.v b = I16.v a % pow2 64})
val int16_to_uint64: a:I16.t -> Tot (b:U64.t{U64.v b = I16.v a % pow2 64})
let int16_to_uint64 x = U64.uint_to_t (I16.v x % pow2 64)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 202, "start_col": 0, "start_line": 202 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int16.t -> b: FStar.UInt64.t{FStar.UInt64.v b = FStar.Int16.v a % Prims.pow2 64}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int16.t", "FStar.UInt64.uint_to_t", "Prims.op_Modulus", "FStar.Int16.v", "Prims.pow2", "FStar.UInt64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt64.v" ]
[]
false
false
false
false
false
let int16_to_uint64 x =
U64.uint_to_t (I16.v x % pow2 64)
false
Vale.Test.X64.Memcpy.fst
Vale.Test.X64.Memcpy.va_code_Copy16
val va_code_Copy16 : t:taint -> Tot va_code
val va_code_Copy16 : t:taint -> Tot va_code
let va_code_Copy16 t = (va_Block (va_CCons (va_code_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRax) (va_op_reg_opr64_reg64 rRsi) 0 t) (va_CCons (va_code_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRcx) (va_op_reg_opr64_reg64 rRsi) 8 t) (va_CCons (va_code_St...
{ "file_name": "obj/Vale.Test.X64.Memcpy.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 20, "start_col": 0, "start_line": 14 }
module Vale.Test.X64.Memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem #reset-options "--z3rlimit 20" //-- Copy16 val va_code_Copy16 : t:taint -> Tot va_code
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Arch.HeapImpl.fsti.checked", "prims.fst.che...
[ { "abbrev": false, "full_module": "Vale.X64.InsMem", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Decls", "short_module": null }, { "abbrev": false, "full_mod...
{ "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...
false
t: Vale.Arch.HeapTypes_s.taint -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsMem.va_code_Load64_buffer", "Vale.X64.Decls.va_op_heaplet_mem_heaplet", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRax", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rRs...
[]
false
false
false
true
false
let va_code_Copy16 t =
(va_Block (va_CCons (va_code_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRax) (va_op_reg_opr64_reg64 rRsi) 0 t) (va_CCons (va_code_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRcx) (va_...
false
FStar.Int.Cast.fst
FStar.Int.Cast.int32_to_uint64
val int32_to_uint64: a:I32.t -> Tot (b:U64.t{U64.v b = I32.v a % pow2 64})
val int32_to_uint64: a:I32.t -> Tot (b:U64.t{U64.v b = I32.v a % pow2 64})
let int32_to_uint64 x = U64.uint_to_t (I32.v x % pow2 64)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 214, "start_col": 0, "start_line": 214 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int32.t -> b: FStar.UInt64.t{FStar.UInt64.v b = FStar.Int32.v a % Prims.pow2 64}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int32.t", "FStar.UInt64.uint_to_t", "Prims.op_Modulus", "FStar.Int32.v", "Prims.pow2", "FStar.UInt64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt64.v" ]
[]
false
false
false
false
false
let int32_to_uint64 x =
U64.uint_to_t (I32.v x % pow2 64)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint32_to_int8
val uint32_to_int8 : a:U32.t -> Tot (b:I8.t {I8.v b = (U32.v a @% pow2 8)})
val uint32_to_int8 : a:U32.t -> Tot (b:I8.t {I8.v b = (U32.v a @% pow2 8)})
let uint32_to_int8 x = I8.int_to_t (U32.v x @% pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 165, "start_col": 0, "start_line": 165 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt32.t -> b: FStar.Int8.t{FStar.Int8.v b = FStar.UInt32.v a @% Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "FStar.Int8.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt32.v", "Prims.pow2", "FStar.Int8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int8.v" ]
[]
false
false
false
false
false
let uint32_to_int8 x =
I8.int_to_t (U32.v x @% pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int8_to_uint8
val int8_to_uint8 : a:I8.t -> Tot (b:U8.t {U8.v b = I8.v a % pow2 8})
val int8_to_uint8 : a:I8.t -> Tot (b:U8.t {U8.v b = I8.v a % pow2 8})
let int8_to_uint8 x = U8.uint_to_t (I8.v x % pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 199, "start_col": 0, "start_line": 199 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int8.t -> b: FStar.UInt8.t{FStar.UInt8.v b = FStar.Int8.v a % Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int8.t", "FStar.UInt8.uint_to_t", "Prims.op_Modulus", "FStar.Int8.v", "Prims.pow2", "FStar.UInt8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let int8_to_uint8 x =
U8.uint_to_t (I8.v x % pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint32_to_int16
val uint32_to_int16: a:U32.t -> Tot (b:I16.t{I16.v b = (U32.v a @% pow2 16)})
val uint32_to_int16: a:U32.t -> Tot (b:I16.t{I16.v b = (U32.v a @% pow2 16)})
let uint32_to_int16 x = I16.int_to_t (U32.v x @% pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 160, "start_col": 0, "start_line": 160 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt32.t -> b: FStar.Int16.t{FStar.Int16.v b = FStar.UInt32.v a @% Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "FStar.Int16.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt32.v", "Prims.pow2", "FStar.Int16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int16.v" ]
[]
false
false
false
false
false
let uint32_to_int16 x =
I16.int_to_t (U32.v x @% pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int8_to_uint32
val int8_to_uint32: a:I8.t -> Tot (b:U32.t{U32.v b = I8.v a % pow2 32})
val int8_to_uint32: a:I8.t -> Tot (b:U32.t{U32.v b = I8.v a % pow2 32})
let int8_to_uint32 x = U32.uint_to_t (I8.v x % pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 193, "start_col": 0, "start_line": 193 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int8.t -> b: FStar.UInt32.t{FStar.UInt32.v b = FStar.Int8.v a % Prims.pow2 32}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int8.t", "FStar.UInt32.uint_to_t", "Prims.op_Modulus", "FStar.Int8.v", "Prims.pow2", "FStar.UInt32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let int8_to_uint32 x =
U32.uint_to_t (I8.v x % pow2 32)
false
Vale.Test.X64.Memcpy.fst
Vale.Test.X64.Memcpy.va_codegen_success_Copy16
val va_codegen_success_Copy16 : t:taint -> Tot va_pbool
val va_codegen_success_Copy16 : t:taint -> Tot va_pbool
let va_codegen_success_Copy16 t = (va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRax) (va_op_reg_opr64_reg64 rRsi) 0 t) (va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRcx) (va_op_reg_opr64_reg64 r...
{ "file_name": "obj/Vale.Test.X64.Memcpy.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 84, "end_line": 31, "start_col": 0, "start_line": 24 }
module Vale.Test.X64.Memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem #reset-options "--z3rlimit 20" //-- Copy16 val va_code_Copy16 : t:taint -> Tot va_code [@ "opaque_to_smt"] let va_code_Copy16 t = (va_Bl...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Arch.HeapImpl.fsti.checked", "prims.fst.che...
[ { "abbrev": false, "full_module": "Vale.X64.InsMem", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Decls", "short_module": null }, { "abbrev": false, "full_mod...
{ "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...
false
t: Vale.Arch.HeapTypes_s.taint -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsMem.va_codegen_success_Load64_buffer", "Vale.X64.Decls.va_op_heaplet_mem_heaplet", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRax", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rRsi", "Vale.X6...
[]
false
false
false
true
false
let va_codegen_success_Copy16 t =
(va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRax) (va_op_reg_opr64_reg64 rRsi) 0 t) (va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRcx) (va_op_reg_o...
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint64_to_int8
val uint64_to_int8 : a:U64.t -> Tot (b:I8.t {I8.v b = (U64.v a @% pow2 8)})
val uint64_to_int8 : a:U64.t -> Tot (b:I8.t {I8.v b = (U64.v a @% pow2 8)})
let uint64_to_int8 x = I8.int_to_t (U64.v x @% pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 185, "start_col": 0, "start_line": 185 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt64.t -> b: FStar.Int8.t{FStar.Int8.v b = FStar.UInt64.v a @% Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "FStar.Int8.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt64.v", "Prims.pow2", "FStar.Int8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int8.v" ]
[]
false
false
false
false
false
let uint64_to_int8 x =
I8.int_to_t (U64.v x @% pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int64_to_uint16
val int64_to_uint16: a:I64.t -> Tot (b:U16.t{U16.v b = I64.v a % pow2 16})
val int64_to_uint16: a:I64.t -> Tot (b:U16.t{U16.v b = I64.v a % pow2 16})
let int64_to_uint16 x = U16.uint_to_t (I64.v x % pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 232, "start_col": 0, "start_line": 232 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.UInt16.t{FStar.UInt16.v b = FStar.Int64.v a % Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.UInt16.uint_to_t", "Prims.op_Modulus", "FStar.Int64.v", "Prims.pow2", "FStar.UInt16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let int64_to_uint16 x =
U16.uint_to_t (I64.v x % pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int32_to_uint8
val int32_to_uint8 : a:I32.t -> Tot (b:U8.t {U8.v b = I32.v a % pow2 8})
val int32_to_uint8 : a:I32.t -> Tot (b:U8.t {U8.v b = I32.v a % pow2 8})
let int32_to_uint8 x = U8.uint_to_t (I32.v x % pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 223, "start_col": 0, "start_line": 223 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int32.t -> b: FStar.UInt8.t{FStar.UInt8.v b = FStar.Int32.v a % Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int32.t", "FStar.UInt8.uint_to_t", "Prims.op_Modulus", "FStar.Int32.v", "Prims.pow2", "FStar.UInt8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let int32_to_uint8 x =
U8.uint_to_t (I32.v x % pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint64_to_int16
val uint64_to_int16: a:U64.t -> Tot (b:I16.t{I16.v b = (U64.v a @% pow2 16)})
val uint64_to_int16: a:U64.t -> Tot (b:I16.t{I16.v b = (U64.v a @% pow2 16)})
let uint64_to_int16 x = I16.int_to_t (U64.v x @% pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 180, "start_col": 0, "start_line": 180 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt64.t -> b: FStar.Int16.t{FStar.Int16.v b = FStar.UInt64.v a @% Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "FStar.Int16.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt64.v", "Prims.pow2", "FStar.Int16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int16.v" ]
[]
false
false
false
false
false
let uint64_to_int16 x =
I16.int_to_t (U64.v x @% pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint8_to_int8
val uint8_to_int8 : a:U8.t -> Tot (b:I8.t {I8.v b = (U8.v a @% pow2 8)})
val uint8_to_int8 : a:U8.t -> Tot (b:I8.t {I8.v b = (U8.v a @% pow2 8)})
let uint8_to_int8 x = I8.int_to_t (U8.v x @% pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 131, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt8.t -> b: FStar.Int8.t{FStar.Int8.v b = FStar.UInt8.v a @% Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.t", "FStar.Int8.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt8.v", "Prims.pow2", "FStar.Int8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int8.v" ]
[]
false
false
false
false
false
let uint8_to_int8 x =
I8.int_to_t (U8.v x @% pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int64_to_uint64
val int64_to_uint64: a:I64.t -> Tot (b:U64.t{U64.v b = I64.v a % pow2 64})
val int64_to_uint64: a:I64.t -> Tot (b:U64.t{U64.v b = I64.v a % pow2 64})
let int64_to_uint64 x = U64.uint_to_t (I64.v x % pow2 64)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 226, "start_col": 0, "start_line": 226 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.UInt64.t{FStar.UInt64.v b = FStar.Int64.v a % Prims.pow2 64}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.UInt64.uint_to_t", "Prims.op_Modulus", "FStar.Int64.v", "Prims.pow2", "FStar.UInt64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt64.v" ]
[]
false
false
false
false
false
let int64_to_uint64 x =
U64.uint_to_t (I64.v x % pow2 64)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int32_to_uint32
val int32_to_uint32: a:I32.t -> Tot (b:U32.t{U32.v b = I32.v a % pow2 32})
val int32_to_uint32: a:I32.t -> Tot (b:U32.t{U32.v b = I32.v a % pow2 32})
let int32_to_uint32 x = U32.uint_to_t (I32.v x % pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 217, "start_col": 0, "start_line": 217 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int32.t -> b: FStar.UInt32.t{FStar.UInt32.v b = FStar.Int32.v a % Prims.pow2 32}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int32.t", "FStar.UInt32.uint_to_t", "Prims.op_Modulus", "FStar.Int32.v", "Prims.pow2", "FStar.UInt32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let int32_to_uint32 x =
U32.uint_to_t (I32.v x % pow2 32)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int8_to_uint64
val int8_to_uint64: a:I8.t -> Tot (b:U64.t{U64.v b = I8.v a % pow2 64})
val int8_to_uint64: a:I8.t -> Tot (b:U64.t{U64.v b = I8.v a % pow2 64})
let int8_to_uint64 x = U64.uint_to_t (I8.v x % pow2 64)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 190, "start_col": 0, "start_line": 190 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int8.t -> b: FStar.UInt64.t{FStar.UInt64.v b = FStar.Int8.v a % Prims.pow2 64}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int8.t", "FStar.UInt64.uint_to_t", "Prims.op_Modulus", "FStar.Int8.v", "Prims.pow2", "FStar.UInt64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt64.v" ]
[]
false
false
false
false
false
let int8_to_uint64 x =
U64.uint_to_t (I8.v x % pow2 64)
false
FStar.Int.Cast.fst
FStar.Int.Cast.uint64_to_int64
val uint64_to_int64: a:U64.t -> Tot (b:I64.t{I64.v b = (U64.v a @% pow2 64)})
val uint64_to_int64: a:U64.t -> Tot (b:I64.t{I64.v b = (U64.v a @% pow2 64)})
let uint64_to_int64 x = I64.int_to_t (U64.v x @% pow2 64)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 170, "start_col": 0, "start_line": 170 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt64.t -> b: FStar.Int64.t{FStar.Int64.v b = FStar.UInt64.v a @% Prims.pow2 64}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "FStar.Int64.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.UInt64.v", "Prims.pow2", "FStar.Int64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Int64.v" ]
[]
false
false
false
false
false
let uint64_to_int64 x =
I64.int_to_t (U64.v x @% pow2 64)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int16_to_uint8
val int16_to_uint8 : a:I16.t -> Tot (b:U8.t {U8.v b = I16.v a % pow2 8})
val int16_to_uint8 : a:I16.t -> Tot (b:U8.t {U8.v b = I16.v a % pow2 8})
let int16_to_uint8 x = U8.uint_to_t (I16.v x % pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 211, "start_col": 0, "start_line": 211 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int16.t -> b: FStar.UInt8.t{FStar.UInt8.v b = FStar.Int16.v a % Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int16.t", "FStar.UInt8.uint_to_t", "Prims.op_Modulus", "FStar.Int16.v", "Prims.pow2", "FStar.UInt8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let int16_to_uint8 x =
U8.uint_to_t (I16.v x % pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int64_to_uint8
val int64_to_uint8 : a:I64.t -> Tot (b:U8.t {U8.v b = I64.v a % pow2 8})
val int64_to_uint8 : a:I64.t -> Tot (b:U8.t {U8.v b = I64.v a % pow2 8})
let int64_to_uint8 x = U8.uint_to_t (I64.v x % pow2 8)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 235, "start_col": 0, "start_line": 235 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.UInt8.t{FStar.UInt8.v b = FStar.Int64.v a % Prims.pow2 8}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.UInt8.uint_to_t", "Prims.op_Modulus", "FStar.Int64.v", "Prims.pow2", "FStar.UInt8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let int64_to_uint8 x =
U8.uint_to_t (I64.v x % pow2 8)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int8_to_uint16
val int8_to_uint16: a:I8.t -> Tot (b:U16.t{U16.v b = I8.v a % pow2 16})
val int8_to_uint16: a:I8.t -> Tot (b:U16.t{U16.v b = I8.v a % pow2 16})
let int8_to_uint16 x = U16.uint_to_t (I8.v x % pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 196, "start_col": 0, "start_line": 196 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int8.t -> b: FStar.UInt16.t{FStar.UInt16.v b = FStar.Int8.v a % Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int8.t", "FStar.UInt16.uint_to_t", "Prims.op_Modulus", "FStar.Int8.v", "Prims.pow2", "FStar.UInt16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let int8_to_uint16 x =
U16.uint_to_t (I8.v x % pow2 16)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int16_to_int64
val int16_to_int64: a:I16.t -> Tot (b:I64.t{I64.v b = I16.v a})
val int16_to_int64: a:I16.t -> Tot (b:I64.t{I64.v b = I16.v a})
let int16_to_int64 x = I64.int_to_t (I16.v x @% pow2 64)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 79, "start_col": 0, "start_line": 79 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int16.t -> b: FStar.Int64.t{FStar.Int64.v b = FStar.Int16.v a}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int16.t", "FStar.Int64.int_to_t", "FStar.Int.Cast.op_At_Percent", "FStar.Int16.v", "Prims.pow2", "FStar.Int64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "FStar.Int.size", "FStar.Int64.n", "FStar.Int16.n", "FStar.Int64.v" ]
[]
false
false
false
false
false
let int16_to_int64 x =
I64.int_to_t (I16.v x @% pow2 64)
false
FStar.Int.Cast.fst
FStar.Int.Cast.int16_to_uint32
val int16_to_uint32: a:I16.t -> Tot (b:U32.t{U32.v b = I16.v a % pow2 32})
val int16_to_uint32: a:I16.t -> Tot (b:U32.t{U32.v b = I16.v a % pow2 32})
let int16_to_uint32 x = U32.uint_to_t (I16.v x % pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 205, "start_col": 0, "start_line": 205 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int16.t -> b: FStar.UInt32.t{FStar.UInt32.v b = FStar.Int16.v a % Prims.pow2 32}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int16.t", "FStar.UInt32.uint_to_t", "Prims.op_Modulus", "FStar.Int16.v", "Prims.pow2", "FStar.UInt32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let int16_to_uint32 x =
U32.uint_to_t (I16.v x % pow2 32)
false
Spec.Curve25519.fst
Spec.Curve25519.cswap2
val cswap2 : sw: Lib.IntTypes.uint64 -> nq: Spec.Curve25519.proj_point -> nqp1: Spec.Curve25519.proj_point -> Spec.Curve25519.proj_point * Spec.Curve25519.proj_point
let cswap2 (sw:uint64) (nq:proj_point) (nqp1:proj_point) = let open Lib.RawIntTypes in if uint_to_nat sw = 1 then (nqp1, nq) else (nq, nqp1)
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 94, "start_col": 0, "start_line": 92 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
sw: Lib.IntTypes.uint64 -> nq: Spec.Curve25519.proj_point -> nqp1: Spec.Curve25519.proj_point -> Spec.Curve25519.proj_point * Spec.Curve25519.proj_point
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint64", "Spec.Curve25519.proj_point", "Prims.op_Equality", "Prims.int", "Lib.RawIntTypes.uint_to_nat", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
true
false
let cswap2 (sw: uint64) (nq nqp1: proj_point) =
let open Lib.RawIntTypes in if uint_to_nat sw = 1 then (nqp1, nq) else (nq, nqp1)
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.fits_t
val fits_t : fits: (_: Prims.int -> Prims.prop) -> Type0
let fits_t (fits:int -> prop) = x:int { fits x }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 21, "start_col": 0, "start_line": 21 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
fits: (_: Prims.int -> Prims.prop) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.prop" ]
[]
false
false
false
true
true
let fits_t (fits: (int -> prop)) =
x: int{fits x}
false
FStar.Int.Cast.fst
FStar.Int.Cast.int32_to_uint16
val int32_to_uint16: a:I32.t -> Tot (b:U16.t{U16.v b = I32.v a % pow2 16})
val int32_to_uint16: a:I32.t -> Tot (b:U16.t{U16.v b = I32.v a % pow2 16})
let int32_to_uint16 x = U16.uint_to_t (I32.v x % pow2 16)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 220, "start_col": 0, "start_line": 220 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int32.t -> b: FStar.UInt16.t{FStar.UInt16.v b = FStar.Int32.v a % Prims.pow2 16}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int32.t", "FStar.UInt16.uint_to_t", "Prims.op_Modulus", "FStar.Int32.v", "Prims.pow2", "FStar.UInt16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let int32_to_uint16 x =
U16.uint_to_t (I32.v x % pow2 16)
false
Spec.Curve25519.fst
Spec.Curve25519.basepoint_list
val basepoint_list:x: list byte_t {List.Tot.length x == 32}
val basepoint_list:x: list byte_t {List.Tot.length x == 32}
let basepoint_list : x:list byte_t{List.Tot.length x == 32} = [@inline_let] let l = [9uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy] in assert_norm (List.Tot.length l == 32); l
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 134, "start_col": 0, "start_line": 126 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
x: Prims.list (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.PUB) {FStar.List.Tot.Base.length x == 32}
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.PUB", "Prims.list", "Prims.Cons", "FStar.UInt8.__uint_to_t", "Prims.Nil" ]
[]
false
false
false
false
false
let basepoint_list:x: list byte_t {List.Tot.length x == 32} =
[@@ inline_let ]let l = [ 9uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy; 0uy ] in assert_norm (List.Tot.length l == 32); l
false
FStar.Int.Cast.fst
FStar.Int.Cast.int64_to_uint32
val int64_to_uint32: a:I64.t -> Tot (b:U32.t{U32.v b = I64.v a % pow2 32})
val int64_to_uint32: a:I64.t -> Tot (b:U32.t{U32.v b = I64.v a % pow2 32})
let int64_to_uint32 x = U32.uint_to_t (I64.v x % pow2 32)
{ "file_name": "ulib/FStar.Int.Cast.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 229, "start_col": 0, "start_line": 229 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int8.fsti.checked", "FStar.Int64.fsti.checked", "FStar.Int32.fs...
[ { "abbrev": true, "full_module": "FStar.Int64", "short_module": "I64" }, { "abbrev": true, "full_module": "FStar.Int32", "short_module": "I32" }, { "abbrev": true, "full_module": "FStar.Int16", "short_module": "I16" }, { "abbrev": true, "full_module": "FStar.I...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.UInt32.t{FStar.UInt32.v b = FStar.Int64.v a % Prims.pow2 32}
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.UInt32.uint_to_t", "Prims.op_Modulus", "FStar.Int64.v", "Prims.pow2", "FStar.UInt32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let int64_to_uint32 x =
U32.uint_to_t (I64.v x % pow2 32)
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.bounded_from_bounded_unsigned
[@@ FStar.Tactics.Typeclasses.tcinstance] val bounded_from_bounded_unsigned (t: eqtype) (c: bounded_unsigned t) : bounded_int t
[@@ FStar.Tactics.Typeclasses.tcinstance] val bounded_from_bounded_unsigned (t: eqtype) (c: bounded_unsigned t) : bounded_int t
instance bounded_from_bounded_unsigned (t:eqtype) (c:bounded_unsigned t) : bounded_int t = c.base
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 97, "end_line": 68, "start_col": 0, "start_line": 68 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Prims.eqtype -> c: Pulse.Lib.BoundedIntegers.bounded_unsigned t -> Pulse.Lib.BoundedIntegers.bounded_int t
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Pulse.Lib.BoundedIntegers.bounded_unsigned", "Pulse.Lib.BoundedIntegers.__proj__Mkbounded_unsigned__item__base", "Pulse.Lib.BoundedIntegers.bounded_int" ]
[]
false
false
false
false
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let bounded_from_bounded_unsigned (t: eqtype) (c: bounded_unsigned t) : bounded_int t =
c.base
false
Spec.Curve25519.fst
Spec.Curve25519.prime
val prime:pos
val prime:pos
let prime : pos = pow2 255 - 19
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 13, "start_col": 0, "start_line": 13 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0"
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
Prims.pos
Prims.Tot
[ "total" ]
[]
[ "Prims.op_Subtraction", "Prims.pow2" ]
[]
false
false
false
true
false
let prime:pos =
pow2 255 - 19
false
Spec.Curve25519.fst
Spec.Curve25519.one
val one:elem
val one:elem
let one : elem = 1
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 17, "start_col": 0, "start_line": 17 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime}
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let one:elem =
1
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.ok
val ok : {| c: Pulse.Lib.BoundedIntegers.bounded_int t |} -> op: (_: Prims.int -> _: Prims.int -> Prims.int) -> x: t -> y: t -> Prims.prop
let ok (#t:eqtype) {| c:bounded_int t |} (op: int -> int -> int) (x y:t) = c.fits (op (v x) (v y))
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 106, "start_col": 0, "start_line": 105 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
{| c: Pulse.Lib.BoundedIntegers.bounded_int t |} -> op: (_: Prims.int -> _: Prims.int -> Prims.int) -> x: t -> y: t -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Pulse.Lib.BoundedIntegers.bounded_int", "Prims.int", "Pulse.Lib.BoundedIntegers.__proj__Mkbounded_int__item__fits", "Pulse.Lib.BoundedIntegers.v", "Prims.prop" ]
[]
false
false
false
false
true
let ok (#t: eqtype) {| c: bounded_int t |} (op: (int -> int -> int)) (x y: t) =
c.fits (op (v x) (v y))
false
Spec.Curve25519.fst
Spec.Curve25519.fmul
val fmul (x y: elem) : elem
val fmul (x y: elem) : elem
let fmul (x:elem) (y:elem) : elem = (x * y) % prime
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 21, "start_col": 0, "start_line": 21 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
x: Spec.Curve25519.elem -> y: Spec.Curve25519.elem -> Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.elem", "Prims.op_Modulus", "FStar.Mul.op_Star", "Spec.Curve25519.prime" ]
[]
false
false
false
true
false
let fmul (x y: elem) : elem =
(x * y) % prime
false
Spec.Curve25519.fst
Spec.Curve25519.fadd
val fadd (x y: elem) : elem
val fadd (x y: elem) : elem
let fadd (x:elem) (y:elem) : elem = (x + y) % prime
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 19, "start_col": 0, "start_line": 19 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
x: Spec.Curve25519.elem -> y: Spec.Curve25519.elem -> Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.elem", "Prims.op_Modulus", "Prims.op_Addition", "Spec.Curve25519.prime" ]
[]
false
false
false
true
false
let fadd (x y: elem) : elem =
(x + y) % prime
false
Spec.Curve25519.fst
Spec.Curve25519.finv
val finv (x: elem) : elem
val finv (x: elem) : elem
let finv (x:elem) : elem = x **% (prime - 2)
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 30, "start_col": 0, "start_line": 30 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
x: Spec.Curve25519.elem -> Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.elem", "Spec.Curve25519.op_Star_Star_Percent", "Prims.op_Subtraction", "Spec.Curve25519.prime" ]
[]
false
false
false
true
false
let finv (x: elem) : elem =
x **% (prime - 2)
false
Spec.Curve25519.fst
Spec.Curve25519.fpow
val fpow (x: elem) (b: nat) : elem
val fpow (x: elem) (b: nat) : elem
let fpow (x:elem) (b:nat) : elem = Lib.NatMod.pow_mod #prime x b
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 27, "start_col": 0, "start_line": 27 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
x: Spec.Curve25519.elem -> b: Prims.nat -> Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.elem", "Prims.nat", "Lib.NatMod.pow_mod", "Spec.Curve25519.prime" ]
[]
false
false
false
true
false
let fpow (x: elem) (b: nat) : elem =
Lib.NatMod.pow_mod #prime x b
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.test
val test : t: Prims.eqtype -> {| _: Pulse.Lib.BoundedIntegers.bounded_unsigned t |} -> x: t -> Prims.GTot Prims.int
let test (t:eqtype) {| _ : bounded_unsigned t |} (x:t) = v x
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 154, "start_col": 0, "start_line": 154 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Prims.eqtype -> {| _: Pulse.Lib.BoundedIntegers.bounded_unsigned t |} -> x: t -> Prims.GTot Prims.int
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.eqtype", "Pulse.Lib.BoundedIntegers.bounded_unsigned", "Pulse.Lib.BoundedIntegers.v", "Pulse.Lib.BoundedIntegers.bounded_from_bounded_unsigned", "Prims.int" ]
[]
false
false
false
false
false
let test (t: eqtype) {| _: bounded_unsigned t |} (x: t) =
v x
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.bounded_int_int
[@@ FStar.Tactics.Typeclasses.tcinstance] val bounded_int_int:bounded_int int
[@@ FStar.Tactics.Typeclasses.tcinstance] val bounded_int_int:bounded_int int
instance bounded_int_int : bounded_int int = { fits = (fun _ -> True); v = id; u = id; ( + ) = (fun x y -> Prims.op_Addition x y); op_Subtraction = (fun x y -> Prims.op_Subtraction x y); ( < ) = (fun x y -> Prims.op_LessThan x y); ( <= ) = (fun x y -> Prims.op_LessThanOrEqual x y); ( % )...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 51, "start_col": 0, "start_line": 41 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Lib.BoundedIntegers.bounded_int Prims.int
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.BoundedIntegers.Mkbounded_int", "Prims.int", "Prims.l_True", "Prims.prop", "FStar.Pervasives.id", "Prims.op_Addition", "Prims.op_Subtraction", "Prims.op_LessThan", "Prims.bool", "Prims.b2t", "Prims.op_Equality", "Prims.op_LessThanOrEqual", "Prims.op_Modulus" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let bounded_int_int:bounded_int int =
{ fits = (fun _ -> True); v = id; u = id; ( + ) = (fun x y -> Prims.op_Addition x y); ( - ) = (fun x y -> Prims.op_Subtraction x y); ( < ) = (fun x y -> Prims.op_LessThan x y); ( <= ) = (fun x y -> Prims.op_LessThanOrEqual x y); ( % ) = (fun x y -> Prims.op_Modulus x y); properties = () }
false
Spec.Curve25519.fst
Spec.Curve25519.zero
val zero:elem
val zero:elem
let zero : elem = 0
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 16, "start_col": 0, "start_line": 16 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let zero:elem =
0
false
Hacl.Spec.Karatsuba.Lemmas.fst
Hacl.Spec.Karatsuba.Lemmas.abs
val abs (a b: nat) : nat
val abs (a b: nat) : nat
let abs (a:nat) (b:nat) : nat = if a < b then b - a else a - b
{ "file_name": "code/bignum/Hacl.Spec.Karatsuba.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 13, "start_col": 0, "start_line": 12 }
module Hacl.Spec.Karatsuba.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" type sign = | Positive | Negative
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc.fsti.checked" ], "interface_file": false, "source...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Karatsuba", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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...
false
a: Prims.nat -> b: Prims.nat -> Prims.nat
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.op_LessThan", "Prims.op_Subtraction", "Prims.bool" ]
[]
false
false
false
true
false
let abs (a b: nat) : nat =
if a < b then b - a else a - b
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.nat_as_int
val nat_as_int (x: nat) : int
val nat_as_int (x: nat) : int
let nat_as_int (x:nat) : int = x
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 168, "start_col": 0, "start_line": 168 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.nat -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.int" ]
[]
false
false
false
true
false
let nat_as_int (x: nat) : int =
x
false
Spec.Curve25519.fst
Spec.Curve25519.ith_bit
val ith_bit (k: scalar) (i: nat{i < 256}) : uint64
val ith_bit (k: scalar) (i: nat{i < 256}) : uint64
let ith_bit (k:scalar) (i:nat{i < 256}) : uint64 = let q = i / 8 in let r = size (i % 8) in to_u64 ((k.[q] >>. r) &. u8 1)
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 40, "start_col": 0, "start_line": 38 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
k: Spec.Curve25519.scalar -> i: Prims.nat{i < 256} -> Lib.IntTypes.uint64
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.scalar", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.to_u64", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.op_Amp_Dot", "Lib.IntTypes.op_Greater_Greater_Dot", "Lib.Sequence.op_String_Access", "Lib.IntTypes.uint_t", "Lib.IntTypes.u8", "Lib.IntTypes.in...
[]
false
false
false
false
false
let ith_bit (k: scalar) (i: nat{i < 256}) : uint64 =
let q = i / 8 in let r = size (i % 8) in to_u64 ((k.[ q ] >>. r) &. u8 1)
false
Spec.Curve25519.fst
Spec.Curve25519.fsub
val fsub (x y: elem) : elem
val fsub (x y: elem) : elem
let fsub (x:elem) (y:elem) : elem = (x - y) % prime
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 20, "start_col": 0, "start_line": 20 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
x: Spec.Curve25519.elem -> y: Spec.Curve25519.elem -> Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.elem", "Prims.op_Modulus", "Prims.op_Subtraction", "Spec.Curve25519.prime" ]
[]
false
false
false
true
false
let fsub (x y: elem) : elem =
(x - y) % prime
false
Spec.Curve25519.fst
Spec.Curve25519.add_and_double
val add_and_double : q: (Spec.Curve25519.elem * _) -> nq: (Spec.Curve25519.elem * Spec.Curve25519.elem) -> nqp1: (Spec.Curve25519.elem * Spec.Curve25519.elem) -> (Spec.Curve25519.elem * Spec.Curve25519.elem) * (Spec.Curve25519.elem * Spec.Curve25519.elem)
let add_and_double q nq nqp1 = let x_1, z_1 = q in let x_2, z_2 = nq in let x_3, z_3 = nqp1 in let a = x_2 +% z_2 in let b = x_2 -% z_2 in let c = x_3 +% z_3 in let d = x_3 -% z_3 in let da = d *% a in let cb = c *% b in let x_3 = da +% cb in let z_3 = da -% cb in let aa = a *% a in let bb = b...
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 77, "start_col": 0, "start_line": 55 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
q: (Spec.Curve25519.elem * _) -> nq: (Spec.Curve25519.elem * Spec.Curve25519.elem) -> nqp1: (Spec.Curve25519.elem * Spec.Curve25519.elem) -> (Spec.Curve25519.elem * Spec.Curve25519.elem) * (Spec.Curve25519.elem * Spec.Curve25519.elem)
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple2", "Spec.Curve25519.op_Star_Percent", "Spec.Curve25519.op_Plus_Percent", "Spec.Curve25519.op_Subtraction_Percent" ]
[]
false
false
false
true
false
let add_and_double q nq nqp1 =
let x_1, z_1 = q in let x_2, z_2 = nq in let x_3, z_3 = nqp1 in let a = x_2 +% z_2 in let b = x_2 -% z_2 in let c = x_3 +% z_3 in let d = x_3 -% z_3 in let da = d *% a in let cb = c *% b in let x_3 = da +% cb in let z_3 = da -% cb in let aa = a *% a in let bb = b *% b in let x_3 = x_3 *% x_3 in let z_3 = z_3 *% z_3 in ...
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.pos_as_int
val pos_as_int (x: pos) : int
val pos_as_int (x: pos) : int
let pos_as_int (x:pos) : int = x
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 185, "start_col": 0, "start_line": 185 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.pos -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.int" ]
[]
false
false
false
true
false
let pos_as_int (x: pos) : int =
x
false
Spec.Curve25519.fst
Spec.Curve25519.encodePoint
val encodePoint (p: proj_point) : Tot serialized_point
val encodePoint (p: proj_point) : Tot serialized_point
let encodePoint (p:proj_point) : Tot serialized_point = let x, z = p in let p = x /% z in nat_to_bytes_le 32 p
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 53, "start_col": 0, "start_line": 50 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
p: Spec.Curve25519.proj_point -> Spec.Curve25519.serialized_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.proj_point", "Spec.Curve25519.elem", "Lib.ByteSequence.nat_to_bytes_le", "Lib.IntTypes.SEC", "Spec.Curve25519.op_Slash_Percent", "Spec.Curve25519.serialized_point" ]
[]
false
false
false
true
false
let encodePoint (p: proj_point) : Tot serialized_point =
let x, z = p in let p = x /% z in nat_to_bytes_le 32 p
false
Hacl.Spec.Karatsuba.Lemmas.fst
Hacl.Spec.Karatsuba.Lemmas.sign_abs
val sign_abs: a:nat -> b:nat -> Pure (tuple2 sign nat) (requires True) (ensures fun (s, res) -> res == abs a b /\ s == (if a < b then Negative else Positive))
val sign_abs: a:nat -> b:nat -> Pure (tuple2 sign nat) (requires True) (ensures fun (s, res) -> res == abs a b /\ s == (if a < b then Negative else Positive))
let sign_abs a b = if a < b then (Negative, b - a) else (Positive, a - b)
{ "file_name": "code/bignum/Hacl.Spec.Karatsuba.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 22, "start_col": 0, "start_line": 21 }
module Hacl.Spec.Karatsuba.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" type sign = | Positive | Negative let abs (a:nat) (b:nat) : nat = if a < b then b - a else a - b val sign_abs: a:nat -> b:nat -> Pure (tuple2 sign nat) (requires True) (ensures fun (s, re...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc.fsti.checked" ], "interface_file": false, "source...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Karatsuba", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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...
false
a: Prims.nat -> b: Prims.nat -> Prims.Pure (Hacl.Spec.Karatsuba.Lemmas.sign * Prims.nat)
Prims.Pure
[]
[]
[ "Prims.nat", "Prims.op_LessThan", "FStar.Pervasives.Native.Mktuple2", "Hacl.Spec.Karatsuba.Lemmas.sign", "Hacl.Spec.Karatsuba.Lemmas.Negative", "Prims.op_Subtraction", "Prims.bool", "Hacl.Spec.Karatsuba.Lemmas.Positive", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
false
false
let sign_abs a b =
if a < b then (Negative, b - a) else (Positive, a - b)
false
Spec.Curve25519.fst
Spec.Curve25519.ladder_step
val ladder_step : k: Spec.Curve25519.scalar -> q: Spec.Curve25519.proj_point -> i: Prims.nat{i < 251} -> _: ((Spec.Curve25519.proj_point * Spec.Curve25519.proj_point) * Lib.IntTypes.int_t Lib.IntTypes.U64 Lib.IntTypes.SEC) -> ((Spec.Curve25519.elem * Spec.Curve25519.elem) * (Spec.Curve25519....
let ladder_step (k:scalar) (q:proj_point) (i:nat{i < 251}) (nq, nqp1, swap) = let bit = ith_bit k (253-i) in let sw = swap ^. bit in let nq, nqp1 = cswap2 sw nq nqp1 in let nq, nqp1 = add_and_double q nq nqp1 in (nq, nqp1, bit)
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 101, "start_col": 0, "start_line": 96 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
k: Spec.Curve25519.scalar -> q: Spec.Curve25519.proj_point -> i: Prims.nat{i < 251} -> _: ((Spec.Curve25519.proj_point * Spec.Curve25519.proj_point) * Lib.IntTypes.int_t Lib.IntTypes.U64 Lib.IntTypes.SEC) -> ((Spec.Curve25519.elem * Spec.Curve25519.elem) * (Spec.Curve25519.elem * Spec.C...
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.scalar", "Spec.Curve25519.proj_point", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Pervasives.Native.tuple3", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Pervasives.Native.tuple2", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple3", ...
[]
false
false
false
false
false
let ladder_step (k: scalar) (q: proj_point) (i: nat{i < 251}) (nq, nqp1, swap) =
let bit = ith_bit k (253 - i) in let sw = swap ^. bit in let nq, nqp1 = cswap2 sw nq nqp1 in let nq, nqp1 = add_and_double q nq nqp1 in (nq, nqp1, bit)
false
Spec.Curve25519.fst
Spec.Curve25519.decodePoint
val decodePoint : u46: Spec.Curve25519.serialized_point -> Prims.int
let decodePoint (u:serialized_point) = (nat_from_bytes_le u % pow2 255) % prime
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 48, "start_col": 0, "start_line": 47 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
u46: Spec.Curve25519.serialized_point -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.serialized_point", "Prims.op_Modulus", "Lib.ByteSequence.nat_from_bytes_le", "Lib.IntTypes.SEC", "Prims.pow2", "Spec.Curve25519.prime", "Prims.int" ]
[]
false
false
false
true
false
let decodePoint (u: serialized_point) =
(nat_from_bytes_le u % pow2 255) % prime
false
Hacl.Spec.Karatsuba.Lemmas.fst
Hacl.Spec.Karatsuba.Lemmas.lemma_double_p
val lemma_double_p: pbits:pos -> aLen:nat{aLen % 2 = 0} -> Lemma (let p = pow2 (aLen / 2 * pbits) in p * p == pow2 (pbits * aLen))
val lemma_double_p: pbits:pos -> aLen:nat{aLen % 2 = 0} -> Lemma (let p = pow2 (aLen / 2 * pbits) in p * p == pow2 (pbits * aLen))
let lemma_double_p pbits aLen = let p = pow2 (aLen / 2 * pbits) in calc (==) { p * p; (==) { Math.Lemmas.pow2_plus (aLen / 2 * pbits) (aLen / 2 * pbits) } pow2 (aLen / 2 * pbits + aLen / 2 * pbits); (==) { Math.Lemmas.distributivity_add_left (aLen / 2) (aLen / 2) pbits } pow2 ((aLen / 2 * 2) * p...
{ "file_name": "code/bignum/Hacl.Spec.Karatsuba.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 37, "start_col": 0, "start_line": 27 }
module Hacl.Spec.Karatsuba.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" type sign = | Positive | Negative let abs (a:nat) (b:nat) : nat = if a < b then b - a else a - b val sign_abs: a:nat -> b:nat -> Pure (tuple2 sign nat) (requires True) (ensures fun (s, re...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc.fsti.checked" ], "interface_file": false, "source...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Karatsuba", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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...
false
pbits: Prims.pos -> aLen: Prims.nat{aLen % 2 = 0} -> FStar.Pervasives.Lemma (ensures (let p = Prims.pow2 ((aLen / 2) * pbits) in p * p == Prims.pow2 (pbits * aLen)))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "Prims.nat", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "FStar.Calc.calc_finish", "Prims.eq2", "FStar.Mul.op_Star", "Prims.pow2", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Division", "Pri...
[]
false
false
true
false
false
let lemma_double_p pbits aLen =
let p = pow2 ((aLen / 2) * pbits) in calc ( == ) { p * p; ( == ) { Math.Lemmas.pow2_plus ((aLen / 2) * pbits) ((aLen / 2) * pbits) } pow2 ((aLen / 2) * pbits + (aLen / 2) * pbits); ( == ) { Math.Lemmas.distributivity_add_left (aLen / 2) (aLen / 2) pbits } pow2 (((aLen / 2) * 2) * pbits); ( == ) { Math.Lemma...
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.add
val add : {| _: Pulse.Lib.BoundedIntegers.bounded_int t |} -> x: t -> y: t{Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus x y} -> t
let add (#t:eqtype) {| bounded_int t |} (x:t) (y:t { ok (+) x y }) = x + y
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 74, "end_line": 108, "start_col": 0, "start_line": 108 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
{| _: Pulse.Lib.BoundedIntegers.bounded_int t |} -> x: t -> y: t{Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus x y} -> t
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Pulse.Lib.BoundedIntegers.bounded_int", "Pulse.Lib.BoundedIntegers.ok", "Pulse.Lib.BoundedIntegers.op_Plus", "Prims.int", "Pulse.Lib.BoundedIntegers.bounded_int_int" ]
[]
false
false
false
false
false
let add (#t: eqtype) {| _: bounded_int t |} (x: t) (y: t{ok ( + ) x y}) =
x + y
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.add3_alt
val add3_alt : {| _: Pulse.Lib.BoundedIntegers.bounded_int t |} -> x: t -> y: t -> z: t { Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus x y /\ Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus (x + y) z } -> t
let add3_alt (#t:eqtype) {| bounded_int t |} (x:t) (y:t) (z:t { ok (+) x y /\ ok (+) (x + y) z}) = x + y + z
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 108, "end_line": 114, "start_col": 0, "start_line": 114 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
{| _: Pulse.Lib.BoundedIntegers.bounded_int t |} -> x: t -> y: t -> z: t { Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus x y /\ Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus (x + y) z } -> t
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Pulse.Lib.BoundedIntegers.bounded_int", "Prims.l_and", "Pulse.Lib.BoundedIntegers.ok", "Pulse.Lib.BoundedIntegers.op_Plus", "Prims.int", "Pulse.Lib.BoundedIntegers.bounded_int_int" ]
[]
false
false
false
false
false
let add3_alt (#t: eqtype) {| _: bounded_int t |} (x y: t) (z: t{ok ( + ) x y /\ ok ( + ) (x + y) z}) =
x + y + z
false
Spec.Curve25519.fst
Spec.Curve25519.decodeScalar
val decodeScalar : k: Spec.Curve25519.scalar -> Spec.Curve25519.scalar
let decodeScalar (k:scalar) = let k : scalar = k.[0] <- (k.[0] &. u8 248) in let k : scalar = k.[31] <- (k.[31] &. u8 127) in let k : scalar = k.[31] <- (k.[31] |. u8 64) in k
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 45, "start_col": 0, "start_line": 42 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
k: Spec.Curve25519.scalar -> Spec.Curve25519.scalar
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.scalar", "Lib.Sequence.op_String_Assignment", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.op_Bar_Dot", "Lib.Sequence.op_String_Access", "Lib.IntTypes.u8", "Lib.IntTypes.op_Amp_Dot" ]
[]
false
false
false
true
false
let decodeScalar (k: scalar) =
let k:scalar = k.[ 0 ] <- (k.[ 0 ] &. u8 248) in let k:scalar = k.[ 31 ] <- (k.[ 31 ] &. u8 127) in let k:scalar = k.[ 31 ] <- (k.[ 31 ] |. u8 64) in k
false
Vale.AES.GCM_s.fst
Vale.AES.GCM_s.compute_iv_BE
val compute_iv_BE : _: Vale.Def.Types_s.quad32 -> _: Vale.AES.GCM_s.supported_iv_LE -> Vale.Def.Types_s.quad32
let compute_iv_BE = opaque_make compute_iv_BE_def
{ "file_name": "vale/specs/crypto/Vale.AES.GCM_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 35, "start_col": 19, "start_line": 35 }
module Vale.AES.GCM_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GHash_s open FStar.Seq open FStar.Mul unfold type gcm_plain_LE = gctr_plain_LE unfold type gcm_auth_LE = gctr_plain_LE #reset-options "--z3rlimit 3...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Vale.AES.GHash_s.fst.checked", "Vale.AES.GCTR_s.fst.checked", "Vale.AES.AES_s.fst.checked", "prims.fst.che...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash_s", "short_module": null }, { "abbrev": false, "full_module": "Vale....
{ "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...
false
_: Vale.Def.Types_s.quad32 -> _: Vale.AES.GCM_s.supported_iv_LE -> Vale.Def.Types_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.Def.Types_s.quad32", "Vale.AES.GCM_s.supported_iv_LE", "Vale.AES.GCM_s.compute_iv_BE_def" ]
[]
false
false
false
true
false
let compute_iv_BE =
opaque_make compute_iv_BE_def
false
Spec.Curve25519.fst
Spec.Curve25519.double
val double : nq: (Spec.Curve25519.elem * Spec.Curve25519.elem) -> Spec.Curve25519.elem * Spec.Curve25519.elem
let double nq = let x_2, z_2 = nq in let a = x_2 +% z_2 in let b = x_2 -% z_2 in let aa = a *% a in let bb = b *% b in let e = aa -% bb in let e121665 = e *% 121665 in let aa_e121665 = e121665 +% aa in let x_2 = aa *% bb in let z_2 = e *% aa_e121665 in x_2, z_2
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 90, "start_col": 0, "start_line": 79 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
nq: (Spec.Curve25519.elem * Spec.Curve25519.elem) -> Spec.Curve25519.elem * Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple2", "Spec.Curve25519.op_Star_Percent", "Spec.Curve25519.op_Plus_Percent", "Spec.Curve25519.op_Subtraction_Percent" ]
[]
false
false
false
true
false
let double nq =
let x_2, z_2 = nq in let a = x_2 +% z_2 in let b = x_2 -% z_2 in let aa = a *% a in let bb = b *% b in let e = aa -% bb in let e121665 = e *% 121665 in let aa_e121665 = e121665 +% aa in let x_2 = aa *% bb in let z_2 = e *% aa_e121665 in x_2, z_2
false
Spec.Curve25519.fst
Spec.Curve25519.montgomery_ladder
val montgomery_ladder (init: elem) (k: scalar) : Tot proj_point
val montgomery_ladder (init: elem) (k: scalar) : Tot proj_point
let montgomery_ladder (init:elem) (k:scalar) : Tot proj_point = let q = (init, one) in let nq = (one, zero) in let nqp1 = (init, one) in // bit 255 is 0 and bit 254 is 1 let nq,nqp1 = cswap2 (u64 1) nq nqp1 in let nq,nqp1 = add_and_double q nq nqp1 in let swap = u64 1 in // bits 253-3 depend on scalar ...
{ "file_name": "specs/Spec.Curve25519.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 118, "start_col": 0, "start_line": 103 }
module Spec.Curve25519 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Curve25519.Lemmas #set-options "--z3rlimit 30 --ifuel 0 --fuel 0" (* Field types and parameters *) let prime : pos = pow2 255 - 19 type elem = x:nat{x < prime} let zero : elem = 0 let one : elem = 1 let fadd...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.Lemmas.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked"...
[ { "abbrev": false, "full_module": "Spec.Curve25519.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full...
{ "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...
false
init: Spec.Curve25519.elem -> k: Spec.Curve25519.scalar -> Spec.Curve25519.proj_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Curve25519.elem", "Spec.Curve25519.scalar", "Spec.Curve25519.proj_point", "FStar.Pervasives.Native.tuple2", "Lib.IntTypes.uint64", "Spec.Curve25519.double", "Spec.Curve25519.cswap2", "FStar.Pervasives.Native.tuple3", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.Loop...
[]
false
false
false
true
false
let montgomery_ladder (init: elem) (k: scalar) : Tot proj_point =
let q = (init, one) in let nq = (one, zero) in let nqp1 = (init, one) in let nq, nqp1 = cswap2 (u64 1) nq nqp1 in let nq, nqp1 = add_and_double q nq nqp1 in let swap = u64 1 in let nq, nqp1, swap = Lib.LoopCombinators.repeati 251 (ladder_step k q) (nq, nqp1, swap) in let nq, nqp1 = cswap2 swap nq nqp1 in let nq = doubl...
false
Vale.AES.GCM_s.fst
Vale.AES.GCM_s.gcm_encrypt_LE_reveal
val gcm_encrypt_LE_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.GCM_s.gcm_encrypt_LE == Vale.AES.GCM_s.gcm_encrypt_LE_def)
let gcm_encrypt_LE_reveal = opaque_revealer (`%gcm_encrypt_LE) gcm_encrypt_LE gcm_encrypt_LE_def
{ "file_name": "vale/specs/crypto/Vale.AES.GCM_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 108, "end_line": 67, "start_col": 12, "start_line": 67 }
module Vale.AES.GCM_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GHash_s open FStar.Seq open FStar.Mul unfold type gcm_plain_LE = gctr_plain_LE unfold type gcm_auth_LE = gctr_plain_LE #reset-options "--z3rlimit 3...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Vale.AES.GHash_s.fst.checked", "Vale.AES.GCTR_s.fst.checked", "Vale.AES.AES_s.fst.checked", "prims.fst.che...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash_s", "short_module": null }, { "abbrev": false, "full_module": "Vale....
{ "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...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.GCM_s.gcm_encrypt_LE == Vale.AES.GCM_s.gcm_encrypt_LE_def)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "Vale.AES.GCM_s.supported_iv_LE", "FStar.Pervasives.Native.tuple2", "Prims.l_and", "Vale.AES.AES_common_s.is_aes_key", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length",...
[]
true
false
true
false
false
let gcm_encrypt_LE_reveal =
opaque_revealer (`%gcm_encrypt_LE) gcm_encrypt_LE gcm_encrypt_LE_def
false
Vale.AES.GCM_s.fst
Vale.AES.GCM_s.gcm_encrypt_LE
val gcm_encrypt_LE : alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> iv: Vale.AES.GCM_s.supported_iv_LE -> plain: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> auth: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> Prims.Pure (FStar.Seq.Base.seq Vale.Def.Types_s.n...
let gcm_encrypt_LE = opaque_make gcm_encrypt_LE_def
{ "file_name": "vale/specs/crypto/Vale.AES.GCM_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 66, "start_col": 19, "start_line": 66 }
module Vale.AES.GCM_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GHash_s open FStar.Seq open FStar.Mul unfold type gcm_plain_LE = gctr_plain_LE unfold type gcm_auth_LE = gctr_plain_LE #reset-options "--z3rlimit 3...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Vale.AES.GHash_s.fst.checked", "Vale.AES.GCTR_s.fst.checked", "Vale.AES.AES_s.fst.checked", "prims.fst.che...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash_s", "short_module": null }, { "abbrev": false, "full_module": "Vale....
{ "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...
false
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> iv: Vale.AES.GCM_s.supported_iv_LE -> plain: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> auth: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> Prims.Pure (FStar.Seq.Base.seq Vale.Def.Types_s.nat8 * FStar.Seq....
Prims.Pure
[]
[]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "Vale.AES.GCM_s.supported_iv_LE", "FStar.Pervasives.Native.tuple2", "Prims.l_and", "Vale.AES.AES_common_s.is_aes_key", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "...
[]
false
false
false
false
false
let gcm_encrypt_LE =
opaque_make gcm_encrypt_LE_def
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.add3
val add3 : {| _: Pulse.Lib.BoundedIntegers.bounded_int t |} -> x: t -> y: t -> z: t { Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus x y /\ Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus z (x + y) } -> t
let add3 (#t:eqtype) {| bounded_int t |} (x:t) (y:t) (z:t { ok (+) x y /\ ok (+) z (x + y)}) = x + y + z
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 104, "end_line": 110, "start_col": 0, "start_line": 110 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
{| _: Pulse.Lib.BoundedIntegers.bounded_int t |} -> x: t -> y: t -> z: t { Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus x y /\ Pulse.Lib.BoundedIntegers.ok Pulse.Lib.BoundedIntegers.op_Plus z (x + y) } -> t
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Pulse.Lib.BoundedIntegers.bounded_int", "Prims.l_and", "Pulse.Lib.BoundedIntegers.ok", "Pulse.Lib.BoundedIntegers.op_Plus", "Prims.int", "Pulse.Lib.BoundedIntegers.bounded_int_int" ]
[]
false
false
false
false
false
let add3 (#t: eqtype) {| _: bounded_int t |} (x y: t) (z: t{ok ( + ) x y /\ ok ( + ) z (x + y)}) =
x + y + z
false
Vale.AES.GCM_s.fst
Vale.AES.GCM_s.compute_iv_BE_reveal
val compute_iv_BE_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.GCM_s.compute_iv_BE == Vale.AES.GCM_s.compute_iv_BE_def)
let compute_iv_BE_reveal = opaque_revealer (`%compute_iv_BE) compute_iv_BE compute_iv_BE_def
{ "file_name": "vale/specs/crypto/Vale.AES.GCM_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 104, "end_line": 36, "start_col": 12, "start_line": 36 }
module Vale.AES.GCM_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GHash_s open FStar.Seq open FStar.Mul unfold type gcm_plain_LE = gctr_plain_LE unfold type gcm_auth_LE = gctr_plain_LE #reset-options "--z3rlimit 3...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Vale.AES.GHash_s.fst.checked", "Vale.AES.GCTR_s.fst.checked", "Vale.AES.AES_s.fst.checked", "prims.fst.che...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash_s", "short_module": null }, { "abbrev": false, "full_module": "Vale....
{ "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...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.GCM_s.compute_iv_BE == Vale.AES.GCM_s.compute_iv_BE_def)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.Def.Types_s.quad32", "Vale.AES.GCM_s.supported_iv_LE", "Vale.AES.GCM_s.compute_iv_BE", "Vale.AES.GCM_s.compute_iv_BE_def" ]
[]
true
false
true
false
false
let compute_iv_BE_reveal =
opaque_revealer (`%compute_iv_BE) compute_iv_BE compute_iv_BE_def
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.bounded_int_size_t
[@@ FStar.Tactics.Typeclasses.tcinstance] val bounded_int_size_t:bounded_int FStar.SizeT.t
[@@ FStar.Tactics.Typeclasses.tcinstance] val bounded_int_size_t:bounded_int FStar.SizeT.t
instance bounded_int_size_t : bounded_int FStar.SizeT.t = { fits = (fun x -> x >= 0 /\ FStar.SizeT.fits x); v = (fun x -> FStar.SizeT.v x); u = (fun x -> FStar.SizeT.uint_to_t x); ( + ) = (fun x y -> FStar.SizeT.add x y); op_Subtraction = (fun x y -> FStar.SizeT.sub x y); ( < ) = (fun x y -> FSt...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 212, "start_col": 0, "start_line": 202 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": false, "full_module": "FStar.SizeT", "short_module": null }, { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Lib.BoundedIntegers.bounded_int FStar.SizeT.t
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.BoundedIntegers.Mkbounded_int", "FStar.SizeT.t", "Prims.int", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.SizeT.fits", "Prims.prop", "FStar.SizeT.v", "Pulse.Lib.BoundedIntegers.fits_t", "FStar.SizeT.uint_to_t", "FStar.SizeT.add", "FStar.SizeT.sub", "FStar.S...
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let bounded_int_size_t:bounded_int FStar.SizeT.t =
{ fits = (fun x -> x >= 0 /\ FStar.SizeT.fits x); v = (fun x -> FStar.SizeT.v x); u = (fun x -> FStar.SizeT.uint_to_t x); ( + ) = (fun x y -> FStar.SizeT.add x y); ( - ) = (fun x y -> FStar.SizeT.sub x y); ( < ) = (fun x y -> let open FStar.SizeT in x <^ y); ( <= ) = (fun x y -> let open FStar.SizeT in x ...
false
Pulse.Lib.BoundedIntegers.fst
Pulse.Lib.BoundedIntegers.add_nat
val add_nat : x: Prims.nat -> y: Prims.nat -> Prims.nat
let add_nat (x y:nat) = x + y
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.BoundedIntegers.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 29, "end_line": 182, "start_col": 0, "start_line": 182 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Pulse.Lib.BoundedInt...
[ { "abbrev": true, "full_module": "FStar.Tactics.Typeclasses", "short_module": "TC" }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.nat -> y: Prims.nat -> Prims.nat
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Pulse.Lib.BoundedIntegers.op_Plus", "Pulse.Lib.BoundedIntegers.bounded_int_nat" ]
[]
false
false
false
true
false
let add_nat (x y: nat) =
x + y
false
Vale.Test.X64.Memcpy.fst
Vale.Test.X64.Memcpy.va_lemma_Copy16
val va_lemma_Copy16 : va_b0:va_code -> va_s0:va_state -> t:taint -> bsrc:buffer64 -> bdst:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Copy16 t) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Decls.locs_disjoint ([Vale.X64.Decls.loc_buffer #Vale.X64.Memory.vuint64 bsrc; Vale.X64.D...
val va_lemma_Copy16 : va_b0:va_code -> va_s0:va_state -> t:taint -> bsrc:buffer64 -> bdst:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Copy16 t) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Decls.locs_disjoint ([Vale.X64.Decls.loc_buffer #Vale.X64.Memory.vuint64 bsrc; Vale.X64.D...
let va_lemma_Copy16 va_b0 va_s0 t bsrc bdst = va_reveal_opaque (`%va_code_Copy16) (va_code_Copy16 t); let (va_old_s:va_state) = va_s0 in let (va_b1:va_codes) = va_get_block va_b0 in let (va_s2, va_fc2) = va_lemma_Load64_buffer (va_hd va_b1) va_s0 (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRax) (v...
{ "file_name": "obj/Vale.Test.X64.Memcpy.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 75, "start_col": 0, "start_line": 54 }
module Vale.Test.X64.Memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem #reset-options "--z3rlimit 20" //-- Copy16 val va_code_Copy16 : t:taint -> Tot va_code [@ "opaque_to_smt"] let va_code_Copy16 t = (va_Bl...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.Arch.HeapImpl.fsti.checked", "prims.fst.che...
[ { "abbrev": false, "full_module": "Vale.X64.InsMem", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Decls", "short_module": null }, { "abbrev": false, "full_mod...
{ "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...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> t: Vale.Arch.HeapTypes_s.taint -> bsrc: Vale.X64.Memory.buffer64 -> bdst: Vale.X64.Memory.buffer64 -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_lemma_merge_total", "FStar.Pervasives.Native.tuple2", "Vale.X64.State.vale_state", "Vale.X64.Decls.va_lem...
[]
false
false
false
false
false
let va_lemma_Copy16 va_b0 va_s0 t bsrc bdst =
va_reveal_opaque (`%va_code_Copy16) (va_code_Copy16 t); let va_old_s:va_state = va_s0 in let va_b1:va_codes = va_get_block va_b0 in let va_s2, va_fc2 = va_lemma_Load64_buffer (va_hd va_b1) va_s0 (va_op_heaplet_mem_heaplet 0) (va_op_dst_opr64_reg64 rRax) (va_op_reg_opr64_reg64 rRsi) 0 t bsr...
false