file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_code_Gcm_blocks_wrapped
val va_code_Gcm_blocks_wrapped : alg:algorithm -> offset:int -> Tot va_code
val va_code_Gcm_blocks_wrapped : alg:algorithm -> offset:int -> Tot va_code
let va_code_Gcm_blocks_wrapped alg offset = (va_Block (va_CCons (va_code_Gcm_blocks alg offset) (va_CCons (va_Block (va_CNil ())) (va_CCons (va_Block (va_CNil ())) (va_CNil ())))))
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 1362, "start_col": 0, "start_line": 1360 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> offset: Prims.int -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Prims.int", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.AES.X64.GCMdecryptOpt.va_code_Gcm_blocks", "Vale.X64.Decls.va_CNil", "Vale.X64.Decls.va_code" ]
[]
false
false
false
true
false
let va_code_Gcm_blocks_wrapped alg offset =
(va_Block (va_CCons (va_code_Gcm_blocks alg offset) (va_CCons (va_Block (va_CNil ())) (va_CCons (va_Block (va_CNil ())) (va_CNil ())))))
false
DM4F_layered5.fst
DM4F_layered5.return
val return (a: Type) (x: a) (st: Type0) : repr a st (return_wp x)
val return (a: Type) (x: a) (st: Type0) : repr a st (return_wp x)
let return (a:Type) (x:a) (st:Type0) : repr a st (return_wp x) = fun s0 -> (x, s0)
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 51, "start_col": 0, "start_line": 50 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> st: Type0 -> DM4F_layered5.repr a st (DM4F_layered5.return_wp x)
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "DM4F_layered5.repr", "DM4F_layered5.return_wp" ]
[]
false
false
false
false
false
let return (a: Type) (x: a) (st: Type0) : repr a st (return_wp x) =
fun s0 -> (x, s0)
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_codegen_success_Gcm_blocks_wrapped
val va_codegen_success_Gcm_blocks_wrapped : alg:algorithm -> offset:int -> Tot va_pbool
val va_codegen_success_Gcm_blocks_wrapped : alg:algorithm -> offset:int -> Tot va_pbool
let va_codegen_success_Gcm_blocks_wrapped alg offset = (va_pbool_and (va_codegen_success_Gcm_blocks alg offset) (va_ttrue ()))
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 1367, "start_col": 0, "start_line": 1366 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> offset: Prims.int -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Prims.int", "Vale.X64.Decls.va_pbool_and", "Vale.AES.X64.GCMdecryptOpt.va_codegen_success_Gcm_blocks", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Gcm_blocks_wrapped alg offset =
(va_pbool_and (va_codegen_success_Gcm_blocks alg offset) (va_ttrue ()))
false
DM4F_layered5.fst
DM4F_layered5.ite_wp
val ite_wp (#a #st: _) (b: bool) (w1 w2: wp st a) : wp st a
val ite_wp (#a #st: _) (b: bool) (w1 w2: wp st a) : wp st a
let ite_wp #a #st (b:bool) (w1 w2 : wp st a) : wp st a = fun s0 p -> (b ==> w1 s0 p) /\ ((~b) ==> w2 s0 p)
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 51, "end_line": 73, "start_col": 0, "start_line": 72 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "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: Prims.bool -> w1: DM4F_layered5.wp st a -> w2: DM4F_layered5.wp st a -> DM4F_layered5.wp st a
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "DM4F_layered5.wp", "DM4F_layered5.post_t", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.l_not", "Prims.logical" ]
[]
false
false
false
true
false
let ite_wp #a #st (b: bool) (w1: wp st a) (w2: wp st a) : wp st a =
fun s0 p -> (b ==> w1 s0 p) /\ ((~b) ==> w2 s0 p)
false
DM4F_layered5.fst
DM4F_layered5.bind_wp
val bind_wp (#a #b: Type) (#st: Type0) (w1: wp st a) (w2: (a -> wp st b)) : wp st b
val bind_wp (#a #b: Type) (#st: Type0) (w1: wp st a) (w2: (a -> wp st b)) : wp st b
let bind_wp (#a:Type) (#b:Type) (#st:Type0) (w1 : wp st a) (w2 : a -> wp st b) : wp st b = fun s0 p -> w1 s0 (fun y s1 -> w2 y s1 p)
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 43, "end_line": 56, "start_col": 0, "start_line": 54 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "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
w1: DM4F_layered5.wp st a -> w2: (_: a -> DM4F_layered5.wp st b) -> DM4F_layered5.wp st b
Prims.Tot
[ "total" ]
[]
[ "DM4F_layered5.wp", "DM4F_layered5.post_t" ]
[]
false
false
false
true
false
let bind_wp (#a #b: Type) (#st: Type0) (w1: wp st a) (w2: (a -> wp st b)) : wp st b =
fun s0 p -> w1 s0 (fun y s1 -> w2 y s1 p)
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.comp_st_with_post
val comp_st_with_post (c: comp_st) (post: term) : c': comp_st{st_comp_of_comp c' == ({ st_comp_of_comp c with post = post } <: st_comp)}
val comp_st_with_post (c: comp_st) (post: term) : c': comp_st{st_comp_of_comp c' == ({ st_comp_of_comp c with post = post } <: st_comp)}
let comp_st_with_post (c:comp_st) (post:term) : c':comp_st { st_comp_of_comp c' == ({ st_comp_of_comp c with post} <: st_comp) } = match c with | C_ST st -> C_ST { st with post } | C_STGhost st -> C_STGhost { st with post } | C_STAtomic i obs st -> C_STAtomic i obs {st with post}
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 58, "end_line": 215, "start_col": 0, "start_line": 210 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Pulse.Syntax.Base.comp_st -> post: Pulse.Syntax.Base.term -> c': Pulse.Syntax.Base.comp_st { Pulse.Syntax.Base.st_comp_of_comp c' == (let _ = Pulse.Syntax.Base.st_comp_of_comp c in Pulse.Syntax.Base.Mkst_comp (Mkst_comp?.u _) (Mkst_comp?.res _) (Mkst_comp?.pre _) post) }
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.comp_st", "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.st_comp", "Pulse.Syntax.Base.C_ST", "Pulse.Syntax.Base.Mkst_comp", "Pulse.Syntax.Base.__proj__Mkst_comp__item__u", "Pulse.Syntax.Base.__proj__Mkst_comp__item__res", "Pulse.Syntax.Base.__proj__Mkst_comp__item__pre", "Pulse.Synt...
[]
false
false
false
false
false
let comp_st_with_post (c: comp_st) (post: term) : c': comp_st{st_comp_of_comp c' == ({ st_comp_of_comp c with post = post } <: st_comp)} =
match c with | C_ST st -> C_ST ({ st with post = post }) | C_STGhost st -> C_STGhost ({ st with post = post }) | C_STAtomic i obs st -> C_STAtomic i obs ({ st with post = post })
false
DM4F_layered5.fst
DM4F_layered5.lift_id_st_wp
val lift_id_st_wp (#a #st: _) (w: ID5.wp a) : wp st a
val lift_id_st_wp (#a #st: _) (w: ID5.wp a) : wp st a
let lift_id_st_wp #a #st (w : ID5.wp a) : wp st a = elim_pure_wp_monotonicity_forall (); fun s0 p -> w (fun x -> p x s0)
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 110, "start_col": 0, "start_line": 108 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "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
w: ID5.wp a -> DM4F_layered5.wp st a
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "Prims.l_True", "Prims.pure_pre", "Prims.unit", "FStar.Monotonic.Pure.elim_pure_wp_monotonicity_forall", "DM4F_layered5.wp" ]
[]
false
false
false
true
false
let lift_id_st_wp #a #st (w: ID5.wp a) : wp st a =
elim_pure_wp_monotonicity_forall (); fun s0 p -> w (fun x -> p x s0)
false
DM4F_layered5.fst
DM4F_layered5.null
val null (#st #a: _) : wp st a
val null (#st #a: _) : wp st a
let null #st #a : wp st a = fun s0 p -> forall x s1. p x s1
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 119, "start_col": 0, "start_line": 118 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "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
DM4F_layered5.wp st a
Prims.Tot
[ "total" ]
[]
[ "Prims.l_Forall", "Prims.logical", "DM4F_layered5.wp" ]
[]
false
false
false
true
false
let null #st #a : wp st a =
fun s0 p -> forall x s1. p x s1
false
DM4F_layered5.fst
DM4F_layered5.bind
val bind (a b: Type) (st: Type0) (wp_c: wp st a) (wp_f: (a -> wp st b)) (c: repr a st wp_c) (f: (x: a -> repr b st (wp_f x))) : repr b st (bind_wp wp_c wp_f)
val bind (a b: Type) (st: Type0) (wp_c: wp st a) (wp_f: (a -> wp st b)) (c: repr a st wp_c) (f: (x: a -> repr b st (wp_f x))) : repr b st (bind_wp wp_c wp_f)
let bind (a:Type) (b:Type) (st:Type0) (wp_c : wp st a) (wp_f : a -> wp st b) (c : repr a st wp_c) (f : (x:a -> repr b st (wp_f x))) : repr b st (bind_wp wp_c wp_f) = fun s0 -> //let (y, s1) = c s0 in //f y s1 // GM: argh! using the match above introduces noise in the VC, a true precondition ...
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 23, "end_line": 70, "start_col": 0, "start_line": 58 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> st: Type0 -> wp_c: DM4F_layered5.wp st a -> wp_f: (_: a -> DM4F_layered5.wp st b) -> c: DM4F_layered5.repr a st wp_c -> f: (x: a -> DM4F_layered5.repr b st (wp_f x)) -> DM4F_layered5.repr b st (DM4F_layered5.bind_wp wp_c wp_f)
Prims.Tot
[ "total" ]
[]
[ "DM4F_layered5.wp", "DM4F_layered5.repr", "FStar.Pervasives.Native.fst", "FStar.Pervasives.Native.snd", "FStar.Pervasives.Native.tuple2", "DM4F_layered5.bind_wp" ]
[]
false
false
false
false
false
let bind (a b: Type) (st: Type0) (wp_c: wp st a) (wp_f: (a -> wp st b)) (c: repr a st wp_c) (f: (x: a -> repr b st (wp_f x))) : repr b st (bind_wp wp_c wp_f) =
fun s0 -> let r = c s0 in f (fst r) (snd r)
false
DM4F_layered5.fst
DM4F_layered5.subcomp
val subcomp (a: Type) (st: Type0) (wpf wpg: wp st a) (#[@@@ refine]u: squash (stronger wpg wpf)) (f: repr a st wpf) : repr a st wpg
val subcomp (a: Type) (st: Type0) (wpf wpg: wp st a) (#[@@@ refine]u: squash (stronger wpg wpf)) (f: repr a st wpf) : repr a st wpg
let subcomp (a:Type) (st:Type0) (wpf wpg : wp st a) (#[@@@ refine] u : squash (stronger wpg wpf)) (f : repr a st wpf) : repr a st wpg = f
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 98, "start_col": 0, "start_line": 91 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> st: Type0 -> wpf: DM4F_layered5.wp st a -> wpg: DM4F_layered5.wp st a -> f: DM4F_layered5.repr a st wpf -> DM4F_layered5.repr a st wpg
Prims.Tot
[ "total" ]
[]
[ "DM4F_layered5.wp", "Prims.squash", "DM4F_layered5.stronger", "DM4F_layered5.repr" ]
[]
false
false
false
false
false
let subcomp (a: Type) (st: Type0) (wpf wpg: wp st a) (#[@@@ refine]u: squash (stronger wpg wpf)) (f: repr a st wpf) : repr a st wpg =
f
false
FStar.Bytes.fsti
FStar.Bytes.index
val index : b: FStar.Bytes.bytes -> i: Prims.nat{i < FStar.Bytes.length b} -> FStar.Bytes.byte
let index (b:bytes) (i:nat{i < length b}) = get b (U32.uint_to_t i)
{ "file_name": "ulib/FStar.Bytes.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 74, "end_line": 100, "start_col": 7, "start_line": 100 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String....
[ { "abbrev": true, "full_module": "FStar.Char", "short_module": "Chr" }, { "abbrev": true, "full_module": "FStar.String", "short_module": "Str" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "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: FStar.Bytes.bytes -> i: Prims.nat{i < FStar.Bytes.length b} -> FStar.Bytes.byte
Prims.Tot
[ "total" ]
[]
[ "FStar.Bytes.bytes", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Bytes.length", "FStar.Bytes.get", "FStar.UInt32.uint_to_t", "FStar.Bytes.byte" ]
[]
false
false
false
false
false
let index (b: bytes) (i: nat{i < length b}) =
get b (U32.uint_to_t i)
false
FStar.Bytes.fsti
FStar.Bytes.create_
val create_ : n: Prims.nat{FStar.UInt.size n FStar.UInt32.n} -> v: FStar.Bytes.byte -> b: FStar.Bytes.lbytes (FStar.UInt32.v (FStar.UInt32.uint_to_t n)) {forall (i: FStar.Bytes.u32{i <^ FStar.UInt32.uint_to_t n}). {:pattern b.[ i ]} b.[ i ] == v}
let create_ (n:nat{FStar.UInt.size n U32.n}) v = create (U32.uint_to_t n) v
{ "file_name": "ulib/FStar.Bytes.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 75, "end_line": 119, "start_col": 0, "start_line": 119 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String....
[ { "abbrev": true, "full_module": "FStar.Char", "short_module": "Chr" }, { "abbrev": true, "full_module": "FStar.String", "short_module": "Str" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat{FStar.UInt.size n FStar.UInt32.n} -> v: FStar.Bytes.byte -> b: FStar.Bytes.lbytes (FStar.UInt32.v (FStar.UInt32.uint_to_t n)) {forall (i: FStar.Bytes.u32{i <^ FStar.UInt32.uint_to_t n}). {:pattern b.[ i ]} b.[ i ] == v}
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.UInt.size", "FStar.UInt32.n", "FStar.Bytes.byte", "FStar.Bytes.create", "FStar.UInt32.uint_to_t", "FStar.Bytes.lbytes", "FStar.UInt32.v", "Prims.l_Forall", "FStar.Bytes.u32", "Prims.b2t", "FStar.UInt32.op_Less_Hat", "Prims.eq2", "FStar.Bytes.op_String_Access" ]
[]
false
false
false
false
false
let create_ (n: nat{FStar.UInt.size n U32.n}) v =
create (U32.uint_to_t n) v
false
FStar.Bytes.fsti
FStar.Bytes.slice_
val slice_ : b: FStar.Bytes.bytes -> s: Prims.nat -> e: Prims.nat{s <= e /\ e <= FStar.Bytes.length b} -> r: FStar.Bytes.bytes { FStar.Bytes.reveal r == FStar.Seq.Base.slice (FStar.Bytes.reveal b) (FStar.UInt32.v (FStar.UInt32.uint_to_t s)) (FStar.UInt32.v (FStar.UInt32.uint_to_t...
let slice_ b (s:nat) (e:nat{s <= e /\ e <= length b}) = slice b (U32.uint_to_t s) (U32.uint_to_t e)
{ "file_name": "ulib/FStar.Bytes.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 99, "end_line": 147, "start_col": 0, "start_line": 147 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String....
[ { "abbrev": true, "full_module": "FStar.Char", "short_module": "Chr" }, { "abbrev": true, "full_module": "FStar.String", "short_module": "Str" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "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: FStar.Bytes.bytes -> s: Prims.nat -> e: Prims.nat{s <= e /\ e <= FStar.Bytes.length b} -> r: FStar.Bytes.bytes { FStar.Bytes.reveal r == FStar.Seq.Base.slice (FStar.Bytes.reveal b) (FStar.UInt32.v (FStar.UInt32.uint_to_t s)) (FStar.UInt32.v (FStar.UInt32.uint_to_t e)) }
Prims.Tot
[ "total" ]
[]
[ "FStar.Bytes.bytes", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Bytes.length", "FStar.Bytes.slice", "FStar.UInt32.uint_to_t", "Prims.eq2", "FStar.Seq.Base.seq", "FStar.Bytes.byte", "FStar.Bytes.reveal", "FStar.Seq.Base.slice", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let slice_ b (s: nat) (e: nat{s <= e /\ e <= length b}) =
slice b (U32.uint_to_t s) (U32.uint_to_t e)
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.k_elab_trans
val k_elab_trans (#g0:env) (#g1:env { g1 `env_extends` g0 }) (#g2:env { g2 `env_extends` g1 }) (#ctxt0 #ctxt1 #ctxt2:term) (k0:continuation_elaborator g0 ctxt0 g1 ctxt1) (k1:continuation_elaborator g1 ctxt1 g2 ctxt2 { g1 `env_extends` g0}) : continuation_elaborator g0 ctxt0 g2 ctxt2
val k_elab_trans (#g0:env) (#g1:env { g1 `env_extends` g0 }) (#g2:env { g2 `env_extends` g1 }) (#ctxt0 #ctxt1 #ctxt2:term) (k0:continuation_elaborator g0 ctxt0 g1 ctxt1) (k1:continuation_elaborator g1 ctxt1 g2 ctxt2 { g1 `env_extends` g0}) : continuation_elaborator g0 ctxt0 g2 ctxt2
let k_elab_trans (#g0:env) (#g1:env { g1 `env_extends` g0 }) (#g2:env { g2 `env_extends` g1 }) (#ctxt0 #ctxt1 #ctxt2:term) (k0:continuation_elaborator g0 ctxt0 g1 ctxt1) (k1:continuation_elaborator g1 ctxt1 g2 ctxt2 { g1 `env_extends` g0}) : continuation_elaborator g0 ctxt0 g2 ctxt2 = fun post_hint res -> k...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 208, "start_col": 0, "start_line": 203 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.Checker.Pure", "short_module": "CP" }, { "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
k0: Pulse.Checker.Base.continuation_elaborator g0 ctxt0 g1 ctxt1 -> k1: Pulse.Checker.Base.continuation_elaborator g1 ctxt1 g2 ctxt2 {Pulse.Typing.Env.env_extends g1 g0} -> Pulse.Checker.Base.continuation_elaborator g0 ctxt0 g2 ctxt2
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Typing.Env.env_extends", "Pulse.Syntax.Base.term", "Pulse.Checker.Base.continuation_elaborator", "Pulse.Typing.post_hint_opt", "Pulse.Typing.Combinators.st_typing_in_ctxt" ]
[]
false
false
false
false
false
let k_elab_trans (#g0: env) (#g1: env{g1 `env_extends` g0}) (#g2: env{g2 `env_extends` g1}) (#ctxt0 #ctxt1 #ctxt2: term) (k0: continuation_elaborator g0 ctxt0 g1 ctxt1) (k1: continuation_elaborator g1 ctxt1 g2 ctxt2 {g1 `env_extends` g0}) : continuation_elaborator g0 ctxt0 g2 ctx...
fun post_hint res -> k0 post_hint (k1 post_hint res)
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_code_Gcm_blocks_decrypt_stdcall
val va_code_Gcm_blocks_decrypt_stdcall : win:bool -> alg:algorithm -> Tot va_code
val va_code_Gcm_blocks_decrypt_stdcall : win:bool -> alg:algorithm -> Tot va_code
let va_code_Gcm_blocks_decrypt_stdcall win alg = (va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (va_Block (va_CNil ())) (va_CCons (va_code_Save_registers win) (va_CCons (if win then va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdi) (va_op_opr64_reg64 rRcx)) (va_CCons (va_code_Mov64 ...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 60, "end_line": 1936, "start_col": 0, "start_line": 1916 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsMem.va_code_CreateHeaplets", "Vale.X64.Decls.va_CNil", "Vale.AES.X64.GCMencryptOpt.va_code_Save_registers", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", ...
[]
false
false
false
true
false
let va_code_Gcm_blocks_decrypt_stdcall win alg =
(va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (va_Block (va_CNil ())) (va_CCons (va_code_Save_registers win) (va_CCons (if win then va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdi) ...
false
DM4F_layered5.fst
DM4F_layered5.lift_id_st
val lift_id_st (a wp st: _) (f: ID5.repr a wp) : repr a st (lift_id_st_wp wp)
val lift_id_st (a wp st: _) (f: ID5.repr a wp) : repr a st (lift_id_st_wp wp)
let lift_id_st a wp st (f : ID5.repr a wp) : repr a st (lift_id_st_wp wp) = fun s0 -> ID5.ID?.reflect (ID5.bind _ _ _ _ f (fun x -> ID5.return _ (x, s0)))
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 82, "end_line": 114, "start_col": 0, "start_line": 112 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: ID5.wp a -> st: Type0 -> f: ID5.repr a wp -> DM4F_layered5.repr a st (DM4F_layered5.lift_id_st_wp wp)
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "ID5.repr", "ID5.bind", "FStar.Pervasives.Native.tuple2", "ID5.return_wp", "FStar.Pervasives.Native.Mktuple2", "ID5.return", "FStar.Monotonic.Pure.as_pure_wp", "Prims.pure_post", "DM4F_layered5.lift_id_st_wp", "DM4F_Utils.curry", "Prims.pure_pre", "DM4F_layered5.repr" ]
[]
false
false
false
false
false
let lift_id_st a wp st (f: ID5.repr a wp) : repr a st (lift_id_st_wp wp) =
fun s0 -> ID5.ID?.reflect (ID5.bind _ _ _ _ f (fun x -> ID5.return _ (x, s0)))
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.st_equiv_trans
val st_equiv_trans (#g: env) (#c0 #c1 #c2: comp) (d01: st_equiv g c0 c1) (d12: st_equiv g c1 c2) : option (st_equiv g c0 c2)
val st_equiv_trans (#g: env) (#c0 #c1 #c2: comp) (d01: st_equiv g c0 c1) (d12: st_equiv g c1 c2) : option (st_equiv g c0 c2)
let st_equiv_trans (#g:env) (#c0 #c1 #c2:comp) (d01:st_equiv g c0 c1) (d12:st_equiv g c1 c2) : option (st_equiv g c0 c2) = match d01 with | ST_VPropEquiv _f _c0 _c1 x c0_pre_typing c0_res_typing c0_post_typing eq_res_01 eq_pre_01 eq_post_01 -> ( let ST_VPropEquiv _f _c1 _c2 y c1_pre_typing c1_res_typ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 46, "end_line": 238, "start_col": 0, "start_line": 220 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": t...
{ "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
d01: Pulse.Typing.st_equiv g c0 c1 -> d12: Pulse.Typing.st_equiv g c1 c2 -> FStar.Pervasives.Native.option (Pulse.Typing.st_equiv g c0 c2)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.comp", "Pulse.Typing.st_equiv", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.st_equiv_pre", "Pulse.Syntax.Base.var", "Prims.l_and", "Prims.b2t", "FStar.Pervasives.Native.uu___is_None", "Pulse.Syntax.Base.typ", "Pulse.Typing.Env.lookup", "Prims.l_not", ...
[]
false
false
false
false
false
let st_equiv_trans (#g: env) (#c0 #c1 #c2: comp) (d01: st_equiv g c0 c1) (d12: st_equiv g c1 c2) : option (st_equiv g c0 c2) =
match d01 with | ST_VPropEquiv _f _c0 _c1 x c0_pre_typing c0_res_typing c0_post_typing eq_res_01 eq_pre_01 eq_post_01 -> (let ST_VPropEquiv _f _c1 _c2 y c1_pre_typing c1_res_typing c1_post_typing eq_res_12 eq_pre_12 eq_post_12 = ...
false
FStar.Bytes.fsti
FStar.Bytes.equal
val equal : b1: FStar.Bytes.bytes -> b2: FStar.Bytes.bytes -> Prims.logical
let equal b1 b2 = length b1 = length b2 /\ (forall (i:u32{U32.v i < length b1}).{:pattern (b1.[i]); (b2.[i])} b1.[i] == b2.[i])
{ "file_name": "ulib/FStar.Bytes.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 86, "end_line": 104, "start_col": 0, "start_line": 102 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String....
[ { "abbrev": true, "full_module": "FStar.Char", "short_module": "Chr" }, { "abbrev": true, "full_module": "FStar.String", "short_module": "Str" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "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
b1: FStar.Bytes.bytes -> b2: FStar.Bytes.bytes -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Bytes.bytes", "Prims.l_and", "Prims.b2t", "Prims.op_Equality", "FStar.UInt.uint_t", "FStar.Bytes.length", "Prims.l_Forall", "FStar.Bytes.u32", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.eq2", "FStar.Bytes.byte", "FStar.Bytes.op_String_Access", "Prims.logical" ]
[]
false
false
false
true
true
let equal b1 b2 =
length b1 = length b2 /\ (forall (i: u32{U32.v i < length b1}). {:pattern (b1.[ i ]); (b2.[ i ])} b1.[ i ] == b2.[ i ])
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_codegen_success_Gcm_blocks_decrypt_stdcall
val va_codegen_success_Gcm_blocks_decrypt_stdcall : win:bool -> alg:algorithm -> Tot va_pbool
val va_codegen_success_Gcm_blocks_decrypt_stdcall : win:bool -> alg:algorithm -> Tot va_pbool
let va_codegen_success_Gcm_blocks_decrypt_stdcall win alg = (va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (va_codegen_success_Save_registers win) (va_pbool_and (if win then va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRdi) (va_op_opr64_reg64 rRcx)) (va_pbool_and (va_...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 1961, "start_col": 0, "start_line": 1939 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsMem.va_codegen_success_CreateHeaplets", "Vale.AES.X64.GCMencryptOpt.va_codegen_success_Save_registers", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let va_codegen_success_Gcm_blocks_decrypt_stdcall win alg =
(va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (va_codegen_success_Save_registers win) (va_pbool_and (if win then va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRdi) (va_op_opr64_reg64 rRcx)) (va_pbool_...
false
DM4F_layered5.fst
DM4F_layered5.main
val main : Prims.unit
let main = let r, n = reify (reify (add_via_state 1 2) 3) (Ghost.hide (fun _ -> True)) () in FStar.IO.print_string (FStar.Printf.sprintf "%d:%d\n" r n)
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 60, "end_line": 147, "start_col": 0, "start_line": 145 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "FStar.IO.print_string", "FStar.Printf.sprintf", "Prims.unit", "FStar.Pervasives.Native.tuple2", "FStar.Ghost.reveal", "FStar.Ghost.hide", "Prims.l_True", "DM4F_layered5.add_via_state" ]
[]
false
false
false
true
false
let main =
let r, n = reify (reify (add_via_state 1 2) 3) (Ghost.hide (fun _ -> True)) () in FStar.IO.print_string (FStar.Printf.sprintf "%d:%d\n" r n)
false
FStar.Bytes.fsti
FStar.Bytes.fits_in_k_bytes
val fits_in_k_bytes : n: Prims.nat -> k: Prims.nat -> Type0
let fits_in_k_bytes (n:nat) (k:nat) = FStar.UInt.size n (op_Multiply 8 k)
{ "file_name": "ulib/FStar.Bytes.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 73, "end_line": 165, "start_col": 0, "start_line": 165 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String....
[ { "abbrev": true, "full_module": "FStar.Char", "short_module": "Chr" }, { "abbrev": true, "full_module": "FStar.String", "short_module": "Str" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> k: Prims.nat -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.UInt.size", "Prims.op_Multiply" ]
[]
false
false
false
true
true
let fits_in_k_bytes (n k: nat) =
FStar.UInt.size n (op_Multiply 8 k)
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.readback_comp_res_as_comp
val readback_comp_res_as_comp (c: T.comp) : option comp
val readback_comp_res_as_comp (c: T.comp) : option comp
let readback_comp_res_as_comp (c:T.comp) : option comp = match c with | T.C_Total t -> ( match readback_comp t with | None -> None | Some c -> Some c ) | _ -> None
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 681, "start_col": 0, "start_line": 674 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Typing.LN", "short_module": "LN" }, { "abbrev": false, "full_module": "Pulse.PP", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: FStar.Tactics.NamedView.comp -> FStar.Pervasives.Native.option Pulse.Syntax.Base.comp
Prims.Tot
[ "total" ]
[]
[ "FStar.Tactics.NamedView.comp", "FStar.Stubs.Reflection.Types.typ", "Pulse.Readback.readback_comp", "FStar.Pervasives.Native.None", "Pulse.Syntax.Base.comp", "Prims.eq2", "FStar.Stubs.Reflection.Types.term", "Pulse.Elaborate.Pure.elab_comp", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native...
[]
false
false
false
true
false
let readback_comp_res_as_comp (c: T.comp) : option comp =
match c with | T.C_Total t -> (match readback_comp t with | None -> None | Some c -> Some c) | _ -> None
false
FStar.Bytes.fsti
FStar.Bytes.xor_
val xor_ : b1: FStar.Bytes.minbytes n -> b2: FStar.Bytes.minbytes n -> b: FStar.Bytes.bytes{FStar.Bytes.len b = FStar.UInt32.uint_to_t n}
let xor_ (#n:nat{FStar.UInt.size n U32.n}) (b1:minbytes n) (b2:minbytes n) = xor (U32.uint_to_t n) b1 b2
{ "file_name": "ulib/FStar.Bytes.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 111, "end_line": 247, "start_col": 7, "start_line": 247 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String....
[ { "abbrev": true, "full_module": "FStar.Char", "short_module": "Chr" }, { "abbrev": true, "full_module": "FStar.String", "short_module": "Str" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "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
b1: FStar.Bytes.minbytes n -> b2: FStar.Bytes.minbytes n -> b: FStar.Bytes.bytes{FStar.Bytes.len b = FStar.UInt32.uint_to_t n}
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.UInt.size", "FStar.UInt32.n", "FStar.Bytes.minbytes", "FStar.Bytes.xor", "FStar.UInt32.uint_to_t", "FStar.Bytes.bytes", "Prims.b2t", "Prims.op_Equality", "FStar.Bytes.u32", "FStar.Bytes.len" ]
[]
false
false
false
false
false
let xor_ (#n: nat{FStar.UInt.size n U32.n}) (b1 b2: minbytes n) =
xor (U32.uint_to_t n) b1 b2
false
FStar.Bytes.fsti
FStar.Bytes.split_
val split_ : b: FStar.Bytes.bytes -> k: Prims.nat{FStar.UInt.size k FStar.UInt32.n /\ k < FStar.Bytes.length b} -> p: (FStar.Bytes.bytes * FStar.Bytes.bytes) { let _ = p in (let FStar.Pervasives.Native.Mktuple2 #_ #_ x y = _ in (FStar.Bytes.reveal x, FStar.Bytes.reveal y) == ...
let split_ b (k:nat{FStar.UInt.size k U32.n /\ k < length b}) = split b (U32.uint_to_t k)
{ "file_name": "ulib/FStar.Bytes.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 96, "end_line": 162, "start_col": 7, "start_line": 162 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String....
[ { "abbrev": true, "full_module": "FStar.Char", "short_module": "Chr" }, { "abbrev": true, "full_module": "FStar.String", "short_module": "Str" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "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: FStar.Bytes.bytes -> k: Prims.nat{FStar.UInt.size k FStar.UInt32.n /\ k < FStar.Bytes.length b} -> p: (FStar.Bytes.bytes * FStar.Bytes.bytes) { let _ = p in (let FStar.Pervasives.Native.Mktuple2 #_ #_ x y = _ in (FStar.Bytes.reveal x, FStar.Bytes.reveal y) == FStar.S...
Prims.Tot
[ "total" ]
[]
[ "FStar.Bytes.bytes", "Prims.nat", "Prims.l_and", "FStar.UInt.size", "FStar.UInt32.n", "Prims.b2t", "Prims.op_LessThan", "FStar.Bytes.length", "FStar.Bytes.split", "FStar.UInt32.uint_to_t", "FStar.Pervasives.Native.tuple2", "Prims.eq2", "FStar.Seq.Base.seq", "FStar.Bytes.byte", "FStar.Per...
[]
false
false
false
false
false
let split_ b (k: nat{FStar.UInt.size k U32.n /\ k < length b}) =
split b (U32.uint_to_t k)
false
DM4F_layered5.fst
DM4F_layered5.put
val put (#st: _) (s: st) : ST unit st (fun _ p -> p () s)
val put (#st: _) (s: st) : ST unit st (fun _ p -> p () s)
let put #st (s:st) : ST unit st (fun _ p -> p () s) = ST?.reflect (fun _ -> ((), s))
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 125, "start_col": 0, "start_line": 124 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "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: st -> DM4F_layered5.ST Prims.unit
DM4F_layered5.ST
[]
[]
[ "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "FStar.Pervasives.Native.tuple2" ]
[]
false
true
false
false
false
let put #st (s: st) : ST unit st (fun _ p -> p () s) =
ST?.reflect (fun _ -> ((), s))
false
DM4F_layered5.fst
DM4F_layered5.test
val test: Prims.unit -> ST int int null
val test: Prims.unit -> ST int int null
let test () : ST int int null = let x = get () in put (x + x); get () + get ()
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 131, "start_col": 0, "start_line": 128 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> DM4F_layered5.ST Prims.int
DM4F_layered5.ST
[]
[]
[ "Prims.unit", "Prims.op_Addition", "Prims.int", "DM4F_layered5.get", "DM4F_layered5.put", "DM4F_layered5.null" ]
[]
false
true
false
false
false
let test () : ST int int null =
let x = get () in put (x + x); get () + get ()
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.simplify_post
val simplify_post (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (post: term{comp_post c == tm_star post tm_emp}) : st_typing g t (comp_st_with_post c post)
val simplify_post (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (post: term{comp_post c == tm_star post tm_emp}) : st_typing g t (comp_st_with_post c post)
let simplify_post (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c) (post:term { comp_post c == tm_star post tm_emp}) : st_typing g t (comp_st_with_post c post) = st_equiv_post d post (fun x -> ve_unit_r (push_binding g x ppname_default (comp_res c)) (open_term post x))
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 111, "end_line": 270, "start_col": 0, "start_line": 267 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": t...
{ "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
d: Pulse.Typing.st_typing g t c -> post: Pulse.Syntax.Base.term {Pulse.Syntax.Base.comp_post c == Pulse.Syntax.Base.tm_star post Pulse.Syntax.Base.tm_emp} -> Pulse.Typing.st_typing g t (Pulse.Checker.Base.comp_st_with_post c post)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.st_typing", "Pulse.Syntax.Base.term", "Prims.eq2", "Pulse.Syntax.Base.comp_post", "Pulse.Syntax.Base.tm_star", "Pulse.Syntax.Base.tm_emp", "Pulse.Checker.Base.st_equiv_post", "Pulse.Syntax.Base.var", ...
[]
false
false
false
false
false
let simplify_post (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (post: term{comp_post c == tm_star post tm_emp}) : st_typing g t (comp_st_with_post c post) =
st_equiv_post d post (fun x -> ve_unit_r (push_binding g x ppname_default (comp_res c)) (open_term post x))
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Mov64
val eval_Mov64 (src: nat64) : option nat64
val eval_Mov64 (src: nat64) : option nat64
let eval_Mov64 (src:nat64) : option nat64 = Some src
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 13, "start_col": 0, "start_line": 13 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": ...
{ "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
src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Mov64 (src: nat64) : option nat64 =
Some src
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_qcode_Gcm_extra_bytes
val va_qcode_Gcm_extra_bytes (va_mods: va_mods_t) (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) : (va_qui...
val va_qcode_Gcm_extra_bytes (va_mods: va_mods_t) (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) : (va_qui...
let va_qcode_Gcm_extra_bytes (va_mods:va_mods_t) (alg:algorithm) (inout_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (hkeys_b:buffer128) (total_bytes:nat) (old_hash:quad32) (completed_quads:(seq quad32)) (h_LE:quad32) : (va_quickCode unit (va_code_Gcm_extra_bytes alg)) = (qblock v...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 112, "start_col": 0, "start_line": 76 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> hkeys_b: Vale.X64.Memory.buffe...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.nat", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsVector.va_code_L...
[]
false
false
false
false
false
let va_qcode_Gcm_extra_bytes (va_mods: va_mods_t) (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) : (va_qui...
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in let len:(va_int_range 1 1) = 1 in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 188 column 19 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/x64/Vale.AES.X64.GCMdecryptOpt.v...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Bswap64
val eval_Bswap64 (dst: nat64) : option nat64
val eval_Bswap64 (dst: nat64) : option nat64
let eval_Bswap64 (dst:nat64) : option nat64 = Some (reverse_bytes_nat64 dst)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 19, "start_col": 0, "start_line": 19 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.reverse_bytes_nat64", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Bswap64 (dst: nat64) : option nat64 =
Some (reverse_bytes_nat64 dst)
false
DM4F_layered5.fst
DM4F_layered5.addx
val addx (x: int) : ST unit int (fun s0 p -> p () (s0 + x))
val addx (x: int) : ST unit int (fun s0 p -> p () (s0 + x))
let addx (x:int) : ST unit int (fun s0 p -> p () (s0+x)) = let y = get () in put (x+y)
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 135, "start_col": 0, "start_line": 133 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.int -> DM4F_layered5.ST Prims.unit
DM4F_layered5.ST
[]
[]
[ "Prims.int", "DM4F_layered5.put", "Prims.op_Addition", "Prims.unit", "DM4F_layered5.get" ]
[]
false
true
false
false
false
let addx (x: int) : ST unit int (fun s0 p -> p () (s0 + x)) =
let y = get () in put (x + y)
false
DM4F_layered5.fst
DM4F_layered5.get
val get: #st: _ -> Prims.unit -> ST st st (fun s0 p -> p s0 s0)
val get: #st: _ -> Prims.unit -> ST st st (fun s0 p -> p s0 s0)
let get #st () : ST st st (fun s0 p -> p s0 s0) = ST?.reflect (fun s0 -> (s0, s0))
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 122, "start_col": 0, "start_line": 121 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> DM4F_layered5.ST st
DM4F_layered5.ST
[]
[]
[ "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2" ]
[]
false
true
false
false
false
let get #st () : ST st st (fun s0 p -> p s0 s0) =
ST?.reflect (fun s0 -> (s0, s0))
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Cmovc64
val eval_Cmovc64 (dst src: nat64) (carry: bool) : option nat64
val eval_Cmovc64 (dst src: nat64) (carry: bool) : option nat64
let eval_Cmovc64 (dst src:nat64) (carry:bool) : option nat64 = Some (if carry then src else dst)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 96, "end_line": 22, "start_col": 0, "start_line": 22 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> carry: Prims.bool -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "Prims.bool", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Cmovc64 (dst src: nat64) (carry: bool) : option nat64 =
Some (if carry then src else dst)
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.apply_checker_result_k
val apply_checker_result_k (#g:env) (#ctxt:vprop) (#post_hint:post_hint_for_env g) (r:checker_result_t g ctxt (Some post_hint)) (res_ppname:ppname) : T.Tac (st_typing_in_ctxt g ctxt (Some post_hint))
val apply_checker_result_k (#g:env) (#ctxt:vprop) (#post_hint:post_hint_for_env g) (r:checker_result_t g ctxt (Some post_hint)) (res_ppname:ppname) : T.Tac (st_typing_in_ctxt g ctxt (Some post_hint))
let apply_checker_result_k (#g:env) (#ctxt:vprop) (#post_hint:post_hint_for_env g) (r:checker_result_t g ctxt (Some post_hint)) (res_ppname:ppname) : T.Tac (st_typing_in_ctxt g ctxt (Some post_hint)) = // TODO: FIXME add to checker result type? let (| y, g1, (| u_ty, ty_y, d_ty_y |), (| pre', _ |), k |) = r ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 22, "end_line": 631, "start_col": 0, "start_line": 618 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": true, "full_module": "Pulse.Typing.LN", "short_module": "LN" }, { "abbrev": false, "full_module": "Pulse.PP", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Pulse.Checker.Base.checker_result_t g ctxt (FStar.Pervasives.Native.Some post_hint) -> res_ppname: Pulse.Syntax.Base.ppname -> FStar.Tactics.Effect.Tac (Pulse.Typing.Combinators.st_typing_in_ctxt g ctxt (FStar.Pervasives.Native.Some post_hint))
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.vprop", "Pulse.Typing.post_hint_for_env", "Pulse.Checker.Base.checker_result_t", "FStar.Pervasives.Native.Some", "Pulse.Typing.post_hint_t", "Pulse.Syntax.Base.ppname", "Pulse.Syntax.Base.var", "Pulse.Typing.Env.env_extends", "Pulse.Syntax.Base.universe",...
[]
false
true
false
false
false
let apply_checker_result_k (#g: env) (#ctxt: vprop) (#post_hint: post_hint_for_env g) (r: checker_result_t g ctxt (Some post_hint)) (res_ppname: ppname) : T.Tac (st_typing_in_ctxt g ctxt (Some post_hint)) =
let (| y , g1 , (| u_ty , ty_y , d_ty_y |) , (| pre' , _ |) , k |) = r in let (| u_ty_y , d_ty_y |) = Pulse.Checker.Pure.check_universe g1 ty_y in let d:st_typing_in_ctxt g1 pre' (Some post_hint) = return_in_ctxt g1 y res_ppname u_ty_y ty_y pre' d_ty_y (Some post_hint) in k (Some post_hint) d
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.norm_typing
val norm_typing (g:env) (e:term) (eff:_) (t0:term) (d:typing g e eff t0) (steps:list norm_step) : T.Tac (t':term & typing g e eff t')
val norm_typing (g:env) (e:term) (eff:_) (t0:term) (d:typing g e eff t0) (steps:list norm_step) : T.Tac (t':term & typing g e eff t')
let norm_typing (g:env) (e:term) (eff:_) (t0:term) (d:typing g e eff t0) (steps:list norm_step) : T.Tac (t':term & typing g e eff t') = let t = elab_term t0 in let u_t_typing : Ghost.erased (u:R.universe & RT.typing _ _ _) = Pulse.Typing.Metatheory.Base.typing_correctness d._0 in ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 802, "start_col": 0, "start_line": 786 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": true, "full_module": "Pulse.Typing.LN", "short_module": "LN" }, { "abbrev": false, "full_module": "Pulse.PP", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
g: Pulse.Typing.Env.env -> e: Pulse.Syntax.Base.term -> eff: FStar.Stubs.TypeChecker.Core.tot_or_ghost -> t0: Pulse.Syntax.Base.term -> d: Pulse.Typing.typing g e eff t0 -> steps: Prims.list FStar.Pervasives.norm_step -> FStar.Tactics.Effect.Tac (Prims.dtuple2 Pulse.Syntax.Base.term (fun ...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "FStar.Stubs.TypeChecker.Core.tot_or_ghost", "Pulse.Typing.typing", "Prims.list", "FStar.Pervasives.norm_step", "FStar.Stubs.Reflection.Types.term", "FStar.Ghost.erased", "FStar.Reflection.Typing.typing", "Pulse.Typing.elab_env", "FStar.Pervasive...
[]
false
true
false
false
false
let norm_typing (g: env) (e: term) (eff: _) (t0: term) (d: typing g e eff t0) (steps: list norm_step) : T.Tac (t': term & typing g e eff t') =
let t = elab_term t0 in let u_t_typing:Ghost.erased (u: R.universe & RT.typing _ _ _) = Pulse.Typing.Metatheory.Base.typing_correctness d._0 in let (| t' , t'_typing , related_t_t' |) = Pulse.RuntimeUtils.norm_well_typed_term (dsnd u_t_typing) steps in match Pulse.Readback.readback_ty t' with | None -> T.fail "Coul...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_MovBe64
val eval_MovBe64 (src: nat64) : option nat64
val eval_MovBe64 (src: nat64) : option nat64
let eval_MovBe64 (src:nat64) : option nat64 = if movbe_enabled then Some (reverse_bytes_nat64 src) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 108, "end_line": 16, "start_col": 0, "start_line": 16 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "Vale.X64.CPU_Features_s.movbe_enabled", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.reverse_bytes_nat64", "Prims.bool", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_MovBe64 (src: nat64) : option nat64 =
if movbe_enabled then Some (reverse_bytes_nat64 src) else None
false
DM4F_layered5.fst
DM4F_layered5.add_via_state
val add_via_state (x y: int) : ST int int (fun s0 p -> p (x + y) s0)
val add_via_state (x y: int) : ST int int (fun s0 p -> p (x + y) s0)
let add_via_state (x y : int) : ST int int (fun s0 p -> p (x+y) s0) = let o = get () in put x; addx y; let r = get () in put o; r
{ "file_name": "examples/layeredeffects/DM4F_layered5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 143, "start_col": 0, "start_line": 137 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "ID5.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.IO.fst.checked", "FStar.Ghost.fsti.checked", "DM4F_Utils...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "DM4F_Utils", "short_module": null }, { "abbrev": false, "full_module": "ID5", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.int -> y: Prims.int -> DM4F_layered5.ST Prims.int
DM4F_layered5.ST
[]
[]
[ "Prims.int", "Prims.unit", "DM4F_layered5.put", "DM4F_layered5.get", "DM4F_layered5.addx", "Prims.op_Addition" ]
[]
false
true
false
false
false
let add_via_state (x y: int) : ST int int (fun s0 p -> p (x + y) s0) =
let o = get () in put x; addx y; let r = get () in put o; r
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Xor64
val eval_Xor64 (dst src: nat64) : option (nat64 & (bool & bool))
val eval_Xor64 (dst src: nat64) : option (nat64 & (bool & bool))
let eval_Xor64 (dst src:nat64) : option (nat64 & (bool & bool)) = Some (Vale.Def.Types_s.ixor dst src, (false, false))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 70, "start_col": 0, "start_line": 69 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Vale.X64.Machine_s.nat64 * (Prims.bool * Prims.bool))
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "Prims.bool", "FStar.Pervasives.Native.Mktuple2", "Vale.Def.Types_s.ixor", "Vale.Def.Words_s.pow2_64", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Xor64 (dst src: nat64) : option (nat64 & (bool & bool)) =
Some (Vale.Def.Types_s.ixor dst src, (false, false))
false
Vale.Inline.X64.Fadd_inline.fst
Vale.Inline.X64.Fadd_inline.fsub_lemma'
val fsub_lemma' (code: V.va_code) (_win: bool) (out f1 f2: b64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires fsub_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 va_s0 va_s1 fsub_regs_...
val fsub_lemma' (code: V.va_code) (_win: bool) (out f1 f2: b64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires fsub_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 va_s0 va_s1 fsub_regs_...
let fsub_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 fsub_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 va_s0 ...
{ "file_name": "vale/code/arch/x64/interop/Vale.Inline.X64.Fadd_inline.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 366, "start_col": 0, "start_line": 339 }
module Vale.Inline.X64.Fadd_inline open FStar.Mul open FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module DV = LowStar.BufferView.Down open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module LSig = Vale.AsLowStar.LowStarSig...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Print_Inline_s.fst.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", "Va...
[ { "abbrev": false, "full_module": "Vale.AsLowStar.MemoryHelpers", "short_module": null }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, ...
{ "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.Inline.X64.Fadd_inline.b64 -> f1: Vale.Inline.X64.Fadd_inline.b64 -> f2: Vale.Inline.X64.Fadd_inline.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.Inline.X64.Fadd_inline.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 fsub_lemma' (code: V.va_code) (_win: bool) (out f1 f2: b64) (va_s0: V.va_state) : Ghost (V.va_state & V.va_fuel) (requires fsub_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 va_s0 va_s1 fsub_regs_...
let va_s1, f = FH.va_lemma_Fsub code va_s0 (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.MemoryHelpers.buffer_writeable_reveal...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Shr64
val eval_Shr64 (dst amt: nat64) : option nat64
val eval_Shr64 (dst amt: nat64) : option nat64
let eval_Shr64 (dst amt:nat64) : option nat64 = if amt < 64 then Some (Vale.Def.Types_s.ishr dst amt) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 74, "start_col": 0, "start_line": 73 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> amt: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "Prims.op_LessThan", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.ishr", "Vale.Def.Words_s.pow2_64", "Prims.bool", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Shr64 (dst amt: nat64) : option nat64 =
if amt < 64 then Some (Vale.Def.Types_s.ishr dst amt) else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_And64
val eval_And64 (dst src: nat64) : option nat64
val eval_And64 (dst src: nat64) : option nat64
let eval_And64 (dst src:nat64) : option nat64 = Some (iand dst src)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 66, "start_col": 0, "start_line": 66 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.iand", "Vale.Def.Words_s.pow2_64", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_And64 (dst src: nat64) : option nat64 =
Some (iand dst src)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.check_avx
val check_avx (#a: Type0) (x: option a) : option a
val check_avx (#a: Type0) (x: option a) : option a
let check_avx (#a:Type0) (x:option a) : option a = if avx_enabled then x else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 99, "start_col": 0, "start_line": 98 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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: FStar.Pervasives.Native.option a -> FStar.Pervasives.Native.option a
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "Vale.X64.CPU_Features_s.avx_enabled", "Prims.bool", "FStar.Pervasives.Native.None" ]
[]
false
false
false
true
false
let check_avx (#a: Type0) (x: option a) : option a =
if avx_enabled then x else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.check_sse2
val check_sse2 (#a: Type0) (x: option a) : option a
val check_sse2 (#a: Type0) (x: option a) : option a
let check_sse2 (#a:Type0) (x:option a) : option a = if sse2_enabled then x else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 102, "start_col": 0, "start_line": 101 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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: FStar.Pervasives.Native.option a -> FStar.Pervasives.Native.option a
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "Vale.X64.CPU_Features_s.sse2_enabled", "Prims.bool", "FStar.Pervasives.Native.None" ]
[]
false
false
false
true
false
let check_sse2 (#a: Type0) (x: option a) : option a =
if sse2_enabled then x else None
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.comp_typing_from_post_hint
val comp_typing_from_post_hint (#g: env) (c: comp_st) (pre_typing: tot_typing g (comp_pre c) tm_vprop) (p:post_hint_for_env g { comp_post_matches_hint c (Some p) }) : T.Tac (comp_typing_u g c)
val comp_typing_from_post_hint (#g: env) (c: comp_st) (pre_typing: tot_typing g (comp_pre c) tm_vprop) (p:post_hint_for_env g { comp_post_matches_hint c (Some p) }) : T.Tac (comp_typing_u g c)
let comp_typing_from_post_hint (#g: env) (c: comp_st) (pre_typing: tot_typing g (comp_pre c) tm_vprop) (p:post_hint_for_env g { comp_post_matches_hint c (Some p) }) : T.Tac (comp_typing_u g c) = let x = fresh g in if x `Set.mem` freevars p.post //exclude this then fail g None "Impossible: unexpected...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 158, "start_col": 0, "start_line": 145 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.Checker.Pure", "short_module": "CP" }, { "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
c: Pulse.Syntax.Base.comp_st -> pre_typing: Pulse.Typing.tot_typing g (Pulse.Syntax.Base.comp_pre c) Pulse.Syntax.Base.tm_vprop -> p: Pulse.Typing.post_hint_for_env g {Pulse.Typing.comp_post_matches_hint c (FStar.Pervasives.Native.Some p)} -> FStar.Tactics.Effect.Tac (Pulse.Typing.comp_typi...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.comp_pre", "Pulse.Syntax.Base.tm_vprop", "Pulse.Typing.post_hint_for_env", "Pulse.Typing.comp_post_matches_hint", "FStar.Pervasives.Native.Some", "Pulse.Typing.post_hint_t", "FStar.Set.mem", "Pulse...
[]
false
true
false
false
false
let comp_typing_from_post_hint (#g: env) (c: comp_st) (pre_typing: tot_typing g (comp_pre c) tm_vprop) (p: post_hint_for_env g {comp_post_matches_hint c (Some p)}) : T.Tac (comp_typing_u g c) =
let x = fresh g in if x `Set.mem` (freevars p.post) then fail g None "Impossible: unexpected freevar in post, please file a bug-report" else let post_typing = post_hint_typing g p x in intro_comp_typing g c pre_typing post_typing.effect_annot_typing post_typing.ty_typing x post_typing.post_t...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Xgetbv
val eval_Xgetbv (rcx: nat64) : option (nat64 & nat64)
val eval_Xgetbv (rcx: nat64) : option (nat64 & nat64)
let eval_Xgetbv (rcx:nat64) : option (nat64 & nat64) = if osxsave_enabled && rcx = 0 then Some (xgetbv rRax rcx, xgetbv rRdx rcx) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 86, "end_line": 92, "start_col": 0, "start_line": 91 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
rcx: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Vale.X64.Machine_s.nat64 * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "Prims.op_AmpAmp", "Vale.X64.CPU_Features_s.osxsave_enabled", "Prims.op_Equality", "Prims.int", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.CPU_Features_s.xgetbv", "Vale.X64.Machine_s.rRax", "Vale.X64...
[]
false
false
false
true
false
let eval_Xgetbv (rcx: nat64) : option (nat64 & nat64) =
if osxsave_enabled && rcx = 0 then Some (xgetbv rRax rcx, xgetbv rRdx rcx) else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Shl64
val eval_Shl64 (dst amt: nat64) : option nat64
val eval_Shl64 (dst amt: nat64) : option nat64
let eval_Shl64 (dst amt:nat64) : option nat64 = if amt < 64 then Some (Vale.Def.Types_s.ishl dst amt) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 78, "start_col": 0, "start_line": 77 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> amt: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "Prims.op_LessThan", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.ishl", "Vale.Def.Words_s.pow2_64", "Prims.bool", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Shl64 (dst amt: nat64) : option nat64 =
if amt < 64 then Some (Vale.Def.Types_s.ishl dst amt) else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.check_sse4_1
val check_sse4_1 (#a: Type0) (x: option a) : option a
val check_sse4_1 (#a: Type0) (x: option a) : option a
let check_sse4_1 (#a:Type0) (x:option a) : option a = if sse4_1_enabled then x else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 108, "start_col": 0, "start_line": 107 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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: FStar.Pervasives.Native.option a -> FStar.Pervasives.Native.option a
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "Vale.X64.CPU_Features_s.sse4_1_enabled", "Prims.bool", "FStar.Pervasives.Native.None" ]
[]
false
false
false
true
false
let check_sse4_1 (#a: Type0) (x: option a) : option a =
if sse4_1_enabled then x else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Cpuid
val eval_Cpuid (rax rcx: nat64) : option (nat64 & (nat64 & (nat64 & nat64)))
val eval_Cpuid (rax rcx: nat64) : option (nat64 & (nat64 & (nat64 & nat64)))
let eval_Cpuid (rax rcx:nat64) : option (nat64 & (nat64 & (nat64 & nat64))) = Some (cpuid rRax rax rcx, (cpuid rRbx rax rcx, (cpuid rRcx rax rcx, cpuid rRdx rax rcx)))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 91, "end_line": 82, "start_col": 0, "start_line": 81 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
rax: Vale.X64.Machine_s.nat64 -> rcx: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Vale.X64.Machine_s.nat64 * (Vale.X64.Machine_s.nat64 * (Vale.X64.Machine_s.nat64 * Vale.X64.Machine_s.nat64)))
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.CPU_Features_s.cpuid", "Vale.X64.Machine_s.rRax", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Machine_s.rRdx", "FStar.Pervasives.Native.op...
[]
false
false
false
true
false
let eval_Cpuid (rax rcx: nat64) : option (nat64 & (nat64 & (nat64 & nat64))) =
Some (cpuid rRax rax rcx, (cpuid rRbx rax rcx, (cpuid rRcx rax rcx, cpuid rRdx rax rcx)))
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.intro_comp_typing
val intro_comp_typing (g:env) (c:comp_st) (pre_typing:tot_typing g (comp_pre c) tm_vprop) (iname_typing:effect_annot_typing g (effect_annot_of_comp c)) (res_typing:universe_of g (comp_res c) (comp_u c)) (x:var...
val intro_comp_typing (g:env) (c:comp_st) (pre_typing:tot_typing g (comp_pre c) tm_vprop) (iname_typing:effect_annot_typing g (effect_annot_of_comp c)) (res_typing:universe_of g (comp_res c) (comp_u c)) (x:var...
let intro_comp_typing (g:env) (c:comp_st) (pre_typing:tot_typing g (comp_pre c) tm_vprop) (i_typing:effect_annot_typing g (effect_annot_of_comp c)) (res_typing:universe_of g (comp_res c) (comp_u c)) (x:var { f...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 80, "start_col": 0, "start_line": 56 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.Checker.Pure", "short_module": "CP" }, { "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.Typing.Env.env -> c: Pulse.Syntax.Base.comp_st -> pre_typing: Pulse.Typing.tot_typing g (Pulse.Syntax.Base.comp_pre c) Pulse.Syntax.Base.tm_vprop -> iname_typing: Pulse.Typing.effect_annot_typing g (Pulse.Syntax.Base.effect_annot_of_comp c) -> res_typing: Pulse.Typing.universe_of g (...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.comp_pre", "Pulse.Syntax.Base.tm_vprop", "Pulse.Typing.effect_annot_typing", "Pulse.Syntax.Base.effect_annot_of_comp", "Pulse.Typing.universe_of", "Pulse.Syntax.Base.comp_res", "Pulse.Syntax.Base.com...
[]
false
true
false
false
false
let intro_comp_typing (g: env) (c: comp_st) (pre_typing: tot_typing g (comp_pre c) tm_vprop) (i_typing: effect_annot_typing g (effect_annot_of_comp c)) (res_typing: universe_of g (comp_res c) (comp_u c)) (x: var{fresh_wrt x g (freevars (comp_post c))}) (post_typing: t...
let intro_st_comp_typing (st: st_comp { comp_u c == st.u /\ comp_pre c == st.pre /\ comp_res c == st.res /\ comp_post c == st.post }) : T.Tac (st_comp_typing g st) = STC g st x res_typing pre_typing post_typing in match c with | C_ST st -> let stc = intro_st_comp_typing...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.check_ssse3
val check_ssse3 (#a: Type0) (x: option a) : option a
val check_ssse3 (#a: Type0) (x: option a) : option a
let check_ssse3 (#a:Type0) (x:option a) : option a = if ssse3_enabled then x else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 105, "start_col": 0, "start_line": 104 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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: FStar.Pervasives.Native.option a -> FStar.Pervasives.Native.option a
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "Vale.X64.CPU_Features_s.ssse3_enabled", "Prims.bool", "FStar.Pervasives.Native.None" ]
[]
false
false
false
true
false
let check_ssse3 (#a: Type0) (x: option a) : option a =
if ssse3_enabled then x else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Pand
val eval_Pand (dst src: quad32) : option quad32
val eval_Pand (dst src: quad32) : option quad32
let eval_Pand (dst src:quad32) : option quad32 = check_sse2 (Some (four_map2 (fun di si -> iand di si) dst src))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 112, "end_line": 119, "start_col": 0, "start_line": 119 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.quad32 -> src: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "FStar.Pervasives.Native.Some", "Vale.Def.Words.Four_s.four_map2", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.pow2_32", "Vale.Def.Types_s.iand", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Pand (dst src: quad32) : option quad32 =
check_sse2 (Some (four_map2 (fun di si -> iand di si) dst src))
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Add64
val eval_Add64 (dst src: nat64) : option (bool & nat64)
val eval_Add64 (dst src: nat64) : option (bool & nat64)
let eval_Add64 (dst src:nat64) : option (bool & nat64) = let sum = dst + src in Some (sum >= pow2_64, sum % pow2_64)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 26, "start_col": 0, "start_line": 25 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Prims.bool * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "Prims.bool", "FStar.Pervasives.Native.Mktuple2", "Prims.op_GreaterThanOrEqual", "Vale.X64.Machine_s.pow2_64", "Prims.op_Modulus", "Prims.int", "Prims.op_Addition", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Add64 (dst src: nat64) : option (bool & nat64) =
let sum = dst + src in Some (sum >= pow2_64, sum % pow2_64)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Movdqu
val eval_Movdqu (src: quad32) : option quad32
val eval_Movdqu (src: quad32) : option quad32
let eval_Movdqu (src:quad32) : option quad32 = check_sse2 (Some src)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 110, "start_col": 0, "start_line": 110 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Movdqu (src: quad32) : option quad32 =
check_sse2 (Some src)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_VPxor
val eval_VPxor (src1 src2: quad32) : option quad32
val eval_VPxor (src1 src2: quad32) : option quad32
let eval_VPxor (src1 src2:quad32) : option quad32 = check_avx (Some (quad32_xor src1 src2))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 91, "end_line": 116, "start_col": 0, "start_line": 116 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_avx", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.quad32_xor", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_VPxor (src1 src2: quad32) : option quad32 =
check_avx (Some (quad32_xor src1 src2))
false
Vale.Inline.X64.Fadd_inline.fst
Vale.Inline.X64.Fadd_inline.add_scalar
val add_scalar (out:u256) (f1:u256) (f2:UInt64.t) : Stack (Ghost.erased UInt64.t) (requires fun h -> adx_enabled /\ bmi2_enabled /\ B.live h out /\ B.live h f1 /\ (B.disjoint out f1 \/ out == f1)) (ensures fun h0 c h1 -> B.live h1 out /\ B.live h1 f1 /\ B.modifies (B.loc_buffer out) h0 h...
val add_scalar (out:u256) (f1:u256) (f2:UInt64.t) : Stack (Ghost.erased UInt64.t) (requires fun h -> adx_enabled /\ bmi2_enabled /\ B.live h out /\ B.live h f1 /\ (B.disjoint out f1 \/ out == f1)) (ensures fun h0 c h1 -> B.live h1 out /\ B.live h1 f1 /\ B.modifies (B.loc_buffer out) h0 h...
let add_scalar out f1 f2 = DV.length_eq (get_downview out); DV.length_eq (get_downview f1); let (x, _) = lowstar_add1_normal_t out f1 f2 () in x
{ "file_name": "vale/code/arch/x64/interop/Vale.Inline.X64.Fadd_inline.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 162, "start_col": 0, "start_line": 158 }
module Vale.Inline.X64.Fadd_inline open FStar.Mul open FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module DV = LowStar.BufferView.Down open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module LSig = Vale.AsLowStar.LowStarSig...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Print_Inline_s.fst.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", "Va...
[ { "abbrev": false, "full_module": "Vale.AsLowStar.MemoryHelpers", "short_module": null }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, ...
{ "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
out: Vale.Inline.X64.Fadd_inline.u256 -> f1: Vale.Inline.X64.Fadd_inline.u256 -> f2: FStar.UInt64.t -> FStar.HyperStack.ST.Stack (FStar.Ghost.erased FStar.UInt64.t)
FStar.HyperStack.ST.Stack
[]
[]
[ "Vale.Inline.X64.Fadd_inline.u256", "FStar.UInt64.t", "FStar.Ghost.erased", "Vale.Interop.X64.as_lowstar_sig_ret", "FStar.Ghost.hide", "Vale.Interop.X64.als_ret", "Vale.Inline.X64.Fadd_inline.lowstar_add1_normal_t", "Prims.unit", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "Vale.Intero...
[]
false
true
false
false
false
let add_scalar out f1 f2 =
DV.length_eq (get_downview out); DV.length_eq (get_downview f1); let x, _ = lowstar_add1_normal_t out f1 f2 () in x
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Pxor
val eval_Pxor (dst src: quad32) : option quad32
val eval_Pxor (dst src: quad32) : option quad32
let eval_Pxor (dst src:quad32) : option quad32 = check_sse2 (Some (quad32_xor dst src))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 113, "start_col": 0, "start_line": 113 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.quad32 -> src: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.quad32_xor", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Pxor (dst src: quad32) : option quad32 =
check_sse2 (Some (quad32_xor dst src))
false
Vale.Inline.X64.Fadd_inline.fst
Vale.Inline.X64.Fadd_inline.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 va_s0 va_s1 fadd_regs_...
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 va_s0 va_s1 fadd_regs_...
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 va_s0 ...
{ "file_name": "vale/code/arch/x64/interop/Vale.Inline.X64.Fadd_inline.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 243, "start_col": 0, "start_line": 216 }
module Vale.Inline.X64.Fadd_inline open FStar.Mul open FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module DV = LowStar.BufferView.Down open Vale.Def.Types_s open Vale.Interop.Base module IX64 = Vale.Interop.X64 module VSig = Vale.AsLowStar.ValeSig module LSig = Vale.AsLowStar.LowStarSig...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Print_Inline_s.fst.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", "Va...
[ { "abbrev": false, "full_module": "Vale.AsLowStar.MemoryHelpers", "short_module": null }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastWide", "short_module": "FW" }, { "abbrev": true, "full_module": "Vale.Curve25519.X64.FastHybrid", "short_module": "FH" }, ...
{ "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.Inline.X64.Fadd_inline.b64 -> f1: Vale.Inline.X64.Fadd_inline.b64 -> f2: Vale.Inline.X64.Fadd_inline.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.Inline.X64.Fadd_inline.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 va_s0 va_s1 fadd_regs_...
let va_s1, f = FH.va_lemma_Fadd code va_s0 (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.MemoryHelpers.buffer_writeable_reveal...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Pslld
val eval_Pslld (amt: int) (dst: quad32) : option quad32
val eval_Pslld (amt: int) (dst: quad32) : option quad32
let eval_Pslld (amt:int) (dst:quad32) : option quad32 = check_sse2 (if 0 <= amt && amt < 32 then Some (four_map (fun i -> ishl i amt) dst) else None)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 136, "start_col": 0, "start_line": 135 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
amt: Prims.int -> dst: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "FStar.Pervasives.Native.Some", "Vale.Def.Words.Four_s.four_map", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.pow2_32", "Vale.Def.Types_s.ishl", "P...
[]
false
false
false
true
false
let eval_Pslld (amt: int) (dst: quad32) : option quad32 =
check_sse2 (if 0 <= amt && amt < 32 then Some (four_map (fun i -> ishl i amt) dst) else None)
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_wpProof_Gcm_extra_bytes
val va_wpProof_Gcm_extra_bytes : alg:algorithm -> inout_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> hkeys_b:buffer128 -> total_bytes:nat -> old_hash:quad32 -> completed_quads:(seq quad32) -> h_LE:quad32 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state...
val va_wpProof_Gcm_extra_bytes : alg:algorithm -> inout_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> hkeys_b:buffer128 -> total_bytes:nat -> old_hash:quad32 -> completed_quads:(seq quad32) -> h_LE:quad32 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state...
let va_wpProof_Gcm_extra_bytes alg inout_b key round_keys keys_b hkeys_b total_bytes old_hash completed_quads h_LE va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gcm_extra_bytes (va_code_Gcm_extra_bytes alg) va_s0 alg inout_b key round_keys keys_b hkeys_b total_bytes old_hash completed_quads h_LE in va_lemma_upd_...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 263, "start_col": 0, "start_line": 249 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> hkeys_b: Vale.X64.Memory.buffer128 -> total_bytes: Prims.nat -> old...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.nat", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "...
[]
false
false
false
false
false
let va_wpProof_Gcm_extra_bytes alg inout_b key round_keys keys_b hkeys_b total_bytes old_hash completed_quads h_LE va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gcm_extra_bytes (va_code_Gcm_extra_bytes alg) va_s0 alg inout_b key round_keys keys_b hkeys_b total_bytes old_hash completed_quads h_LE in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_mem_heaplet 5 va_sM ...
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.norm_typing_inverse
val norm_typing_inverse (g:env) (e:term) (eff:_) (t0:term) (d:typing g e eff t0) (t1:term) (#u:_) (d1:tot_typing g t1 (tm_type u)) (steps:list norm_step) : T.Tac (option (typing g e eff t1))
val norm_typing_inverse (g:env) (e:term) (eff:_) (t0:term) (d:typing g e eff t0) (t1:term) (#u:_) (d1:tot_typing g t1 (tm_type u)) (steps:list norm_step) : T.Tac (option (typing g e eff t1))
let norm_typing_inverse (g:env) (e:term) (eff:_) (t0:term) (d:typing g e eff t0) (t1:term) (#u:_) (d1:tot_typing g t1 (tm_type u)) (steps:list norm_step) : T.Tac (option (typing g e eff t1)) = let (| t1', t1'_typing, related_t1_t1' |) = let d1 = Ghost.hide d1._0 in Pu...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 825, "start_col": 0, "start_line": 805 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": true, "full_module": "Pulse.Typing.LN", "short_module": "LN" }, { "abbrev": false, "full_module": "Pulse.PP", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
g: Pulse.Typing.Env.env -> e: Pulse.Syntax.Base.term -> eff: FStar.Stubs.TypeChecker.Core.tot_or_ghost -> t0: Pulse.Syntax.Base.term -> d: Pulse.Typing.typing g e eff t0 -> t1: Pulse.Syntax.Base.term -> d1: Pulse.Typing.tot_typing g t1 (Pulse.Syntax.Pure.tm_type u553) -> steps: Prims.li...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "FStar.Stubs.TypeChecker.Core.tot_or_ghost", "Pulse.Typing.typing", "Pulse.Syntax.Base.universe", "Pulse.Typing.tot_typing", "Pulse.Syntax.Pure.tm_type", "Prims.list", "FStar.Pervasives.norm_step", "FStar.Stubs.Reflection.Types.term", "FStar.Ghos...
[]
false
true
false
false
false
let norm_typing_inverse (g: env) (e: term) (eff: _) (t0: term) (d: typing g e eff t0) (t1: term) (#u: _) (d1: tot_typing g t1 (tm_type u)) (steps: list norm_step) : T.Tac (option (typing g e eff t1)) =
let (| t1' , t1'_typing , related_t1_t1' |) = let d1 = Ghost.hide d1._0 in Pulse.RuntimeUtils.norm_well_typed_term d1 steps in match Pulse.Readback.readback_ty t1' with | Some t1_p -> if TermEq.term_eq (elab_term t0) t1' then (let related_t1'_t1 = Ghost.hide (RT.Rel_sym _ _ _ related_t1_t1') in Some (...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_VPaddd
val eval_VPaddd (src1 src2: quad32) : option quad32
val eval_VPaddd (src1 src2: quad32) : option quad32
let eval_VPaddd (src1 src2:quad32) : option quad32 = check_avx (eval_Paddd_raw src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 89, "end_line": 132, "start_col": 0, "start_line": 132 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_avx", "Vale.X64.Instructions_s.eval_Paddd_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_VPaddd (src1 src2: quad32) : option quad32 =
check_avx (eval_Paddd_raw src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Palignr_raw
val eval_Palignr_raw (amount: nat8) (src1 src2: quad32) : option quad32
val eval_Palignr_raw (amount: nat8) (src1 src2: quad32) : option quad32
let eval_Palignr_raw (amount:nat8) (src1 src2:quad32) : option quad32 = // We only spec a restricted version sufficient for a handful of standard patterns if amount = 4 then Some (Mkfour src2.lo1 src2.hi2 src2.hi3 src1.lo0) else if amount = 8 then Some (Mkfour src2.hi2 src2.hi3 src1.lo0 src1.lo1) else N...
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 158, "start_col": 0, "start_line": 152 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
amount: Vale.Def.Types_s.nat8 -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Machine_s.quad32", "Prims.op_Equality", "Prims.int", "FStar.Pervasives.Native.Some", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour_...
[]
false
false
false
true
false
let eval_Palignr_raw (amount: nat8) (src1 src2: quad32) : option quad32 =
if amount = 4 then Some (Mkfour src2.lo1 src2.hi2 src2.hi3 src1.lo0) else if amount = 8 then Some (Mkfour src2.hi2 src2.hi3 src1.lo0 src1.lo1) else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Paddd
val eval_Paddd (src1 src2: quad32) : option quad32
val eval_Paddd (src1 src2: quad32) : option quad32
let eval_Paddd (src1 src2:quad32) : option quad32 = check_sse2 (eval_Paddd_raw src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 89, "end_line": 129, "start_col": 0, "start_line": 129 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "Vale.X64.Instructions_s.eval_Paddd_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Paddd (src1 src2: quad32) : option quad32 =
check_sse2 (eval_Paddd_raw src1 src2)
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.k_elab_equiv_prefix
val k_elab_equiv_prefix (#g1: env) (#g2: env{g2 `env_extends` g1}) (#ctxt1 #ctxt2 #ctxt: term) (k: continuation_elaborator g1 ctxt1 g2 ctxt) (d: vprop_equiv g1 ctxt1 ctxt2) : continuation_elaborator g1 ctxt2 g2 ctxt
val k_elab_equiv_prefix (#g1: env) (#g2: env{g2 `env_extends` g1}) (#ctxt1 #ctxt2 #ctxt: term) (k: continuation_elaborator g1 ctxt1 g2 ctxt) (d: vprop_equiv g1 ctxt1 ctxt2) : continuation_elaborator g1 ctxt2 g2 ctxt
let k_elab_equiv_prefix (#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt1 #ctxt2 #ctxt:term) (k:continuation_elaborator g1 ctxt1 g2 ctxt) (d:vprop_equiv g1 ctxt1 ctxt2) : continuation_elaborator g1 ctxt2 g2 ctxt = fun post_hint res -> let framing_token : frame_for_req_in_ctxt g1 ctxt2 ctxt1 = let d = V...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 345, "start_col": 0, "start_line": 332 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Pulse.Checker.Base.continuation_elaborator g1 ctxt1 g2 ctxt -> d: Pulse.Typing.vprop_equiv g1 ctxt1 ctxt2 -> Pulse.Checker.Base.continuation_elaborator g1 ctxt2 g2 ctxt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Typing.Env.env_extends", "Pulse.Syntax.Base.term", "Pulse.Checker.Base.continuation_elaborator", "Pulse.Typing.vprop_equiv", "Pulse.Typing.post_hint_opt", "Pulse.Typing.Combinators.st_typing_in_ctxt", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp_st", "Prims.l...
[]
false
false
false
false
false
let k_elab_equiv_prefix (#g1: env) (#g2: env{g2 `env_extends` g1}) (#ctxt1 #ctxt2 #ctxt: term) (k: continuation_elaborator g1 ctxt1 g2 ctxt) (d: vprop_equiv g1 ctxt1 ctxt2) : continuation_elaborator g1 ctxt2 g2 ctxt =
fun post_hint res -> let framing_token:frame_for_req_in_ctxt g1 ctxt2 ctxt1 = let d = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Trans _ _ _ _ (VE_Unit _ _) d) in (| tm_emp, emp_typing, d |) in let res = k post_hint res in let (| st , c , st_d |) = res in assert (comp_pre c == ctxt1); (| _, _, st_equiv_pr...
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_quick_Gcm_blocks128
val va_quick_Gcm_blocks128 (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (h_LE: quad32) : (va_quickCode unit (va_code_Gcm_blocks128 alg))
val va_quick_Gcm_blocks128 (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (h_LE: quad32) : (va_quickCode unit (va_code_Gcm_blocks128 alg))
let va_quick_Gcm_blocks128 (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (hkeys_b:buffer128) (h_LE:quad32) : (va_quickCode unit (va_code_Gcm_blocks128 alg)) = (va_QProc (va_code_Gcm_blocks128 alg) ([va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm ...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 492, "start_col": 0, "start_line": 484 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> hkeys_b: Vale.X64.Memory.buffer128 -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCMdecryptOpt.va_code_Gcm_blocks128", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_quick_Gcm_blocks128 (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (h_LE: quad32) : (va_quickCode unit (va_code_Gcm_blocks128 alg)) =
(va_QProc (va_code_Gcm_blocks128 alg) ([ va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm 10; va_Mod_xmm 11; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg64 rR12; va_Mod_reg64 rRdx; va_Mod_reg64 rR10; va...
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.st_equiv_post
val st_equiv_post (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (post: term{(freevars post) `Set.subset` (freevars (comp_post c))}) (veq: (x: var{fresh_wrt x g (freevars (comp_post c))} -> vprop_equiv (push_binding g x ppname_default (comp_res c))...
val st_equiv_post (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (post: term{(freevars post) `Set.subset` (freevars (comp_post c))}) (veq: (x: var{fresh_wrt x g (freevars (comp_post c))} -> vprop_equiv (push_binding g x ppname_default (comp_res c))...
let st_equiv_post (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c) (post:term { freevars post `Set.subset` freevars (comp_post c)}) (veq: (x:var { fresh_wrt x g (freevars (comp_post c)) } -> vprop_equiv (push_binding g x ppname_default (comp_res c)) ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 265, "start_col": 0, "start_line": 250 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": t...
{ "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
d: Pulse.Typing.st_typing g t c -> post: Pulse.Syntax.Base.term { FStar.Set.subset (Pulse.Syntax.Naming.freevars post) (Pulse.Syntax.Naming.freevars (Pulse.Syntax.Base.comp_post c)) } -> veq: ( x: Pulse.Syntax.Base.var { Pulse.Typing...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.st_typing", "Pulse.Syntax.Base.term", "FStar.Set.subset", "Pulse.Syntax.Base.var", "Pulse.Syntax.Naming.freevars", "Pulse.Syntax.Base.comp_post", "Pulse.Typing.fresh_wrt", "Pulse.Typing.vprop_equiv", ...
[]
false
false
false
false
false
let st_equiv_post (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (post: term{(freevars post) `Set.subset` (freevars (comp_post c))}) (veq: (x: var{fresh_wrt x g (freevars (comp_post c))} -> vprop_equiv (push_binding g x ppname_default (comp_res c))...
if eq_tm post (comp_post c) then d else let c' = comp_st_with_post c post in let (| u_of , pre_typing , x , post_typing |) = let open Metatheory in st_comp_typing_inversion (fst (comp_typing_inversion (st_typing_correctness d))) in let veq = veq x in let st_equiv:st_equiv g c c' = ST_VPropEquiv g ...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Psrld
val eval_Psrld (amt: int) (dst: quad32) : option quad32
val eval_Psrld (amt: int) (dst: quad32) : option quad32
let eval_Psrld (amt:int) (dst:quad32) : option quad32 = check_sse2 (if 0 <= amt && amt < 32 then Some (four_map (fun i -> ishr i amt) dst) else None)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 140, "start_col": 0, "start_line": 139 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
amt: Prims.int -> dst: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "FStar.Pervasives.Native.Some", "Vale.Def.Words.Four_s.four_map", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.pow2_32", "Vale.Def.Types_s.ishr", "P...
[]
false
false
false
true
false
let eval_Psrld (amt: int) (dst: quad32) : option quad32 =
check_sse2 (if 0 <= amt && amt < 32 then Some (four_map (fun i -> ishr i amt) dst) else None)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Sbb64
val eval_Sbb64 (old_carry: bool) (dst src: nat64) : option (bool & nat64)
val eval_Sbb64 (old_carry: bool) (dst src: nat64) : option (bool & nat64)
let eval_Sbb64 (old_carry:bool) (dst src:nat64) : option (bool & nat64) = let diff = dst - (src + (if old_carry then 1 else 0)) in Some (diff < 0, diff % pow2_64)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 49, "start_col": 0, "start_line": 47 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
old_carry: Prims.bool -> dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Prims.bool * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Prims.op_LessThan", "Prims.op_Modulus", "Vale.X64.Machine_s.pow2_64", "Prims.int", "Prims.op_Subtraction", "Prims.op_Addition", "FStar.Pervasives.Nat...
[]
false
false
false
true
false
let eval_Sbb64 (old_carry: bool) (dst src: nat64) : option (bool & nat64) =
let diff = dst - (src + (if old_carry then 1 else 0)) in Some (diff < 0, diff % pow2_64)
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_wp_Gcm_extra_bytes
val va_wp_Gcm_extra_bytes (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) (va_s0: va_state) (va_k: (va_st...
val va_wp_Gcm_extra_bytes (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) (va_s0: va_state) (va_k: (va_st...
let va_wp_Gcm_extra_bytes (alg:algorithm) (inout_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (hkeys_b:buffer128) (total_bytes:nat) (old_hash:quad32) (completed_quads:(seq quad32)) (h_LE:quad32) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 97, "end_line": 234, "start_col": 0, "start_line": 195 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> hkeys_b: Vale.X64.Memory.buffer128 -> total_bytes: Prims.nat -> old...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.nat", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.sse_enabled", "Vale.X...
[]
false
false
false
true
true
let va_wp_Gcm_extra_bytes (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) (va_s0: va_state) (va_k: (va_st...
(va_get_ok va_s0 /\ (let len:(va_int_range 1 1) = 1 in sse_enabled /\ Vale.X64.Decls.buffers_disjoint128 keys_b inout_b /\ Vale.X64.Decls.buffers_disjoint128 hkeys_b inout_b /\ Vale.X64.Decls.validDstAddrs128 (va_get_mem_heaplet 5 va_s0) (va_get_reg64 rRax va_s0) inout_b len (va_ge...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Palignr
val eval_Palignr (amount: nat8) (src1 src2: quad32) : option quad32
val eval_Palignr (amount: nat8) (src1 src2: quad32) : option quad32
let eval_Palignr (amount:nat8) (src1 src2:quad32) : option quad32 = check_ssse3 (eval_Palignr_raw amount src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 161, "start_col": 0, "start_line": 160 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
amount: Vale.Def.Types_s.nat8 -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_ssse3", "Vale.X64.Instructions_s.eval_Palignr_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Palignr (amount: nat8) (src1 src2: quad32) : option quad32 =
check_ssse3 (eval_Palignr_raw amount src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Shufpd_raw
val eval_Shufpd_raw (permutation: int) (src1 src2: quad32) : option quad32
val eval_Shufpd_raw (permutation: int) (src1 src2: quad32) : option quad32
let eval_Shufpd_raw (permutation:int) (src1 src2:quad32) : option quad32 = if 0 <= permutation && permutation < 4 then Some (Mkfour (if permutation % 2 = 0 then src1.lo0 else src1.hi2) (if permutation % 2 = 0 then src1.lo1 else src1.hi3) (if (permutation / 2) % 2 = 0 then src2.lo0 else src2.hi2)...
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 177, "start_col": 0, "start_line": 170 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
permutation: Prims.int -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Machine_s.quad32", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "FStar.Pervasives.Native.Some", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "Prims.op_Equality", "Prims.op_Modulus", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Prims.bool"...
[]
false
false
false
true
false
let eval_Shufpd_raw (permutation: int) (src1 src2: quad32) : option quad32 =
if 0 <= permutation && permutation < 4 then Some (Mkfour (if permutation % 2 = 0 then src1.lo0 else src1.hi2) (if permutation % 2 = 0 then src1.lo1 else src1.hi3) (if (permutation / 2) % 2 = 0 then src2.lo0 else src2.hi2) (if (permutation / 2) % 2 = 0 then src2.lo1 else src2.hi3)) else None
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_code_Gcm_blocks
val va_code_Gcm_blocks : alg:algorithm -> offset:int -> Tot va_code
val va_code_Gcm_blocks : alg:algorithm -> offset:int -> Tot va_code
let va_code_Gcm_blocks alg offset = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR13) (va_op_opr64_reg64 rRcx)) (va_CCons (va_code_AddLea64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rR9) (va_const_opr64 32)) (va_CCons (va_code_Load64_stack (va_op_dst_opr64_reg64 rRbx) (va_op_reg_opr64_reg64...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 536, "start_col": 0, "start_line": 499 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> offset: Prims.int -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Prims.int", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR13", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.InsBasic.va_code_AddL...
[]
false
false
false
true
false
let va_code_Gcm_blocks alg offset =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR13) (va_op_opr64_reg64 rRcx)) (va_CCons (va_code_AddLea64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rR9) (va_const_opr64 32)) (va_CCons (va_code_Load64_stack (va_op_dst_opr64_reg64 rRbx) ...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Shufpd
val eval_Shufpd (permutation: int) (src1 src2: quad32) : option quad32
val eval_Shufpd (permutation: int) (src1 src2: quad32) : option quad32
let eval_Shufpd (permutation:int) (src1 src2:quad32) : option quad32 = check_sse2 (eval_Shufpd_raw permutation src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 180, "start_col": 0, "start_line": 179 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
permutation: Prims.int -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "Vale.X64.Instructions_s.eval_Shufpd_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Shufpd (permutation: int) (src1 src2: quad32) : option quad32 =
check_sse2 (eval_Shufpd_raw permutation src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_VPalignr
val eval_VPalignr (amount: nat8) (src1 src2: quad32) : option quad32
val eval_VPalignr (amount: nat8) (src1 src2: quad32) : option quad32
let eval_VPalignr (amount:nat8) (src1 src2:quad32) : option quad32 = check_avx (eval_Palignr_raw amount src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 166, "start_col": 0, "start_line": 165 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
amount: Vale.Def.Types_s.nat8 -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_avx", "Vale.X64.Instructions_s.eval_Palignr_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_VPalignr (amount: nat8) (src1 src2: quad32) : option quad32 =
check_avx (eval_Palignr_raw amount src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_VShufpd
val eval_VShufpd (permutation: int) (src1 src2: quad32) : option quad32
val eval_VShufpd (permutation: int) (src1 src2: quad32) : option quad32
let eval_VShufpd (permutation:int) (src1 src2:quad32) : option quad32 = check_avx (eval_Shufpd_raw permutation src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 185, "start_col": 0, "start_line": 184 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
permutation: Prims.int -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_avx", "Vale.X64.Instructions_s.eval_Shufpd_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_VShufpd (permutation: int) (src1 src2: quad32) : option quad32 =
check_avx (eval_Shufpd_raw permutation src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_AddCarry64
val eval_AddCarry64 (old_carry: bool) (dst src: nat64) : option (bool & nat64)
val eval_AddCarry64 (old_carry: bool) (dst src: nat64) : option (bool & nat64)
let eval_AddCarry64 (old_carry:bool) (dst src:nat64) : option (bool & nat64) = let sum = dst + src + (if old_carry then 1 else 0) in Some (sum >= pow2_64, sum % pow2_64)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "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": 32 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
old_carry: Prims.bool -> dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Prims.bool * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Prims.op_GreaterThanOrEqual", "Vale.X64.Machine_s.pow2_64", "Prims.op_Modulus", "Prims.int", "Prims.op_Addition", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_AddCarry64 (old_carry: bool) (dst src: nat64) : option (bool & nat64) =
let sum = dst + src + (if old_carry then 1 else 0) in Some (sum >= pow2_64, sum % pow2_64)
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_quick_Gcm_extra_bytes
val va_quick_Gcm_extra_bytes (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) : (va_quickCode unit (va_code_Gcm_ex...
val va_quick_Gcm_extra_bytes (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) : (va_quickCode unit (va_code_Gcm_ex...
let va_quick_Gcm_extra_bytes (alg:algorithm) (inout_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (hkeys_b:buffer128) (total_bytes:nat) (old_hash:quad32) (completed_quads:(seq quad32)) (h_LE:quad32) : (va_quickCode unit (va_code_Gcm_extra_bytes alg)) = (va_QProc (va_code_Gcm_extra_by...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 274, "start_col": 0, "start_line": 266 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> hkeys_b: Vale.X64.Memory.buffer128 -> total_bytes: Prims.nat -> old...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.nat", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCMdecryptOpt.va_code_Gcm_extra_bytes", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Val...
[]
false
false
false
false
false
let va_quick_Gcm_extra_bytes (alg: algorithm) (inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (total_bytes: nat) (old_hash: quad32) (completed_quads: (seq quad32)) (h_LE: quad32) : (va_quickCode unit (va_code_Gcm_ex...
(va_QProc (va_code_Gcm_extra_bytes alg) ([ va_Mod_flags; va_Mod_mem_heaplet 5; va_Mod_xmm 10; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg64 rR11; va_Mod_reg64 rRcx; va_Mod_mem ]) (va_wp_Gcm...
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.k_elab_equiv_continuation
val k_elab_equiv_continuation (#g1: env) (#g2: env{g2 `env_extends` g1}) (#ctxt #ctxt1 #ctxt2: term) (k: continuation_elaborator g1 ctxt g2 ctxt1) (d: vprop_equiv g2 ctxt1 ctxt2) : continuation_elaborator g1 ctxt g2 ctxt2
val k_elab_equiv_continuation (#g1: env) (#g2: env{g2 `env_extends` g1}) (#ctxt #ctxt1 #ctxt2: term) (k: continuation_elaborator g1 ctxt g2 ctxt1) (d: vprop_equiv g2 ctxt1 ctxt2) : continuation_elaborator g1 ctxt g2 ctxt2
let k_elab_equiv_continuation (#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt #ctxt1 #ctxt2:term) (k:continuation_elaborator g1 ctxt g2 ctxt1) (d:vprop_equiv g2 ctxt1 ctxt2) : continuation_elaborator g1 ctxt g2 ctxt2 = fun post_hint res -> let (| st, c, st_d |) = res in let st_d : st_typing g2 st c =...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 34, "end_line": 322, "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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 2, "max_fuel": 0, "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
k: Pulse.Checker.Base.continuation_elaborator g1 ctxt g2 ctxt1 -> d: Pulse.Typing.vprop_equiv g2 ctxt1 ctxt2 -> Pulse.Checker.Base.continuation_elaborator g1 ctxt g2 ctxt2
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Typing.Env.env_extends", "Pulse.Syntax.Base.term", "Pulse.Checker.Base.continuation_elaborator", "Pulse.Typing.vprop_equiv", "Pulse.Typing.post_hint_opt", "Pulse.Typing.Combinators.st_typing_in_ctxt", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp_st", "Prims.l...
[]
false
false
false
false
false
let k_elab_equiv_continuation (#g1: env) (#g2: env{g2 `env_extends` g1}) (#ctxt #ctxt1 #ctxt2: term) (k: continuation_elaborator g1 ctxt g2 ctxt1) (d: vprop_equiv g2 ctxt1 ctxt2) : continuation_elaborator g1 ctxt g2 ctxt2 =
fun post_hint res -> let (| st , c , st_d |) = res in let st_d:st_typing g2 st c = st_d in assert (comp_pre c == ctxt2); let st_d':st_typing g2 st (comp_with_pre c ctxt1) = st_equiv_pre st_d _ (VE_Sym _ _ _ d) in k post_hint (| st, _, st_d' |)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.is_full_byte_reversal_mask
val is_full_byte_reversal_mask (q: quad32) : bool
val is_full_byte_reversal_mask (q: quad32) : bool
let is_full_byte_reversal_mask (q:quad32) : bool = q.lo0 = 0x0C0D0E0F && q.lo1 = 0x08090A0B && q.hi2 = 0x04050607 && q.hi3 = 0x00010203
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 193, "start_col": 0, "start_line": 189 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
q: Vale.X64.Machine_s.quad32 -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Prims.op_AmpAmp", "Prims.op_Equality", "Prims.int", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Types_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Prims...
[]
false
false
false
true
false
let is_full_byte_reversal_mask (q: quad32) : bool =
q.lo0 = 0x0C0D0E0F && q.lo1 = 0x08090A0B && q.hi2 = 0x04050607 && q.hi3 = 0x00010203
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_AddLea64
val eval_AddLea64 (src1 src2: nat64) : option nat64
val eval_AddLea64 (src1 src2: nat64) : option nat64
let eval_AddLea64 (src1 src2:nat64) : option nat64 = Some ((src1 + src2) % pow2_64)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 29, "start_col": 0, "start_line": 29 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.nat64 -> src2: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "Prims.op_Modulus", "Prims.op_Addition", "Vale.X64.Machine_s.pow2_64", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_AddLea64 (src1 src2: nat64) : option nat64 =
Some ((src1 + src2) % pow2_64)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Adcx64_Adox64
val eval_Adcx64_Adox64 (old_flag: bool) (dst src: nat64) : option (bool & nat64)
val eval_Adcx64_Adox64 (old_flag: bool) (dst src: nat64) : option (bool & nat64)
let eval_Adcx64_Adox64 (old_flag:bool) (dst src:nat64) : option (bool & nat64) = let sum = dst + src + (if old_flag then 1 else 0) in if adx_enabled then Some (sum >= pow2_64, sum % pow2_64) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 39, "start_col": 0, "start_line": 37 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
old_flag: Prims.bool -> dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Prims.bool * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Machine_s.nat64", "Vale.X64.CPU_Features_s.adx_enabled", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Prims.op_GreaterThanOrEqual", "Vale.X64.Machine_s.pow2_64", "Prims.op_Modulus", "FStar.Pervasives.Native.None", ...
[]
false
false
false
true
false
let eval_Adcx64_Adox64 (old_flag: bool) (dst src: nat64) : option (bool & nat64) =
let sum = dst + src + (if old_flag then 1 else 0) in if adx_enabled then Some (sum >= pow2_64, sum % pow2_64) else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Mulx64
val eval_Mulx64 (rdx src: nat64) : option (nat64 & nat64)
val eval_Mulx64 (rdx src: nat64) : option (nat64 & nat64)
let eval_Mulx64 (rdx src:nat64) : option (nat64 & nat64) = let hi = FStar.UInt.mul_div #64 rdx src in let lo = FStar.UInt.mul_mod #64 rdx src in if bmi2_enabled then Some (hi, lo) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 59, "start_col": 0, "start_line": 56 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
rdx: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Vale.X64.Machine_s.nat64 * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "Vale.X64.CPU_Features_s.bmi2_enabled", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option", "FStar.UInt.uint_t", "FStar.UInt.mul_mod", "FS...
[]
false
false
false
true
false
let eval_Mulx64 (rdx src: nat64) : option (nat64 & nat64) =
let hi = FStar.UInt.mul_div #64 rdx src in let lo = FStar.UInt.mul_mod #64 rdx src in if bmi2_enabled then Some (hi, lo) else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Sub64
val eval_Sub64 (dst src: nat64) : option (bool & nat64)
val eval_Sub64 (dst src: nat64) : option (bool & nat64)
let eval_Sub64 (dst src:nat64) : option (bool & nat64) = let diff = dst - src in Some (diff < 0, diff % pow2_64)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 44, "start_col": 0, "start_line": 43 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Prims.bool * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "Prims.bool", "FStar.Pervasives.Native.Mktuple2", "Prims.op_LessThan", "Prims.op_Modulus", "Vale.X64.Machine_s.pow2_64", "Prims.int", "Prims.op_Subtraction", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Sub64 (dst src: nat64) : option (bool & nat64) =
let diff = dst - src in Some (diff < 0, diff % pow2_64)
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.norm_st_typing_inverse
val norm_st_typing_inverse (#g:env) (#e:st_term) (#t0:term) (d:st_typing g e (C_Tot t0)) (#u:_) (t1:term) (d1:tot_typing g t1 (tm_type u)) (steps:list norm_step) : T.Tac (option (st_typing g e (C_Tot t1)))
val norm_st_typing_inverse (#g:env) (#e:st_term) (#t0:term) (d:st_typing g e (C_Tot t0)) (#u:_) (t1:term) (d1:tot_typing g t1 (tm_type u)) (steps:list norm_step) : T.Tac (option (st_typing g e (C_Tot t1)))
let norm_st_typing_inverse (#g:env) (#e:st_term) (#t0:term) (d:st_typing g e (C_Tot t0)) (#u:_) (t1:term) (d1:tot_typing g t1 (tm_type u)) (steps:list norm_step) : T.Tac (option (st_typing g e (C_Tot t1))) = let d1 : Ghost.erased (RT.tot_typing (elab_env g) (elab_term t1) ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 861, "start_col": 0, "start_line": 828 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": true, "full_module": "FStar.Reflection.V2.TermEq", "short_module": "TermEq" }, { "abbrev": true, "full_module": "Pulse.Typing.LN", "short_module": "LN" }, { "abbrev": false, "full_module": "Pulse.PP", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d: Pulse.Typing.st_typing g e (Pulse.Syntax.Base.C_Tot t0) -> t1: Pulse.Syntax.Base.term -> d1: Pulse.Typing.tot_typing g t1 (Pulse.Syntax.Pure.tm_type u575) -> steps: Prims.list FStar.Pervasives.norm_step -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (Pulse.Typing.st_typing g e (Pu...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.term", "Pulse.Typing.st_typing", "Pulse.Syntax.Base.C_Tot", "Pulse.Syntax.Base.universe", "Pulse.Typing.tot_typing", "Pulse.Syntax.Pure.tm_type", "Prims.list", "FStar.Pervasives.norm_step", "FStar.Stubs.Reflection.Types.term...
[]
false
true
false
false
false
let norm_st_typing_inverse (#g: env) (#e: st_term) (#t0: term) (d: st_typing g e (C_Tot t0)) (#u: _) (t1: term) (d1: tot_typing g t1 (tm_type u)) (steps: list norm_step) : T.Tac (option (st_typing g e (C_Tot t1))) =
let d1:Ghost.erased (RT.tot_typing (elab_env g) (elab_term t1) (RT.tm_type u)) = Ghost.hide d1._0 in let (| t1' , t1'_typing , related_t1_t1' |) = Pulse.RuntimeUtils.norm_well_typed_term d1 steps in match Pulse.Readback.readback_ty t1' with | Some t1_p -> if TermEq.term_eq (elab_term t0) t1' then (let t0_typing...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_IMul64
val eval_IMul64 (dst src: nat64) : option nat64
val eval_IMul64 (dst src: nat64) : option nat64
let eval_IMul64 (dst src:nat64) : option nat64 = Some (FStar.UInt.mul_mod #64 dst src)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 63, "start_col": 0, "start_line": 62 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.UInt.mul_mod", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_IMul64 (dst src: nat64) : option nat64 =
Some (FStar.UInt.mul_mod #64 dst src)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Pshufb
val eval_Pshufb (src1 src2: quad32) : option quad32
val eval_Pshufb (src1 src2: quad32) : option quad32
let eval_Pshufb (src1 src2:quad32) : option quad32 = check_ssse3 (eval_Pshufb_raw src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 92, "end_line": 237, "start_col": 0, "start_line": 237 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_ssse3", "Vale.X64.Instructions_s.eval_Pshufb_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Pshufb (src1 src2: quad32) : option quad32 =
check_ssse3 (eval_Pshufb_raw src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.is_high_dup_reversal_mask
val is_high_dup_reversal_mask (q: quad32) : bool
val is_high_dup_reversal_mask (q: quad32) : bool
let is_high_dup_reversal_mask (q:quad32) : bool = q.lo0 = 0x0C0D0E0F && q.lo1 = 0x08090A0B && q.hi2 = 0x0C0D0E0F && q.hi3 = 0x08090A0B
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 205, "start_col": 0, "start_line": 201 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
q: Vale.X64.Machine_s.quad32 -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Prims.op_AmpAmp", "Prims.op_Equality", "Prims.int", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Types_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Prims...
[]
false
false
false
true
false
let is_high_dup_reversal_mask (q: quad32) : bool =
q.lo0 = 0x0C0D0E0F && q.lo1 = 0x08090A0B && q.hi2 = 0x0C0D0E0F && q.hi3 = 0x08090A0B
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Pshufb_raw
val eval_Pshufb_raw (src1 src2: quad32) : option quad32
val eval_Pshufb_raw (src1 src2: quad32) : option quad32
let eval_Pshufb_raw (src1 src2:quad32) : option quad32 = // We only spec a restricted version sufficient for a handful of standard patterns if is_full_byte_reversal_mask src2 then Some (reverse_bytes_quad32 src1) else if is_byte_reversal_mask src2 then Some (Mkfour (reverse_bytes_nat32 src1.lo0) ...
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 235, "start_col": 0, "start_line": 213 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.is_full_byte_reversal_mask", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.reverse_bytes_quad32", "Prims.bool", "Vale.X64.Instructions_s.is_byte_reversal_mask", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "Vale.Def.Types_s.reverse_by...
[]
false
false
false
true
false
let eval_Pshufb_raw (src1 src2: quad32) : option quad32 =
if is_full_byte_reversal_mask src2 then Some (reverse_bytes_quad32 src1) else if is_byte_reversal_mask src2 then Some (Mkfour (reverse_bytes_nat32 src1.lo0) (reverse_bytes_nat32 src1.lo1) (reverse_bytes_nat32 src1.hi2) (reverse_bytes_nat32 src1.hi3)) else if is_high_dup_reversa...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.is_lower_upper_byte_reversal_mask
val is_lower_upper_byte_reversal_mask (q: quad32) : bool
val is_lower_upper_byte_reversal_mask (q: quad32) : bool
let is_lower_upper_byte_reversal_mask (q:quad32) : bool = q.lo0 = 0x04050607 && q.lo1 = 0x00010203 && q.hi2 = 0x0C0D0E0F && q.hi3 = 0x08090A0B
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 211, "start_col": 0, "start_line": 207 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
q: Vale.X64.Machine_s.quad32 -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Prims.op_AmpAmp", "Prims.op_Equality", "Prims.int", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Types_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Prims...
[]
false
false
false
true
false
let is_lower_upper_byte_reversal_mask (q: quad32) : bool =
q.lo0 = 0x04050607 && q.lo1 = 0x00010203 && q.hi2 = 0x0C0D0E0F && q.hi3 = 0x08090A0B
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.is_byte_reversal_mask
val is_byte_reversal_mask (q: quad32) : bool
val is_byte_reversal_mask (q: quad32) : bool
let is_byte_reversal_mask (q:quad32) : bool = q.lo0 = 0x00010203 && q.lo1 = 0x04050607 && q.hi2 = 0x08090A0B && q.hi3 = 0x0C0D0E0F
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 199, "start_col": 0, "start_line": 195 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
q: Vale.X64.Machine_s.quad32 -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Prims.op_AmpAmp", "Prims.op_Equality", "Prims.int", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Types_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Prims...
[]
false
false
false
true
false
let is_byte_reversal_mask (q: quad32) : bool =
q.lo0 = 0x00010203 && q.lo1 = 0x04050607 && q.hi2 = 0x08090A0B && q.hi3 = 0x0C0D0E0F
false
Vale.AES.X64.GCMdecryptOpt.fst
Vale.AES.X64.GCMdecryptOpt.va_wp_Gcm_blocks128
val va_wp_Gcm_blocks128 (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (h_LE: quad32) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Gcm_blocks128 (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (h_LE: quad32) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Gcm_blocks128 (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (hkeys_b:buffer128) (h_LE:quad32) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (sse_enabled /\ Vale.X64.Decls.buffers_disjoint128 keys_b ou...
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 450, "start_col": 0, "start_line": 406 }
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> hkeys_b: Vale.X64.Memory.buffer128 -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.sse_enabled", "Vale.X64.Decls.buffer...
[]
false
false
false
true
true
let va_wp_Gcm_blocks128 (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) (h_LE: quad32) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (sse_enabled /\ Vale.X64.Decls.buffers_disjoint128 keys_b out_b /\ Vale.X64.Decls.buffers_disjoint128 hkeys_b out_b /\ (Vale.X64.Decls.buffers_disjoint128 in_b out_b \/ in_b == out_b) /\ Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 1 va_s0) (va_get_reg64 rRax va_s0) ...
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_VPshufb
val eval_VPshufb (src1 src2: quad32) : option quad32
val eval_VPshufb (src1 src2: quad32) : option quad32
let eval_VPshufb (src1 src2:quad32) : option quad32 = check_avx (eval_Pshufb_raw src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 91, "end_line": 240, "start_col": 0, "start_line": 240 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_avx", "Vale.X64.Instructions_s.eval_Pshufb_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_VPshufb (src1 src2: quad32) : option quad32 =
check_avx (eval_Pshufb_raw src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Mul64
val eval_Mul64 (rax src: nat64) : option (nat64 & nat64)
val eval_Mul64 (rax src: nat64) : option (nat64 & nat64)
let eval_Mul64 (rax src:nat64) : option (nat64 & nat64) = Some (FStar.UInt.mul_div #64 rax src, FStar.UInt.mul_mod #64 rax src)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 53, "start_col": 0, "start_line": 52 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
rax: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option (Vale.X64.Machine_s.nat64 * Vale.X64.Machine_s.nat64)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.nat64", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "FStar.UInt.mul_div", "FStar.UInt.mul_mod", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_Mul64 (rax src: nat64) : option (nat64 & nat64) =
Some (FStar.UInt.mul_div #64 rax src, FStar.UInt.mul_mod #64 rax src)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Pslldq_raw
val eval_Pslldq_raw (count: nat8) (src: quad32) : option quad32
val eval_Pslldq_raw (count: nat8) (src: quad32) : option quad32
let eval_Pslldq_raw (count:nat8) (src:quad32) : option quad32 = // We only spec the two very special cases we need if count = 4 then Some (Mkfour 0 src.lo0 src.lo1 src.hi2) else if count = 8 then Some (Mkfour 0 0 src.lo0 src.lo1) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 279, "start_col": 0, "start_line": 275 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
count: Vale.Def.Types_s.nat8 -> src: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Machine_s.quad32", "Prims.op_Equality", "Prims.int", "FStar.Pervasives.Native.Some", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour_...
[]
false
false
false
true
false
let eval_Pslldq_raw (count: nat8) (src: quad32) : option quad32 =
if count = 4 then Some (Mkfour 0 src.lo0 src.lo1 src.hi2) else if count = 8 then Some (Mkfour 0 0 src.lo0 src.lo1) else None
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_VPclmulqdq
val eval_VPclmulqdq (imm: int) (src1 src2: quad32) : option quad32
val eval_VPclmulqdq (imm: int) (src1 src2: quad32) : option quad32
let eval_VPclmulqdq (imm:int) (src1 src2:quad32) : option quad32 = check_avx (eval_Pclmulqdq imm src1 src2)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 309, "start_col": 0, "start_line": 308 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
imm: Prims.int -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_avx", "Vale.X64.Instructions_s.eval_Pclmulqdq", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_VPclmulqdq (imm: int) (src1 src2: quad32) : option quad32 =
check_avx (eval_Pclmulqdq imm src1 src2)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Paddd_raw
val eval_Paddd_raw (src1 src2: quad32) : option quad32
val eval_Paddd_raw (src1 src2: quad32) : option quad32
let eval_Paddd_raw (src1 src2:quad32) : option quad32 = Some (Mkfour ((src1.lo0 + src2.lo0) % pow2_32) ((src1.lo1 + src2.lo1) % pow2_32) ((src1.hi2 + src2.hi2) % pow2_32) ((src1.hi3 + src2.hi3) % pow2_32))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 127, "start_col": 0, "start_line": 122 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "FStar.Pervasives.Native.Some", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "Prims.op_Modulus", "Prims.op_Addition", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.X64.Machine_s.pow2_32", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__p...
[]
false
false
false
true
false
let eval_Paddd_raw (src1 src2: quad32) : option quad32 =
Some (Mkfour ((src1.lo0 + src2.lo0) % pow2_32) ((src1.lo1 + src2.lo1) % pow2_32) ((src1.hi2 + src2.hi2) % pow2_32) ((src1.hi3 + src2.hi3) % pow2_32))
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_Pshufd
val eval_Pshufd (permutation: nat8) (src: quad32) : option quad32
val eval_Pshufd (permutation: nat8) (src: quad32) : option quad32
let eval_Pshufd (permutation:nat8) (src:quad32) : option quad32 = check_sse2 ( let bits:bits_of_byte = byte_to_twobits permutation in Some (Mkfour (select_word src bits.lo0) (select_word src bits.lo1) (select_word src bits.hi2) (select_word src bits.hi3)))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 249, "start_col": 0, "start_line": 243 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
permutation: Vale.Def.Types_s.nat8 -> src: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_sse2", "FStar.Pervasives.Native.Some", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "Vale.Def.Types_s.select_word", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Types_s.twobits", "Vale.Def.Words...
[]
false
false
false
true
false
let eval_Pshufd (permutation: nat8) (src: quad32) : option quad32 =
check_sse2 (let bits:bits_of_byte = byte_to_twobits permutation in Some (Mkfour (select_word src bits.lo0) (select_word src bits.lo1) (select_word src bits.hi2) (select_word src bits.hi3)))
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_VPslldq
val eval_VPslldq (count: nat8) (src: quad32) : option quad32
val eval_VPslldq (count: nat8) (src: quad32) : option quad32
let eval_VPslldq (count:nat8) (src:quad32) : option quad32 = check_avx (eval_Pslldq_raw count src)
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 98, "end_line": 280, "start_col": 0, "start_line": 280 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
count: Vale.Def.Types_s.nat8 -> src: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Machine_s.quad32", "Vale.X64.Instructions_s.check_avx", "Vale.X64.Instructions_s.eval_Pslldq_raw", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_VPslldq (count: nat8) (src: quad32) : option quad32 =
check_avx (eval_Pslldq_raw count src)
false
Vale.X64.Instructions_s.fsti
Vale.X64.Instructions_s.eval_AESNI_dec_last
val eval_AESNI_dec_last (dst src: quad32) : option quad32
val eval_AESNI_dec_last (dst src: quad32) : option quad32
let eval_AESNI_dec_last (dst src:quad32) : option quad32 = if aesni_enabled then Some (quad32_xor (Vale.AES.AES_s.inv_sub_bytes (Vale.AES.AES_s.inv_shift_rows_LE dst)) src) else None
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 339, "start_col": 0, "start_line": 336 }
module Vale.X64.Instructions_s open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Types_s open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.CPU_Features_s open Vale.X64.CryptoInstructions_s open FStar.Seq.Base let eval_Mov64 (src:nat64) : option nat6...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.CryptoInstructions_s.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "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
dst: Vale.X64.Machine_s.quad32 -> src: Vale.X64.Machine_s.quad32 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.quad32", "Vale.X64.CPU_Features_s.aesni_enabled", "FStar.Pervasives.Native.Some", "Vale.Def.Types_s.quad32_xor", "Vale.AES.AES_common_s.inv_sub_bytes", "Vale.AES.AES_s.inv_shift_rows_LE", "Prims.bool", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option" ]
[]
false
false
false
true
false
let eval_AESNI_dec_last (dst src: quad32) : option quad32 =
if aesni_enabled then Some (quad32_xor (Vale.AES.AES_s.inv_sub_bytes (Vale.AES.AES_s.inv_shift_rows_LE dst)) src) else None
false
Pulse.Checker.Base.fst
Pulse.Checker.Base.st_equiv_pre
val st_equiv_pre (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (pre: term) (veq: vprop_equiv g (comp_pre c) pre) : st_typing g t (comp_with_pre c pre)
val st_equiv_pre (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (pre: term) (veq: vprop_equiv g (comp_pre c) pre) : st_typing g t (comp_with_pre c pre)
let st_equiv_pre (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c) (pre:term) (veq: vprop_equiv g (comp_pre c) pre) : st_typing g t (comp_with_pre c pre) = if eq_tm pre (comp_pre c) then d else let c' = comp_with_pre c pre in let (| u_of, pre_typing, x, post_ty...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Base.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 309, "start_col": 0, "start_line": 297 }
(* 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.Metatheory.Base.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.LN.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.ch...
[ { "abbrev": false, "full_module": "Pulse.Typing.Metatheory", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": t...
{ "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
d: Pulse.Typing.st_typing g t c -> pre: Pulse.Syntax.Base.term -> veq: Pulse.Typing.vprop_equiv g (Pulse.Syntax.Base.comp_pre c) pre -> Pulse.Typing.st_typing g t (Pulse.Checker.Base.comp_with_pre c pre)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp_st", "Pulse.Typing.st_typing", "Pulse.Syntax.Base.term", "Pulse.Typing.vprop_equiv", "Pulse.Syntax.Base.comp_pre", "Pulse.Syntax.Base.eq_tm", "Prims.bool", "Pulse.Typing.universe_of", "Pulse.Syntax.Base.__proj__Mkst_com...
[]
false
false
false
false
false
let st_equiv_pre (#g: env) (#t: st_term) (#c: comp_st) (d: st_typing g t c) (pre: term) (veq: vprop_equiv g (comp_pre c) pre) : st_typing g t (comp_with_pre c pre) =
if eq_tm pre (comp_pre c) then d else let c' = comp_with_pre c pre in let (| u_of , pre_typing , x , post_typing |) = let open Metatheory in st_comp_typing_inversion (fst (comp_typing_inversion (st_typing_correctness d))) in let st_equiv:st_equiv g c c' = ST_VPropEquiv g c c' x pre_typing u_of post_...
false