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
Spec.P256.PointOps.fst
Spec.P256.PointOps.is_on_curve
val is_on_curve (p: aff_point) : bool
val is_on_curve (p: aff_point) : bool
let is_on_curve (p:aff_point) : bool = let (x, y) = p in y *% y = x *% x *% x +% a_coeff *% x +% b_coeff
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 78, "start_col": 0, "start_line": 77 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.aff_point -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.aff_point", "Prims.nat", "Prims.op_Equality", "Spec.P256.PointOps.felem", "Spec.P256.PointOps.op_Star_Percent", "Spec.P256.PointOps.op_Plus_Percent", "Spec.P256.PointOps.a_coeff", "Spec.P256.PointOps.b_coeff", "Prims.bool" ]
[]
false
false
false
true
false
let is_on_curve (p: aff_point) : bool =
let x, y = p in y *% y = x *% x *% x +% a_coeff *% x +% b_coeff
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.point_at_inf
val point_at_inf:proj_point
val point_at_inf:proj_point
let point_at_inf : proj_point = (zero, one, zero)
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 82, "start_col": 0, "start_line": 82 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple3", "Prims.nat", "Spec.P256.PointOps.zero", "Spec.P256.PointOps.one" ]
[]
false
false
false
true
false
let point_at_inf:proj_point =
(zero, one, zero)
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.is_aff_point_at_inf
val is_aff_point_at_inf (p: aff_point) : bool
val is_aff_point_at_inf (p: aff_point) : bool
let is_aff_point_at_inf (p:aff_point) : bool = let (x, y) = p in x = zero && y = zero
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 85, "start_col": 0, "start_line": 84 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.aff_point -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.aff_point", "Prims.nat", "Prims.op_AmpAmp", "Prims.op_Equality", "Spec.P256.PointOps.zero", "Prims.bool" ]
[]
false
false
false
true
false
let is_aff_point_at_inf (p: aff_point) : bool =
let x, y = p in x = zero && y = zero
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.base_point
val base_point:proj_point
val base_point:proj_point
let base_point : proj_point = (g_x, g_y, one)
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 74, "start_col": 0, "start_line": 74 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple3", "Prims.nat", "Spec.P256.PointOps.g_x", "Spec.P256.PointOps.g_y", "Spec.P256.PointOps.one" ]
[]
false
false
false
true
false
let base_point:proj_point =
(g_x, g_y, one)
false
MerkleTree.Low.Hashfunctions.fst
MerkleTree.Low.Hashfunctions.init_hash
val init_hash (hsz: hash_size_t) (r: HST.erid) : HST.St (hash #hsz)
val init_hash (hsz: hash_size_t) (r: HST.erid) : HST.St (hash #hsz)
let init_hash (hsz:hash_size_t) (r:HST.erid): HST.St (hash #hsz) = rg_alloc (hreg hsz) r
{ "file_name": "src/MerkleTree.Low.Hashfunctions.fst", "git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
{ "end_col": 23, "end_line": 40, "start_col": 0, "start_line": 39 }
module MerkleTree.Low.Hashfunctions open EverCrypt.Helpers open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MerkleTree.Spec.fst.checked", "MerkleTree.New.High.fst.checked", "MerkleTree.Low.Datastructures.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar...
[ { "abbrev": false, "full_module": "MerkleTree.Low.Datastructures", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.Spec", "short_module": "MTS" }, { "abbrev": true, ...
{ "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
hsz: MerkleTree.Low.Datastructures.hash_size_t -> r: FStar.HyperStack.ST.erid -> FStar.HyperStack.ST.St MerkleTree.Low.Datastructures.hash
FStar.HyperStack.ST.St
[]
[]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.HyperStack.ST.erid", "LowStar.Regional.rg_alloc", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hreg" ]
[]
false
true
false
false
false
let init_hash (hsz: hash_size_t) (r: HST.erid) : HST.St (hash #hsz) =
rg_alloc (hreg hsz) r
false
Pulse.Checker.STApp.fst
Pulse.Checker.STApp.check
val check (g:env) (pre:term) (pre_typing:tot_typing g pre tm_vprop) (post_hint:post_hint_opt g) (res_ppname:ppname) (t:st_term{Tm_STApp? t.term}) : T.Tac (checker_result_t g pre post_hint)
val check (g:env) (pre:term) (pre_typing:tot_typing g pre tm_vprop) (post_hint:post_hint_opt g) (res_ppname:ppname) (t:st_term{Tm_STApp? t.term}) : T.Tac (checker_result_t g pre post_hint)
let check (g0:env) (ctxt:vprop) (ctxt_typing:tot_typing g0 ctxt tm_vprop) (post_hint:post_hint_opt g0) (res_ppname:ppname) (t:st_term { Tm_STApp? t.term }) : T.Tac (checker_result_t g0 ctxt post_hint) = let g0 = push_context "st_app" t.range g0 in let range = t.range in let (| uvs, g, t |) = insta...
{ "file_name": "lib/steel/pulse/Pulse.Checker.STApp.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 117, "end_line": 251, "start_col": 0, "start_line": 211 }
(* 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": [ "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.Show.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse.Checker.Pure.fsti.checked", "Pulse.Checker.Prover....
[ { "abbrev": false, "full_module": "Pulse.Show", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Checker.Prover", "short_module": "Prover" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
g: Pulse.Typing.Env.env -> pre: Pulse.Syntax.Base.term -> pre_typing: Pulse.Typing.tot_typing g pre Pulse.Syntax.Base.tm_vprop -> post_hint: Pulse.Typing.post_hint_opt g -> res_ppname: Pulse.Syntax.Base.ppname -> t: Pulse.Syntax.Base.st_term{Tm_STApp? (Mkst_term?.term t)} -> FStar.Tactics.Eff...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.vprop", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.tm_vprop", "Pulse.Typing.post_hint_opt", "Pulse.Syntax.Base.ppname", "Pulse.Syntax.Base.st_term", "Prims.b2t", "Pulse.Syntax.Base.uu___is_Tm_STApp", "Pulse.Syntax.Base.__proj__Mkst_term__item__term", ...
[]
false
true
false
false
false
let check (g0: env) (ctxt: vprop) (ctxt_typing: tot_typing g0 ctxt tm_vprop) (post_hint: post_hint_opt g0) (res_ppname: ppname) (t: st_term{Tm_STApp? t.term}) : T.Tac (checker_result_t g0 ctxt post_hint) =
let g0 = push_context "st_app" t.range g0 in let range = t.range in let (| uvs , g , t |) = instantiate_implicits g0 t in assert (g `env_extends` g0); let post_hint:post_hint_opt g = post_hint in let Tm_STApp { head = head ; arg_qual = qual ; arg = arg } = t.term in let (| head , eff_head , ty_head , dhead |) = compute...
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.a_coeff
val a_coeff:felem
val a_coeff:felem
let a_coeff : felem = (-3) % prime
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 60, "start_col": 0, "start_line": 60 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.felem
Prims.Tot
[ "total" ]
[]
[ "Prims.op_Modulus", "Prims.op_Minus", "Spec.P256.PointOps.prime" ]
[]
false
false
false
true
false
let a_coeff:felem =
(- 3) % prime
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.to_proj_point
val to_proj_point (p: aff_point) : proj_point
val to_proj_point (p: aff_point) : proj_point
let to_proj_point (p:aff_point) : proj_point = let (x, y) = p in (x, y, one)
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 92, "start_col": 0, "start_line": 91 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.aff_point -> Spec.P256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.aff_point", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "Spec.P256.PointOps.one", "Spec.P256.PointOps.proj_point" ]
[]
false
false
false
true
false
let to_proj_point (p: aff_point) : proj_point =
let x, y = p in (x, y, one)
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.aff_point_add
val aff_point_add (p q: aff_point) : aff_point
val aff_point_add (p q: aff_point) : aff_point
let aff_point_add (p:aff_point) (q:aff_point) : aff_point = let (px, py) = p in let (qx, qy) = q in if is_aff_point_at_inf p then q else begin if is_aff_point_at_inf q then p else begin if p = q then aff_point_double p else begin if qx = px then aff_point_at_inf else begin ...
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 134, "start_col": 0, "start_line": 117 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.aff_point -> q: Spec.P256.PointOps.aff_point -> Spec.P256.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.aff_point", "Prims.nat", "Spec.P256.PointOps.is_aff_point_at_inf", "Prims.bool", "Prims.op_Equality", "Spec.P256.PointOps.aff_point_double", "Spec.P256.PointOps.aff_point_at_inf", "FStar.Pervasives.Native.Mktuple2", "Spec.P256.PointOps.felem", "Spec.P256.PointOps.op_Subtraction...
[]
false
false
false
true
false
let aff_point_add (p q: aff_point) : aff_point =
let px, py = p in let qx, qy = q in if is_aff_point_at_inf p then q else if is_aff_point_at_inf q then p else if p = q then aff_point_double p else if qx = px then aff_point_at_inf else let lambda = (qy -% py) /% (qx -% px) in let rx = lambda *% lambda -% px -% qx in ...
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.recover_y
val recover_y (x: felem) (is_odd: bool) : option felem
val recover_y (x: felem) (is_odd: bool) : option felem
let recover_y (x:felem) (is_odd:bool) : option felem = let y2 = x *% x *% x +% a_coeff *% x +% b_coeff in let y = fsqrt y2 in if y *% y <> y2 then None else begin let y = if is_fodd y <> is_odd then (prime - y) % prime else y in Some y end
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 264, "start_col": 0, "start_line": 258 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.felem -> is_odd: Prims.bool -> FStar.Pervasives.Native.option Spec.P256.PointOps.felem
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.felem", "Prims.bool", "Prims.op_disEquality", "Spec.P256.PointOps.op_Star_Percent", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.Some", "Spec.P256.PointOps.is_fodd", "Prims.op_Modulus", "Prims.op_Subtraction", "Spec.P256.PointOps.prime", "FStar.Pervasives.Native.o...
[]
false
false
false
true
false
let recover_y (x: felem) (is_odd: bool) : option felem =
let y2 = x *% x *% x +% a_coeff *% x +% b_coeff in let y = fsqrt y2 in if y *% y <> y2 then None else let y = if is_fodd y <> is_odd then (prime - y) % prime else y in Some y
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.to_aff_point
val to_aff_point (p: proj_point) : aff_point
val to_aff_point (p: proj_point) : aff_point
let to_aff_point (p:proj_point) : aff_point = // if is_proj_point_at_inf p then aff_point_at_inf let (px, py, pz) = p in let zinv = finv pz in let x = px *% zinv in let y = py *% zinv in (x, y)
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 100, "start_col": 0, "start_line": 94 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.proj_point -> Spec.P256.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.proj_point", "Prims.nat", "FStar.Pervasives.Native.Mktuple2", "Spec.P256.PointOps.felem", "Spec.P256.PointOps.op_Star_Percent", "Spec.P256.PointOps.finv", "Spec.P256.PointOps.aff_point" ]
[]
false
false
false
true
false
let to_aff_point (p: proj_point) : aff_point =
let px, py, pz = p in let zinv = finv pz in let x = px *% zinv in let y = py *% zinv in (x, y)
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.point_double
val point_double (p: proj_point) : proj_point
val point_double (p: proj_point) : proj_point
let point_double (p:proj_point) : proj_point = let (x, y, z) = p in let t0 = x *% x in let t1 = y *% y in let t2 = z *% z in let t3 = x *% y in let t3 = t3 +% t3 in let t4 = y *% z in let z3 = x *% z in let z3 = z3 +% z3 in let y3 = b_coeff *% t2 in let y3 = y3 -% z3 in let x3 = y3 +% y3 in le...
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 226, "start_col": 0, "start_line": 190 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.proj_point -> Spec.P256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.proj_point", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "Spec.P256.PointOps.felem", "Spec.P256.PointOps.op_Plus_Percent", "Spec.P256.PointOps.op_Star_Percent", "Spec.P256.PointOps.op_Subtraction_Percent", "Spec.P256.PointOps.b_coeff" ]
[]
false
false
false
true
false
let point_double (p: proj_point) : proj_point =
let x, y, z = p in let t0 = x *% x in let t1 = y *% y in let t2 = z *% z in let t3 = x *% y in let t3 = t3 +% t3 in let t4 = y *% z in let z3 = x *% z in let z3 = z3 +% z3 in let y3 = b_coeff *% t2 in let y3 = y3 -% z3 in let x3 = y3 +% y3 in let y3 = x3 +% y3 in let x3 = t1 -% y3 in let y3 = t1 +% y3 in let y3 = x3 *%...
false
LList2.fst
LList2.llist_nil
val llist_nil (p: ptr cell) : Tot vprop
val llist_nil (p: ptr cell) : Tot vprop
let llist_nil (p: ptr cell) : Tot vprop = pure (p == null _)
{ "file_name": "share/steel/examples/steelc/LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 41, "start_col": 0, "start_line": 40 }
module LList2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.ST.C.Types.Struct.Aux open Steel.ST.C.Types.UserStruct // hides Struct module U32 = FStar.UInt32 noeq type cell_t = { hd: scalar_t U32.t; tl: scalar_t (ptr_gen cell_t); } noextract inline_for_extraction [@@ norm_field_attr] let cell_struct_def ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.UserStruct.fsti.checked", "Steel.ST.C.Types.Struct.Aux.fsti.checked", "Steel.ST.C.Types.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct // hides Struct", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct", "short_module": null }, ...
{ "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
p: Steel.ST.C.Types.Base.ptr LList2.cell -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.Base.ptr", "LList2.cell_t", "LList2.cell", "Steel.ST.Util.pure", "Prims.eq2", "Steel.ST.C.Types.Base.null", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let llist_nil (p: ptr cell) : Tot vprop =
pure (p == null _)
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.aff_point_double
val aff_point_double (p: aff_point) : aff_point
val aff_point_double (p: aff_point) : aff_point
let aff_point_double (p:aff_point) : aff_point = let (px, py) = p in if is_aff_point_at_inf p then p else begin if py = 0 then aff_point_at_inf else begin let lambda = (3 *% px *% px +% a_coeff) /% (2 *% py) in let rx = lambda *% lambda -% px -% px in let ry = lambda *% (px -% rx) -% py ...
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 115, "start_col": 0, "start_line": 105 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.aff_point -> Spec.P256.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.aff_point", "Prims.nat", "Spec.P256.PointOps.is_aff_point_at_inf", "Prims.bool", "Prims.op_Equality", "Prims.int", "Spec.P256.PointOps.aff_point_at_inf", "FStar.Pervasives.Native.Mktuple2", "Spec.P256.PointOps.felem", "Spec.P256.PointOps.op_Subtraction_Percent", "Spec.P256.Po...
[]
false
false
false
true
false
let aff_point_double (p: aff_point) : aff_point =
let px, py = p in if is_aff_point_at_inf p then p else if py = 0 then aff_point_at_inf else let lambda = (3 *% px *% px +% a_coeff) /% (2 *% py) in let rx = lambda *% lambda -% px -% px in let ry = lambda *% (px -% rx) -% py in (rx, ry)
false
LList2.fst
LList2.cell
val cell : Steel.ST.C.Types.Base.typedef LList2.cell_t
let cell = struct_typedef cell_struct_def
{ "file_name": "share/steel/examples/steelc/LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 41, "end_line": 37, "start_col": 0, "start_line": 37 }
module LList2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.ST.C.Types.Struct.Aux open Steel.ST.C.Types.UserStruct // hides Struct module U32 = FStar.UInt32 noeq type cell_t = { hd: scalar_t U32.t; tl: scalar_t (ptr_gen cell_t); } noextract inline_for_extraction [@@ norm_field_attr] let cell_struct_def ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.UserStruct.fsti.checked", "Steel.ST.C.Types.Struct.Aux.fsti.checked", "Steel.ST.C.Types.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct // hides Struct", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct", "short_module": null }, ...
{ "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
Steel.ST.C.Types.Base.typedef LList2.cell_t
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.UserStruct.struct_typedef", "LList2.cell_t", "LList2.cell_struct_def" ]
[]
false
false
false
true
false
let cell =
struct_typedef cell_struct_def
false
MerkleTree.Low.Hashfunctions.fst
MerkleTree.Low.Hashfunctions.free_hash
val free_hash (#hsz: Ghost.erased hash_size_t) (h: hash #hsz) : HST.ST unit (requires (fun h0 -> (Rgl?.r_inv (hreg hsz)) h0 h)) (ensures (fun _ _ _ -> True))
val free_hash (#hsz: Ghost.erased hash_size_t) (h: hash #hsz) : HST.ST unit (requires (fun h0 -> (Rgl?.r_inv (hreg hsz)) h0 h)) (ensures (fun _ _ _ -> True))
let free_hash (#hsz:Ghost.erased hash_size_t) (h:hash #hsz): HST.ST unit (requires (fun h0 -> (Rgl?.r_inv (hreg hsz)) h0 h)) (ensures (fun _ _ _ -> True)) = B.free h
{ "file_name": "src/MerkleTree.Low.Hashfunctions.fst", "git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
{ "end_col": 10, "end_line": 49, "start_col": 0, "start_line": 44 }
module MerkleTree.Low.Hashfunctions open EverCrypt.Helpers open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MerkleTree.Spec.fst.checked", "MerkleTree.New.High.fst.checked", "MerkleTree.Low.Datastructures.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar...
[ { "abbrev": false, "full_module": "MerkleTree.Low.Datastructures", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.Spec", "short_module": "MTS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 2, "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
h: MerkleTree.Low.Datastructures.hash -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.Low.Datastructures.hash", "FStar.Ghost.reveal", "LowStar.Monotonic.Buffer.free", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "LowStar.Regional.__proj__Rgl__it...
[]
false
true
false
false
false
let free_hash (#hsz: Ghost.erased hash_size_t) (h: hash #hsz) : HST.ST unit (requires (fun h0 -> (Rgl?.r_inv (hreg hsz)) h0 h)) (ensures (fun _ _ _ -> True)) =
B.free h
false
LList2.fst
LList2.pllist0
val pllist0 (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop
val pllist0 (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop
let pllist0 (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop = exists_ (fun (pc: ptr cell) -> pts_to p (mk_scalar pc) `star` llist pc l )
{ "file_name": "share/steel/examples/steelc/LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 98, "start_col": 0, "start_line": 91 }
module LList2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.ST.C.Types.Struct.Aux open Steel.ST.C.Types.UserStruct // hides Struct module U32 = FStar.UInt32 noeq type cell_t = { hd: scalar_t U32.t; tl: scalar_t (ptr_gen cell_t); } noextract inline_for_extraction [@@ norm_field_attr] let cell_struct_def ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.UserStruct.fsti.checked", "Steel.ST.C.Types.Struct.Aux.fsti.checked", "Steel.ST.C.Types.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct // hides Struct", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct", "short_module": null }, ...
{ "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
p: Steel.ST.C.Types.Base.ref (Steel.ST.C.Types.Scalar.scalar (Steel.ST.C.Types.Base.ptr LList2.cell )) -> l: FStar.Ghost.erased (Prims.list FStar.UInt32.t) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.Base.ref", "Steel.ST.C.Types.Scalar.scalar_t", "Steel.ST.C.Types.Base.ptr", "LList2.cell_t", "LList2.cell", "Steel.ST.C.Types.Scalar.scalar", "FStar.Ghost.erased", "Prims.list", "FStar.UInt32.t", "Steel.ST.Util.exists_", "Steel.Effect.Common.star", "Steel.ST.C.Types.Base.pts_...
[]
false
false
false
true
false
let pllist0 (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop =
exists_ (fun (pc: ptr cell) -> (pts_to p (mk_scalar pc)) `star` (llist pc l))
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.point_add
val point_add (p q: proj_point) : proj_point
val point_add (p q: proj_point) : proj_point
let point_add (p q:proj_point) : proj_point = let x1, y1, z1 = p in let x2, y2, z2 = q in let t0 = x1 *% x2 in let t1 = y1 *% y2 in let t2 = z1 *% z2 in let t3 = x1 +% y1 in let t4 = x2 +% y2 in let t3 = t3 *% t4 in let t4 = t0 +% t1 in let t3 = t3 -% t4 in let t4 = y1 +% z1 in let t5 = y2 +% z2...
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 186, "start_col": 0, "start_line": 140 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.proj_point -> q: Spec.P256.PointOps.proj_point -> Spec.P256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.proj_point", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "Spec.P256.PointOps.felem", "Spec.P256.PointOps.op_Plus_Percent", "Spec.P256.PointOps.op_Star_Percent", "Spec.P256.PointOps.op_Subtraction_Percent", "Spec.P256.PointOps.b_coeff" ]
[]
false
false
false
true
false
let point_add (p q: proj_point) : proj_point =
let x1, y1, z1 = p in let x2, y2, z2 = q in let t0 = x1 *% x2 in let t1 = y1 *% y2 in let t2 = z1 *% z2 in let t3 = x1 +% y1 in let t4 = x2 +% y2 in let t3 = t3 *% t4 in let t4 = t0 +% t1 in let t3 = t3 -% t4 in let t4 = y1 +% z1 in let t5 = y2 +% z2 in let t4 = t4 *% t5 in let t5 = t1 +% t2 in let t4 = t4 -% t5 in let...
false
LList2.fst
LList2.pllist
val pllist (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop
val pllist (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop
let pllist (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop = pllist0 p l
{ "file_name": "share/steel/examples/steelc/LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 104, "start_col": 0, "start_line": 100 }
module LList2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.ST.C.Types.Struct.Aux open Steel.ST.C.Types.UserStruct // hides Struct module U32 = FStar.UInt32 noeq type cell_t = { hd: scalar_t U32.t; tl: scalar_t (ptr_gen cell_t); } noextract inline_for_extraction [@@ norm_field_attr] let cell_struct_def ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.UserStruct.fsti.checked", "Steel.ST.C.Types.Struct.Aux.fsti.checked", "Steel.ST.C.Types.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct // hides Struct", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct", "short_module": null }, ...
{ "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
p: Steel.ST.C.Types.Base.ref (Steel.ST.C.Types.Scalar.scalar (Steel.ST.C.Types.Base.ptr LList2.cell )) -> l: FStar.Ghost.erased (Prims.list FStar.UInt32.t) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.Base.ref", "Steel.ST.C.Types.Scalar.scalar_t", "Steel.ST.C.Types.Base.ptr", "LList2.cell_t", "LList2.cell", "Steel.ST.C.Types.Scalar.scalar", "FStar.Ghost.erased", "Prims.list", "FStar.UInt32.t", "LList2.pllist0", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let pllist (p: ref (scalar (ptr cell))) (l: Ghost.erased (list U32.t)) : Tot vprop =
pllist0 p l
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.aff_point_store
val aff_point_store (p: aff_point) : BSeq.lbytes 64
val aff_point_store (p: aff_point) : BSeq.lbytes 64
let aff_point_store (p:aff_point) : BSeq.lbytes 64 = let (px, py) = p in let pxb = BSeq.nat_to_bytes_be 32 px in let pxy = BSeq.nat_to_bytes_be 32 py in concat #uint8 #32 #32 pxb pxy
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 251, "start_col": 0, "start_line": 247 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.aff_point -> Lib.ByteSequence.lbytes 64
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.aff_point", "Prims.nat", "Lib.Sequence.concat", "Lib.IntTypes.uint8", "Lib.Sequence.seq", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.l_and", "Prims.eq2", "Lib.Sequence.length", "Prims.l_or", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "P...
[]
false
false
false
false
false
let aff_point_store (p: aff_point) : BSeq.lbytes 64 =
let px, py = p in let pxb = BSeq.nat_to_bytes_be 32 px in let pxy = BSeq.nat_to_bytes_be 32 py in concat #uint8 #32 #32 pxb pxy
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.point_store
val point_store (p: proj_point) : BSeq.lbytes 64
val point_store (p: proj_point) : BSeq.lbytes 64
let point_store (p:proj_point) : BSeq.lbytes 64 = aff_point_store (to_aff_point p)
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 255, "start_col": 0, "start_line": 254 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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.P256.PointOps.proj_point -> Lib.ByteSequence.lbytes 64
Prims.Tot
[ "total" ]
[]
[ "Spec.P256.PointOps.proj_point", "Spec.P256.PointOps.aff_point_store", "Spec.P256.PointOps.to_aff_point", "Lib.ByteSequence.lbytes" ]
[]
false
false
false
false
false
let point_store (p: proj_point) : BSeq.lbytes 64 =
aff_point_store (to_aff_point p)
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.load_point
val load_point (b: BSeq.lbytes 64) : option proj_point
val load_point (b: BSeq.lbytes 64) : option proj_point
let load_point (b:BSeq.lbytes 64) : option proj_point = match (aff_point_load b) with | Some p -> Some (to_proj_point p) | None -> None
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 244, "start_col": 0, "start_line": 241 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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
b: Lib.ByteSequence.lbytes 64 -> FStar.Pervasives.Native.option Spec.P256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.lbytes", "Spec.P256.PointOps.aff_point_load", "Spec.P256.PointOps.aff_point", "FStar.Pervasives.Native.Some", "Spec.P256.PointOps.proj_point", "Spec.P256.PointOps.to_proj_point", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option" ]
[]
false
false
false
false
false
let load_point (b: BSeq.lbytes 64) : option proj_point =
match (aff_point_load b) with | Some p -> Some (to_proj_point p) | None -> None
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.aff_point_load
val aff_point_load (b: BSeq.lbytes 64) : option aff_point
val aff_point_load (b: BSeq.lbytes 64) : option aff_point
let aff_point_load (b:BSeq.lbytes 64) : option aff_point = let pk_x = BSeq.nat_from_bytes_be (sub b 0 32) in let pk_y = BSeq.nat_from_bytes_be (sub b 32 32) in let is_x_valid = pk_x < prime in let is_y_valid = pk_y < prime in let is_xy_on_curve = if is_x_valid && is_y_valid then is_on_curve (pk_x, pk_y) e...
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 238, "start_col": 0, "start_line": 231 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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
b: Lib.ByteSequence.lbytes 64 -> FStar.Pervasives.Native.option Spec.P256.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.lbytes", "FStar.Pervasives.Native.Some", "Spec.P256.PointOps.aff_point", "FStar.Pervasives.Native.Mktuple2", "Prims.nat", "Prims.bool", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option", "Prims.op_AmpAmp", "Spec.P256.PointOps.is_on_curve", "Prims.op_LessThan", ...
[]
false
false
false
false
false
let aff_point_load (b: BSeq.lbytes 64) : option aff_point =
let pk_x = BSeq.nat_from_bytes_be (sub b 0 32) in let pk_y = BSeq.nat_from_bytes_be (sub b 32 32) in let is_x_valid = pk_x < prime in let is_y_valid = pk_y < prime in let is_xy_on_curve = if is_x_valid && is_y_valid then is_on_curve (pk_x, pk_y) else false in if is_xy_on_curve then Some (pk_x, pk_y) else None
false
Vale.SHA.PPC64LE.Rounds.fsti
Vale.SHA.PPC64LE.Rounds.va_wp_Loop_rounds_16_47
val va_wp_Loop_rounds_16_47 (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_16_47 (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_16_47 (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (l_or (i == 16) (i == 32) /\ validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b (i `op_Division` 4 + 1) 4 (va_get_me...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 351, "start_col": 0, "start_line": 292 }
module Vale.SHA.PPC64LE.Rounds open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.SHA.PPC64LE.Rounds.Core.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.SHA.PPC64LE.Rounds.Core", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, ...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.l_or", "Prims.eq2", "Prims.int", "Vale.PPC64LE.Decls.v...
[]
false
false
false
true
true
let va_wp_Loop_rounds_16_47 (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_or (i == 16) (i == 32) /\ validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b (i `op_Division` 4 + 1) 4 (va_get_mem_layout va_s0) Secret /\ (let ks = buffer128_as_seq (va_get_mem_heaplet 0 va_s0) k_b in k_reqs ks /\ va_g...
false
Spec.P256.PointOps.fst
Spec.P256.PointOps.aff_point_decompress
val aff_point_decompress (s: BSeq.lbytes 33) : option aff_point
val aff_point_decompress (s: BSeq.lbytes 33) : option aff_point
let aff_point_decompress (s:BSeq.lbytes 33) : option aff_point = let s0 = Lib.RawIntTypes.u8_to_UInt8 s.[0] in if not (s0 = 0x02uy || s0 = 0x03uy) then None else begin let x = BSeq.nat_from_bytes_be (sub s 1 32) in let is_x_valid = x < prime in let is_y_odd = s0 = 0x03uy in if not is_x_valid then...
{ "file_name": "specs/Spec.P256.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 279, "start_col": 0, "start_line": 267 }
module Spec.P256.PointOps open FStar.Mul open Lib.IntTypes open Lib.Sequence module M = Lib.NatMod module BSeq = Lib.ByteSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Base field // 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff let prime: (a:pos{a = 0xffffffff0000000100000000000...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Pervasives.Native.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.NatMod", "short_module": "M" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Li...
{ "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
s: Lib.ByteSequence.lbytes 33 -> FStar.Pervasives.Native.option Spec.P256.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.lbytes", "Prims.op_Negation", "Prims.op_BarBar", "Prims.op_Equality", "FStar.UInt8.t", "FStar.UInt8.__uint_to_t", "FStar.Pervasives.Native.None", "Spec.P256.PointOps.aff_point", "Prims.bool", "Spec.P256.PointOps.recover_y", "Spec.P256.PointOps.felem", "FStar.Pervasives.Native...
[]
false
false
false
false
false
let aff_point_decompress (s: BSeq.lbytes 33) : option aff_point =
let s0 = Lib.RawIntTypes.u8_to_UInt8 s.[ 0 ] in if not (s0 = 0x02uy || s0 = 0x03uy) then None else let x = BSeq.nat_from_bytes_be (sub s 1 32) in let is_x_valid = x < prime in let is_y_odd = s0 = 0x03uy in if not is_x_valid then None else match (recover_y x is_y_odd) with | Some y -> Some (x, y) ...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.felem2
val felem2 : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
let felem2 (s:field_spec) = lbuffer (limb s) (nlimb s +. nlimb s)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 65, "start_col": 0, "start_line": 65 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.Buffer.lbuffer", "Hacl.Impl.Curve25519.Fields.Core.limb", "Lib.IntTypes.op_Plus_Dot", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Curve25519.Fields.Core.nlimb" ]
[]
false
false
false
true
true
let felem2 (s: field_spec) =
lbuffer (limb s) (nlimb s +. nlimb s)
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.felem
val felem : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
let felem (s:field_spec) = lbuffer (limb s) (nlimb s)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 53, "end_line": 63, "start_col": 0, "start_line": 63 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.Buffer.lbuffer", "Hacl.Impl.Curve25519.Fields.Core.limb", "Hacl.Impl.Curve25519.Fields.Core.nlimb" ]
[]
false
false
false
true
true
let felem (s: field_spec) =
lbuffer (limb s) (nlimb s)
false
Hacl.Spec.K256.Field52.Definitions.Lemmas.fst
Hacl.Spec.K256.Field52.Definitions.Lemmas.lemma_pow2_260_mod_prime
val lemma_pow2_260_mod_prime: unit -> Lemma (pow2 260 % S.prime = 0x1000003D10)
val lemma_pow2_260_mod_prime: unit -> Lemma (pow2 260 % S.prime = 0x1000003D10)
let lemma_pow2_260_mod_prime () = calc (==) { pow2 260 % S.prime; (==) { Math.Lemmas.pow2_plus 256 4 } pow2 256 * pow2 4 % S.prime; (==) { Math.Lemmas.lemma_mod_mul_distr_l (pow2 256) (pow2 4) S.prime } (pow2 256 % S.prime) * pow2 4 % S.prime; (==) { lemma_prime () } 0x1000003D1 * pow2 4 %...
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Definitions.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 89, "start_col": 0, "start_line": 76 }
module Hacl.Spec.K256.Field52.Definitions.Lemmas open FStar.Mul open Lib.IntTypes open Hacl.Spec.K256.Field52.Definitions module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module S = Spec.K256 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lemma_as_nat_mod2: x:f...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "FStar.UInt32.f...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_mo...
{ "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.unit -> FStar.Pervasives.Lemma (ensures Prims.pow2 260 % Spec.K256.PointOps.prime = 0x1000003D10)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Prims.pow2", "Spec.K256.PointOps.prime", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "FStar.Calc.calc_step", "FStar.Mul.op_Star", "FStar.Calc.calc_init", "FStar.Calc.calc_pack", "FStar.Math.L...
[]
false
false
true
false
false
let lemma_pow2_260_mod_prime () =
calc ( == ) { pow2 260 % S.prime; ( == ) { Math.Lemmas.pow2_plus 256 4 } pow2 256 * pow2 4 % S.prime; ( == ) { Math.Lemmas.lemma_mod_mul_distr_l (pow2 256) (pow2 4) S.prime } (pow2 256 % S.prime) * pow2 4 % S.prime; ( == ) { lemma_prime () } 0x1000003D1 * pow2 4 % S.prime; ( == ) { assert_norm (0x100000...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits1
val f51_felem_fits1 : x: Lib.IntTypes.uint64 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64 -> Prims.bool
let f51_felem_fits1 = Hacl.Spec.Curve25519.Field51.Definition.felem_fits1
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 92, "start_col": 0, "start_line": 92 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Lib.IntTypes.uint64 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64 -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem_fits1" ]
[]
false
false
false
true
false
let f51_felem_fits1 =
Hacl.Spec.Curve25519.Field51.Definition.felem_fits1
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits
val f51_felem_fits (h: mem) (f: felem M51) (m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5) : Type0
val f51_felem_fits (h: mem) (f: felem M51) (m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5) : Type0
let f51_felem_fits (h:mem) (f:felem M51) (m:Hacl.Spec.Curve25519.Field51.Definition.scale64_5): Type0 = Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 (f51_as_felem h f) m
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 89, "start_col": 0, "start_line": 88 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "Hacl.Spec.Curve25519.Field51.Definition.scale64_5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "Hacl.Impl.Curve25519.Fields.Core.f51_as_felem" ]
[]
false
false
false
true
true
let f51_felem_fits (h: mem) (f: felem M51) (m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5) : Type0 =
Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 (f51_as_felem h f) m
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.felem_wide2
val felem_wide2 : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
let felem_wide2 (s:field_spec) = lbuffer (wide s) (nwide s +. nwide s)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 69, "start_col": 0, "start_line": 69 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.Buffer.lbuffer", "Hacl.Impl.Curve25519.Fields.Core.wide", "Lib.IntTypes.op_Plus_Dot", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Curve25519.Fields.Core.nwide" ]
[]
false
false
false
true
true
let felem_wide2 (s: field_spec) =
lbuffer (wide s) (nwide s +. nwide s)
false
LList2.fst
LList2.cell_struct_def
val cell_struct_def:struct_def cell_t
val cell_struct_def:struct_def cell_t
let cell_struct_def : struct_def cell_t = let fields = FStar.Set.add "hd" (FStar.Set.singleton "tl") in let field_desc : field_description_gen_t (field_t fields) = { fd_nonempty = nonempty_set_nonempty_type "hd" fields; fd_type = (fun (n: field_t fields) -> match n with "hd" -> scalar_t U32.t | "tl" -> scal...
{ "file_name": "share/steel/examples/steelc/LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 32, "start_col": 0, "start_line": 18 }
module LList2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.ST.C.Types.Struct.Aux open Steel.ST.C.Types.UserStruct // hides Struct module U32 = FStar.UInt32 noeq type cell_t = { hd: scalar_t U32.t; tl: scalar_t (ptr_gen cell_t); } noextract inline_for_extraction
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.UserStruct.fsti.checked", "Steel.ST.C.Types.Struct.Aux.fsti.checked", "Steel.ST.C.Types.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct // hides Struct", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct", "short_module": null }, ...
{ "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
Steel.ST.C.Types.UserStruct.struct_def LList2.cell_t
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.UserStruct.Mkstruct_def", "LList2.cell_t", "Steel.ST.C.Types.UserStruct.field_t", "Steel.ST.C.Types.Struct.Aux.__proj__Mkfield_description_gen_t__item__fd_type", "LList2.Mkcell_t", "LList2.__proj__Mkcell_t__item__hd", "LList2.__proj__Mkcell_t__item__tl", "Prims.unit", "Prims.l_True...
[]
false
false
false
true
false
let cell_struct_def:struct_def cell_t =
let fields = FStar.Set.add "hd" (FStar.Set.singleton "tl") in let field_desc:field_description_gen_t (field_t fields) = { fd_nonempty = nonempty_set_nonempty_type "hd" fields; fd_type = (fun (n: field_t fields) -> match n with | "hd" -> scalar_t U32.t | "tl" -> scalar_t (ptr_ge...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.f51_as_nat
val f51_as_nat : h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Prims.nat
let f51_as_nat h e = Hacl.Spec.Curve25519.Field51.Definition.as_nat5 (f51_as_felem h e)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 85, "start_col": 0, "start_line": 85 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "Hacl.Impl.Curve25519.Fields.Core.f51_as_felem", "Prims.nat" ]
[]
false
false
false
false
false
let f51_as_nat h e =
Hacl.Spec.Curve25519.Field51.Definition.as_nat5 (f51_as_felem h e)
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.f51_mul_inv_t
val f51_mul_inv_t (h: mem) (f: felem M51) : GTot Type0
val f51_mul_inv_t (h: mem) (f: felem M51) : GTot Type0
let f51_mul_inv_t (h:mem) (f:felem M51) : GTot Type0 = let f = f51_as_felem h f in Hacl.Spec.Curve25519.Field51.mul_inv_t f
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 97, "start_col": 0, "start_line": 95 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "Hacl.Spec.Curve25519.Field51.mul_inv_t", "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Impl.Curve25519.Fields.Core.f51_as_felem" ]
[]
false
false
false
false
true
let f51_mul_inv_t (h: mem) (f: felem M51) : GTot Type0 =
let f = f51_as_felem h f in Hacl.Spec.Curve25519.Field51.mul_inv_t f
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.felem_wide
val felem_wide : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
let felem_wide (s:field_spec) = lbuffer (wide s) (nwide s)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 67, "start_col": 0, "start_line": 67 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.Buffer.lbuffer", "Hacl.Impl.Curve25519.Fields.Core.wide", "Hacl.Impl.Curve25519.Fields.Core.nwide" ]
[]
false
false
false
true
true
let felem_wide (s: field_spec) =
lbuffer (wide s) (nwide s)
false
LList2.fst
LList2.llist_cons
val llist_cons (p: ptr cell) (a: U32.t) (q: Ghost.erased (list U32.t)) (llist: (ptr cell -> l: Ghost.erased (list U32.t) {List.Tot.length l < List.Tot.length (a :: q)} -> Tot vprop)) : Tot vprop
val llist_cons (p: ptr cell) (a: U32.t) (q: Ghost.erased (list U32.t)) (llist: (ptr cell -> l: Ghost.erased (list U32.t) {List.Tot.length l < List.Tot.length (a :: q)} -> Tot vprop)) : Tot vprop
let llist_cons (p: ptr cell) (a: U32.t) (q: Ghost.erased (list U32.t)) (llist: (ptr cell -> (l: Ghost.erased (list U32.t) { List.Tot.length l < List.Tot.length (a :: q) }) -> Tot vprop)) : Tot vprop = exists_ (fun (p1: ref cell) -> exists_ (fun (p2: ptr cell) -> pts_to p1 ({ hd = mk_scalar a; tl = mk_scalar p2 })...
{ "file_name": "share/steel/examples/steelc/LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 4, "end_line": 50, "start_col": 0, "start_line": 44 }
module LList2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.ST.C.Types.Struct.Aux open Steel.ST.C.Types.UserStruct // hides Struct module U32 = FStar.UInt32 noeq type cell_t = { hd: scalar_t U32.t; tl: scalar_t (ptr_gen cell_t); } noextract inline_for_extraction [@@ norm_field_attr] let cell_struct_def ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.UserStruct.fsti.checked", "Steel.ST.C.Types.Struct.Aux.fsti.checked", "Steel.ST.C.Types.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct // hides Struct", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct", "short_module": null }, ...
{ "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
p: Steel.ST.C.Types.Base.ptr LList2.cell -> a: FStar.UInt32.t -> q: FStar.Ghost.erased (Prims.list FStar.UInt32.t) -> llist: ( _: Steel.ST.C.Types.Base.ptr LList2.cell -> l: FStar.Ghost.erased (Prims.list FStar.UInt32.t) { FStar.List.Tot.Base....
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.Base.ptr", "LList2.cell_t", "LList2.cell", "FStar.UInt32.t", "FStar.Ghost.erased", "Prims.list", "Prims.b2t", "Prims.op_LessThan", "FStar.List.Tot.Base.length", "FStar.Ghost.reveal", "Prims.Cons", "Steel.Effect.Common.vprop", "Steel.ST.Util.exists_", "Steel.ST.C.Types.Bas...
[]
false
false
false
false
false
let llist_cons (p: ptr cell) (a: U32.t) (q: Ghost.erased (list U32.t)) (llist: (ptr cell -> l: Ghost.erased (list U32.t) {List.Tot.length l < List.Tot.length (a :: q)} -> Tot vprop)) : Tot vprop =
exists_ (fun (p1: ref cell) -> exists_ (fun (p2: ptr cell) -> (((pts_to p1 ({ hd = mk_scalar a; tl = mk_scalar p2 })) `star` (llist p2 q)) `star` (freeable p1)) `star` (pure (p == p1))))
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fadd_t
val fadd_t : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
let fadd_t (s:field_spec) (p: Type0) = out:felem s -> f1:felem s -> f2:felem s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h f2 /\ (disjoint out f1 \/ out == f1) /\ (disjoint out f2 \/ out == f2) /\ (disjoint f1 f2 \/ f1 == f2) /\ fadd_fsub_pre...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 149, "start_col": 0, "start_line": 135 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Hacl.Impl.Curve25519.Fields.Core.felem", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Fields.Core.limb", "Prims.l_or", "Lib.Buffer.disjoint", "Prims.eq2", "Hacl.Impl.Cur...
[]
false
false
false
true
true
let fadd_t (s: field_spec) (p: Type0) =
out: felem s -> f1: felem s -> f2: felem s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h f2 /\ (disjoint out f1 \/ out == f1) /\ (disjoint out f2 \/ out == f2) /\ (disjoint f1 f2 \/ f1 == f2) /\ fadd_fsub_pre h f1 f2) (ensures fun h0 _ h1 -> ...
false
LList2.fst
LList2.llist
val llist (p: ptr cell) (l: Ghost.erased (list U32.t)) : Tot vprop (decreases (List.Tot.length l))
val llist (p: ptr cell) (l: Ghost.erased (list U32.t)) : Tot vprop (decreases (List.Tot.length l))
let rec llist (p: ptr cell) (l: Ghost.erased (list U32.t)) : Tot vprop (decreases (List.Tot.length l)) = match Ghost.reveal l with | [] -> llist_nil p | a :: q -> llist_cons p a q llist
{ "file_name": "share/steel/examples/steelc/LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 55, "start_col": 0, "start_line": 52 }
module LList2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.ST.C.Types.Struct.Aux open Steel.ST.C.Types.UserStruct // hides Struct module U32 = FStar.UInt32 noeq type cell_t = { hd: scalar_t U32.t; tl: scalar_t (ptr_gen cell_t); } noextract inline_for_extraction [@@ norm_field_attr] let cell_struct_def ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.UserStruct.fsti.checked", "Steel.ST.C.Types.Struct.Aux.fsti.checked", "Steel.ST.C.Types.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct // hides Struct", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.ST.C.Types.UserStruct", "short_module": null }, ...
{ "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
p: Steel.ST.C.Types.Base.ptr LList2.cell -> l: FStar.Ghost.erased (Prims.list FStar.UInt32.t) -> Prims.Tot Steel.Effect.Common.vprop
Prims.Tot
[ "total", "" ]
[]
[ "Steel.ST.C.Types.Base.ptr", "LList2.cell_t", "LList2.cell", "FStar.Ghost.erased", "Prims.list", "FStar.UInt32.t", "FStar.Ghost.reveal", "LList2.llist_nil", "LList2.llist_cons", "FStar.Ghost.hide", "LList2.llist", "Steel.Effect.Common.vprop" ]
[ "recursion" ]
false
false
false
true
false
let rec llist (p: ptr cell) (l: Ghost.erased (list U32.t)) : Tot vprop (decreases (List.Tot.length l)) =
match Ghost.reveal l with | [] -> llist_nil p | a :: q -> llist_cons p a q llist
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fsub_t
val fsub_t : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
let fsub_t (s:field_spec) (p: Type0) = out:felem s -> f1:felem s -> f2:felem s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h f2 /\ (disjoint out f1 \/ out == f1) /\ (disjoint out f2 \/ out == f2) /\ (disjoint f1 f2 \/ f1 == f2) /\ fadd_fsub_pre...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 173, "start_col": 0, "start_line": 159 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Hacl.Impl.Curve25519.Fields.Core.felem", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Fields.Core.limb", "Prims.l_or", "Lib.Buffer.disjoint", "Prims.eq2", "Hacl.Impl.Cur...
[]
false
false
false
true
true
let fsub_t (s: field_spec) (p: Type0) =
out: felem s -> f1: felem s -> f2: felem s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h f2 /\ (disjoint out f1 \/ out == f1) /\ (disjoint out f2 \/ out == f2) /\ (disjoint f1 f2 \/ f1 == f2) /\ fadd_fsub_pre h f1 f2) (ensures fun h0 _ h1 -> ...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fmul_t
val fmul_t : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
let fmul_t (s:field_spec) (p: Type0) = out:felem s -> f1:felem s -> f2:felem s -> tmp:felem_wide2 s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h f2 /\ live h tmp /\ fmul_disjoint out f1 f2 tmp /\ fmul_pre h f1 f2) (ensures fun h0 _ h1 -> modif...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 215, "start_col": 0, "start_line": 202 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.felem_wide2", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Fields.Core.limb", "Hacl.Impl.Curve2551...
[]
false
false
false
true
true
let fmul_t (s: field_spec) (p: Type0) =
out: felem s -> f1: felem s -> f2: felem s -> tmp: felem_wide2 s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h f2 /\ live h tmp /\ fmul_disjoint out f1 f2 tmp /\ fmul_pre h f1 f2) (ensures fun h0 _ h1 -> modifies (loc out |+| loc tmp)...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.nlimb
val nlimb (s: field_spec) : size_t
val nlimb (s: field_spec) : size_t
let nlimb (s:field_spec) : size_t = match s with | M51 -> 5ul | M64 -> 4ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 42, "start_col": 0, "start_line": 39 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Lib.IntTypes.size_t
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t" ]
[]
false
false
false
true
false
let nlimb (s: field_spec) : size_t =
match s with | M51 -> 5ul | M64 -> 4ul
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.limb
val limb : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
let limb (s:field_spec) = match s with | M51 -> uint64 | M64 -> uint64
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 30, "start_col": 0, "start_line": 27 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.IntTypes.uint64" ]
[]
false
false
false
true
true
let limb (s: field_spec) =
match s with | M51 -> uint64 | M64 -> uint64
false
Steel.ST.GhostPCMReference.fst
Steel.ST.GhostPCMReference.alloc
val alloc (#o:inames) (#a:Type) (#pcm:pcm a) (x:a) : STGhost (ref a pcm) o emp (fun r -> pts_to r x) (requires pcm.refine x) (ensures fun _ -> True)
val alloc (#o:inames) (#a:Type) (#pcm:pcm a) (x:a) : STGhost (ref a pcm) o emp (fun r -> pts_to r x) (requires pcm.refine x) (ensures fun _ -> True)
let alloc (#o:inames) (#a:Type) (#pcm:pcm a) (x:a) : STGhost (ref a pcm) o emp (fun r -> pts_to r x) (requires pcm.refine x) (ensures fun _ -> True) = coerce_ghost (fun _ -> G.alloc (raise_val x))
{ "file_name": "lib/steel/Steel.ST.GhostPCMReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 49, "end_line": 42, "start_col": 0, "start_line": 33 }
(* Copyright 2021 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.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "prims.fst.checked", "FStar.Universe.PCM.fst.checked", "FStar.Universe.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.chec...
[ { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "G" }, { "abbrev": true, "full_module": "FStar.Universe.PCM", "short_module": "UP" }, { "abbrev": false, "full_module": "FStar.Universe", "short_module": null }, { "abbrev": false, "fu...
{ "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: a -> Steel.ST.Effect.Ghost.STGhost (Steel.ST.GhostPCMReference.ref a pcm)
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "FStar.PCM.pcm", "Steel.ST.Coercions.coerce_ghost", "Steel.GhostPCMReference.ref", "FStar.Universe.raise_t", "FStar.Universe.PCM.raise", "Steel.Effect.Common.emp", "Steel.GhostPCMReference.pts_to", "FStar.Universe.raise_val", "Steel.Effect.Common.vprop", "FStar.PCM.__proj_...
[]
false
true
false
false
false
let alloc (#o: inames) (#a: Type) (#pcm: pcm a) (x: a) : STGhost (ref a pcm) o emp (fun r -> pts_to r x) (requires pcm.refine x) (ensures fun _ -> True) =
coerce_ghost (fun _ -> G.alloc (raise_val x))
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fsqr_t
val fsqr_t : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
let fsqr_t (s:field_spec) (p: Type0) = out:felem s -> f1:felem s -> tmp:felem_wide s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h tmp /\ fsqr_disjoint out f1 tmp /\ fsqr_pre h f1) (ensures fun h0 _ h1 -> modifies (loc out |+| loc tmp) h0 h1 /\ ...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 323, "start_col": 0, "start_line": 310 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.felem_wide", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Fields.Core.limb", "Hacl.Impl.Curve25519...
[]
false
false
false
true
true
let fsqr_t (s: field_spec) (p: Type0) =
out: felem s -> f1: felem s -> tmp: felem_wide s -> Stack unit (requires fun h -> p /\ live h out /\ live h f1 /\ live h tmp /\ fsqr_disjoint out f1 tmp /\ fsqr_pre h f1) (ensures fun h0 _ h1 -> modifies (loc out |+| loc tmp) h0 h1 /\ state_inv_t h1 out /\ fev...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.feval
val feval (#s: field_spec) (h: mem) (e: felem s) : GTot P.elem
val feval (#s: field_spec) (h: mem) (e: felem s) : GTot P.elem
let feval (#s:field_spec) (h:mem) (e:felem s): GTot P.elem = (as_nat h e) % P.prime
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 116, "start_col": 0, "start_line": 115 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Fields.Core.felem s -> Prims.GTot Spec.Curve25519.elem
Prims.GTot
[ "sometrivial" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Prims.op_Modulus", "Hacl.Impl.Curve25519.Fields.Core.as_nat", "Spec.Curve25519.prime", "Spec.Curve25519.elem" ]
[]
false
false
false
false
false
let feval (#s: field_spec) (h: mem) (e: felem s) : GTot P.elem =
(as_nat h e) % P.prime
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.nwide
val nwide (s: field_spec) : size_t
val nwide (s: field_spec) : size_t
let nwide (s:field_spec) : size_t = match s with | M51 -> 5ul | M64 -> 8ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 60, "start_col": 0, "start_line": 57 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Lib.IntTypes.size_t
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t" ]
[]
false
false
false
true
false
let nwide (s: field_spec) : size_t =
match s with | M51 -> 5ul | M64 -> 8ul
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.add1_t
val add1_t : p: Type0 -> Type0
let add1_t (p: Type0) = out:felem M64 -> f1:felem M64 -> f2:uint64 -> Stack (Ghost.erased uint64) (requires fun h -> p /\ live h f1 /\ live h out /\ (disjoint out f1 \/ out == f1)) (ensures fun h0 c h1 -> modifies (loc out) h0 h1 /\ as_nat h1 out + v c * pow2 256 == as_nat h0 f1...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 60, "end_line": 392, "start_col": 0, "start_line": 384 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M64", "Lib.IntTypes.uint64", "FStar.Ghost.erased", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Fields.Core.limb", "Prims.l_or", "Lib.Buffer.disjoint", "Pr...
[]
false
false
false
true
true
let add1_t (p: Type0) =
out: felem M64 -> f1: felem M64 -> f2: uint64 -> Stack (Ghost.erased uint64) (requires fun h -> p /\ live h f1 /\ live h out /\ (disjoint out f1 \/ out == f1)) (ensures fun h0 c h1 -> modifies (loc out) h0 h1 /\ as_nat h1 out + v c * pow2 256 == as_nat h0 f1 + v f2)
false
Hacl.Impl.Ed25519.Field51.fst
Hacl.Impl.Ed25519.Field51.point
val point : Type0
let point = lbuffer uint64 20ul
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 15, "start_col": 0, "start_line": 15 }
module Hacl.Impl.Ed25519.Field51 open FStar.HyperStack open Lib.IntTypes open Lib.Buffer open FStar.Mul module LSeq = Lib.Sequence module P = Hacl.Impl.Curve25519.Field51 module S = Spec.Curve25519
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Spec.Curve25519.F...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field51", "short_module": "P" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, "fu...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let point =
lbuffer uint64 20ul
false
Hacl.Impl.Ed25519.Field51.fst
Hacl.Impl.Ed25519.Field51.felem
val felem : Type0
let felem = lbuffer uint64 5ul
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 14, "start_col": 0, "start_line": 14 }
module Hacl.Impl.Ed25519.Field51 open FStar.HyperStack open Lib.IntTypes open Lib.Buffer open FStar.Mul module LSeq = Lib.Sequence module P = Hacl.Impl.Curve25519.Field51 module S = Spec.Curve25519
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Spec.Curve25519.F...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field51", "short_module": "P" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, "fu...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let felem =
lbuffer uint64 5ul
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.wide
val wide : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
let wide (s:field_spec) = match s with | M51 -> uint128 | M64 -> uint64
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 48, "start_col": 0, "start_line": 45 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.IntTypes.uint128", "Lib.IntTypes.uint64" ]
[]
false
false
false
true
true
let wide (s: field_spec) =
match s with | M51 -> uint128 | M64 -> uint64
false
Hacl.Impl.Ed25519.Field51.fst
Hacl.Impl.Ed25519.Field51.fevalh
val fevalh (h: mem) (f: felem) : GTot S.elem
val fevalh (h: mem) (f: felem) : GTot S.elem
let fevalh (h:mem) (f:felem) : GTot S.elem = P.fevalh h f
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 19, "start_col": 0, "start_line": 19 }
module Hacl.Impl.Ed25519.Field51 open FStar.HyperStack open Lib.IntTypes open Lib.Buffer open FStar.Mul module LSeq = Lib.Sequence module P = Hacl.Impl.Curve25519.Field51 module S = Spec.Curve25519 let felem = lbuffer uint64 5ul let point = lbuffer uint64 20ul let as_nat (h:mem) (f:felem) : GTot nat = P.as_nat h ...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Spec.Curve25519.F...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field51", "short_module": "P" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, "fu...
{ "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
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Ed25519.Field51.felem -> Prims.GTot Spec.Curve25519.elem
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Ed25519.Field51.felem", "Hacl.Impl.Curve25519.Field51.fevalh", "Spec.Curve25519.elem" ]
[]
false
false
false
false
false
let fevalh (h: mem) (f: felem) : GTot S.elem =
P.fevalh h f
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.wide_zero
val wide_zero (s: field_spec) : wide s
val wide_zero (s: field_spec) : wide s
let wide_zero (s:field_spec) : wide s= match s with | M51 -> u128 0 | M64 -> u64 0
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 54, "start_col": 0, "start_line": 51 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Hacl.Impl.Curve25519.Fields.Core.wide s
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.IntTypes.u128", "Lib.IntTypes.u64", "Hacl.Impl.Curve25519.Fields.Core.wide" ]
[]
false
false
false
false
false
let wide_zero (s: field_spec) : wide s =
match s with | M51 -> u128 0 | M64 -> u64 0
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.limb_zero
val limb_zero (s: field_spec) : limb s
val limb_zero (s: field_spec) : limb s
let limb_zero (s:field_spec) : limb s= match s with | M51 -> u64 0 | M64 -> u64 0
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 36, "start_col": 0, "start_line": 33 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> Hacl.Impl.Curve25519.Fields.Core.limb s
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.IntTypes.u64", "Hacl.Impl.Curve25519.Fields.Core.limb" ]
[]
false
false
false
false
false
let limb_zero (s: field_spec) : limb s =
match s with | M51 -> u64 0 | M64 -> u64 0
false
Steel.ST.GhostPCMReference.fst
Steel.ST.GhostPCMReference.upd_gen
val upd_gen (#o:inames) (#a:Type) (#p:pcm a) (r:ref a p) (x y:a) (f:frame_preserving_upd p x y) : STGhostT unit o (pts_to r x) (fun _ -> pts_to r y)
val upd_gen (#o:inames) (#a:Type) (#p:pcm a) (r:ref a p) (x y:a) (f:frame_preserving_upd p x y) : STGhostT unit o (pts_to r x) (fun _ -> pts_to r y)
let upd_gen (#o:inames) (#a:Type) (#p:pcm a) (r:ref a p) (x y:a) (f:frame_preserving_upd p x y) : STGhostT unit o (pts_to r x) (fun _ -> pts_to r y) = coerce_ghost (fun _ -> G.upd_gen r (raise_val x) (raise_val y) (UP.raise_frame_pres...
{ "file_name": "lib/steel/Steel.ST.GhostPCMReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 101, "end_line": 80, "start_col": 0, "start_line": 71 }
(* Copyright 2021 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.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "prims.fst.checked", "FStar.Universe.PCM.fst.checked", "FStar.Universe.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.chec...
[ { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "G" }, { "abbrev": true, "full_module": "FStar.Universe.PCM", "short_module": "UP" }, { "abbrev": false, "full_module": "FStar.Universe", "short_module": null }, { "abbrev": false, "fu...
{ "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.ST.GhostPCMReference.ref a p -> x: a -> y: a -> f: FStar.PCM.frame_preserving_upd p x y -> Steel.ST.Effect.Ghost.STGhostT Prims.unit
Steel.ST.Effect.Ghost.STGhostT
[]
[]
[ "Steel.Memory.inames", "FStar.PCM.pcm", "Steel.ST.GhostPCMReference.ref", "FStar.PCM.frame_preserving_upd", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.GhostPCMReference.pts_to", "FStar.Universe.raise_t", "FStar.Universe.PCM.raise", "FStar.Universe.raise_val", "Steel.Effect.Common.vp...
[]
false
true
false
false
false
let upd_gen (#o: inames) (#a: Type) (#p: pcm a) (r: ref a p) (x y: a) (f: frame_preserving_upd p x y) : STGhostT unit o (pts_to r x) (fun _ -> pts_to r y) =
coerce_ghost (fun _ -> G.upd_gen r (raise_val x) (raise_val y) (UP.raise_frame_preserving_upd f))
false
Hacl.Impl.Ed25519.Field51.fst
Hacl.Impl.Ed25519.Field51.as_nat
val as_nat (h: mem) (f: felem) : GTot nat
val as_nat (h: mem) (f: felem) : GTot nat
let as_nat (h:mem) (f:felem) : GTot nat = P.as_nat h f
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 17, "start_col": 0, "start_line": 17 }
module Hacl.Impl.Ed25519.Field51 open FStar.HyperStack open Lib.IntTypes open Lib.Buffer open FStar.Mul module LSeq = Lib.Sequence module P = Hacl.Impl.Curve25519.Field51 module S = Spec.Curve25519 let felem = lbuffer uint64 5ul let point = lbuffer uint64 20ul
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Spec.Curve25519.F...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field51", "short_module": "P" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, "fu...
{ "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
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Ed25519.Field51.felem -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Ed25519.Field51.felem", "Hacl.Impl.Curve25519.Field51.as_nat", "Prims.nat" ]
[]
false
false
false
false
false
let as_nat (h: mem) (f: felem) : GTot nat =
P.as_nat h f
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fmul_pre
val fmul_pre (#s: field_spec) (h: mem) (f1 f2: felem s) : Type0
val fmul_pre (#s: field_spec) (h: mem) (f1 f2: felem s) : Type0
let fmul_pre (#s:field_spec) (h:mem) (f1:felem s) (f2:felem s): Type0 = match s with | M51 -> f51_felem_fits h f1 (9, 10, 9, 9, 9) /\ f51_felem_fits h f2 (9, 10, 9, 9, 9) | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 182, "start_col": 0, "start_line": 177 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f1: Hacl.Impl.Curve25519.Fields.Core.felem s -> f2: Hacl.Impl.Curve25519.Fields.Core.felem s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Prims.l_and", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.l_True" ]
[]
false
false
false
false
true
let fmul_pre (#s: field_spec) (h: mem) (f1 f2: felem s) : Type0 =
match s with | M51 -> f51_felem_fits h f1 (9, 10, 9, 9, 9) /\ f51_felem_fits h f2 (9, 10, 9, 9, 9) | M64 -> True
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.as_nat
val as_nat (#s: field_spec) (h: mem) (e: felem s) : GTot nat
val as_nat (#s: field_spec) (h: mem) (e: felem s) : GTot nat
let as_nat (#s:field_spec) (h:mem) (e:felem s): GTot nat = match s with | M51 -> f51_as_nat h e | M64 -> f64_as_nat h e
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 112, "start_col": 0, "start_line": 109 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Fields.Core.felem s -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.f51_as_nat", "Hacl.Impl.Curve25519.Fields.Core.f64_as_nat", "Prims.nat" ]
[]
false
false
false
false
false
let as_nat (#s: field_spec) (h: mem) (e: felem s) : GTot nat =
match s with | M51 -> f51_as_nat h e | M64 -> f64_as_nat h e
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fadd_post
val fadd_post (#s: field_spec) (h: mem) (out: felem s) : Type0
val fadd_post (#s: field_spec) (h: mem) (out: felem s) : Type0
let fadd_post (#s:field_spec) (h:mem) (out:felem s): Type0 = match s with | M51 -> f51_felem_fits h out (2, 4, 2, 2, 2) | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 132, "start_col": 0, "start_line": 129 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> out: Hacl.Impl.Curve25519.Fields.Core.felem s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.l_True" ]
[]
false
false
false
false
true
let fadd_post (#s: field_spec) (h: mem) (out: felem s) : Type0 =
match s with | M51 -> f51_felem_fits h out (2, 4, 2, 2, 2) | M64 -> True
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fsub_post
val fsub_post (#s: field_spec) (h: mem) (out: felem s) : Type0
val fsub_post (#s: field_spec) (h: mem) (out: felem s) : Type0
let fsub_post (#s:field_spec) (h:mem) (out:felem s): Type0 = match s with | M51 -> f51_felem_fits h out (9, 10, 9, 9, 9) | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 156, "start_col": 0, "start_line": 153 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> out: Hacl.Impl.Curve25519.Fields.Core.felem s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.l_True" ]
[]
false
false
false
false
true
let fsub_post (#s: field_spec) (h: mem) (out: felem s) : Type0 =
match s with | M51 -> f51_felem_fits h out (9, 10, 9, 9, 9) | M64 -> True
false
Hacl.Impl.Ed25519.Field51.fst
Hacl.Impl.Ed25519.Field51.felem_fits
val felem_fits: h:mem -> f:felem -> m:Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Type0
val felem_fits: h:mem -> f:felem -> m:Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Type0
let felem_fits h f m = P.felem_fits h f m
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 32, "start_col": 0, "start_line": 32 }
module Hacl.Impl.Ed25519.Field51 open FStar.HyperStack open Lib.IntTypes open Lib.Buffer open FStar.Mul module LSeq = Lib.Sequence module P = Hacl.Impl.Curve25519.Field51 module S = Spec.Curve25519 let felem = lbuffer uint64 5ul let point = lbuffer uint64 20ul let as_nat (h:mem) (f:felem) : GTot nat = P.as_nat h ...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Spec.Curve25519.F...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field51", "short_module": "P" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, "fu...
{ "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
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Ed25519.Field51.felem -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Ed25519.Field51.felem", "Hacl.Spec.Curve25519.Field51.Definition.scale64_5", "Hacl.Impl.Curve25519.Field51.felem_fits" ]
[]
false
false
false
true
true
let felem_fits h f m =
P.felem_fits h f m
false
Hacl.Impl.Ed25519.Field51.fst
Hacl.Impl.Ed25519.Field51.mul_inv_t
val mul_inv_t (h: mem) (f: felem) : GTot Type0
val mul_inv_t (h: mem) (f: felem) : GTot Type0
let mul_inv_t (h:mem) (f:felem) : GTot Type0 = P.mul_inv_t h f
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 40, "start_col": 0, "start_line": 39 }
module Hacl.Impl.Ed25519.Field51 open FStar.HyperStack open Lib.IntTypes open Lib.Buffer open FStar.Mul module LSeq = Lib.Sequence module P = Hacl.Impl.Curve25519.Field51 module S = Spec.Curve25519 let felem = lbuffer uint64 5ul let point = lbuffer uint64 20ul let as_nat (h:mem) (f:felem) : GTot nat = P.as_nat h ...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Spec.Curve25519.F...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field51", "short_module": "P" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, "fu...
{ "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
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Ed25519.Field51.felem -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Ed25519.Field51.felem", "Hacl.Impl.Curve25519.Field51.mul_inv_t" ]
[]
false
false
false
false
true
let mul_inv_t (h: mem) (f: felem) : GTot Type0 =
P.mul_inv_t h f
false
Hacl.Impl.Ed25519.Field51.fst
Hacl.Impl.Ed25519.Field51.as_felem
val as_felem : h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Ed25519.Field51.felem -> Prims.GTot Hacl.Spec.Curve25519.Field51.Definition.felem5
let as_felem (h:mem) (f:felem) = P.as_felem h f
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 36, "start_col": 0, "start_line": 35 }
module Hacl.Impl.Ed25519.Field51 open FStar.HyperStack open Lib.IntTypes open Lib.Buffer open FStar.Mul module LSeq = Lib.Sequence module P = Hacl.Impl.Curve25519.Field51 module S = Spec.Curve25519 let felem = lbuffer uint64 5ul let point = lbuffer uint64 20ul let as_nat (h:mem) (f:felem) : GTot nat = P.as_nat h ...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Spec.Curve25519.F...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field51", "short_module": "P" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, "fu...
{ "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
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Ed25519.Field51.felem -> Prims.GTot Hacl.Spec.Curve25519.Field51.Definition.felem5
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Ed25519.Field51.felem", "Hacl.Impl.Curve25519.Field51.as_felem", "Hacl.Spec.Curve25519.Field51.Definition.felem5" ]
[]
false
false
false
false
false
let as_felem (h: mem) (f: felem) =
P.as_felem h f
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fmul_disjoint
val fmul_disjoint (#s: field_spec) (out f1 f2: felem s) (tmp: felem_wide2 s) : Type0
val fmul_disjoint (#s: field_spec) (out f1 f2: felem s) (tmp: felem_wide2 s) : Type0
let fmul_disjoint (#s:field_spec) (out f1 f2:felem s) (tmp:felem_wide2 s): Type0 = match s with | M51 -> True | M64 -> (disjoint out f1 \/ out == f1) /\ (disjoint out f2 \/ out == f2) /\ (disjoint out tmp \/ out == tmp) /\ (disjoint f1 f2 \/ f1 == f2) /\ disjoint f1 tmp /\ disj...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 193, "start_col": 0, "start_line": 184 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
out: Hacl.Impl.Curve25519.Fields.Core.felem s -> f1: Hacl.Impl.Curve25519.Fields.Core.felem s -> f2: Hacl.Impl.Curve25519.Fields.Core.felem s -> tmp: Hacl.Impl.Curve25519.Fields.Core.felem_wide2 s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.felem_wide2", "Prims.l_True", "Prims.l_and", "Prims.l_or", "Lib.Buffer.disjoint", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Fields.Core.limb", "Prims.eq2", "Hacl.Impl.Curve255...
[]
false
false
false
false
true
let fmul_disjoint (#s: field_spec) (out f1 f2: felem s) (tmp: felem_wide2 s) : Type0 =
match s with | M51 -> True | M64 -> (disjoint out f1 \/ out == f1) /\ (disjoint out f2 \/ out == f2) /\ (disjoint out tmp \/ out == tmp) /\ (disjoint f1 f2 \/ f1 == f2) /\ disjoint f1 tmp /\ disjoint f2 tmp
false
Steel.ST.GhostPCMReference.fst
Steel.ST.GhostPCMReference.write
val write (#o:inames) (#a:Type) (#pcm:pcm a) (r:ref a pcm) (v0:a) (v1:a) : STGhost unit o (pts_to r v0) (fun _ -> pts_to r v1) (requires frame_preserving pcm v0 v1 /\ pcm.refine v1) (ensures fun _ -> True)
val write (#o:inames) (#a:Type) (#pcm:pcm a) (r:ref a pcm) (v0:a) (v1:a) : STGhost unit o (pts_to r v0) (fun _ -> pts_to r v1) (requires frame_preserving pcm v0 v1 /\ pcm.refine v1) (ensures fun _ -> True)
let write (#o:inames) (#a:Type) (#pcm:pcm a) (r:ref a pcm) (v0:a) (v1:a) : STGhost unit o (pts_to r v0) (fun _ -> pts_to r v1) (requires frame_preserving pcm v0 v1 /\ pcm.refine v1) (ensures fun _ -> True) = coerce_ghost (fun ...
{ "file_name": "lib/steel/Steel.ST.GhostPCMReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 67, "end_line": 69, "start_col": 0, "start_line": 58 }
(* Copyright 2021 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.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "prims.fst.checked", "FStar.Universe.PCM.fst.checked", "FStar.Universe.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.chec...
[ { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "G" }, { "abbrev": true, "full_module": "FStar.Universe.PCM", "short_module": "UP" }, { "abbrev": false, "full_module": "FStar.Universe", "short_module": null }, { "abbrev": false, "fu...
{ "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.ST.GhostPCMReference.ref a pcm -> v0: a -> v1: a -> Steel.ST.Effect.Ghost.STGhost Prims.unit
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "FStar.PCM.pcm", "Steel.ST.GhostPCMReference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.GhostPCMReference.pts_to", "FStar.Universe.raise_t", "FStar.Universe.PCM.raise", "FStar.Universe.raise_val", "Steel.Effect.Common.vprop", "Prims.l_and", "FStar.PCM....
[]
false
true
false
false
false
let write (#o: inames) (#a: Type) (#pcm: pcm a) (r: ref a pcm) (v0 v1: a) : STGhost unit o (pts_to r v0) (fun _ -> pts_to r v1) (requires frame_preserving pcm v0 v1 /\ pcm.refine v1) (ensures fun _ -> True) =
coerce_ghost (fun _ -> G.write r (raise_val v0) (raise_val v1))
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fadd_fsub_pre
val fadd_fsub_pre (#s: field_spec) (h: mem) (f1 f2: felem s) : Type0
val fadd_fsub_pre (#s: field_spec) (h: mem) (f1 f2: felem s) : Type0
let fadd_fsub_pre (#s:field_spec) (h:mem) (f1:felem s) (f2:felem s): Type0 = match s with | M51 -> f51_felem_fits h f1 (1, 2, 1, 1, 1) /\ f51_felem_fits h f2 (1, 2, 1, 1, 1) | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 127, "start_col": 0, "start_line": 122 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f1: Hacl.Impl.Curve25519.Fields.Core.felem s -> f2: Hacl.Impl.Curve25519.Fields.Core.felem s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Prims.l_and", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.l_True" ]
[]
false
false
false
false
true
let fadd_fsub_pre (#s: field_spec) (h: mem) (f1 f2: felem s) : Type0 =
match s with | M51 -> f51_felem_fits h f1 (1, 2, 1, 1, 1) /\ f51_felem_fits h f2 (1, 2, 1, 1, 1) | M64 -> True
false
Bug96.fst
Bug96.mini_t
val mini_t : Prims.eqtype
let mini_t = int
{ "file_name": "share/steel/examples/pulse/bug-reports/Bug96.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "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": [ "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Bug96.fst" }
[ { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "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
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Prims.int" ]
[]
false
false
false
true
false
let mini_t =
int
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.state_inv_t
val state_inv_t (#s: field_spec) (h: mem) (f: felem s) : Type0
val state_inv_t (#s: field_spec) (h: mem) (f: felem s) : Type0
let state_inv_t (#s:field_spec) (h:mem) (f:felem s): Type0 = match s with | M51 -> f51_mul_inv_t h f | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 199, "start_col": 0, "start_line": 196 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.f51_mul_inv_t", "Prims.l_True" ]
[]
false
false
false
false
true
let state_inv_t (#s: field_spec) (h: mem) (f: felem s) : Type0 =
match s with | M51 -> f51_mul_inv_t h f | M64 -> True
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fmul1_pre
val fmul1_pre (#s: field_spec) (h: mem) (f1: felem s) (f2: uint64) : Type0
val fmul1_pre (#s: field_spec) (h: mem) (f1: felem s) (f2: uint64) : Type0
let fmul1_pre (#s:field_spec) (h:mem) (f1:felem s) (f2:uint64): Type0 = match s with | M51 -> f51_felem_fits h f1 (9, 10, 9, 9, 9) /\ f51_felem_fits1 f2 1 | M64 -> v f2 < pow2 17
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 275, "start_col": 0, "start_line": 272 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f1: Hacl.Impl.Curve25519.Fields.Core.felem s -> f2: Lib.IntTypes.uint64 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Lib.IntTypes.uint64", "Prims.l_and", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.b2t", "Hacl.Impl.Curve25519.Fi...
[]
false
false
false
false
true
let fmul1_pre (#s: field_spec) (h: mem) (f1: felem s) (f2: uint64) : Type0 =
match s with | M51 -> f51_felem_fits h f1 (9, 10, 9, 9, 9) /\ f51_felem_fits1 f2 1 | M64 -> v f2 < pow2 17
false
Pulse.Checker.STApp.fst
Pulse.Checker.STApp.apply_impure_function
val apply_impure_function (range: range) (g0: env) (uvs: _) (g: env{extends_with g g0 uvs}) (ctxt: vprop) (ctxt_typing: tot_typing g0 ctxt tm_vprop) (post_hint: post_hint_opt g0) (res_ppname: ppname) (head: term) (qual: option qualifier) (arg ty_head: te...
val apply_impure_function (range: range) (g0: env) (uvs: _) (g: env{extends_with g g0 uvs}) (ctxt: vprop) (ctxt_typing: tot_typing g0 ctxt tm_vprop) (post_hint: post_hint_opt g0) (res_ppname: ppname) (head: term) (qual: option qualifier) (arg ty_head: te...
let apply_impure_function (range:range) (g0:env) (uvs:_) (g:env { extends_with g g0 uvs }) (ctxt:vprop) (ctxt_typing:tot_typing g0 ctxt tm_vprop) (post_hint:post_hint_opt g0) (res_ppname:ppname) (head:term) (qual:option qualifier) (arg:term) (ty_h...
{ "file_name": "lib/steel/pulse/Pulse.Checker.STApp.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 208, "start_col": 0, "start_line": 112 }
(* 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": [ "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.Show.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse.Checker.Pure.fsti.checked", "Pulse.Checker.Prover....
[ { "abbrev": false, "full_module": "Pulse.Show", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Checker.Prover", "short_module": "Prover" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
range: Pulse.Syntax.Base.range -> g0: Pulse.Typing.Env.env -> uvs: Pulse.Typing.Env.env -> g: Pulse.Typing.Env.env{Pulse.Typing.Env.extends_with g g0 uvs} -> ctxt: Pulse.Syntax.Base.vprop -> ctxt_typing: Pulse.Typing.tot_typing g0 ctxt Pulse.Syntax.Base.tm_vprop -> post_hint: Pulse.Typing.p...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Syntax.Base.range", "Pulse.Typing.Env.env", "Pulse.Typing.Env.extends_with", "Pulse.Syntax.Base.vprop", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.tm_vprop", "Pulse.Typing.post_hint_opt", "Pulse.Syntax.Base.ppname", "Pulse.Syntax.Base.term", "FStar.Pervasives.Native.option", "Pulse.Syn...
[]
false
true
false
false
false
let apply_impure_function (range: range) (g0: env) (uvs: _) (g: env{extends_with g g0 uvs}) (ctxt: vprop) (ctxt_typing: tot_typing g0 ctxt tm_vprop) (post_hint: post_hint_opt g0) (res_ppname: ppname) (head: term) (qual: option qualifier) (arg ty_head: te...
let { binder_ty = formal ; binder_ppname = ppname }, bqual, comp_typ = b in assert (g `env_extends` g0); let post_hint:post_hint_opt g = post_hint in is_arrow_tm_arrow ty_head; debug_log g (fun _ -> T.print (Printf.sprintf "st_app, head=%s, arg=%s, readback comp as %s\n" (P.term_to_string head) ...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.f64_as_nat
val f64_as_nat (h: mem) (e: felem M64) : GTot nat
val f64_as_nat (h: mem) (e: felem M64) : GTot nat
let f64_as_nat (h:mem) (e: felem M64) : GTot nat = let s = as_seq h e in let s0 = s.[0] in let s1 = s.[1] in let s2 = s.[2] in let s3 = s.[3] in Hacl.Spec.Curve25519.Field64.Definition.as_nat4 (s0, s1, s2, s3)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 106, "start_col": 0, "start_line": 100 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M64 -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M64", "Hacl.Spec.Curve25519.Field64.Definition.as_nat4", "FStar.Pervasives.Native.Mktuple4", "Lib.IntTypes.uint64", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.eq2...
[]
false
false
false
false
false
let f64_as_nat (h: mem) (e: felem M64) : GTot nat =
let s = as_seq h e in let s0 = s.[ 0 ] in let s1 = s.[ 1 ] in let s2 = s.[ 2 ] in let s3 = s.[ 3 ] in Hacl.Spec.Curve25519.Field64.Definition.as_nat4 (s0, s1, s2, s3)
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fsqr_disjoint
val fsqr_disjoint (#s: field_spec) (out f1: felem s) (tmp: felem_wide s) : Type0
val fsqr_disjoint (#s: field_spec) (out f1: felem s) (tmp: felem_wide s) : Type0
let fsqr_disjoint (#s:field_spec) (out f1:felem s) (tmp:felem_wide s): Type0 = match s with | M51 -> True | M64 -> (disjoint out f1 \/ out == f1) /\ (disjoint out tmp \/ out == tmp) /\ disjoint tmp f1
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 307, "start_col": 0, "start_line": 301 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
out: Hacl.Impl.Curve25519.Fields.Core.felem s -> f1: Hacl.Impl.Curve25519.Fields.Core.felem s -> tmp: Hacl.Impl.Curve25519.Fields.Core.felem_wide s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.felem_wide", "Prims.l_True", "Prims.l_and", "Prims.l_or", "Lib.Buffer.disjoint", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Fields.Core.limb", "Prims.eq2", "Hacl.Impl.Curve2551...
[]
false
false
false
false
true
let fsqr_disjoint (#s: field_spec) (out f1: felem s) (tmp: felem_wide s) : Type0 =
match s with | M51 -> True | M64 -> (disjoint out f1 \/ out == f1) /\ (disjoint out tmp \/ out == tmp) /\ disjoint tmp f1
false
UnionFind.Forest.fst
UnionFind.Forest.live
val live (#n: nat) (uf: uf_forest n) (h: heap) : Type0
val live (#n: nat) (uf: uf_forest n) (h: heap) : Type0
let live (#n:nat) (uf:uf_forest n) (h:heap) :Type0 = (forall (i:id n).{:pattern addr_of (index uf i)} forall (j:id n).{:pattern addr_of (index uf j)} i <> j ==> addr_of (index uf i) <> addr_of (index uf j)) /\ //all the refs in the forest are distinct (forall (i:id n).{:pattern (h `contains_a_well_t...
{ "file_name": "examples/rel/UnionFind.Forest.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 47, "start_col": 0, "start_line": 43 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.OrdSet.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.DM4F.Heap.ST.fsti.checked", "FStar.DM4F.Heap.fsti.checked" ], "interface_file": false, "source_fil...
[ { "abbrev": true, "full_module": "FStar.DM4F.Heap.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full...
{ "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
uf: UnionFind.Forest.uf_forest n -> h: FStar.DM4F.Heap.heap -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "UnionFind.Forest.uf_forest", "FStar.DM4F.Heap.heap", "Prims.l_and", "Prims.l_Forall", "UnionFind.Forest.id", "Prims.l_imp", "Prims.b2t", "Prims.op_disEquality", "FStar.DM4F.Heap.addr_of", "UnionFind.Forest.elt", "FStar.Seq.Base.index", "FStar.DM4F.Heap.ref", "FStar.DM4F.Heap....
[]
false
false
false
false
true
let live (#n: nat) (uf: uf_forest n) (h: heap) : Type0 =
(forall (i: id n). {:pattern addr_of (index uf i)} forall (j: id n). {:pattern addr_of (index uf j)} i <> j ==> addr_of (index uf i) <> addr_of (index uf j)) /\ (forall (i: id n). {:pattern (h `contains_a_well_typed` (index uf i))} h `contains_a_well_typed` (index uf i))
false
UnionFind.Forest.fst
UnionFind.Forest.set_n
val set_n (n: nat) : subtree_t
val set_n (n: nat) : subtree_t
let rec set_n (n:nat) :subtree_t = if n = 0 then empty else union (singleton n) (set_n (n - 1))
{ "file_name": "examples/rel/UnionFind.Forest.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 30, "start_col": 0, "start_line": 28 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.OrdSet.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.DM4F.Heap.ST.fsti.checked", "FStar.DM4F.Heap.fsti.checked" ], "interface_file": false, "source_fil...
[ { "abbrev": true, "full_module": "FStar.DM4F.Heap.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full...
{ "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
n: Prims.nat -> UnionFind.Forest.subtree_t
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.op_Equality", "Prims.int", "FStar.OrdSet.empty", "Prims.op_LessThanOrEqual", "Prims.bool", "FStar.OrdSet.union", "FStar.OrdSet.singleton", "UnionFind.Forest.set_n", "Prims.op_Subtraction", "UnionFind.Forest.subtree_t" ]
[ "recursion" ]
false
false
false
true
false
let rec set_n (n: nat) : subtree_t =
if n = 0 then empty else union (singleton n) (set_n (n - 1))
false
UnionFind.Forest.fst
UnionFind.Forest.get
val get (#n: nat) (uf: uf_forest n) (i: id n) : ST (elt n) (requires (fun h0 -> live uf h0)) (ensures (fun h0 r h1 -> r == sel h0 (index uf i) /\ h0 == h1))
val get (#n: nat) (uf: uf_forest n) (i: id n) : ST (elt n) (requires (fun h0 -> live uf h0)) (ensures (fun h0 r h1 -> r == sel h0 (index uf i) /\ h0 == h1))
let get (#n:nat) (uf:uf_forest n) (i:id n) :ST (elt n) (requires (fun h0 -> live uf h0)) (ensures (fun h0 r h1 -> r == sel h0 (index uf i) /\ h0 == h1)) = let h = ST.get () in sel_tot h (index uf i)
{ "file_name": "examples/rel/UnionFind.Forest.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 26, "end_line": 53, "start_col": 1, "start_line": 49 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.OrdSet.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.DM4F.Heap.ST.fsti.checked", "FStar.DM4F.Heap.fsti.checked" ], "interface_file": false, "source_fil...
[ { "abbrev": true, "full_module": "FStar.DM4F.Heap.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full...
{ "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
uf: UnionFind.Forest.uf_forest n -> i: UnionFind.Forest.id n -> FStar.DM4F.Heap.ST.ST (UnionFind.Forest.elt n)
FStar.DM4F.Heap.ST.ST
[]
[]
[ "Prims.nat", "UnionFind.Forest.uf_forest", "UnionFind.Forest.id", "FStar.DM4F.Heap.sel_tot", "UnionFind.Forest.elt", "FStar.Seq.Base.index", "FStar.DM4F.Heap.ref", "FStar.DM4F.Heap.heap", "FStar.DM4F.Heap.ST.get", "UnionFind.Forest.live", "Prims.l_and", "Prims.eq2", "FStar.DM4F.Heap.sel" ]
[]
false
true
false
false
false
let get (#n: nat) (uf: uf_forest n) (i: id n) : ST (elt n) (requires (fun h0 -> live uf h0)) (ensures (fun h0 r h1 -> r == sel h0 (index uf i) /\ h0 == h1)) =
let h = ST.get () in sel_tot h (index uf i)
false
UnionFind.Forest.fst
UnionFind.Forest.set
val set (#n: nat) (uf: uf_forest n) (i: id n) (elt: elt n) : ST unit (requires (fun h0 -> live uf h0)) (ensures (fun h0 _ h1 -> h1 == upd h0 (index uf i) elt))
val set (#n: nat) (uf: uf_forest n) (i: id n) (elt: elt n) : ST unit (requires (fun h0 -> live uf h0)) (ensures (fun h0 _ h1 -> h1 == upd h0 (index uf i) elt))
let set (#n:nat) (uf:uf_forest n) (i:id n) (elt:elt n) :ST unit (requires (fun h0 -> live uf h0)) (ensures (fun h0 _ h1 -> h1 == upd h0 (index uf i) elt)) = let h0 = ST.get () in ST.put (upd_tot h0 (index uf i) elt)
{ "file_name": "examples/rel/UnionFind.Forest.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 59, "start_col": 1, "start_line": 55 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.OrdSet.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.DM4F.Heap.ST.fsti.checked", "FStar.DM4F.Heap.fsti.checked" ], "interface_file": false, "source_fil...
[ { "abbrev": true, "full_module": "FStar.DM4F.Heap.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "FStar.DM4F.Heap.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full...
{ "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
uf: UnionFind.Forest.uf_forest n -> i: UnionFind.Forest.id n -> elt: UnionFind.Forest.elt n -> FStar.DM4F.Heap.ST.ST Prims.unit
FStar.DM4F.Heap.ST.ST
[]
[]
[ "Prims.nat", "UnionFind.Forest.uf_forest", "UnionFind.Forest.id", "UnionFind.Forest.elt", "FStar.DM4F.Heap.ST.put", "FStar.DM4F.Heap.upd_tot", "FStar.Seq.Base.index", "FStar.DM4F.Heap.ref", "Prims.unit", "FStar.DM4F.Heap.heap", "FStar.DM4F.Heap.ST.get", "UnionFind.Forest.live", "Prims.eq2", ...
[]
false
true
false
false
false
let set (#n: nat) (uf: uf_forest n) (i: id n) (elt: elt n) : ST unit (requires (fun h0 -> live uf h0)) (ensures (fun h0 _ h1 -> h1 == upd h0 (index uf i) elt)) =
let h0 = ST.get () in ST.put (upd_tot h0 (index uf i) elt)
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.f51_as_felem
val f51_as_felem (h: mem) (f: felem M51) : GTot Hacl.Spec.Curve25519.Field51.Definition.felem5
val f51_as_felem (h: mem) (f: felem M51) : GTot Hacl.Spec.Curve25519.Field51.Definition.felem5
let f51_as_felem (h:mem) (f:felem M51) : GTot Hacl.Spec.Curve25519.Field51.Definition.felem5 = let s = as_seq h f in let s0 = s.[0] in let s1 = s.[1] in let s2 = s.[2] in let s3 = s.[3] in let s4 = s.[4] in (s0, s1, s2, s3, s4)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 83, "start_col": 0, "start_line": 76 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Hacl.Spec.Curve25519.Field51.Definition.felem5
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "FStar.Pervasives.Native.Mktuple5", "Lib.IntTypes.uint64", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.eq2", "FStar.Seq.Base.index", "Lib.Sequence.to_seq",...
[]
false
false
false
false
false
let f51_as_felem (h: mem) (f: felem M51) : GTot Hacl.Spec.Curve25519.Field51.Definition.felem5 =
let s = as_seq h f in let s0 = s.[ 0 ] in let s1 = s.[ 1 ] in let s2 = s.[ 2 ] in let s3 = s.[ 3 ] in let s4 = s.[ 4 ] in (s0, s1, s2, s3, s4)
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fmul2_pre
val fmul2_pre (#s: field_spec) (h: mem) (f1 f2: felem2 s) : Type0
val fmul2_pre (#s: field_spec) (h: mem) (f1 f2: felem2 s) : Type0
let fmul2_pre (#s:field_spec) (h:mem) (f1:felem2 s) (f2:felem2 s): Type0 = match s with | M51 -> let f10 = gsub f1 0ul 5ul in let f11 = gsub f1 5ul 5ul in let f20 = gsub f2 0ul 5ul in let f21 = gsub f2 5ul 5ul in f51_felem_fits h f10 (9, 10, 9, 9, 9) /\ f51_felem_fits h f11 (9, 1...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 230, "start_col": 0, "start_line": 219 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f1: Hacl.Impl.Curve25519.Fields.Core.felem2 s -> f2: Hacl.Impl.Curve25519.Fields.Core.felem2 s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem2", "Prims.l_and", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int...
[]
false
false
false
false
true
let fmul2_pre (#s: field_spec) (h: mem) (f1 f2: felem2 s) : Type0 =
match s with | M51 -> let f10 = gsub f1 0ul 5ul in let f11 = gsub f1 5ul 5ul in let f20 = gsub f2 0ul 5ul in let f21 = gsub f2 5ul 5ul in f51_felem_fits h f10 (9, 10, 9, 9, 9) /\ f51_felem_fits h f11 (9, 10, 9, 9, 9) /\ f51_felem_fits h f20 (9, 10, 9, 9, 9) /\ f51_felem_fits h f21 (9, 10, 9, 9, 9) | M64 -> ...
false
DependentTuples.fst
DependentTuples.exists_n
val exists_n (r: ref nat) : vprop
val exists_n (r: ref nat) : vprop
let exists_n (r:ref nat) : vprop = exists* n. pts_to r n
{ "file_name": "share/steel/examples/pulse/bug-reports/DependentTuples.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 56, "end_line": 22, "start_col": 0, "start_line": 22 }
(* 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": [ "Pulse.Lib.SpinLock.fsti.checked", "Pulse.Lib.Reference.fsti.checked", "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "DependentTuples.fst" }
[ { "abbrev": false, "full_module": "Pulse.Lib.SpinLock", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.Reference", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, ...
{ "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: Pulse.Lib.Reference.ref Prims.nat -> Pulse.Lib.Core.vprop
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Reference.ref", "Prims.nat", "Pulse.Lib.Core.op_exists_Star", "Pulse.Lib.Reference.pts_to", "PulseCore.FractionalPermission.full_perm", "Pulse.Lib.Core.vprop" ]
[]
false
false
false
true
false
let exists_n (r: ref nat) : vprop =
exists* n. pts_to r n
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose4x4_uint64
val transpose4x4_uint64: #t:v_inttype{t == U64} -> vec_t4 t -> vec_t4 t
val transpose4x4_uint64: #t:v_inttype{t == U64} -> vec_t4 t -> vec_t4 t
let transpose4x4_uint64 #t vs = transpose4x4_0 #t vs
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 36, "start_col": 0, "start_line": 36 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
vs: Lib.IntVector.Transpose.vec_t4 t -> Lib.IntVector.Transpose.vec_t4 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Prims.eq2", "Lib.IntTypes.inttype", "Lib.IntTypes.U64", "Lib.IntVector.Transpose.vec_t4", "Lib.IntVector.Transpose.transpose4x4_0" ]
[]
false
false
false
false
false
let transpose4x4_uint64 #t vs =
transpose4x4_0 #t vs
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fsqr_pre
val fsqr_pre (#s: field_spec) (h: mem) (f: felem s) : Type0
val fsqr_pre (#s: field_spec) (h: mem) (f: felem s) : Type0
let fsqr_pre (#s:field_spec) (h:mem) (f:felem s): Type0 = match s with | M51 -> f51_felem_fits h f (9, 10, 9, 9, 9) | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 299, "start_col": 0, "start_line": 296 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.l_True" ]
[]
false
false
false
false
true
let fsqr_pre (#s: field_spec) (h: mem) (f: felem s) : Type0 =
match s with | M51 -> f51_felem_fits h f (9, 10, 9, 9, 9) | M64 -> True
false
Hacl.Spec.K256.Field52.Definitions.Lemmas.fst
Hacl.Spec.K256.Field52.Definitions.Lemmas.lemma_as_nat_bound_f4_lt_powa
val lemma_as_nat_bound_f4_lt_powa: f:felem5 -> a:nat -> Lemma (requires (let (f0,f1,f2,f3,f4) = f in felem_fits5 f (1,1,1,1,1) /\ v f4 < pow2 a)) (ensures as_nat5 f <= pow2 (208 + a) - 1)
val lemma_as_nat_bound_f4_lt_powa: f:felem5 -> a:nat -> Lemma (requires (let (f0,f1,f2,f3,f4) = f in felem_fits5 f (1,1,1,1,1) /\ v f4 < pow2 a)) (ensures as_nat5 f <= pow2 (208 + a) - 1)
let lemma_as_nat_bound_f4_lt_powa f a = let (f0,f1,f2,f3,f4) = f in calc (<=) { //as_nat5 f == v f0 + v f1 * pow52 + v f2 * pow104 + v f3 * pow156 + v f4 * pow208; (<=) { } pow2 52 - 1 + v f1 * pow52 + v f2 * pow104 + v f3 * pow156 + v f4 * pow208; (<=) { Math.Lemmas.lemma_mult_le_right pow52 ...
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Definitions.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 123, "start_col": 0, "start_line": 97 }
module Hacl.Spec.K256.Field52.Definitions.Lemmas open FStar.Mul open Lib.IntTypes open Hacl.Spec.K256.Field52.Definitions module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module S = Spec.K256 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lemma_as_nat_mod2: x:f...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "FStar.UInt32.f...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_mo...
{ "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
f: Hacl.Spec.K256.Field52.Definitions.felem5 -> a: Prims.nat -> FStar.Pervasives.Lemma (requires (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ _ _ _ _ f4 = _ in Hacl.Spec.K256.Field52.Definitions.felem_fits5 f (1, 1, 1, 1, 1) /\ Lib.IntTypes.v f4 < ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.felem5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Calc.calc_finish", "Prims.int", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Hacl.Spec.K256.Field52.Definit...
[]
false
false
true
false
false
let lemma_as_nat_bound_f4_lt_powa f a =
let f0, f1, f2, f3, f4 = f in calc ( <= ) { v f0 + v f1 * pow52 + v f2 * pow104 + v f3 * pow156 + v f4 * pow208; ( <= ) { () } pow2 52 - 1 + v f1 * pow52 + v f2 * pow104 + v f3 * pow156 + v f4 * pow208; ( <= ) { (Math.Lemmas.lemma_mult_le_right pow52 (v f1) (pow2 52 - 1); Math.Lemmas.distributivity_sub_left...
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fmul2_fsqr2_post
val fmul2_fsqr2_post (#s: field_spec) (h: mem) (out: felem2 s) : Type0
val fmul2_fsqr2_post (#s: field_spec) (h: mem) (out: felem2 s) : Type0
let fmul2_fsqr2_post (#s:field_spec) (h:mem) (out:felem2 s): Type0 = match s with | M51 -> let out0 = gsub out 0ul 5ul in let out1 = gsub out 5ul 5ul in f51_mul_inv_t h out0 /\ f51_mul_inv_t h out1 | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 239, "start_col": 0, "start_line": 232 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> out: Hacl.Impl.Curve25519.Fields.Core.felem2 s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem2", "Prims.l_and", "Hacl.Impl.Curve25519.Fields.Core.f51_mul_inv_t", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FS...
[]
false
false
false
false
true
let fmul2_fsqr2_post (#s: field_spec) (h: mem) (out: felem2 s) : Type0 =
match s with | M51 -> let out0 = gsub out 0ul 5ul in let out1 = gsub out 5ul 5ul in f51_mul_inv_t h out0 /\ f51_mul_inv_t h out1 | M64 -> True
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.fsqr2_pre
val fsqr2_pre (#s: field_spec) (h: mem) (f: felem2 s) : Type0
val fsqr2_pre (#s: field_spec) (h: mem) (f: felem2 s) : Type0
let fsqr2_pre (#s:field_spec) (h:mem) (f:felem2 s): Type0 = match s with | M51 -> let f1 = gsub f 0ul 5ul in let f2 = gsub f 5ul 5ul in f51_felem_fits h f1 (9, 10, 9, 9, 9) /\ f51_felem_fits h f2 (9, 10, 9, 9, 9) | M64 -> True
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 335, "start_col": 0, "start_line": 328 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem2 s -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Fields.Core.felem2", "Prims.l_and", "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int...
[]
false
false
false
false
true
let fsqr2_pre (#s: field_spec) (h: mem) (f: felem2 s) : Type0 =
match s with | M51 -> let f1 = gsub f 0ul 5ul in let f2 = gsub f 5ul 5ul in f51_felem_fits h f1 (9, 10, 9, 9, 9) /\ f51_felem_fits h f2 (9, 10, 9, 9, 9) | M64 -> True
false
Steel.ST.GhostPCMReference.fst
Steel.ST.GhostPCMReference.share
val share (#o:inames) (#a:Type) (#p:pcm a) (r:ref a p) (v:a) (v0:a) (v1:a) : STGhost unit o (pts_to r v) (fun _ -> pts_to r v0 `star` pts_to r v1) (requires composable p v0 v1 /\ v == op p v0 v1...
val share (#o:inames) (#a:Type) (#p:pcm a) (r:ref a p) (v:a) (v0:a) (v1:a) : STGhost unit o (pts_to r v) (fun _ -> pts_to r v0 `star` pts_to r v1) (requires composable p v0 v1 /\ v == op p v0 v1...
let share (#o:inames) (#a:Type) (#p:pcm a) (r:ref a p) (v:a) (v0:a) (v1:a) : STGhost unit o (pts_to r v) (fun _ -> pts_to r v0 `star` pts_to r v1) (requires composable p v0 v1 /\ v == op p v0 v1...
{ "file_name": "lib/steel/Steel.ST.GhostPCMReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 81, "end_line": 97, "start_col": 0, "start_line": 83 }
(* Copyright 2021 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.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "prims.fst.checked", "FStar.Universe.PCM.fst.checked", "FStar.Universe.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.chec...
[ { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "G" }, { "abbrev": true, "full_module": "FStar.Universe.PCM", "short_module": "UP" }, { "abbrev": false, "full_module": "FStar.Universe", "short_module": null }, { "abbrev": false, "fu...
{ "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.ST.GhostPCMReference.ref a p -> v: a -> v0: a -> v1: a -> Steel.ST.Effect.Ghost.STGhost Prims.unit
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "FStar.PCM.pcm", "Steel.ST.GhostPCMReference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.GhostPCMReference.pts_to", "FStar.Universe.raise_t", "FStar.Universe.PCM.raise", "FStar.Universe.raise_val", "Steel.Effect.Common.star", "Steel.Effect.Common.vprop", ...
[]
false
true
false
false
false
let share (#o: inames) (#a: Type) (#p: pcm a) (r: ref a p) (v v0 v1: a) : STGhost unit o (pts_to r v) (fun _ -> (pts_to r v0) `star` (pts_to r v1)) (requires composable p v0 v1 /\ v == op p v0 v1) (ensures fun _ -> True) =
coerce_ghost (fun _ -> G.share r (raise_val v) (raise_val v0) (raise_val v1))
false
Hacl.Impl.Curve25519.Fields.Core.fsti
Hacl.Impl.Curve25519.Fields.Core.cswap2_t
val cswap2_t : s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
let cswap2_t (s:field_spec) (p: Type0) = bit:uint64{v bit <= 1} -> p1:felem2 s -> p2:felem2 s -> Stack unit (requires fun h0 -> p /\ live h0 p1 /\ live h0 p2 /\ (disjoint p1 p2 \/ p1 == p2)) (ensures fun h0 _ h1 -> modifies (loc p1 |+| loc p2) h0 h1 /\ (v bit == 1 ==> as...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Fields.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 84, "end_line": 375, "start_col": 0, "start_line": 363 }
module Hacl.Impl.Curve25519.Fields.Core open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer module P = Spec.Curve25519 /// This module defines the core functions for which we will want to swap out /// implementations. They are marked as assume val's sin...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Impl.Curve25519.Fields.Core.field_spec -> p: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Hacl.Impl.Curve25519.Fields.Core.felem2", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", ...
[]
false
false
false
true
true
let cswap2_t (s: field_spec) (p: Type0) =
bit: uint64{v bit <= 1} -> p1: felem2 s -> p2: felem2 s -> Stack unit (requires fun h0 -> p /\ live h0 p1 /\ live h0 p2 /\ (disjoint p1 p2 \/ p1 == p2)) (ensures fun h0 _ h1 -> modifies (loc p1 |+| loc p2) h0 h1 /\ (v bit == 1 ==> as_seq h1 p1 == as_seq h0 p2 /\ as_seq h1 p2 ==...
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose4x4
val transpose4x4: #t:v_inttype{t = U32 \/ t = U64} -> vec_t4 t -> vec_t4 t
val transpose4x4: #t:v_inttype{t = U32 \/ t = U64} -> vec_t4 t -> vec_t4 t
let transpose4x4 #t vs = match t with | U32 -> transpose4x4_uint32 #t vs | U64 -> transpose4x4_uint64 #t vs
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 42, "start_col": 0, "start_line": 39 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
vs: Lib.IntVector.Transpose.vec_t4 t -> Lib.IntVector.Transpose.vec_t4 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Prims.l_or", "Prims.b2t", "Prims.op_Equality", "Lib.IntTypes.inttype", "Lib.IntTypes.U32", "Lib.IntTypes.U64", "Lib.IntVector.Transpose.vec_t4", "Lib.IntVector.Transpose.transpose4x4_uint32", "Lib.IntVector.Transpose.transpose4x4_uint64" ]
[]
false
false
false
false
false
let transpose4x4 #t vs =
match t with | U32 -> transpose4x4_uint32 #t vs | U64 -> transpose4x4_uint64 #t vs
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transposewxw_f
val transposewxw_f: #w:width -> #t:v_inttype -> n:nat{pow2 n == w} -> i:nat{i < n} -> lseq (vec_t t w) w -> lseq (vec_t t w) w
val transposewxw_f: #w:width -> #t:v_inttype -> n:nat{pow2 n == w} -> i:nat{i < n} -> lseq (vec_t t w) w -> lseq (vec_t t w) w
let transposewxw_f #w #t n i vs = createi w (transposewxw_f_l #w n i vs)
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 164, "start_col": 0, "start_line": 163 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
n: Prims.nat{Prims.pow2 n == w} -> i: Prims.nat{i < n} -> vs: Lib.Sequence.lseq (Lib.IntVector.vec_t t w) w -> Lib.Sequence.lseq (Lib.IntVector.vec_t t w) w
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.width", "Lib.IntVector.v_inttype", "Prims.nat", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThan", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t", "Prims.pow2", "Prims.op_LessThan", "Lib.Sequenc...
[]
false
false
false
false
false
let transposewxw_f #w #t n i vs =
createi w (transposewxw_f_l #w n i vs)
false
SelectorsLList3Example.fst
SelectorsLList3Example.cell
val cell : Type0
let cell = LL.cell a
{ "file_name": "share/steel/examples/steel/llist3/SelectorsLList3Example.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 15, "start_col": 0, "start_line": 15 }
module SelectorsLList3Example open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.ArrayRef module L = FStar.List.Tot module LL = Selectors.LList3 module U32 = FStar.UInt32 module MB = LowStar.Monotonic.Buffer // for is_null
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "Steel.ArrayRef.fsti.checked", "Selectors.LList3.fsti.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.UInt32.fsti.chec...
[ { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer // for is_null", "short_module": "MB" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "MB" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "ab...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Selectors.LList3.cell", "SelectorsLList3Example.a" ]
[]
false
false
false
true
true
let cell =
LL.cell a
false
Steel.LockCoupling.fsti
Steel.LockCoupling.half
val half : Steel.FractionalPermission.perm
let half = half_perm full_perm
{ "file_name": "lib/steel/Steel.LockCoupling.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 51, "start_col": 0, "start_line": 51 }
(* 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.ST.Util.fsti.checked", "Steel.ST.Reference.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.LockCoupling.fsti" }
[ { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, ...
{ "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
Steel.FractionalPermission.perm
Prims.Tot
[ "total" ]
[]
[ "Steel.FractionalPermission.half_perm", "Steel.FractionalPermission.full_perm" ]
[]
false
false
false
true
false
let half =
half_perm full_perm
false
SelectorsLList3Example.fst
SelectorsLList3Example.next
val next (c: cell) : t
val next (c: cell) : t
let next (c:cell) : t = LL.next c
{ "file_name": "share/steel/examples/steel/llist3/SelectorsLList3Example.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 19, "start_col": 0, "start_line": 19 }
module SelectorsLList3Example open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.ArrayRef module L = FStar.List.Tot module LL = Selectors.LList3 module U32 = FStar.UInt32 module MB = LowStar.Monotonic.Buffer // for is_null inline_for_extraction noextract let a = U32.t let cell = LL.cell a /// T...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "Steel.ArrayRef.fsti.checked", "Selectors.LList3.fsti.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.UInt32.fsti.chec...
[ { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer // for is_null", "short_module": "MB" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "MB" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "ab...
{ "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: SelectorsLList3Example.cell -> SelectorsLList3Example.t
Prims.Tot
[ "total" ]
[]
[ "SelectorsLList3Example.cell", "Selectors.LList3.next", "SelectorsLList3Example.a", "SelectorsLList3Example.t" ]
[]
false
false
false
true
false
let next (c: cell) : t =
LL.next c
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose8x8_2
val transpose8x8_2: #t:v_inttype -> vec_t8 t -> vec_t8 t
val transpose8x8_2: #t:v_inttype -> vec_t8 t -> vec_t8 t
let transpose8x8_2 #t (v0,v1,v2,v3,v4,v5,v6,v7) = let v0' = vec_interleave_low_n 4 v0 v4 in let v4' = vec_interleave_high_n 4 v0 v4 in let v1' = vec_interleave_low_n 4 v1 v5 in let v5' = vec_interleave_high_n 4 v1 v5 in let v2' = vec_interleave_low_n 4 v2 v6 in let v6' = vec_interleave_high_n 4 v2 v6 in l...
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 87, "start_col": 0, "start_line": 78 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
_: Lib.IntVector.Transpose.vec_t8 t -> Lib.IntVector.Transpose.vec_t8 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Lib.IntVector.Transpose.vec_t8", "Lib.IntVector.vec_t", "FStar.Pervasives.Native.Mktuple8", "Lib.IntVector.vec_interleave_high_n", "Lib.IntVector.vec_interleave_low_n" ]
[]
false
false
false
false
false
let transpose8x8_2 #t (v0, v1, v2, v3, v4, v5, v6, v7) =
let v0' = vec_interleave_low_n 4 v0 v4 in let v4' = vec_interleave_high_n 4 v0 v4 in let v1' = vec_interleave_low_n 4 v1 v5 in let v5' = vec_interleave_high_n 4 v1 v5 in let v2' = vec_interleave_low_n 4 v2 v6 in let v6' = vec_interleave_high_n 4 v2 v6 in let v3' = vec_interleave_low_n 4 v3 v7 in let v7' = vec_interleav...
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose8x8
val transpose8x8: #t:v_inttype{t = U32} -> vec_t8 t -> vec_t8 t
val transpose8x8: #t:v_inttype{t = U32} -> vec_t8 t -> vec_t8 t
let transpose8x8 #t vs = match t with | U32 -> transpose8x8_uint32 #t vs
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 109, "start_col": 0, "start_line": 107 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
vs: Lib.IntVector.Transpose.vec_t8 t -> Lib.IntVector.Transpose.vec_t8 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Prims.b2t", "Prims.op_Equality", "Lib.IntTypes.inttype", "Lib.IntTypes.U32", "Lib.IntVector.Transpose.vec_t8", "Lib.IntVector.Transpose.transpose8x8_uint32" ]
[]
false
false
false
false
false
let transpose8x8 #t vs =
match t with | U32 -> transpose8x8_uint32 #t vs
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose4x4_0
val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t
val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t
let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_interleave_high v0 v1 in let v2' = vec_interleave_low v2 v3 in let v3' = vec_interleave_high v2 v3 in let v0'' = vec_interleave_low_n 2 v0' v2' in let v1'' = vec_interleave_high_n 2 v0' v2' in let v2'' = vec_interle...
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 24, "start_col": 0, "start_line": 14 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
_: Lib.IntVector.Transpose.vec_t4 t -> Lib.IntVector.Transpose.vec_t4 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Lib.IntVector.Transpose.vec_t4", "Lib.IntVector.vec_t", "FStar.Pervasives.Native.Mktuple4", "Lib.IntVector.vec_interleave_high_n", "Lib.IntVector.vec_interleave_low_n", "Lib.IntVector.vec_interleave_high", "Lib.IntVector.vec_interleave_low" ]
[]
false
false
false
false
false
let transpose4x4_0 #t (v0, v1, v2, v3) =
let v0' = vec_interleave_low v0 v1 in let v1' = vec_interleave_high v0 v1 in let v2' = vec_interleave_low v2 v3 in let v3' = vec_interleave_high v2 v3 in let v0'' = vec_interleave_low_n 2 v0' v2' in let v1'' = vec_interleave_high_n 2 v0' v2' in let v2'' = vec_interleave_low_n 2 v1' v3' in let v3'' = vec_interleave_high...
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose8x8_0
val transpose8x8_0: #t:v_inttype -> vec_t8 t -> vec_t8 t
val transpose8x8_0: #t:v_inttype -> vec_t8 t -> vec_t8 t
let transpose8x8_0 #t (v0,v1,v2,v3,v4,v5,v6,v7) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_interleave_high v0 v1 in let v2' = vec_interleave_low v2 v3 in let v3' = vec_interleave_high v2 v3 in let v4' = vec_interleave_low v4 v5 in let v5' = vec_interleave_high v4 v5 in let v6' = vec_interleave_...
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 59, "start_col": 0, "start_line": 50 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
_: Lib.IntVector.Transpose.vec_t8 t -> Lib.IntVector.Transpose.vec_t8 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Lib.IntVector.Transpose.vec_t8", "Lib.IntVector.vec_t", "FStar.Pervasives.Native.Mktuple8", "Lib.IntVector.vec_interleave_high", "Lib.IntVector.vec_interleave_low" ]
[]
false
false
false
false
false
let transpose8x8_0 #t (v0, v1, v2, v3, v4, v5, v6, v7) =
let v0' = vec_interleave_low v0 v1 in let v1' = vec_interleave_high v0 v1 in let v2' = vec_interleave_low v2 v3 in let v3' = vec_interleave_high v2 v3 in let v4' = vec_interleave_low v4 v5 in let v5' = vec_interleave_high v4 v5 in let v6' = vec_interleave_low v6 v7 in let v7' = vec_interleave_high v6 v7 in (v0', v1', v...
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose8x8_uint32
val transpose8x8_uint32: #t:v_inttype{t == U32} -> vec_t8 t -> vec_t8 t
val transpose8x8_uint32: #t:v_inttype{t == U32} -> vec_t8 t -> vec_t8 t
let transpose8x8_uint32 #t vs0 = let (v0',v1',v2',v3',v4',v5',v6',v7') = transpose8x8_012 #t vs0 in (v0',v2',v1',v3',v4',v6',v5',v7')
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 104, "start_col": 0, "start_line": 102 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
vs0: Lib.IntVector.Transpose.vec_t8 t -> Lib.IntVector.Transpose.vec_t8 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Prims.eq2", "Lib.IntTypes.inttype", "Lib.IntTypes.U32", "Lib.IntVector.Transpose.vec_t8", "Lib.IntVector.vec_t", "FStar.Pervasives.Native.Mktuple8", "Lib.IntVector.Transpose.transpose8x8_012" ]
[]
false
false
false
false
false
let transpose8x8_uint32 #t vs0 =
let v0', v1', v2', v3', v4', v5', v6', v7' = transpose8x8_012 #t vs0 in (v0', v2', v1', v3', v4', v6', v5', v7')
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transposewxw_lseq
val transposewxw_lseq: #w:width -> #t:v_inttype -> n:nat{pow2 n == w} -> vs:lseq (vec_t t w) w -> lseq (vec_t t w) w
val transposewxw_lseq: #w:width -> #t:v_inttype -> n:nat{pow2 n == w} -> vs:lseq (vec_t t w) w -> lseq (vec_t t w) w
let transposewxw_lseq #w #t n vs = Loops.repeati n (transposewxw_f #w n) vs
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 168, "start_col": 0, "start_line": 167 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
n: Prims.nat{Prims.pow2 n == w} -> vs: Lib.Sequence.lseq (Lib.IntVector.vec_t t w) w -> Lib.Sequence.lseq (Lib.IntVector.vec_t t w) w
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.width", "Lib.IntVector.v_inttype", "Prims.nat", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThan", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t", "Prims.pow2", "Lib.Sequence.lseq", "Lib.IntVect...
[]
false
false
false
false
false
let transposewxw_lseq #w #t n vs =
Loops.repeati n (transposewxw_f #w n) vs
false
SelectorsLList3Example.fst
SelectorsLList3Example.t
val t : Type0
let t = LL.t a
{ "file_name": "share/steel/examples/steel/llist3/SelectorsLList3Example.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 17, "start_col": 0, "start_line": 17 }
module SelectorsLList3Example open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.ArrayRef module L = FStar.List.Tot module LL = Selectors.LList3 module U32 = FStar.UInt32 module MB = LowStar.Monotonic.Buffer // for is_null inline_for_extraction noextract let a = U32.t let cell = LL.cell a
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "Steel.ArrayRef.fsti.checked", "Selectors.LList3.fsti.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.UInt32.fsti.chec...
[ { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer // for is_null", "short_module": "MB" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "MB" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "ab...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Selectors.LList3.t", "SelectorsLList3Example.a" ]
[]
false
false
false
true
true
let t =
LL.t a
false
SelectorsLList3Example.fst
SelectorsLList3Example.null_llist
val null_llist: Prims.unit -> t
val null_llist: Prims.unit -> t
let null_llist () : t = LL.null_llist
{ "file_name": "share/steel/examples/steel/llist3/SelectorsLList3Example.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 30, "start_col": 0, "start_line": 30 }
module SelectorsLList3Example open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.ArrayRef module L = FStar.List.Tot module LL = Selectors.LList3 module U32 = FStar.UInt32 module MB = LowStar.Monotonic.Buffer // for is_null inline_for_extraction noextract let a = U32.t let cell = LL.cell a /// T...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "Steel.ArrayRef.fsti.checked", "Selectors.LList3.fsti.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.UInt32.fsti.chec...
[ { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer // for is_null", "short_module": "MB" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "MB" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "ab...
{ "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
_: Prims.unit -> SelectorsLList3Example.t
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Selectors.LList3.null_llist", "SelectorsLList3Example.a", "SelectorsLList3Example.t" ]
[]
false
false
false
true
false
let null_llist () : t =
LL.null_llist
false
SelectorsLList3Example.fst
SelectorsLList3Example.a
val a : Prims.eqtype
let a = U32.t
{ "file_name": "share/steel/examples/steel/llist3/SelectorsLList3Example.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 45, "end_line": 14, "start_col": 32, "start_line": 14 }
module SelectorsLList3Example open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.ArrayRef module L = FStar.List.Tot module LL = Selectors.LList3 module U32 = FStar.UInt32 module MB = LowStar.Monotonic.Buffer // for is_null
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "Steel.ArrayRef.fsti.checked", "Selectors.LList3.fsti.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "FStar.UInt32.fsti.chec...
[ { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer // for is_null", "short_module": "MB" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "MB" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "ab...
{ "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
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t" ]
[]
false
false
false
true
false
let a =
U32.t
false
Lib.IntVector.Transpose.fst
Lib.IntVector.Transpose.transpose8x8_012
val transpose8x8_012: #t:v_inttype -> vec_t8 t -> vec_t8 t
val transpose8x8_012: #t:v_inttype -> vec_t8 t -> vec_t8 t
let transpose8x8_012 #t vs0 = let (v0,v1,v2,v3,v4,v5,v6,v7) = vs0 in let (v0',v1',v2',v3',v4',v5',v6',v7') = transpose8x8_0 #t (v0,v1,v2,v3,v4,v5,v6,v7) in let (v0',v1',v2',v3',v4',v5',v6',v7') = transpose8x8_1 #t (v0',v1',v2',v3',v4',v5',v6',v7') in let (v0',v1',v2',v3',v4',v5',v6',v7') = transpose8x8_2 #t (v0...
{ "file_name": "lib/Lib.IntVector.Transpose.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 97, "start_col": 0, "start_line": 92 }
module Lib.IntVector.Transpose module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// /// transpose4x4 /// inline_for_extraction val transpose4x4_0: #t:v_inttype -> vec_t4 t -> vec_t4 t let transpose4x4_0 #t (v0,v1,v2,v3) = let v0' = vec_interleave_low v0 v1 in let v1' = vec_in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked", "FStar.Calc.fsti.checked...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
vs0: Lib.IntVector.Transpose.vec_t8 t -> Lib.IntVector.Transpose.vec_t8 t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntVector.v_inttype", "Lib.IntVector.Transpose.vec_t8", "Lib.IntVector.vec_t", "FStar.Pervasives.Native.Mktuple8", "Lib.IntVector.Transpose.transpose8x8_2", "Lib.IntVector.Transpose.transpose8x8_1", "Lib.IntVector.Transpose.transpose8x8_0" ]
[]
false
false
false
false
false
let transpose8x8_012 #t vs0 =
let v0, v1, v2, v3, v4, v5, v6, v7 = vs0 in let v0', v1', v2', v3', v4', v5', v6', v7' = transpose8x8_0 #t (v0, v1, v2, v3, v4, v5, v6, v7) in let v0', v1', v2', v3', v4', v5', v6', v7' = transpose8x8_1 #t (v0', v1', v2', v3', v4', v5', v6', v7') in let v0', v1', v2', v3', v4', v5', v6', v7' = transpose8x8_2 #t (v0...
false