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
Pulse.Extract.Main.fst
Pulse.Extract.Main.head_and_args
val head_and_args (t: term) : option (R.term & list R.argv)
val head_and_args (t: term) : option (R.term & list R.argv)
let head_and_args (t:term) : option (R.term & list R.argv) = match t.t with | Tm_FStar t0 -> Some (R.collect_app_ln t0) | _ -> None
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 145, "start_col": 0, "start_line": 141 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option (FStar.Stubs.Reflection.Types.term * Prims.list FStar.Stubs.Reflection.V2.Data.argv)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Stubs.Reflection.Types.term", "Prims.list", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Reflection.V2.Derived.collect_app_l...
[]
false
false
false
true
false
let head_and_args (t: term) : option (R.term & list R.argv) =
match t.t with | Tm_FStar t0 -> Some (R.collect_app_ln t0) | _ -> None
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.term_eq_string
val term_eq_string (s: string) (t: R.term) : bool
val term_eq_string (s: string) (t: R.term) : bool
let term_eq_string (s:string) (t:R.term) : bool = match R.inspect_ln t with | R.Tv_Const (R.C_String s') -> s=s' | _ -> false
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 150, "start_col": 0, "start_line": 147 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
s: Prims.string -> t: FStar.Stubs.Reflection.Types.term -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "Prims.op_Equality", "FStar.Stubs.Reflection.V2.Data.term_view", "Prims.bool" ]
[]
false
false
false
true
false
let term_eq_string (s: string) (t: R.term) : bool =
match R.inspect_ln t with | R.Tv_Const (R.C_String s') -> s = s' | _ -> false
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.unascribe
val unascribe (t: R.term) : T.Tac R.term
val unascribe (t: R.term) : T.Tac R.term
let rec unascribe (t:R.term) : T.Tac R.term = match R.inspect_ln t with | R.Tv_AscribedT e _ _ _ -> unascribe e | R.Tv_AscribedC e _ _ _ -> unascribe e | _ -> t
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 10, "end_line": 215, "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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Stubs.Reflection.Types.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Pervasives.Native.option", "Prims.bool", "Pulse.Extract.Main.unascribe", "FStar.Stubs.Reflection.Types.comp", "FStar.Stubs.Reflection.V2.Data.term_view" ]
[ "recursion" ]
false
true
false
false
false
let rec unascribe (t: R.term) : T.Tac R.term =
match R.inspect_ln t with | R.Tv_AscribedT e _ _ _ -> unascribe e | R.Tv_AscribedC e _ _ _ -> unascribe e | _ -> t
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.is_internal_binder
val is_internal_binder (b: binder) : T.Tac bool
val is_internal_binder (b: binder) : T.Tac bool
let is_internal_binder (b:binder) : T.Tac bool = let s = T.unseal b.binder_ppname.name in s = "_fret" || s = "_bind_c" || s = "_while_c" || s = "_tbind_c" || s = "_if_br" || s = "_br"
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 11, "end_line": 328, "start_col": 0, "start_line": 321 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
b: Pulse.Syntax.Base.binder -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Syntax.Base.binder", "Prims.op_BarBar", "Prims.op_Equality", "Prims.string", "Prims.bool", "FStar.Tactics.Unseal.unseal", "Pulse.Syntax.Base.__proj__Mkppname__item__name", "Pulse.Syntax.Base.__proj__Mkbinder__item__binder_ppname" ]
[]
false
true
false
false
false
let is_internal_binder (b: binder) : T.Tac bool =
let s = T.unseal b.binder_ppname.name in s = "_fret" || s = "_bind_c" || s = "_while_c" || s = "_tbind_c" || s = "_if_br" || s = "_br"
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.as_normal_t
val as_normal_t (#a: Type) (x: a) : normal a
val as_normal_t (#a: Type) (x: a) : normal a
let as_normal_t (#a:Type) (x:a) : normal a = x
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 37, "start_col": 0, "start_line": 37 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "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
x: a -> Vale.Interop.Base.normal a
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.normal" ]
[]
false
false
false
true
false
let as_normal_t (#a: Type) (x: a) : normal a =
x
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.is_return
val is_return (e: st_term) : option term
val is_return (e: st_term) : option term
let is_return (e:st_term) : option term = match e.term with | Tm_Return { term } -> Some term | _ -> None
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 333, "start_col": 0, "start_line": 330 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
e: Pulse.Syntax.Base.st_term -> FStar.Pervasives.Native.option Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.__proj__Mkst_term__item__term", "Pulse.Syntax.Base.term", "Prims.bool", "FStar.Pervasives.Native.Some", "Pulse.Syntax.Base.st_term'", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let is_return (e: st_term) : option term =
match e.term with | Tm_Return { term = term } -> Some term | _ -> None
false
Vale.SHA.PPC64LE.SHA_helpers.fst
Vale.SHA.PPC64LE.SHA_helpers.translate_hash_update
val translate_hash_update (a b c d e f g h a' b' c' d' e' f' g' h' a_old b_old c_old d_old e_old f_old g_old h_old: quad32) : Lemma (requires a' == add_wrap_quad32 a a_old /\ b' == add_wrap_quad32 b b_old /\ c' == add_wrap_quad32 c c_old /\ d' == add_wrap_quad32 d d_old /\ ...
val translate_hash_update (a b c d e f g h a' b' c' d' e' f' g' h' a_old b_old c_old d_old e_old f_old g_old h_old: quad32) : Lemma (requires a' == add_wrap_quad32 a a_old /\ b' == add_wrap_quad32 b b_old /\ c' == add_wrap_quad32 c c_old /\ d' == add_wrap_quad32 d d_old /\ ...
let translate_hash_update (a b c d e f g h a' b' c' d' e' f' g' h' a_old b_old c_old d_old e_old f_old g_old h_old:quad32) : Lemma (requires a' == add_wrap_quad32 a a_old /\ b' == add_wrap_quad32 b b_old /\ c' == add_wrap_quad32 c c_old /\ d' == add_wrap_quad32 d d_old /\ ...
{ "file_name": "vale/code/crypto/sha/Vale.SHA.PPC64LE.SHA_helpers.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 546, "start_col": 0, "start_line": 522 }
module Vale.SHA.PPC64LE.SHA_helpers open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Spec.SHA2 open Spec.SHA2.Lemmas open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.Lemmas open Vale.Def.Types_s open Vale.Def.Words_s open FStar.Seq open FStar.UInt32 // Interop with UInt-based SHA spec ope...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fst.checked", "Vale.SHA2.Wrapper.fst.checked", "Vale.Lib.Seqs_s.fst.checked", "Vale.Lib.Seqs.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Seq.fsti.checked", "Vale.Def.W...
[ { "abbrev": false, "full_module": "FStar.UInt32 // Interop with UInt-based SHA spec", "short_module": null }, { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Def.Types_s.quad32 -> b: Vale.Def.Types_s.quad32 -> c: Vale.Def.Types_s.quad32 -> d: Vale.Def.Types_s.quad32 -> e: Vale.Def.Types_s.quad32 -> f: Vale.Def.Types_s.quad32 -> g: Vale.Def.Types_s.quad32 -> h: Vale.Def.Types_s.quad32 -> a': Vale.Def.Types_s.quad32 -> b': Vale...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.Def.Types_s.quad32", "Prims.unit", "Prims._assert", "FStar.Seq.Base.equal", "Vale.SHA.PPC64LE.SHA_helpers.word", "FStar.Classical.forall_intro_2", "Vale.Def.Words_s.nat32", "Prims.eq2", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.pow2_32", "Vale.Def.Types_s.add_wrap", "Vale.SHA.PPC64LE.SH...
[]
false
false
true
false
false
let translate_hash_update (a b c d e f g h a' b' c' d' e' f' g' h' a_old b_old c_old d_old e_old f_old g_old h_old: quad32) : Lemma (requires a' == add_wrap_quad32 a a_old /\ b' == add_wrap_quad32 b b_old /\ c' == add_wrap_quad32 c c_old /\ d' == add_wrap_quad32 d d_old /\ ...
let h = make_seperated_hash_quad32 a b c d e f g h in let a = make_seperated_hash_quad32 a_old b_old c_old d_old e_old f_old g_old h_old in let h' = make_seperated_hash_quad32 a' b' c' d' e' f' g' h' in let open Lib.IntTypes in let mapped = Spec.Loops.seq_map2 ( +. ) h a in FStar.Classical.forall_intro_2 lemma_add_wrap...
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.as_t
val as_t (#a: Type) (x: normal a) : a
val as_t (#a: Type) (x: normal a) : a
let as_t (#a:Type) (x:normal a) : a = x
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 35, "start_col": 0, "start_line": 35 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "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
x: Vale.Interop.Base.normal a -> a
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.Base.normal" ]
[]
false
false
false
true
false
let as_t (#a: Type) (x: normal a) : a =
x
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.dom
val dom:IX64.arity_ok_stdcall td
val dom:IX64.arity_ok_stdcall td
let dom: IX64.arity_ok_stdcall td = let y = [t64_mod; t64_no_mod; tuint64] in assert_norm (List.length y = 3); y
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 53, "start_col": 0, "start_line": 50 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.Interop.X64.arity_ok_stdcall Vale.Interop.Base.td
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Vale.Interop.Base.td", "Prims.list", "Prims.Cons", "Vale.Stdcalls.X64.Fadd.t64_mod", "Vale.Stdcalls.X64.Fadd.t64_no_mod", "Vale.Stdcalls.X64.Fadd.tuint64", "Prims.Nil" ...
[]
false
false
false
true
false
let dom:IX64.arity_ok_stdcall td =
let y = [t64_mod; t64_no_mod; tuint64] in assert_norm (List.length y = 3); y
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.simplify_nested_let
val simplify_nested_let (e: st_term) (b_x: binder) (head e3: st_term) : option st_term
val simplify_nested_let (e: st_term) (b_x: binder) (head e3: st_term) : option st_term
let simplify_nested_let (e:st_term) (b_x:binder) (head:st_term) (e3:st_term) : option st_term = let mk t : st_term = { range = e.range; effect_tag = default_effect_hint; term = t } in let body e2 = mk (Tm_Bind { binder = b_x; head = e2; body = e3 }) in match head.term with | Tm_TotBind { binder = b_y; head =...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 360, "start_col": 0, "start_line": 345 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
e: Pulse.Syntax.Base.st_term -> b_x: Pulse.Syntax.Base.binder -> head: Pulse.Syntax.Base.st_term -> e3: Pulse.Syntax.Base.st_term -> FStar.Pervasives.Native.option Pulse.Syntax.Base.st_term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.binder", "Pulse.Syntax.Base.__proj__Mkst_term__item__term", "Pulse.Syntax.Base.term", "FStar.Pervasives.Native.Some", "Pulse.Syntax.Base.Tm_TotBind", "Pulse.Syntax.Base.Mkst_term'__Tm_TotBind__payload", "Pulse.Syntax.Base.Tm_Bind", "Pulse.Syntax.Base.M...
[]
false
false
false
true
false
let simplify_nested_let (e: st_term) (b_x: binder) (head e3: st_term) : option st_term =
let mk t : st_term = { range = e.range; effect_tag = default_effect_hint; term = t } in let body e2 = mk (Tm_Bind ({ binder = b_x; head = e2; body = e3 })) in match head.term with | Tm_TotBind { binder = b_y ; head = e1 ; body = e2 } -> Some (mk (Tm_TotBind ({ binder = b_y; head = e1; body = body e2 }))) | Tm_Bind { ...
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.erase_type_for_extraction
val erase_type_for_extraction (g: env) (t: term) : T.Tac bool
val erase_type_for_extraction (g: env) (t: term) : T.Tac bool
let erase_type_for_extraction (g:env) (t:term) : T.Tac bool = match t.t with | Tm_FStar t -> RU.must_erase_for_extraction (tcenv_of_env g) t | _ -> false
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 444, "start_col": 0, "start_line": 441 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> t: Pulse.Syntax.Base.term -> FStar.Tactics.Effect.Tac Prims.bool
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "Pulse.RuntimeUtils.must_erase_for_extraction", "Pulse.Extract.Main.tcenv_of_env", "Pulse.Syntax.Base.term'", "Prims.bool" ]
[]
false
true
false
false
false
let erase_type_for_extraction (g: env) (t: term) : T.Tac bool =
match t.t with | Tm_FStar t -> RU.must_erase_for_extraction (tcenv_of_env g) t | _ -> false
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.add1_post
val add1_post:VSig.vale_post dom
val add1_post:VSig.vale_post dom
let add1_post : VSig.vale_post dom = fun (c:V.va_code) (out:b64) (f1:b64) (f2:uint64) (va_s0:V.va_state) (va_s1:V.va_state) (f:V.va_fuel) -> FU.va_ens_Fast_add1_stdcall c va_s0 IA.win (as_vale_buffer out) (as_vale_buffer f1) (UInt64.v f2) va_s1 f
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 111, "end_line": 75, "start_col": 0, "start_line": 67 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.AsLowStar.ValeSig.vale_post Vale.Stdcalls.X64.Fadd.dom
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.Stdcalls.X64.Fadd.b64", "Vale.Stdcalls.X64.Fadd.uint64", "Vale.X64.Decls.va_state", "Vale.X64.Decls.va_fuel", "Vale.Curve25519.X64.FastUtil.va_ens_Fast_add1_stdcall", "Vale.Interop.Assumptions.win", "Vale.X64.MemoryAdapters.as_vale_buffer", "Vale.Arch.HeapTypes_s.TUIn...
[]
false
false
false
true
false
let add1_post:VSig.vale_post dom =
fun (c: V.va_code) (out: b64) (f1: b64) (f2: uint64) (va_s0: V.va_state) (va_s1: V.va_state) (f: V.va_fuel) -> FU.va_ens_Fast_add1_stdcall c va_s0 IA.win (as_vale_buffer out) (as_vale_buffer f1) (UInt64.v f2) va_s1 f
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.add1_pre
val add1_pre:VSig.vale_pre dom
val add1_pre:VSig.vale_pre dom
let add1_pre : VSig.vale_pre dom = fun (c:V.va_code) (out:b64) (f1:b64) (f2:uint64) (va_s0:V.va_state) -> FU.va_req_Fast_add1_stdcall c va_s0 IA.win (as_vale_buffer out) (as_vale_buffer f1) (UInt64.v f2)
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 64, "start_col": 0, "start_line": 57 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.AsLowStar.ValeSig.vale_pre Vale.Stdcalls.X64.Fadd.dom
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.Stdcalls.X64.Fadd.b64", "Vale.Stdcalls.X64.Fadd.uint64", "Vale.X64.Decls.va_state", "Vale.Curve25519.X64.FastUtil.va_req_Fast_add1_stdcall", "Vale.Interop.Assumptions.win", "Vale.X64.MemoryAdapters.as_vale_buffer", "Vale.Arch.HeapTypes_s.TUInt64", "FStar.UInt64.v", ...
[]
false
false
false
true
false
let add1_pre:VSig.vale_pre dom =
fun (c: V.va_code) (out: b64) (f1: b64) (f2: uint64) (va_s0: V.va_state) -> FU.va_req_Fast_add1_stdcall c va_s0 IA.win (as_vale_buffer out) (as_vale_buffer f1) (UInt64.v f2)
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.add1_lemma
val add1_lemma : Vale.AsLowStar.ValeSig.vale_sig_stdcall Vale.Stdcalls.X64.Fadd.add1_pre Vale.Stdcalls.X64.Fadd.add1_post
let add1_lemma = as_t #(VSig.vale_sig_stdcall add1_pre add1_post) add1_lemma'
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 109, "start_col": 0, "start_line": 109 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.AsLowStar.ValeSig.vale_sig_stdcall Vale.Stdcalls.X64.Fadd.add1_pre Vale.Stdcalls.X64.Fadd.add1_post
Prims.Tot
[ "total" ]
[]
[ "Vale.Stdcalls.X64.Fadd.as_t", "Vale.AsLowStar.ValeSig.vale_sig_stdcall", "Vale.Stdcalls.X64.Fadd.dom", "Vale.Stdcalls.X64.Fadd.add1_pre", "Vale.Stdcalls.X64.Fadd.add1_post", "Vale.Stdcalls.X64.Fadd.add1_lemma'" ]
[]
false
false
false
true
false
let add1_lemma =
as_t #(VSig.vale_sig_stdcall add1_pre add1_post) add1_lemma'
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.fadd_dom
val fadd_dom:IX64.arity_ok_stdcall td
val fadd_dom:IX64.arity_ok_stdcall td
let fadd_dom: IX64.arity_ok_stdcall td = let y = [t64_mod; t64_no_mod; t64_no_mod] in assert_norm (List.length y = 3); y
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 130, "start_col": 0, "start_line": 127 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.Interop.X64.arity_ok_stdcall Vale.Interop.Base.td
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Vale.Interop.Base.td", "Prims.list", "Prims.Cons", "Vale.Stdcalls.X64.Fadd.t64_mod", "Vale.Stdcalls.X64.Fadd.t64_no_mod", "Prims.Nil" ]
[]
false
false
false
true
false
let fadd_dom:IX64.arity_ok_stdcall td =
let y = [t64_mod; t64_no_mod; t64_no_mod] in assert_norm (List.length y = 3); y
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.lowstar_add1_t
val lowstar_add1_t : Type0
let lowstar_add1_t = assert_norm (List.length dom + List.length ([]<:list arg) <= 4); IX64.as_lowstar_sig_t_weak_stdcall code_add1 dom [] _ _ (W.mk_prediction code_add1 dom [] (add1_lemma code_add1 IA.win))
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 124, "start_col": 0, "start_line": 116 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.X64.as_lowstar_sig_t_weak_stdcall", "Vale.Stdcalls.X64.Fadd.code_add1", "Vale.Stdcalls.X64.Fadd.dom", "Prims.Nil", "Vale.Interop.Base.arg", "Vale.AsLowStar.Wrapper.pre_rel_generic", "Vale.Interop.X64.max_stdcall", "Vale.Interop.X64.arg_reg_stdcall", "Vale.Stdcalls.X64.Fadd.add1_pre", ...
[]
false
false
false
true
true
let lowstar_add1_t =
assert_norm (List.length dom + List.length ([] <: list arg) <= 4); IX64.as_lowstar_sig_t_weak_stdcall code_add1 dom [] _ _ (W.mk_prediction code_add1 dom [] (add1_lemma code_add1 IA.win))
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.debug_
val debug_ : g: Pulse.Extract.Main.env -> f: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.string) -> FStar.Tactics.Effect.Tac Prims.unit
let debug_ = debug
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 729, "start_col": 0, "start_line": 729 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> f: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.string) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.debug" ]
[]
false
true
false
false
false
let debug_ =
debug
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.is_recursive
val is_recursive (g: env) (knot_name: R.fv) (selt: R.sigelt) : T.Tac (option string)
val is_recursive (g: env) (knot_name: R.fv) (selt: R.sigelt) : T.Tac (option string)
let is_recursive (g:env) (knot_name:R.fv) (selt:R.sigelt) : T.Tac (option string) = let attrs = RU.get_attributes selt in let unpack_string (t:R.term) : option string = match R.inspect_ln t with | R.Tv_Const (R.C_String s) -> Some s | _ -> None in let pulse_recursive_attr (t:R.term) : ...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 760, "start_col": 0, "start_line": 736 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> knot_name: FStar.Stubs.Reflection.Types.fv -> selt: FStar.Stubs.Reflection.Types.sigelt -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option Prims.string)
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "FStar.Stubs.Reflection.Types.fv", "FStar.Stubs.Reflection.Types.sigelt", "Pulse.Extract.Main.find_map", "FStar.Stubs.Reflection.Types.term", "Prims.string", "FStar.Pervasives.Native.option", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.V2.Data.a...
[]
false
true
false
false
false
let is_recursive (g: env) (knot_name: R.fv) (selt: R.sigelt) : T.Tac (option string) =
let attrs = RU.get_attributes selt in let unpack_string (t: R.term) : option string = match R.inspect_ln t with | R.Tv_Const (R.C_String s) -> Some s | _ -> None in let pulse_recursive_attr (t: R.term) : option string = match R.inspect_ln t with | R.Tv_App _ _ -> (let hd, args = T.collect_app_ln t in ...
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.fadd_lemma
val fadd_lemma : Vale.AsLowStar.ValeSig.vale_sig_stdcall Vale.Stdcalls.X64.Fadd.fadd_pre Vale.Stdcalls.X64.Fadd.fadd_post
let fadd_lemma = as_t #(VSig.vale_sig_stdcall fadd_pre fadd_post) fadd_lemma'
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 188, "start_col": 0, "start_line": 188 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.AsLowStar.ValeSig.vale_sig_stdcall Vale.Stdcalls.X64.Fadd.fadd_pre Vale.Stdcalls.X64.Fadd.fadd_post
Prims.Tot
[ "total" ]
[]
[ "Vale.Stdcalls.X64.Fadd.as_t", "Vale.AsLowStar.ValeSig.vale_sig_stdcall", "Vale.Stdcalls.X64.Fadd.fadd_dom", "Vale.Stdcalls.X64.Fadd.fadd_pre", "Vale.Stdcalls.X64.Fadd.fadd_post", "Vale.Stdcalls.X64.Fadd.fadd_lemma'" ]
[]
false
false
false
true
false
let fadd_lemma =
as_t #(VSig.vale_sig_stdcall fadd_pre fadd_post) fadd_lemma'
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.extract_attrs
val extract_attrs (g: uenv) (se: R.sigelt) : T.Tac (list mlexpr)
val extract_attrs (g: uenv) (se: R.sigelt) : T.Tac (list mlexpr)
let extract_attrs (g:uenv) (se:R.sigelt) : T.Tac (list mlexpr) = se |> RU.get_attributes |> T.map (fun t -> let mlattr, _, _ = ECL.term_as_mlexpr g t in mlattr)
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 76, "end_line": 804, "start_col": 0, "start_line": 802 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.CompilerLib.uenv -> se: FStar.Stubs.Reflection.Types.sigelt -> FStar.Tactics.Effect.Tac (Prims.list Pulse.Extract.CompilerLib.mlexpr)
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.CompilerLib.uenv", "FStar.Stubs.Reflection.Types.sigelt", "FStar.Tactics.Util.map", "FStar.Tactics.NamedView.term", "Pulse.Extract.CompilerLib.mlexpr", "Pulse.Extract.CompilerLib.e_tag", "Pulse.Extract.CompilerLib.mlty", "FStar.Pervasives.Native.tuple3", "Pulse.Extract.CompilerLib.ter...
[]
false
true
false
false
false
let extract_attrs (g: uenv) (se: R.sigelt) : T.Tac (list mlexpr) =
se |> RU.get_attributes |> T.map (fun t -> let mlattr, _, _ = ECL.term_as_mlexpr g t in mlattr)
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.lowstar_fadd_t
val lowstar_fadd_t : Type0
let lowstar_fadd_t = assert_norm (List.length fadd_dom + List.length ([]<:list arg) <= 4); IX64.as_lowstar_sig_t_weak_stdcall code_Fadd fadd_dom [] _ _ (W.mk_prediction code_Fadd fadd_dom [] (fadd_lemma code_Fadd IA.win))
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 203, "start_col": 0, "start_line": 195 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.Interop.X64.as_lowstar_sig_t_weak_stdcall", "Vale.Stdcalls.X64.Fadd.code_Fadd", "Vale.Stdcalls.X64.Fadd.fadd_dom", "Prims.Nil", "Vale.Interop.Base.arg", "Vale.AsLowStar.Wrapper.pre_rel_generic", "Vale.Interop.X64.max_stdcall", "Vale.Interop.X64.arg_reg_stdcall", "Vale.Stdcalls.X64.Fadd.fadd_pr...
[]
false
false
false
true
true
let lowstar_fadd_t =
assert_norm (List.length fadd_dom + List.length ([] <: list arg) <= 4); IX64.as_lowstar_sig_t_weak_stdcall code_Fadd fadd_dom [] _ _ (W.mk_prediction code_Fadd fadd_dom [] (fadd_lemma code_Fadd IA.win))
false
OWGCounter.ST.fst
OWGCounter.ST.lock_inv_predicate
val lock_inv_predicate: r: R.ref int -> r1: GR.ref int -> r2: GR.ref int -> (int & int) -> vprop
val lock_inv_predicate: r: R.ref int -> r1: GR.ref int -> r2: GR.ref int -> (int & int) -> vprop
let lock_inv_predicate (r:R.ref int) (r1 r2:GR.ref int) : int & int -> vprop = fun w -> GR.pts_to r1 half_perm (fst w) `star` GR.pts_to r2 half_perm (snd w) `star` R.pts_to r full_perm (fst w + snd w)
{ "file_name": "share/steel/examples/steel/OWGCounter.ST.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 71, "start_col": 0, "start_line": 64 }
(* Copyright 2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.SpinLock.fsti.checked", "Steel.ST.Reference.fsti.checked", "Steel.ST.GhostReference.fsti.checked", "Steel.ST.Effect.Atomic.fsti.checked", "Steel.ST.Effect.fsti.checked", "Steel.Memory.fsti.checked", "Ste...
[ { "abbrev": true, "full_module": "Steel.ST.GhostReference", "short_module": "GR" }, { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.Reference.ref Prims.int -> r1: Steel.ST.GhostReference.ref Prims.int -> r2: Steel.ST.GhostReference.ref Prims.int -> _: (Prims.int * Prims.int) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Reference.ref", "Prims.int", "Steel.ST.GhostReference.ref", "FStar.Pervasives.Native.tuple2", "Steel.Effect.Common.star", "Steel.ST.GhostReference.pts_to", "OWGCounter.ST.half_perm", "FStar.Pervasives.Native.fst", "FStar.Pervasives.Native.snd", "Steel.ST.Reference.pts_to", "Steel.Fract...
[]
false
false
false
true
false
let lock_inv_predicate (r: R.ref int) (r1 r2: GR.ref int) : (int & int) -> vprop =
fun w -> ((GR.pts_to r1 half_perm (fst w)) `star` (GR.pts_to r2 half_perm (snd w))) `star` (R.pts_to r full_perm (fst w + snd w))
false
OWGCounter.ST.fst
OWGCounter.ST.half_perm
val half_perm : Steel.FractionalPermission.perm
let half_perm = half_perm full_perm
{ "file_name": "share/steel/examples/steel/OWGCounter.ST.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 51, "start_col": 0, "start_line": 51 }
(* Copyright 2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.SpinLock.fsti.checked", "Steel.ST.Reference.fsti.checked", "Steel.ST.GhostReference.fsti.checked", "Steel.ST.Effect.Atomic.fsti.checked", "Steel.ST.Effect.fsti.checked", "Steel.Memory.fsti.checked", "Ste...
[ { "abbrev": true, "full_module": "Steel.ST.GhostReference", "short_module": "GR" }, { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Steel.FractionalPermission.perm
Prims.Tot
[ "total" ]
[]
[ "Steel.FractionalPermission.half_perm", "Steel.FractionalPermission.full_perm" ]
[]
false
false
false
true
false
let half_perm =
half_perm full_perm
false
OWGCounter.ST.fst
OWGCounter.ST.lock_inv
val lock_inv (r: R.ref int) (r1 r2: GR.ref int) : vprop
val lock_inv (r: R.ref int) (r1 r2: GR.ref int) : vprop
let lock_inv (r:R.ref int) (r1 r2:GR.ref int) : vprop = exists_ (lock_inv_predicate r r1 r2)
{ "file_name": "share/steel/examples/steel/OWGCounter.ST.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 75, "start_col": 0, "start_line": 74 }
(* Copyright 2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.SpinLock.fsti.checked", "Steel.ST.Reference.fsti.checked", "Steel.ST.GhostReference.fsti.checked", "Steel.ST.Effect.Atomic.fsti.checked", "Steel.ST.Effect.fsti.checked", "Steel.Memory.fsti.checked", "Ste...
[ { "abbrev": true, "full_module": "Steel.ST.GhostReference", "short_module": "GR" }, { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.Reference.ref Prims.int -> r1: Steel.ST.GhostReference.ref Prims.int -> r2: Steel.ST.GhostReference.ref Prims.int -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Reference.ref", "Prims.int", "Steel.ST.GhostReference.ref", "Steel.ST.Util.exists_", "FStar.Pervasives.Native.tuple2", "OWGCounter.ST.lock_inv_predicate", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let lock_inv (r: R.ref int) (r1 r2: GR.ref int) : vprop =
exists_ (lock_inv_predicate r r1 r2)
false
Hacl.Impl.RSAPSS.Padding.fst
Hacl.Impl.RSAPSS.Padding.pss_verify
val pss_verify: a:Hash.hash_alg{S.hash_is_supported a} -> saltLen:salt_len_t a -> msgLen:msg_len_t a -> msg:lbuffer uint8 msgLen -> emBits:size_t{0 < v emBits} -> em:lbuffer uint8 (BD.blocks emBits 8ul) -> Stack bool (requires fun h -> live h msg /\ live h em /\ disjoint em msg) (ensures fun h0 r h...
val pss_verify: a:Hash.hash_alg{S.hash_is_supported a} -> saltLen:salt_len_t a -> msgLen:msg_len_t a -> msg:lbuffer uint8 msgLen -> emBits:size_t{0 < v emBits} -> em:lbuffer uint8 (BD.blocks emBits 8ul) -> Stack bool (requires fun h -> live h msg /\ live h em /\ disjoint em msg) (ensures fun h0 r h...
let pss_verify a saltLen msgLen msg emBits em = let emLen = BD.blocks emBits 8ul in let msBits = emBits %. 8ul in let em_0 = if msBits >. 0ul then em.(0ul) &. (u8 0xff <<. msBits) else u8 0 in let em_last = em.(emLen -! 1ul) in if (emLen <. saltLen +! hash_len a +! 2ul) then false else begin if not (F...
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.Padding.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 250, "start_col": 0, "start_line": 239 }
module Hacl.Impl.RSAPSS.Padding open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.RSAPSS.MGF module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash module S = Spec.RSAPSS module BD = Hacl.Bignum.Definitions #reset-opti...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Spec.RSAPSS", "short_module": "S" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "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
a: Spec.Hash.Definitions.hash_alg{Spec.RSAPSS.hash_is_supported a} -> saltLen: Hacl.Impl.RSAPSS.Padding.salt_len_t a -> msgLen: Hacl.Impl.RSAPSS.Padding.msg_len_t a -> msg: Lib.Buffer.lbuffer Lib.IntTypes.uint8 msgLen -> emBits: Lib.IntTypes.size_t{0 < Lib.IntTypes.v emBits} -> em: Lib.Buffer.l...
FStar.HyperStack.ST.Stack
[]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.RSAPSS.hash_is_supported", "Hacl.Impl.RSAPSS.Padding.salt_len_t", "Hacl.Impl.RSAPSS.Padding.msg_len_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Lib.IntTypes.size_t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTyp...
[]
false
true
false
false
false
let pss_verify a saltLen msgLen msg emBits em =
let emLen = BD.blocks emBits 8ul in let msBits = emBits %. 8ul in let em_0 = if msBits >. 0ul then em.(0ul) &. (u8 0xff <<. msBits) else u8 0 in let em_last = em.(emLen -! 1ul) in if (emLen <. saltLen +! hash_len a +! 2ul) then false else if not (FStar.UInt8.(Lib.RawIntTypes.u8_to_UInt8 em_last =^ 0xbcuy) && ...
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.extend_env
val extend_env (g: env) (b: binder) : T.Tac (env & mlident & mlty & name)
val extend_env (g: env) (b: binder) : T.Tac (env & mlident & mlty & name)
let extend_env (g:env) (b:binder) : T.Tac (env & mlident & mlty & name) = let mlty = term_as_mlty g b.binder_ty in let x = E.fresh g.coreenv in let coreenv = E.push_binding g.coreenv x b.binder_ppname b.binder_ty in debug g (fun _ -> Printf.sprintf "Extending environment with %s : %s\n" ...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 64, "end_line": 78, "start_col": 0, "start_line": 69 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, "full_module": "Pulse.Syntax.Naming", "short_module": "LN" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> b: Pulse.Syntax.Base.binder -> FStar.Tactics.Effect.Tac (((Pulse.Extract.Main.env * Pulse.Extract.CompilerLib.mlident) * Pulse.Extract.CompilerLib.mlty) * Pulse.Extract.Main.name)
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.binder", "Pulse.Extract.CompilerLib.uenv", "Pulse.Extract.CompilerLib.mlident", "FStar.Pervasives.Native.Mktuple4", "Pulse.Extract.CompilerLib.mlty", "Pulse.Extract.Main.name", "Pulse.Extract.Main.Mkenv", "FStar.Pervasives.Native.Mktuple2", "Pulse.Synta...
[]
false
true
false
false
false
let extend_env (g: env) (b: binder) : T.Tac (env & mlident & mlty & name) =
let mlty = term_as_mlty g b.binder_ty in let x = E.fresh g.coreenv in let coreenv = E.push_binding g.coreenv x b.binder_ppname b.binder_ty in debug g (fun _ -> Printf.sprintf "Extending environment with %s : %s\n" (binder_to_string b) (term_to_string b.binder_ty)); let uenv_inner, mlident = exte...
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.push_binding
val push_binding : g: Pulse.Extract.Main.env -> x: Pulse.Syntax.Base.var{~(FStar.Set.mem x (Pulse.Typing.Env.dom (Mkenv?.coreenv g)))} -> b: Pulse.Syntax.Base.binder -> Pulse.Extract.Main.env
let push_binding (g:env) (x:var { ~ (x `Set.mem` E.dom g.coreenv )}) (b:binder) = { g with coreenv = E.push_binding g.coreenv x b.binder_ppname b.binder_ty }
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 77, "end_line": 311, "start_col": 0, "start_line": 310 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> x: Pulse.Syntax.Base.var{~(FStar.Set.mem x (Pulse.Typing.Env.dom (Mkenv?.coreenv g)))} -> b: Pulse.Syntax.Base.binder -> Pulse.Extract.Main.env
Prims.Tot
[ "total" ]
[]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.var", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "Pulse.Typing.Env.dom", "Pulse.Extract.Main.__proj__Mkenv__item__coreenv", "Pulse.Syntax.Base.binder", "Pulse.Extract.Main.Mkenv", "Pulse.Extract.Main.__proj__Mkenv__item__uenv_inner", "Pulse.Typing.E...
[]
false
false
false
false
false
let push_binding (g: env) (x: var{~(x `Set.mem` (E.dom g.coreenv))}) (b: binder) =
{ g with coreenv = E.push_binding g.coreenv x b.binder_ppname b.binder_ty }
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.extract_constant
val extract_constant (g: env) (c: T.vconst) : T.Tac mlconstant
val extract_constant (g: env) (c: T.vconst) : T.Tac mlconstant
let extract_constant (g:env) (c:T.vconst) : T.Tac mlconstant = let e = T.pack_ln (R.Tv_Const c) in let mle, _, _ = CompilerLib.term_as_mlexpr (uenv_of_env g) e in match mlconstant_of_mlexpr mle with | None -> T.raise (Extraction_failure "Failed to extract constant") | Some c -> c
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 17, "end_line": 96, "start_col": 0, "start_line": 90 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> c: FStar.Stubs.Reflection.V2.Data.vconst -> FStar.Tactics.Effect.Tac Pulse.Extract.CompilerLib.mlconstant
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "FStar.Stubs.Reflection.V2.Data.vconst", "Pulse.Extract.CompilerLib.mlexpr", "Pulse.Extract.CompilerLib.e_tag", "Pulse.Extract.CompilerLib.mlty", "FStar.Tactics.Effect.raise", "Pulse.Extract.CompilerLib.mlconstant", "Pulse.Extract.Main.Extraction_failure", "FStar.Pervasives...
[]
false
true
false
false
false
let extract_constant (g: env) (c: T.vconst) : T.Tac mlconstant =
let e = T.pack_ln (R.Tv_Const c) in let mle, _, _ = CompilerLib.term_as_mlexpr (uenv_of_env g) e in match mlconstant_of_mlexpr mle with | None -> T.raise (Extraction_failure "Failed to extract constant") | Some c -> c
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.unit_val
val unit_val:term
val unit_val:term
let unit_val : term = tm_fstar Pulse.Reflection.Util.unit_tm Range.range_0
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 74, "end_line": 134, "start_col": 0, "start_line": 134 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.tm_fstar", "Pulse.Reflection.Util.unit_tm", "FStar.Range.range_0" ]
[]
false
false
false
true
false
let unit_val:term =
tm_fstar Pulse.Reflection.Util.unit_tm Range.range_0
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.st_term_abs_take_n_args
val st_term_abs_take_n_args (n_args: nat) (t: st_term) : res: (st_term & nat){snd res <= n_args}
val st_term_abs_take_n_args (n_args: nat) (t: st_term) : res: (st_term & nat){snd res <= n_args}
let rec st_term_abs_take_n_args (n_args:nat) (t:st_term) : res:(st_term & nat){snd res <= n_args} = if n_args = 0 then t, 0 else ( match t.term with | Tm_Abs { body } -> st_term_abs_take_n_args (n_args - 1) body | _ -> (t, n_args) )
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 190, "start_col": 0, "start_line": 183 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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_args: Prims.nat -> t: Pulse.Syntax.Base.st_term -> res: (Pulse.Syntax.Base.st_term * Prims.nat) {FStar.Pervasives.Native.snd res <= n_args}
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Pulse.Syntax.Base.st_term", "Prims.op_Equality", "Prims.int", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "Pulse.Syntax.Base.__proj__Mkst_term__item__term", "Pulse.Syntax.Base.binder", "FStar.Pervasives.Native.option", "Pulse.Syntax.Base.qualifier", "Pulse.Syntax.Base.comp_as...
[ "recursion" ]
false
false
false
false
false
let rec st_term_abs_take_n_args (n_args: nat) (t: st_term) : res: (st_term & nat){snd res <= n_args} =
if n_args = 0 then t, 0 else (match t.term with | Tm_Abs { body = body } -> st_term_abs_take_n_args (n_args - 1) body | _ -> (t, n_args))
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.abs_take_n_args
val abs_take_n_args (n_args: nat) (t: either st_term R.term) : T.Tac (res: (either st_term R.term & nat){snd res <= n_args})
val abs_take_n_args (n_args: nat) (t: either st_term R.term) : T.Tac (res: (either st_term R.term & nat){snd res <= n_args})
let abs_take_n_args (n_args:nat) (t:either st_term R.term) : T.Tac (res:(either st_term R.term & nat){snd res <= n_args}) = match t with | Inl t -> let t, n_args = st_term_abs_take_n_args n_args t in Inl t, n_args | Inr t -> let t, n_args = term_abs_take_n_args n_args t in Inr t, n...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 19, "end_line": 209, "start_col": 0, "start_line": 201 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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_args: Prims.nat -> t: FStar.Pervasives.either Pulse.Syntax.Base.st_term FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac (res: (FStar.Pervasives.either Pulse.Syntax.Base.st_term FStar.Stubs.Reflection.Types.term * Prims.nat) {FStar.Pervasives.Native.snd res <= n_args})
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.nat", "FStar.Pervasives.either", "Pulse.Syntax.Base.st_term", "FStar.Stubs.Reflection.Types.term", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Inl", "FStar.Pervasives.Native.tuple2", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Pervasives.Native.snd", "Pulse.Extract.Main.st_t...
[]
false
true
false
false
false
let abs_take_n_args (n_args: nat) (t: either st_term R.term) : T.Tac (res: (either st_term R.term & nat){snd res <= n_args}) =
match t with | Inl t -> let t, n_args = st_term_abs_take_n_args n_args t in Inl t, n_args | Inr t -> let t, n_args = term_abs_take_n_args n_args t in Inr t, n_args
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.with_open
val with_open (g: env) (b: binder) (e: st_term) (f: (env -> st_term -> T.Tac st_term)) : T.Tac st_term
val with_open (g: env) (b: binder) (e: st_term) (f: (env -> st_term -> T.Tac st_term)) : T.Tac st_term
let with_open (g:env) (b:binder) (e:st_term) (f:env -> st_term -> T.Tac st_term) : T.Tac st_term = let open Pulse.Syntax.Naming in let x = fresh g in let e = open_st_term' e (tm_var { nm_index = x; nm_ppname = b.binder_ppname }) 0 in let e = f (push_binding g x b) e in close_st_term' e x 0
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 22, "end_line": 318, "start_col": 0, "start_line": 313 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> b: Pulse.Syntax.Base.binder -> e: Pulse.Syntax.Base.st_term -> f: (_: Pulse.Extract.Main.env -> _: Pulse.Syntax.Base.st_term -> FStar.Tactics.Effect.Tac Pulse.Syntax.Base.st_term) -> FStar.Tactics.Effect.Tac Pulse.Syntax.Base.st_term
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.binder", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Naming.close_st_term'", "Pulse.Extract.Main.push_binding", "Pulse.Syntax.Naming.open_st_term'", "Pulse.Syntax.Pure.tm_var", "Pulse.Syntax.Base.Mknm", "Pulse.Syntax.Base.__proj__Mkbinder__item__binder_ppn...
[]
false
true
false
false
false
let with_open (g: env) (b: binder) (e: st_term) (f: (env -> st_term -> T.Tac st_term)) : T.Tac st_term =
let open Pulse.Syntax.Naming in let x = fresh g in let e = open_st_term' e (tm_var ({ nm_index = x; nm_ppname = b.binder_ppname })) 0 in let e = f (push_binding g x b) e in close_st_term' e x 0
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.name_as_mlpath
val name_as_mlpath (x: T.name) : T.Tac mlpath
val name_as_mlpath (x: T.name) : T.Tac mlpath
let rec name_as_mlpath (x:T.name) : T.Tac mlpath = match x with | [] -> T.fail "Unexpected empty name" | [x] -> [], x | x :: xs -> let xs, x = name_as_mlpath xs in x :: xs, x
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 87, "start_col": 0, "start_line": 80 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, "full_module": "Pulse.Syntax.Naming", "short_module": "LN" }, { "abbrev": true, ...
{ "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: FStar.Stubs.Reflection.Types.name -> FStar.Tactics.Effect.Tac Pulse.Extract.CompilerLib.mlpath
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.name", "FStar.Tactics.V2.Derived.fail", "Pulse.Extract.CompilerLib.mlpath", "Prims.string", "FStar.Pervasives.Native.Mktuple2", "Prims.list", "Pulse.Extract.CompilerLib.mlsymbol", "Prims.Nil", "Prims.Cons", "Pulse.Extract.Main.name_as_mlpath" ]
[ "recursion" ]
false
true
false
false
false
let rec name_as_mlpath (x: T.name) : T.Tac mlpath =
match x with | [] -> T.fail "Unexpected empty name" | [x] -> [], x | x :: xs -> let xs, x = name_as_mlpath xs in x :: xs, x
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.term_abs_take_n_args
val term_abs_take_n_args (n_args: nat) (t: R.term) : res: (R.term & nat){snd res <= n_args}
val term_abs_take_n_args (n_args: nat) (t: R.term) : res: (R.term & nat){snd res <= n_args}
let rec term_abs_take_n_args (n_args:nat) (t:R.term) : res:(R.term & nat){snd res <= n_args} = if n_args = 0 then t, 0 else ( match R.inspect_ln t with | R.Tv_Abs _ body -> term_abs_take_n_args (n_args - 1) body | _ -> (t, n_args) )
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 199, "start_col": 0, "start_line": 192 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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_args: Prims.nat -> t: FStar.Stubs.Reflection.Types.term -> res: (FStar.Stubs.Reflection.Types.term * Prims.nat) {FStar.Pervasives.Native.snd res <= n_args}
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.Stubs.Reflection.Types.term", "Prims.op_Equality", "Prims.int", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.Types.binder", "Pulse.Extract.Main.term_abs_take_n_args", "Prims.op_Subtraction", "FStar....
[ "recursion" ]
false
false
false
false
false
let rec term_abs_take_n_args (n_args: nat) (t: R.term) : res: (R.term & nat){snd res <= n_args} =
if n_args = 0 then t, 0 else (match R.inspect_ln t with | R.Tv_Abs _ body -> term_abs_take_n_args (n_args - 1) body | _ -> (t, n_args))
false
Hacl.Impl.Blake2.Core.fst
Hacl.Impl.Blake2.Core.load_state_from_state32
val load_state_from_state32: #a:Spec.alg -> #m:m_spec -> load_state_st a m
val load_state_from_state32: #a:Spec.alg -> #m:m_spec -> load_state_st a m
let load_state_from_state32 #a #m st st32 = let r0 = rowi st 0ul in let r1 = rowi st 1ul in let r2 = rowi st 2ul in let r3 = rowi st 3ul in let b0 = rowi st32 0ul in let b1 = rowi st32 1ul in let b2 = rowi st32 2ul in let b3 = rowi st32 3ul in g_rowi_disjoint_other #_ #_ #(word_t a) ...
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Core.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 340, "start_col": 0, "start_line": 307 }
module Hacl.Impl.Blake2.Core module ST = FStar.HyperStack.ST open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.IntVector module Spec = Spec.Blake2 #set-options "--max_fuel 0 --max_ifuel 1" noextract inline_for_extraction let zero_element (a...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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
Hacl.Impl.Blake2.Core.load_state_st a m
Prims.Tot
[ "total" ]
[]
[ "Spec.Blake2.Definitions.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.M32", "Prims._assert", "Prims.eq2", "Spec.Blake2.Definitions.state", "Hacl.Impl.Blake2.Core.state_v", "Prims.unit", "Spec.Blake2.Definitions.row", "Hacl.Impl.Blake2.Core.row_v",...
[]
false
false
false
false
false
let load_state_from_state32 #a #m st st32 =
let r0 = rowi st 0ul in let r1 = rowi st 1ul in let r2 = rowi st 2ul in let r3 = rowi st 3ul in let b0 = rowi st32 0ul in let b1 = rowi st32 1ul in let b2 = rowi st32 2ul in let b3 = rowi st32 3ul in g_rowi_disjoint_other #_ #_ #(word_t a) st 0ul st32; g_rowi_disjoint_other #_ #_ #(element_t a m) st32 0ul st; g_rowi_di...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.eternal_pointer
val eternal_pointer : a: Type0 -> Type0
let eternal_pointer a = buf:B.buffer a { B.recallable buf /\ B.length buf = 1 }
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 20, "start_col": 0, "start_line": 20 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.buffer", "Prims.l_and", "LowStar.Monotonic.Buffer.recallable", "LowStar.Buffer.trivial_preorder", "Prims.b2t", "Prims.op_Equality", "Prims.int", "LowStar.Monotonic.Buffer.length" ]
[]
false
false
false
true
true
let eternal_pointer a =
buf: B.buffer a {B.recallable buf /\ B.length buf = 1}
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cached_flag
val cached_flag : b: Prims.bool -> Type0
let cached_flag (b: bool) = eternal_pointer (flag b)
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 23, "start_col": 0, "start_line": 23 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Prims.bool -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverCrypt.AutoConfig2.eternal_pointer", "EverCrypt.AutoConfig2.flag" ]
[]
false
false
false
true
true
let cached_flag (b: bool) =
eternal_pointer (flag b)
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.maybe_unfold_head
val maybe_unfold_head (g: env) (head: R.term) : T.Tac (option (either st_term R.term))
val maybe_unfold_head (g: env) (head: R.term) : T.Tac (option (either st_term R.term))
let maybe_unfold_head (g:env) (head:R.term) : T.Tac (option (either st_term R.term)) = debug g (fun _ -> Printf.sprintf "Maybe unfolding head %s\n" (T.term_to_string head)); match R.inspect_ln head with | R.Tv_FVar f -> ( let name = R.inspect_fv f in match R.lookup_typ (topenv_of_env g) name wi...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 181, "start_col": 0, "start_line": 152 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> head: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (FStar.Pervasives.either Pulse.Syntax.Base.st_term FStar.Stubs.Reflection.Types.term))
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.Types.fv", "FStar.Stubs.Reflection.V2.Builtins.lookup_typ", "Pulse.Extract.Main.topenv_of_env", "FStar.Pervasives.Native.None", "FStar.Pervasives.either", "Pulse.Sy...
[]
false
true
false
false
false
let maybe_unfold_head (g: env) (head: R.term) : T.Tac (option (either st_term R.term)) =
debug g (fun _ -> Printf.sprintf "Maybe unfolding head %s\n" (T.term_to_string head)); match R.inspect_ln head with | R.Tv_FVar f -> (let name = R.inspect_fv f in match R.lookup_typ (topenv_of_env g) name with | None -> None | Some se -> let attrs = R.sigelt_attrs se in let quals = R.sigelt_qu...
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.is_return_bv0
val is_return_bv0 (e: st_term) : bool
val is_return_bv0 (e: st_term) : bool
let is_return_bv0 (e:st_term) : bool = match is_return e with | Some term -> is_bvar term = Some 0 | _ -> false
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 338, "start_col": 0, "start_line": 335 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
e: Pulse.Syntax.Base.st_term -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.st_term", "Pulse.Extract.Main.is_return", "Pulse.Syntax.Base.term", "Prims.op_Equality", "FStar.Pervasives.Native.option", "Prims.nat", "Pulse.Syntax.Pure.is_bvar", "FStar.Pervasives.Native.Some", "Prims.bool" ]
[]
false
false
false
true
false
let is_return_bv0 (e: st_term) : bool =
match is_return e with | Some term -> is_bvar term = Some 0 | _ -> false
false
Hacl.Impl.Blake2.Core.fst
Hacl.Impl.Blake2.Core.modifies_row_state
val modifies_row_state: a:Spec.alg -> m:m_spec -> h0:mem -> h1:mem -> st:state_p a m -> i:index_t -> Lemma (requires (live h0 st /\ modifies (loc (g_rowi st i)) h0 h1)) (ensures (modifies (loc st) h0 h1 /\ state_v h1 st == Lib.Sequence.((state_v h0 st).[v i] <- row_v h1 (g_rowi st i)))) [SMTPat (modifies (loc (...
val modifies_row_state: a:Spec.alg -> m:m_spec -> h0:mem -> h1:mem -> st:state_p a m -> i:index_t -> Lemma (requires (live h0 st /\ modifies (loc (g_rowi st i)) h0 h1)) (ensures (modifies (loc st) h0 h1 /\ state_v h1 st == Lib.Sequence.((state_v h0 st).[v i] <- row_v h1 (g_rowi st i)))) [SMTPat (modifies (loc (...
let modifies_row_state a m h0 h1 st i = Lib.Sequence.(eq_intro (state_v h1 st) ((state_v h0 st).[v i] <- row_v h1 (g_rowi st i)))
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Core.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 129, "start_col": 0, "start_line": 128 }
module Hacl.Impl.Blake2.Core module ST = FStar.HyperStack.ST open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.IntVector module Spec = Spec.Blake2 #set-options "--max_fuel 0 --max_ifuel 1" noextract inline_for_extraction let zero_element (a...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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
a: Spec.Blake2.Definitions.alg -> m: Hacl.Impl.Blake2.Core.m_spec -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> st: Hacl.Impl.Blake2.Core.state_p a m -> i: Hacl.Impl.Blake2.Core.index_t -> FStar.Pervasives.Lemma (requires Lib.Buffer.live h0 st /\...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Blake2.Definitions.alg", "Hacl.Impl.Blake2.Core.m_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.index_t", "Lib.Sequence.eq_intro", "Spec.Blake2.Definitions.row", "Hacl.Impl.Blake2.Core.state_v", "Lib.Sequence.op_String_Assignment", "Lib.IntT...
[]
true
false
true
false
false
let modifies_row_state a m h0 h1 st i =
let open Lib.Sequence in eq_intro (state_v h1 st) ((state_v h0 st).[ v i ] <- row_v h1 (g_rowi st i))
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.add1_lemma'
val add1_lemma' (code: V.va_code) (_win: bool) (out f1: b64) (f2: uint64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires add1_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_stdcall va_s0 va_s1 /\ ...
val add1_lemma' (code: V.va_code) (_win: bool) (out f1: b64) (f2: uint64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires add1_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_stdcall va_s0 va_s1 /\ ...
let add1_lemma' (code:V.va_code) (_win:bool) (out:b64) (f1:b64) (f2:uint64) (va_s0:V.va_state) : Ghost (V.va_state & V.va_fuel) (requires add1_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_std...
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 105, "start_col": 0, "start_line": 80 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "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
code: Vale.X64.Decls.va_code -> _win: Prims.bool -> out: Vale.Stdcalls.X64.Fadd.b64 -> f1: Vale.Stdcalls.X64.Fadd.b64 -> f2: Vale.Stdcalls.X64.Fadd.uint64 -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Prims.bool", "Vale.Stdcalls.X64.Fadd.b64", "Vale.Stdcalls.X64.Fadd.uint64", "Vale.X64.Decls.va_state", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "Prims._assert", "Vale.AsLowStar.ValeSig.vale_calling_conventions_stdcall", "Vale.AsLowSta...
[]
false
false
false
false
false
let add1_lemma' (code: V.va_code) (_win: bool) (out f1: b64) (f2: uint64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires add1_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_stdcall va_s0 va_s1 /\ ...
let va_s1, f = FU.va_lemma_Fast_add1_stdcall code va_s0 IA.win (as_vale_buffer out) (as_vale_buffer f1) (UInt64.v f2) in Vale.AsLowStar.MemoryHelpers.buffer_writeable_reveal ME.TUInt64 ME.TUInt64 out; Vale.AsLowStar.MemoryHelpers.buffer_writeable_reveal ME.TUInt64 ME.TUInt64 f1; assert (VSig.vale_...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_aesni
val has_aesni: getter Vale.X64.CPU_Features_s.aesni_enabled
val has_aesni: getter Vale.X64.CPU_Features_s.aesni_enabled
let has_aesni = mk_getter cpu_has_aesni
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 54, "start_col": 0, "start_line": 54 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.aesni_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.aesni_enabled", "EverCrypt.AutoConfig2.cpu_has_aesni" ]
[]
false
false
false
true
false
let has_aesni =
mk_getter cpu_has_aesni
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.find_map
val find_map (f: ('a -> option 'b)) (l: list 'a) : option 'b
val find_map (f: ('a -> option 'b)) (l: list 'a) : option 'b
let rec find_map (f: 'a -> option 'b) (l:list 'a) : option 'b = match l with | [] -> None | hd::tl -> let x = f hd in if Some? x then x else find_map f tl
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 66, "end_line": 734, "start_col": 0, "start_line": 731 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
f: (_: 'a -> FStar.Pervasives.Native.option 'b) -> l: Prims.list 'a -> FStar.Pervasives.Native.option 'b
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "Prims.list", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.uu___is_Some", "Prims.bool", "Pulse.Extract.Main.find_map" ]
[ "recursion" ]
false
false
false
true
false
let rec find_map (f: ('a -> option 'b)) (l: list 'a) : option 'b =
match l with | [] -> None | hd :: tl -> let x = f hd in if Some? x then x else find_map f tl
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_shaext
val has_shaext: getter Vale.X64.CPU_Features_s.sha_enabled
val has_shaext: getter Vale.X64.CPU_Features_s.sha_enabled
let has_shaext = mk_getter cpu_has_shaext
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 53, "start_col": 0, "start_line": 53 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.sha_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.sha_enabled", "EverCrypt.AutoConfig2.cpu_has_shaext" ]
[]
false
false
false
true
false
let has_shaext =
mk_getter cpu_has_shaext
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_pclmulqdq
val has_pclmulqdq: getter Vale.X64.CPU_Features_s.pclmulqdq_enabled
val has_pclmulqdq: getter Vale.X64.CPU_Features_s.pclmulqdq_enabled
let has_pclmulqdq = mk_getter cpu_has_pclmulqdq
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 55, "start_col": 0, "start_line": 55 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.pclmulqdq_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.pclmulqdq_enabled", "EverCrypt.AutoConfig2.cpu_has_pclmulqdq" ]
[]
false
false
false
true
false
let has_pclmulqdq =
mk_getter cpu_has_pclmulqdq
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.simplify_branch
val simplify_branch (g: env) (b: branch) : T.Tac branch
val simplify_branch (g: env) (b: branch) : T.Tac branch
let rec simplify_st_term (g:env) (e:st_term) : T.Tac st_term = let ret t = { e with term = t } in let with_open b e = with_open g b e simplify_st_term in match e.term with | Tm_Return _ | Tm_IntroPure _ | Tm_ElimExists _ | Tm_IntroExists _ | Tm_STApp _ | Tm_Rewrite _ | Tm_Admit _ | Tm_ProofHintWi...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 439, "start_col": 0, "start_line": 369 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> b: Pulse.Syntax.Base.branch -> FStar.Tactics.Effect.Tac Pulse.Syntax.Base.branch
FStar.Tactics.Effect.Tac
[]
[ "simplify_st_term", "simplify_branch" ]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.branch", "Pulse.Syntax.Base.pattern", "Pulse.Syntax.Base.st_term", "Pulse.Extract.CompilerLib.mlpattern", "Prims.list", "Pulse.Typing.Env.binding", "FStar.Pervasives.Native.Mktuple2", "Pulse.Syntax.Naming.close_st_term_n", "FStar.List.Tot.Base.map", "...
[ "mutual recursion" ]
false
true
false
false
false
let rec simplify_branch (g: env) (b: branch) : T.Tac branch =
let pat, body = b in let g, _, bs = extend_env_pat g pat in let body = Pulse.Checker.Match.open_st_term_bs body bs in let body = simplify_st_term g body in pat, Pulse.Syntax.Naming.close_st_term_n body (L.map fst bs)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_avx2
val has_avx2: getter Vale.X64.CPU_Features_s.avx2_enabled
val has_avx2: getter Vale.X64.CPU_Features_s.avx2_enabled
let has_avx2 = mk_getter cpu_has_avx2
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 56, "start_col": 0, "start_line": 56 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.avx2_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.avx2_enabled", "EverCrypt.AutoConfig2.cpu_has_avx2" ]
[]
false
false
false
true
false
let has_avx2 =
mk_getter cpu_has_avx2
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_adx
val has_adx: getter Vale.X64.CPU_Features_s.adx_enabled
val has_adx: getter Vale.X64.CPU_Features_s.adx_enabled
let has_adx = mk_getter cpu_has_adx
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.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": 59 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.adx_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.adx_enabled", "EverCrypt.AutoConfig2.cpu_has_adx" ]
[]
false
false
false
true
false
let has_adx =
mk_getter cpu_has_adx
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_movbe
val has_movbe: getter Vale.X64.CPU_Features_s.movbe_enabled
val has_movbe: getter Vale.X64.CPU_Features_s.movbe_enabled
let has_movbe = mk_getter cpu_has_movbe
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 61, "start_col": 0, "start_line": 61 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.movbe_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.movbe_enabled", "EverCrypt.AutoConfig2.cpu_has_movbe" ]
[]
false
false
false
true
false
let has_movbe =
mk_getter cpu_has_movbe
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_sse
val has_sse: getter Vale.X64.CPU_Features_s.sse_enabled
val has_sse: getter Vale.X64.CPU_Features_s.sse_enabled
let has_sse = mk_getter cpu_has_sse
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 60, "start_col": 0, "start_line": 60 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.sse_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.sse_enabled", "EverCrypt.AutoConfig2.cpu_has_sse" ]
[]
false
false
false
true
false
let has_sse =
mk_getter cpu_has_sse
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_bmi2
val has_bmi2: getter Vale.X64.CPU_Features_s.bmi2_enabled
val has_bmi2: getter Vale.X64.CPU_Features_s.bmi2_enabled
let has_bmi2 = mk_getter cpu_has_bmi2
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 58, "start_col": 0, "start_line": 58 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.bmi2_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.bmi2_enabled", "EverCrypt.AutoConfig2.cpu_has_bmi2" ]
[]
false
false
false
true
false
let has_bmi2 =
mk_getter cpu_has_bmi2
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_avx
val has_avx: getter Vale.X64.CPU_Features_s.avx_enabled
val has_avx: getter Vale.X64.CPU_Features_s.avx_enabled
let has_avx = mk_getter cpu_has_avx
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 57, "start_col": 0, "start_line": 57 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.avx_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.avx_enabled", "EverCrypt.AutoConfig2.cpu_has_avx" ]
[]
false
false
false
true
false
let has_avx =
mk_getter cpu_has_avx
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.simplify_st_term
val simplify_st_term (g: env) (e: st_term) : T.Tac st_term
val simplify_st_term (g: env) (e: st_term) : T.Tac st_term
let rec simplify_st_term (g:env) (e:st_term) : T.Tac st_term = let ret t = { e with term = t } in let with_open b e = with_open g b e simplify_st_term in match e.term with | Tm_Return _ | Tm_IntroPure _ | Tm_ElimExists _ | Tm_IntroExists _ | Tm_STApp _ | Tm_Rewrite _ | Tm_Admit _ | Tm_ProofHintWi...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 439, "start_col": 0, "start_line": 369 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> e: Pulse.Syntax.Base.st_term -> FStar.Tactics.Effect.Tac Pulse.Syntax.Base.st_term
FStar.Tactics.Effect.Tac
[]
[ "simplify_st_term", "simplify_branch" ]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.__proj__Mkst_term__item__term", "Pulse.Syntax.Base.st_term'__Tm_Return__payload", "Pulse.Syntax.Base.st_term'__Tm_IntroPure__payload", "Pulse.Syntax.Base.st_term'__Tm_ElimExists__payload", "Pulse.Syntax.Base.st_term'__Tm_IntroExis...
[ "mutual recursion" ]
false
true
false
false
false
let rec simplify_st_term (g: env) (e: st_term) : T.Tac st_term =
let ret t = { e with term = t } in let with_open b e = with_open g b e simplify_st_term in match e.term with | Tm_Return _ | Tm_IntroPure _ | Tm_ElimExists _ | Tm_IntroExists _ | Tm_STApp _ | Tm_Rewrite _ | Tm_Admit _ | Tm_ProofHintWithBinders _ -> e | Tm_Abs { b = b ; q = q ; ascription = ascription ; body = body } ->...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_avx512
val has_avx512: getter Vale.X64.CPU_Features_s.avx512_enabled
val has_avx512: getter Vale.X64.CPU_Features_s.avx512_enabled
let has_avx512 = mk_getter cpu_has_avx512
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 63, "start_col": 0, "start_line": 63 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.avx512_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.avx512_enabled", "EverCrypt.AutoConfig2.cpu_has_avx512" ]
[]
false
false
false
true
false
let has_avx512 =
mk_getter cpu_has_avx512
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_aesni
val cpu_has_aesni:cached_flag Vale.X64.CPU_Features_s.aesni_enabled
val cpu_has_aesni:cached_flag Vale.X64.CPU_Features_s.aesni_enabled
let cpu_has_aesni: cached_flag Vale.X64.CPU_Features_s.aesni_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 28, "start_col": 0, "start_line": 27 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.aesni_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.aesni_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monoto...
[]
false
false
false
true
false
let cpu_has_aesni:cached_flag Vale.X64.CPU_Features_s.aesni_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.has_rdrand
val has_rdrand: getter Vale.X64.CPU_Features_s.rdrand_enabled
val has_rdrand: getter Vale.X64.CPU_Features_s.rdrand_enabled
let has_rdrand = mk_getter cpu_has_rdrand
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 62, "start_col": 0, "start_line": 62 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.getter Vale.X64.CPU_Features_s.rdrand_enabled
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.mk_getter", "Vale.X64.CPU_Features_s.rdrand_enabled", "EverCrypt.AutoConfig2.cpu_has_rdrand" ]
[]
false
false
false
true
false
let has_rdrand =
mk_getter cpu_has_rdrand
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_avx
val cpu_has_avx:cached_flag Vale.X64.CPU_Features_s.avx_enabled
val cpu_has_avx:cached_flag Vale.X64.CPU_Features_s.avx_enabled
let cpu_has_avx: cached_flag Vale.X64.CPU_Features_s.avx_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 34, "start_col": 0, "start_line": 33 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.avx_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monotoni...
[]
false
false
false
true
false
let cpu_has_avx:cached_flag Vale.X64.CPU_Features_s.avx_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_bmi2
val cpu_has_bmi2:cached_flag Vale.X64.CPU_Features_s.bmi2_enabled
val cpu_has_bmi2:cached_flag Vale.X64.CPU_Features_s.bmi2_enabled
let cpu_has_bmi2: cached_flag Vale.X64.CPU_Features_s.bmi2_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 36, "start_col": 0, "start_line": 35 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.bmi2_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.bmi2_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monoton...
[]
false
false
false
true
false
let cpu_has_bmi2:cached_flag Vale.X64.CPU_Features_s.bmi2_enabled =
B.gcmalloc_of_list HS.root [false]
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.extract_recursive_knot
val extract_recursive_knot : g: Pulse.Extract.Main.env -> p: Pulse.Syntax.Base.st_term -> knot_name: FStar.Stubs.Reflection.Types.fv -> knot_typ: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.either (Prims.list Pulse.Extract.CompilerLib.mlmodule1) _)
let extract_recursive_knot (g:env) (p:st_term) (knot_name:R.fv) (knot_typ:R.term) = let g, tys, lb_typ, Some p = generalize g knot_typ (Some p) in let mlty = ECL.term_as_mlty g.uenv_inner lb_typ in let uenv, _mli, _ml_binding = extend_fv g.uenv_inner knot_name (tys, mlty) in l...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 29, "end_line": 800, "start_col": 0, "start_line": 785 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> p: Pulse.Syntax.Base.st_term -> knot_name: FStar.Stubs.Reflection.Types.fv -> knot_typ: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.either (Prims.list Pulse.Extract.CompilerLib.mlmodule1) _)
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.st_term", "FStar.Stubs.Reflection.Types.fv", "FStar.Stubs.Reflection.Types.term", "Prims.list", "Pulse.Extract.CompilerLib.mlident", "FStar.Stubs.Reflection.Types.typ", "Pulse.Extract.CompilerLib.uenv", "Pulse.Extract.CompilerLib.exp_binding", "Pulse.Ex...
[]
false
true
false
false
false
let extract_recursive_knot (g: env) (p: st_term) (knot_name: R.fv) (knot_typ: R.term) =
let g, tys, lb_typ, Some p = generalize g knot_typ (Some p) in let mlty = ECL.term_as_mlty g.uenv_inner lb_typ in let uenv, _mli, _ml_binding = extend_fv g.uenv_inner knot_name (tys, mlty) in let g = { g with uenv_inner = uenv } in let tm, tag = extract_recursive g p knot_name in let fv_name = let lids = R.inspect_fv...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.fp
val fp: unit -> GTot B.loc
val fp: unit -> GTot B.loc
let fp () = B.loc_buffer cpu_has_shaext `B.loc_union` B.loc_buffer cpu_has_aesni `B.loc_union` B.loc_buffer cpu_has_pclmulqdq `B.loc_union` B.loc_buffer cpu_has_avx2 `B.loc_union` B.loc_buffer cpu_has_avx `B.loc_union` B.loc_buffer cpu_has_bmi2 `B.loc_union` B.loc_buffer cpu_has_adx `B.loc_union` B.loc_...
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 76, "start_col": 0, "start_line": 65 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.loc_union", "LowStar.Monotonic.Buffer.loc_buffer", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.sha_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_shaext", "Vale.X64.CPU_Features_s.aesni_enabled", "EverCrypt.AutoConfig2.c...
[]
false
false
false
false
false
let fp () =
((((((((((B.loc_buffer cpu_has_shaext) `B.loc_union` (B.loc_buffer cpu_has_aesni)) `B.loc_union` (B.loc_buffer cpu_has_pclmulqdq)) `B.loc_union` (B.loc_buffer cpu_has_avx2)) `B.loc_union` (B.loc_buffer cpu_has_avx)) `B.loc_uni...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_sse
val cpu_has_sse:cached_flag Vale.X64.CPU_Features_s.sse_enabled
val cpu_has_sse:cached_flag Vale.X64.CPU_Features_s.sse_enabled
let cpu_has_sse: cached_flag Vale.X64.CPU_Features_s.sse_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 40, "start_col": 0, "start_line": 39 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.sse_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.sse_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monotoni...
[]
false
false
false
true
false
let cpu_has_sse:cached_flag Vale.X64.CPU_Features_s.sse_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_pclmulqdq
val cpu_has_pclmulqdq:cached_flag Vale.X64.CPU_Features_s.pclmulqdq_enabled
val cpu_has_pclmulqdq:cached_flag Vale.X64.CPU_Features_s.pclmulqdq_enabled
let cpu_has_pclmulqdq: cached_flag Vale.X64.CPU_Features_s.pclmulqdq_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 30, "start_col": 0, "start_line": 29 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.pclmulqdq_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.pclmulqdq_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Mo...
[]
false
false
false
true
false
let cpu_has_pclmulqdq:cached_flag Vale.X64.CPU_Features_s.pclmulqdq_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_shaext
val cpu_has_shaext:cached_flag Vale.X64.CPU_Features_s.sha_enabled
val cpu_has_shaext:cached_flag Vale.X64.CPU_Features_s.sha_enabled
let cpu_has_shaext: cached_flag Vale.X64.CPU_Features_s.sha_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 26, "start_col": 0, "start_line": 25 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.sha_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.sha_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monotoni...
[]
false
false
false
true
false
let cpu_has_shaext:cached_flag Vale.X64.CPU_Features_s.sha_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_adx
val cpu_has_adx:cached_flag Vale.X64.CPU_Features_s.adx_enabled
val cpu_has_adx:cached_flag Vale.X64.CPU_Features_s.adx_enabled
let cpu_has_adx: cached_flag Vale.X64.CPU_Features_s.adx_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 38, "start_col": 0, "start_line": 37 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.adx_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.adx_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monotoni...
[]
false
false
false
true
false
let cpu_has_adx:cached_flag Vale.X64.CPU_Features_s.adx_enabled =
B.gcmalloc_of_list HS.root [false]
false
Hacl.Impl.Blake2.Core.fst
Hacl.Impl.Blake2.Core.store_state_to_state32
val store_state_to_state32: #a:Spec.alg -> #m:m_spec -> store_state_st a m
val store_state_to_state32: #a:Spec.alg -> #m:m_spec -> store_state_st a m
let store_state_to_state32 #a #m st32 st = let r0 = rowi st 0ul in let r1 = rowi st 1ul in let r2 = rowi st 2ul in let r3 = rowi st 3ul in let b0 = rowi st32 0ul in let b1 = rowi st32 1ul in let b2 = rowi st32 2ul in let b3 = rowi st32 3ul in g_rowi_disjoint_other #_ #_ #(word_t a) s...
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Core.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 376, "start_col": 0, "start_line": 345 }
module Hacl.Impl.Blake2.Core module ST = FStar.HyperStack.ST open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.IntVector module Spec = Spec.Blake2 #set-options "--max_fuel 0 --max_ifuel 1" noextract inline_for_extraction let zero_element (a...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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
Hacl.Impl.Blake2.Core.store_state_st a m
Prims.Tot
[ "total" ]
[]
[ "Spec.Blake2.Definitions.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.M32", "Prims._assert", "Prims.eq2", "Spec.Blake2.Definitions.state", "Hacl.Impl.Blake2.Core.state_v", "Prims.unit", "Lib.Sequence.eq_intro", "Hacl.Impl.Blake2.Core.element_t", ...
[]
false
false
false
false
false
let store_state_to_state32 #a #m st32 st =
let r0 = rowi st 0ul in let r1 = rowi st 1ul in let r2 = rowi st 2ul in let r3 = rowi st 3ul in let b0 = rowi st32 0ul in let b1 = rowi st32 1ul in let b2 = rowi st32 2ul in let b3 = rowi st32 3ul in g_rowi_disjoint_other #_ #_ #(word_t a) st 0ul st32; g_rowi_disjoint_other #_ #_ #(element_t a m) st32 0ul st; g_rowi_di...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_avx2
val cpu_has_avx2:cached_flag Vale.X64.CPU_Features_s.avx2_enabled
val cpu_has_avx2:cached_flag Vale.X64.CPU_Features_s.avx2_enabled
let cpu_has_avx2: cached_flag Vale.X64.CPU_Features_s.avx2_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 32, "start_col": 0, "start_line": 31 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.avx2_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx2_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monoton...
[]
false
false
false
true
false
let cpu_has_avx2:cached_flag Vale.X64.CPU_Features_s.avx2_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_avx512
val cpu_has_avx512:cached_flag Vale.X64.CPU_Features_s.avx512_enabled
val cpu_has_avx512:cached_flag Vale.X64.CPU_Features_s.avx512_enabled
let cpu_has_avx512: cached_flag Vale.X64.CPU_Features_s.avx512_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 46, "start_col": 0, "start_line": 45 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.avx512_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx512_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monot...
[]
false
false
false
true
false
let cpu_has_avx512:cached_flag Vale.X64.CPU_Features_s.avx512_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_rdrand
val cpu_has_rdrand:cached_flag Vale.X64.CPU_Features_s.rdrand_enabled
val cpu_has_rdrand:cached_flag Vale.X64.CPU_Features_s.rdrand_enabled
let cpu_has_rdrand: cached_flag Vale.X64.CPU_Features_s.rdrand_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 44, "start_col": 0, "start_line": 43 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.rdrand_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.rdrand_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monot...
[]
false
false
false
true
false
let cpu_has_rdrand:cached_flag Vale.X64.CPU_Features_s.rdrand_enabled =
B.gcmalloc_of_list HS.root [false]
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.extract_pulse_sig
val extract_pulse_sig (g: uenv) (selt: R.sigelt) (p: st_term) : T.Tac (either (uenv & iface) string)
val extract_pulse_sig (g: uenv) (selt: R.sigelt) (p: st_term) : T.Tac (either (uenv & iface) string)
let extract_pulse_sig (g:uenv) (selt:R.sigelt) (p:st_term) : T.Tac (either (uenv & iface) string) = let open T in try let sigelt_view = R.inspect_sigelt selt in match sigelt_view with | R.Sg_Let is_rec lbs -> if is_rec || List.length lbs <> 1 then T.raise (Extraction_failure "Extraction o...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 83, "end_line": 870, "start_col": 0, "start_line": 847 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.CompilerLib.uenv -> selt: FStar.Stubs.Reflection.Types.sigelt -> p: Pulse.Syntax.Base.st_term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.either (Pulse.Extract.CompilerLib.uenv * Pulse.Extract.CompilerLib.iface) Prims.string)
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.CompilerLib.uenv", "FStar.Stubs.Reflection.Types.sigelt", "Pulse.Syntax.Base.st_term", "FStar.Tactics.V2.Derived.try_with", "FStar.Pervasives.either", "FStar.Pervasives.Native.tuple2", "Pulse.Extract.CompilerLib.iface", "Prims.string", "Prims.unit", "Prims.bool", "Prims.list", "...
[]
false
true
false
false
false
let extract_pulse_sig (g: uenv) (selt: R.sigelt) (p: st_term) : T.Tac (either (uenv & iface) string) =
let open T in try let sigelt_view = R.inspect_sigelt selt in match sigelt_view with | R.Sg_Let is_rec lbs -> if is_rec || List.length lbs <> 1 then T.raise (Extraction_failure "Extraction of iface for recursive lets is not yet supported") else let { lb_fv = lb_fv ; lb_typ = lb_typ } = R.inspect_...
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.erase_ghost_subterms_branch
val erase_ghost_subterms_branch (g: env) (b: branch) : T.Tac branch
val erase_ghost_subterms_branch (g: env) (b: branch) : T.Tac branch
let rec erase_ghost_subterms (g:env) (p:st_term) : T.Tac st_term = let open Pulse.Syntax.Naming in let fresh (g:env) = Pulse.Typing.fresh g.coreenv in let push_binding g x b = { g with coreenv = E.push_binding g.coreenv x b.binder_ppname b.binder_ty } in let open_erase_close (g:env) (b:binder) (e:st_term)...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 534, "start_col": 0, "start_line": 446 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> b: Pulse.Syntax.Base.branch -> FStar.Tactics.Effect.Tac Pulse.Syntax.Base.branch
FStar.Tactics.Effect.Tac
[]
[ "erase_ghost_subterms", "erase_ghost_subterms_branch" ]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.branch", "Pulse.Syntax.Base.pattern", "Pulse.Syntax.Base.st_term", "Pulse.Extract.CompilerLib.mlpattern", "Prims.list", "Pulse.Typing.Env.binding", "FStar.Pervasives.Native.Mktuple2", "Pulse.Syntax.Naming.close_st_term_n", "FStar.List.Tot.Base.map", "...
[ "mutual recursion" ]
false
true
false
false
false
let rec erase_ghost_subterms_branch (g: env) (b: branch) : T.Tac branch =
let pat, body = b in let g, _, bs = extend_env_pat g pat in let body = Pulse.Checker.Match.open_st_term_bs body bs in let body = erase_ghost_subterms g body in pat, Pulse.Syntax.Naming.close_st_term_n body (L.map fst bs)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.cpu_has_movbe
val cpu_has_movbe:cached_flag Vale.X64.CPU_Features_s.movbe_enabled
val cpu_has_movbe:cached_flag Vale.X64.CPU_Features_s.movbe_enabled
let cpu_has_movbe: cached_flag Vale.X64.CPU_Features_s.movbe_enabled = B.gcmalloc_of_list HS.root [ false ]
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 42, "start_col": 0, "start_line": 41 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.eternal_pointer (EverCrypt.AutoConfig2.flag Vale.X64.CPU_Features_s.movbe_enabled )
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.gcmalloc_of_list", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.movbe_enabled", "FStar.Monotonic.HyperHeap.root", "Prims.Cons", "Prims.Nil", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monoto...
[]
false
false
false
true
false
let cpu_has_movbe:cached_flag Vale.X64.CPU_Features_s.movbe_enabled =
B.gcmalloc_of_list HS.root [false]
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init
val init: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init () = init_cpu_flags()
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 231, "start_col": 0, "start_line": 230 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "EverCrypt.AutoConfig2.init_cpu_flags" ]
[]
false
true
false
false
false
let init () =
init_cpu_flags ()
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.erase_ghost_subterms
val erase_ghost_subterms (g: env) (p: st_term) : T.Tac st_term
val erase_ghost_subterms (g: env) (p: st_term) : T.Tac st_term
let rec erase_ghost_subterms (g:env) (p:st_term) : T.Tac st_term = let open Pulse.Syntax.Naming in let fresh (g:env) = Pulse.Typing.fresh g.coreenv in let push_binding g x b = { g with coreenv = E.push_binding g.coreenv x b.binder_ppname b.binder_ty } in let open_erase_close (g:env) (b:binder) (e:st_term)...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 534, "start_col": 0, "start_line": 446 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> p: Pulse.Syntax.Base.st_term -> FStar.Tactics.Effect.Tac Pulse.Syntax.Base.st_term
FStar.Tactics.Effect.Tac
[]
[ "erase_ghost_subterms", "erase_ghost_subterms_branch" ]
[ "Pulse.Extract.Main.env", "Pulse.Syntax.Base.st_term", "Prims.bool", "Pulse.Syntax.Base.__proj__Mkst_term__item__term", "Pulse.Syntax.Base.st_term'__Tm_IntroPure__payload", "Pulse.Syntax.Base.st_term'__Tm_ElimExists__payload", "Pulse.Syntax.Base.st_term'__Tm_IntroExists__payload", "Pulse.Syntax.Base.s...
[ "mutual recursion" ]
false
true
false
false
false
let rec erase_ghost_subterms (g: env) (p: st_term) : T.Tac st_term =
let open Pulse.Syntax.Naming in let fresh (g: env) = Pulse.Typing.fresh g.coreenv in let push_binding g x b = { g with coreenv = E.push_binding g.coreenv x b.binder_ppname b.binder_ty } in let open_erase_close (g: env) (b: binder) (e: st_term) : T.Tac st_term = let x = fresh g in let e = open_st_term' e (tm_var (...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.mk_getter
val mk_getter (#b: _) (f: cached_flag b) : getter b
val mk_getter (#b: _) (f: cached_flag b) : getter b
let mk_getter #b (f: cached_flag b): getter b = fun () -> B.recall f; B.index f 0ul
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 51, "start_col": 0, "start_line": 49 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: EverCrypt.AutoConfig2.cached_flag b -> EverCrypt.AutoConfig2.getter b
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverCrypt.AutoConfig2.cached_flag", "Prims.unit", "LowStar.Monotonic.Buffer.index", "EverCrypt.AutoConfig2.flag", "LowStar.Buffer.trivial_preorder", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "EverCrypt.AutoConfig2.getter" ]
[]
false
false
false
false
false
let mk_getter #b (f: cached_flag b) : getter b =
fun () -> B.recall f; B.index f 0ul
false
Hacl.Impl.Blake2.Core.fst
Hacl.Impl.Blake2.Core.permr_row
val permr_row: #a:Spec.alg -> #m:m_spec -> r1:row_p a m -> n:index_t -> Stack unit (requires (fun h -> live h r1)) (ensures (fun h0 _ h1 -> modifies (loc r1) h0 h1 /\ row_v h1 r1 == Spec.( rotr (row_v h0 r1) (v n) )))
val permr_row: #a:Spec.alg -> #m:m_spec -> r1:row_p a m -> n:index_t -> Stack unit (requires (fun h -> live h r1)) (ensures (fun h0 _ h1 -> modifies (loc r1) h0 h1 /\ row_v h1 r1 == Spec.( rotr (row_v h0 r1) (v n) )))
let permr_row #a #m r1 n = [@inline_let] let n0 = n in [@inline_let] let n1 = (n+.1ul)%.4ul in [@inline_let] let n2 = (n+.2ul)%.4ul in [@inline_let] let n3 = (n+.3ul)%.4ul in match a,m with | Spec.Blake2S,M256 | Spec.Blake2S,M128 -> let v0 : vec_t U32 4 = r1.(0ul) in let v1 : vec_t U32 4 =...
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Core.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 6, "end_line": 217, "start_col": 0, "start_line": 179 }
module Hacl.Impl.Blake2.Core module ST = FStar.HyperStack.ST open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.IntVector module Spec = Spec.Blake2 #set-options "--max_fuel 0 --max_ifuel 1" noextract inline_for_extraction let zero_element (a...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": false, "full_module": "Lib.IntVector", "short_module": null }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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
r1: Hacl.Impl.Blake2.Core.row_p a m -> n: Hacl.Impl.Blake2.Core.index_t -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Spec.Blake2.Definitions.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.row_p", "Hacl.Impl.Blake2.Core.index_t", "FStar.Pervasives.Native.Mktuple2", "Lib.Buffer.op_Array_Assignment", "Hacl.Impl.Blake2.Core.element_t", "Hacl.Impl.Blake2.Core.row_len", "FStar.UInt32.__uint_to_t", "Prim...
[]
false
true
false
false
false
let permr_row #a #m r1 n =
[@@ inline_let ]let n0 = n in [@@ inline_let ]let n1 = (n +. 1ul) %. 4ul in [@@ inline_let ]let n2 = (n +. 2ul) %. 4ul in [@@ inline_let ]let n3 = (n +. 3ul) %. 4ul in match a, m with | Spec.Blake2S, M256 | Spec.Blake2S, M128 -> let v0:vec_t U32 4 = r1.(0ul) in let v1:vec_t U32 4 = vec_rotate_right_lanes #U32 v0 n0...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_rdrand_flags
val init_rdrand_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_rdrand_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_rdrand_flags() = if Vale.Wrapper.X64.Cpuid.check_rdrand () <> 0UL then begin B.recall cpu_has_rdrand; B.upd cpu_has_rdrand 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 193, "start_col": 0, "start_line": 189 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.rdrand_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_rdrand", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Prims.bool", "Prims.op_disEquality", "F...
[]
false
true
false
false
false
let init_rdrand_flags () =
if Vale.Wrapper.X64.Cpuid.check_rdrand () <> 0uL then (B.recall cpu_has_rdrand; B.upd cpu_has_rdrand 0ul true)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_shaext_flags
val init_shaext_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_shaext_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_shaext_flags () = if Vale.Wrapper.X64.Cpuid.check_sha () <> 0UL then begin B.recall cpu_has_shaext; B.upd cpu_has_shaext 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.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": 111 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.sha_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_shaext", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Prims.bool", "Prims.op_disEquality", "FSta...
[]
false
true
false
false
false
let init_shaext_flags () =
if Vale.Wrapper.X64.Cpuid.check_sha () <> 0uL then (B.recall cpu_has_shaext; B.upd cpu_has_shaext 0ul true)
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.extract_pulse
val extract_pulse (uenv: uenv) (selt: R.sigelt) (p: st_term) : T.Tac (either mlmodule string)
val extract_pulse (uenv: uenv) (selt: R.sigelt) (p: st_term) : T.Tac (either mlmodule string)
let extract_pulse (uenv:uenv) (selt:R.sigelt) (p:st_term) : T.Tac (either mlmodule string) = let g = { uenv_inner=uenv; coreenv=initial_core_env uenv } in // T.print (Printf.sprintf "About to extract:\n%s\n" (st_term_to_string p)); debug g (fun _ -> Printf.sprintf "About to extract:\n%s\n" (st_term_to_string...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 75, "end_line": 845, "start_col": 0, "start_line": 806 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
uenv: Pulse.Extract.CompilerLib.uenv -> selt: FStar.Stubs.Reflection.Types.sigelt -> p: Pulse.Syntax.Base.st_term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.either Pulse.Extract.CompilerLib.mlmodule Prims.string)
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.CompilerLib.uenv", "FStar.Stubs.Reflection.Types.sigelt", "Pulse.Syntax.Base.st_term", "FStar.Tactics.V2.Derived.try_with", "FStar.Pervasives.either", "Prims.list", "Pulse.Extract.CompilerLib.mlmodule1", "Prims.string", "Prims.unit", "Prims.bool", "FStar.Stubs.Reflection.Types.let...
[]
false
true
false
false
false
let extract_pulse (uenv: uenv) (selt: R.sigelt) (p: st_term) : T.Tac (either mlmodule string) =
let g = { uenv_inner = uenv; coreenv = initial_core_env uenv } in debug g (fun _ -> Printf.sprintf "About to extract:\n%s\n" (st_term_to_string p)); let open T in try let sigelt_view = R.inspect_sigelt selt in match sigelt_view with | R.Sg_Let is_rec lbs -> (if is_rec || List.length lbs <> 1 then T.rais...
false
Vale.Stdcalls.X64.Fadd.fsti
Vale.Stdcalls.X64.Fadd.fadd_lemma'
val fadd_lemma' (code: V.va_code) (_win: bool) (out f1 f2: b64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires fadd_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_stdcall va_s0 va_s1 /\ ...
val fadd_lemma' (code: V.va_code) (_win: bool) (out f1 f2: b64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires fadd_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_stdcall va_s0 va_s1 /\ ...
let fadd_lemma' (code:V.va_code) (_win:bool) (out:b64) (f1:b64) (f2:b64) (va_s0:V.va_state) : Ghost (V.va_state & V.va_fuel) (requires fadd_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_stdcal...
{ "file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Fadd.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 184, "start_col": 0, "start_line": 157 }
module Vale.Stdcalls.X64.Fadd val z3rlimit_hack (x:nat) : squash (x < x + x + 1) #reset-options "--z3rlimit 50" open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack open FStar.Mul module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.Def.Types_s open Vale.Interop...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Decls.fsti.checked", "Vale.Interop.X64.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Int...
[ { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastUtil", "short_module": "FU" }, ...
{ "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
code: Vale.X64.Decls.va_code -> _win: Prims.bool -> out: Vale.Stdcalls.X64.Fadd.b64 -> f1: Vale.Stdcalls.X64.Fadd.b64 -> f2: Vale.Stdcalls.X64.Fadd.b64 -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Prims.bool", "Vale.Stdcalls.X64.Fadd.b64", "Vale.X64.Decls.va_state", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "Vale.AsLowStar.MemoryHelpers.buffer_writeable_reveal", "Vale.Arch.HeapTypes_s.TUInt64", "FStar.Pervasives.Native.tuple2", ...
[]
false
false
false
false
false
let fadd_lemma' (code: V.va_code) (_win: bool) (out f1 f2: b64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires fadd_pre code out f1 f2 va_s0) (ensures (fun (va_s1, f) -> V.eval_code code va_s0 f va_s1 /\ VSig.vale_calling_conventions_stdcall va_s0 va_s1 /\ ...
let va_s1, f = FH.va_lemma_Fadd_stdcall code va_s0 IA.win (as_vale_buffer out) (as_vale_buffer f1) (as_vale_buffer f2) in Vale.AsLowStar.MemoryHelpers.buffer_writeable_reveal ME.TUInt64 ME.TUInt64 out; Vale.AsLowStar.MemoryHelpers.buffer_writeable_reveal ME.TUInt64 ME.TUInt64 f1; Vale.AsLowStar.Me...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_sse_flags
val init_sse_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_sse_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_sse_flags () = if Vale.Wrapper.X64.Cpuid.check_sse () <> 0UL then begin B.recall cpu_has_sse; B.upd cpu_has_sse 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 169, "start_col": 0, "start_line": 165 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.sse_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_sse", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Prims.bool", "Prims.op_disEquality", "FStar.U...
[]
false
true
false
false
false
let init_sse_flags () =
if Vale.Wrapper.X64.Cpuid.check_sse () <> 0uL then (B.recall cpu_has_sse; B.upd cpu_has_sse 0ul true)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_movbe_flags
val init_movbe_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_movbe_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_movbe_flags () = if Vale.Wrapper.X64.Cpuid.check_movbe () <> 0UL then begin B.recall cpu_has_movbe; B.upd cpu_has_movbe 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 181, "start_col": 0, "start_line": 177 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.movbe_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_movbe", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Prims.bool", "Prims.op_disEquality", "FSt...
[]
false
true
false
false
false
let init_movbe_flags () =
if Vale.Wrapper.X64.Cpuid.check_movbe () <> 0uL then (B.recall cpu_has_movbe; B.upd cpu_has_movbe 0ul true)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_aesni_flags
val init_aesni_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_aesni_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_aesni_flags () = if Vale.Wrapper.X64.Cpuid.check_aesni () <> 0UL then begin B.recall cpu_has_aesni; B.upd cpu_has_aesni 0ul true; B.recall cpu_has_pclmulqdq; B.upd cpu_has_pclmulqdq 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 103, "start_col": 0, "start_line": 97 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.pclmulqdq_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_pclmulqdq", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Vale.X64.CPU_Features_s.aesni_enabled...
[]
false
true
false
false
false
let init_aesni_flags () =
if Vale.Wrapper.X64.Cpuid.check_aesni () <> 0uL then (B.recall cpu_has_aesni; B.upd cpu_has_aesni 0ul true; B.recall cpu_has_pclmulqdq; B.upd cpu_has_pclmulqdq 0ul true)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.disable_avx
val disable_avx: disabler
val disable_avx: disabler
let disable_avx () = B.recall cpu_has_avx; B.upd cpu_has_avx 0ul false
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 240, "start_col": 0, "start_line": 240 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.disabler
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_avx", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall" ]
[]
false
false
false
true
false
let disable_avx () =
B.recall cpu_has_avx; B.upd cpu_has_avx 0ul false
false
Hacl.K256.Scalar.fsti
Hacl.K256.Scalar.qnlimb
val qnlimb : FStar.UInt32.t
let qnlimb = 4ul
{ "file_name": "code/k256/Hacl.K256.Scalar.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 23, "start_col": 0, "start_line": 23 }
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module S = Spec.K256 module SG = Hacl.Spec.K256.GLV module BD = Hacl.Bignum.Definitions #set-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Bignum.Definitions.fst.checked", "F...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.GLV", "short_module": "SG" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_modu...
{ "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
FStar.UInt32.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let qnlimb =
4ul
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_avx512_flags
val init_avx512_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_avx512_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_avx512_flags () = if Vale.Wrapper.X64.Cpuid.check_avx512 () <> 0UL then if Vale.Wrapper.X64.Cpuid.check_osxsave () <> 0UL then if Vale.Wrapper.X64.Cpuid.check_avx_xcr0 () <> 0UL then if Vale.Wrapper.X64.Cpuid.check_avx512_xcr0 () <> 0UL then begin B.recall cpu_has_avx512; ...
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 208, "start_col": 0, "start_line": 201 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx512_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_avx512", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Prims.bool", "Prims.op_disEquality", "F...
[]
false
true
false
false
false
let init_avx512_flags () =
if Vale.Wrapper.X64.Cpuid.check_avx512 () <> 0uL then if Vale.Wrapper.X64.Cpuid.check_osxsave () <> 0uL then if Vale.Wrapper.X64.Cpuid.check_avx_xcr0 () <> 0uL then if Vale.Wrapper.X64.Cpuid.check_avx512_xcr0 () <> 0uL then (B.recall cpu_has_avx512; B.upd cpu_has_avx512 0ul tru...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_avx2_flags
val init_avx2_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_avx2_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_avx2_flags () = if Vale.Wrapper.X64.Cpuid.check_avx2 () <> 0UL then if Vale.Wrapper.X64.Cpuid.check_osxsave () <> 0UL then if Vale.Wrapper.X64.Cpuid.check_avx_xcr0 () <> 0UL then begin B.recall cpu_has_avx2; B.upd cpu_has_avx2 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 9, "end_line": 143, "start_col": 0, "start_line": 137 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx2_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_avx2", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Prims.bool", "Prims.op_disEquality", "FStar...
[]
false
true
false
false
false
let init_avx2_flags () =
if Vale.Wrapper.X64.Cpuid.check_avx2 () <> 0uL then if Vale.Wrapper.X64.Cpuid.check_osxsave () <> 0uL then if Vale.Wrapper.X64.Cpuid.check_avx_xcr0 () <> 0uL then (B.recall cpu_has_avx2; B.upd cpu_has_avx2 0ul true)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.recall
val recall: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.(loc_not_unused_in h1 `loc_includes` (fp ())) /\ h0 == h1))
val recall: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.(loc_not_unused_in h1 `loc_includes` (fp ())) /\ h0 == h1))
let recall () = B.recall cpu_has_shaext; B.recall cpu_has_aesni; B.recall cpu_has_pclmulqdq; B.recall cpu_has_avx2; B.recall cpu_has_avx; B.recall cpu_has_bmi2; B.recall cpu_has_adx; B.recall cpu_has_sse; B.recall cpu_has_movbe; B.recall cpu_has_rdrand; B.recall cpu_has_avx512
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 89, "start_col": 0, "start_line": 78 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.recall", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx512_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_avx512", "Vale.X64.CPU_Features_s.rdrand_enabled", "EverCrypt.AutoConfig2.cpu_has_rdrand", "Vale.X64.CPU_Features...
[]
false
true
false
false
false
let recall () =
B.recall cpu_has_shaext; B.recall cpu_has_aesni; B.recall cpu_has_pclmulqdq; B.recall cpu_has_avx2; B.recall cpu_has_avx; B.recall cpu_has_bmi2; B.recall cpu_has_adx; B.recall cpu_has_sse; B.recall cpu_has_movbe; B.recall cpu_has_rdrand; B.recall cpu_has_avx512
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.mk_disabler
val mk_disabler (f: eternal_pointer bool {B.loc_includes (fp ()) (B.loc_buffer f)}) : disabler
val mk_disabler (f: eternal_pointer bool {B.loc_includes (fp ()) (B.loc_buffer f)}) : disabler
let mk_disabler (f: eternal_pointer bool { B.loc_includes (fp ()) (B.loc_buffer f) }): disabler = fun () -> B.recall f; B.upd f 0ul false
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 236, "start_col": 0, "start_line": 234 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: EverCrypt.AutoConfig2.eternal_pointer Prims.bool { LowStar.Monotonic.Buffer.loc_includes (EverCrypt.AutoConfig2.fp ()) (LowStar.Monotonic.Buffer.loc_buffer f) } -> EverCrypt.AutoConfig2.disabler
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.AutoConfig2.eternal_pointer", "Prims.bool", "LowStar.Monotonic.Buffer.loc_includes", "EverCrypt.AutoConfig2.fp", "LowStar.Monotonic.Buffer.loc_buffer", "LowStar.Buffer.trivial_preorder", "Prims.unit", "LowStar.Monotonic.Buffer.upd", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer....
[]
false
false
false
false
false
let mk_disabler (f: eternal_pointer bool {B.loc_includes (fp ()) (B.loc_buffer f)}) : disabler =
fun () -> B.recall f; B.upd f 0ul false
false
Pulse.Extract.Main.fst
Pulse.Extract.Main.generalize
val generalize (g: env) (t: R.typ) (e: option st_term) : T.Tac (env & list mlident & R.typ & o: option st_term {Some? e <==> Some? o})
val generalize (g: env) (t: R.typ) (e: option st_term) : T.Tac (env & list mlident & R.typ & o: option st_term {Some? e <==> Some? o})
let rec generalize (g:env) (t:R.typ) (e:option st_term) : T.Tac (env & list mlident & R.typ & o:option st_term { Some? e <==> Some? o}) = debug g (fun _ -> Printf.sprintf "Generalizing arrow:\n%s\n" (T.term_to_string t)); let tv = R.inspect_ln t in match tv with | R.Tv_Arrow ...
{ "file_name": "lib/steel/pulse/Pulse.Extract.Main.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 727, "start_col": 0, "start_line": 684 }
(* 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.Env.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Pure.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.Naming.fsti.checked", "Pulse.Syntax.Base.fsti.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse....
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Extract.CompilerLib", "short_module": "ECL" }, { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": true, ...
{ "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
g: Pulse.Extract.Main.env -> t: FStar.Stubs.Reflection.Types.typ -> e: FStar.Pervasives.Native.option Pulse.Syntax.Base.st_term -> FStar.Tactics.Effect.Tac (((Pulse.Extract.Main.env * Prims.list Pulse.Extract.CompilerLib.mlident) * FStar.Stubs.Reflection.Types.typ) * o: FStar.Pervas...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Extract.Main.env", "FStar.Stubs.Reflection.Types.typ", "FStar.Pervasives.Native.option", "Pulse.Syntax.Base.st_term", "FStar.Stubs.Reflection.Types.binder", "FStar.Stubs.Reflection.Types.comp", "FStar.Stubs.Reflection.V2.Data.aqualv", "Prims.list", "FStar.Stubs.Reflection.Types.term", "FSta...
[ "recursion" ]
false
true
false
false
false
let rec generalize (g: env) (t: R.typ) (e: option st_term) : T.Tac (env & list mlident & R.typ & o: option st_term {Some? e <==> Some? o}) =
debug g (fun _ -> Printf.sprintf "Generalizing arrow:\n%s\n" (T.term_to_string t)); let tv = R.inspect_ln t in match tv with | R.Tv_Arrow b c -> let { sort = sort ; ppname = ppname } = R.inspect_binder b in if R.Tv_Unknown? (R.inspect_ln sort) then T.raise (Extraction_failure "Unexpected unknown sort when general...
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_adx_bmi2_flags
val init_adx_bmi2_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_adx_bmi2_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_adx_bmi2_flags () = if Vale.Wrapper.X64.Cpuid.check_adx_bmi2 () <> 0UL then begin B.recall cpu_has_bmi2; B.upd cpu_has_bmi2 0ul true; B.recall cpu_has_adx; B.upd cpu_has_adx 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 157, "start_col": 0, "start_line": 151 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.adx_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_adx", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Vale.X64.CPU_Features_s.bmi2_enabled", "EverCry...
[]
false
true
false
false
false
let init_adx_bmi2_flags () =
if Vale.Wrapper.X64.Cpuid.check_adx_bmi2 () <> 0uL then (B.recall cpu_has_bmi2; B.upd cpu_has_bmi2 0ul true; B.recall cpu_has_adx; B.upd cpu_has_adx 0ul true)
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.disable_shaext
val disable_shaext: disabler
val disable_shaext: disabler
let disable_shaext () = B.recall cpu_has_shaext; B.upd cpu_has_shaext 0ul false
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 243, "start_col": 0, "start_line": 243 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.disabler
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.sha_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_shaext", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall" ]
[]
false
false
false
true
false
let disable_shaext () =
B.recall cpu_has_shaext; B.upd cpu_has_shaext 0ul false
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.disable_avx2
val disable_avx2: disabler
val disable_avx2: disabler
let disable_avx2 () = B.recall cpu_has_avx2; B.upd cpu_has_avx2 0ul false
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 239, "start_col": 0, "start_line": 239 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.disabler
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx2_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_avx2", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall" ]
[]
false
false
false
true
false
let disable_avx2 () =
B.recall cpu_has_avx2; B.upd cpu_has_avx2 0ul false
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_cpu_flags
val init_cpu_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_cpu_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_cpu_flags () = if EverCrypt.TargetConfig.hacl_can_compile_vale then begin init_aesni_flags (); init_shaext_flags (); init_adx_bmi2_flags(); init_avx_flags (); init_avx2_flags (); init_sse_flags (); init_movbe_flags (); init_rdrand_flags (); init_avx512_flags () end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 227, "start_col": 0, "start_line": 216 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "EverCrypt.TargetConfig.hacl_can_compile_vale", "EverCrypt.AutoConfig2.init_avx512_flags", "EverCrypt.AutoConfig2.init_rdrand_flags", "EverCrypt.AutoConfig2.init_movbe_flags", "EverCrypt.AutoConfig2.init_sse_flags", "EverCrypt.AutoConfig2.init_avx2_flags", "EverCrypt.AutoConfig2.init_avx...
[]
false
true
false
false
false
let init_cpu_flags () =
if EverCrypt.TargetConfig.hacl_can_compile_vale then (init_aesni_flags (); init_shaext_flags (); init_adx_bmi2_flags (); init_avx_flags (); init_avx2_flags (); init_sse_flags (); init_movbe_flags (); init_rdrand_flags (); init_avx512_flags ())
false
Hacl.K256.Scalar.fsti
Hacl.K256.Scalar.qe_lt_q
val qe_lt_q : h: FStar.Monotonic.HyperStack.mem -> e: Hacl.K256.Scalar.qelem -> Prims.GTot Prims.bool
let qe_lt_q (h:mem) (e:qelem) = qas_nat h e < S.q
{ "file_name": "code/k256/Hacl.K256.Scalar.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 35, "start_col": 0, "start_line": 35 }
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module S = Spec.K256 module SG = Hacl.Spec.K256.GLV module BD = Hacl.Bignum.Definitions #set-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Bignum.Definitions.fst.checked", "F...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.GLV", "short_module": "SG" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_modu...
{ "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
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.K256.Scalar.qelem -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.K256.Scalar.qelem", "Prims.op_LessThan", "Hacl.K256.Scalar.qas_nat", "Spec.K256.PointOps.q", "Prims.bool" ]
[]
false
false
false
false
false
let qe_lt_q (h: mem) (e: qelem) =
qas_nat h e < S.q
false
Hacl.K256.Scalar.fsti
Hacl.K256.Scalar.qas_nat4
val qas_nat4 : f: Hacl.K256.Scalar.qelem4 -> Prims.int
let qas_nat4 (f:qelem4) = let (f0, f1, f2, f3) = f in v f0 + v f1 * pow2 64 + v f2 * pow2 128 + v f3 * pow2 192
{ "file_name": "code/k256/Hacl.K256.Scalar.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 59, "end_line": 44, "start_col": 0, "start_line": 42 }
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module S = Spec.K256 module SG = Hacl.Spec.K256.GLV module BD = Hacl.Bignum.Definitions #set-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Bignum.Definitions.fst.checked", "F...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.GLV", "short_module": "SG" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_modu...
{ "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.K256.Scalar.qelem4 -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Hacl.K256.Scalar.qelem4", "Lib.IntTypes.uint64", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Prims.pow2", "Prims.int" ]
[]
false
false
false
true
false
let qas_nat4 (f: qelem4) =
let f0, f1, f2, f3 = f in v f0 + v f1 * pow2 64 + v f2 * pow2 128 + v f3 * pow2 192
false
Hacl.K256.Scalar.fsti
Hacl.K256.Scalar.qelem
val qelem : Type0
let qelem = lbuffer uint64 qnlimb
{ "file_name": "code/k256/Hacl.K256.Scalar.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 26, "start_col": 0, "start_line": 26 }
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module S = Spec.K256 module SG = Hacl.Spec.K256.GLV module BD = Hacl.Bignum.Definitions #set-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Bignum.Definitions.fst.checked", "F...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.GLV", "short_module": "SG" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_modu...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "Hacl.K256.Scalar.qnlimb" ]
[]
false
false
false
true
true
let qelem =
lbuffer uint64 qnlimb
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.disable_bmi2
val disable_bmi2: disabler
val disable_bmi2: disabler
let disable_bmi2 () = B.recall cpu_has_bmi2; B.upd cpu_has_bmi2 0ul false
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 241, "start_col": 0, "start_line": 241 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.disabler
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.bmi2_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_bmi2", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall" ]
[]
false
false
false
true
false
let disable_bmi2 () =
B.recall cpu_has_bmi2; B.upd cpu_has_bmi2 0ul false
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.init_avx_flags
val init_avx_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
val init_avx_flags: unit -> Stack unit (requires (fun _ -> True)) (ensures (fun h0 _ h1 -> B.modifies (fp ()) h0 h1))
let init_avx_flags () = if Vale.Wrapper.X64.Cpuid.check_avx () <> 0UL then if Vale.Wrapper.X64.Cpuid.check_osxsave () <> 0UL then if Vale.Wrapper.X64.Cpuid.check_avx_xcr0 () <> 0UL then begin B.recall cpu_has_avx; B.upd cpu_has_avx 0ul true end
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 9, "end_line": 129, "start_col": 0, "start_line": 123 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.avx_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_avx", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall", "Prims.bool", "Prims.op_disEquality", "FStar.U...
[]
false
true
false
false
false
let init_avx_flags () =
if Vale.Wrapper.X64.Cpuid.check_avx () <> 0uL then if Vale.Wrapper.X64.Cpuid.check_osxsave () <> 0uL then if Vale.Wrapper.X64.Cpuid.check_avx_xcr0 () <> 0uL then (B.recall cpu_has_avx; B.upd cpu_has_avx 0ul true)
false
Hacl.K256.Scalar.fsti
Hacl.K256.Scalar.qelem4
val qelem4 : Type0
let qelem4 = uint64 & uint64 & uint64 & uint64
{ "file_name": "code/k256/Hacl.K256.Scalar.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 39, "start_col": 0, "start_line": 39 }
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module S = Spec.K256 module SG = Hacl.Spec.K256.GLV module BD = Hacl.Bignum.Definitions #set-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Bignum.Definitions.fst.checked", "F...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.GLV", "short_module": "SG" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": true, "full_modu...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple4", "Lib.IntTypes.uint64" ]
[]
false
false
false
true
true
let qelem4 =
uint64 & uint64 & uint64 & uint64
false
EverCrypt.AutoConfig2.fst
EverCrypt.AutoConfig2.disable_aesni
val disable_aesni: disabler
val disable_aesni: disabler
let disable_aesni () = B.recall cpu_has_aesni; B.upd cpu_has_aesni 0ul false
{ "file_name": "providers/evercrypt/fst/EverCrypt.AutoConfig2.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 244, "start_col": 0, "start_line": 244 }
module EverCrypt.AutoConfig2 module ST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0" (** Only partially specified; the flag may be false because it has been intentionally disabled by the client, ...
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.Cpuid.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked"...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverCrypt.AutoConfig2.disabler
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowStar.Monotonic.Buffer.upd", "EverCrypt.AutoConfig2.flag", "Vale.X64.CPU_Features_s.aesni_enabled", "LowStar.Buffer.trivial_preorder", "EverCrypt.AutoConfig2.cpu_has_aesni", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.recall" ]
[]
false
false
false
true
false
let disable_aesni () =
B.recall cpu_has_aesni; B.upd cpu_has_aesni 0ul false
false