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
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.tsplit
val tsplit : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
let tsplit () = T.split ()
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 26, "end_line": 134, "start_col": 0, "start_line": 134 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Logic.split" ]
[]
false
true
false
false
false
let tsplit () =
T.split ()
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.in_bounds
val in_bounds : i: Prims.nat -> j: Prims.nat -> s: Pulse.Lib.HigherArray.array 'a -> Type0
let in_bounds (i j:nat) (s:array 'a) = squash (i <= j /\ j <= length s)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 71, "end_line": 483, "start_col": 0, "start_line": 483 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> j: Prims.nat -> s: Pulse.Lib.HigherArray.array 'a -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Pulse.Lib.HigherArray.array", "Prims.squash", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Pulse.Lib.HigherArray.length" ]
[]
false
false
false
true
true
let in_bounds (i j: nat) (s: array 'a) =
squash (i <= j /\ j <= length s)
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.timplies_intro
val timplies_intro : _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.binding
let timplies_intro () = T.implies_intro ()
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 132, "start_col": 0, "start_line": 132 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.binding
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Logic.implies_intro", "FStar.Tactics.NamedView.binding" ]
[]
false
true
false
false
false
let timplies_intro () =
T.implies_intro ()
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.tconclude
val tconclude: Prims.unit -> T.Tac unit
val tconclude: Prims.unit -> T.Tac unit
let tconclude () : T.Tac unit = tconclude_with []
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 191, "start_col": 0, "start_line": 191 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "MiniParse.Tac.Base.tconclude_with", "Prims.Nil" ]
[]
false
true
false
false
false
let tconclude () : T.Tac unit =
tconclude_with []
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.tconclude_with
val tconclude_with (l: list (unit -> T.Tac unit)) : T.Tac unit
val tconclude_with (l: list (unit -> T.Tac unit)) : T.Tac unit
let rec tconclude_with (l: list (unit -> T.Tac unit)) : T.Tac unit = if T.ngoals () > 0 then begin if T.debugging () then T.dump "Some goals left"; let _ = T.divide 1 (fun () -> solve_goal l) (fun () -> tconclude_with l) in () end else T.debug "No goals left"
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 189, "start_col": 0, "start_line": 182 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Prims.unit", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.Derived.divide", "MiniParse.Tac.Base.solve_goal", "MiniParse.Tac.Base.tconclude_with", "FStar.Stubs.Tactics.V2.Builtins.dump", "Prims.bool", "FStar.Stubs.Tactics.V2.Builtins.debugging", "FStar.Tactics.V2.Derived.debug"...
[ "recursion" ]
false
true
false
false
false
let rec tconclude_with (l: list (unit -> T.Tac unit)) : T.Tac unit =
if T.ngoals () > 0 then (if T.debugging () then T.dump "Some goals left"; let _ = T.divide 1 (fun () -> solve_goal l) (fun () -> tconclude_with l) in ()) else T.debug "No goals left"
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.is_null_ptr
val is_null_ptr (#elt: Type u#a) (p: ptr elt) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null_ptr elt))
val is_null_ptr (#elt: Type u#a) (p: ptr elt) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null_ptr elt))
let is_null_ptr (#elt: Type u#a) (p: ptr elt) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null_ptr elt)) = is_pcm_ref_null p.base
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 61, "start_col": 0, "start_line": 57 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Pulse.Lib.HigherArray.ptr elt -> Prims.Pure Prims.bool
Prims.Pure
[]
[]
[ "Pulse.Lib.HigherArray.ptr", "Pulse.Lib.Core.is_pcm_ref_null", "Pulse.Lib.PCM.Array.carrier", "FStar.Ghost.hide", "Prims.nat", "FStar.SizeT.v", "FStar.Ghost.reveal", "FStar.SizeT.t", "Pulse.Lib.HigherArray.__proj__Mkptr__item__base_len", "Pulse.Lib.PCM.Array.pcm", "Pulse.Lib.HigherArray.__proj__...
[]
false
false
false
false
false
let is_null_ptr (#elt: Type u#a) (p: ptr elt) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null_ptr elt)) =
is_pcm_ref_null p.base
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.according_to
val according_to (pol: T.guard_policy) (t: (unit -> T.Tac unit)) : T.Tac unit
val according_to (pol: T.guard_policy) (t: (unit -> T.Tac unit)) : T.Tac unit
let according_to (pol: T.guard_policy) (t: (unit -> T.Tac unit)) : T.Tac unit = match pol with | T.SMT -> to_all_goals T.smt | T.Drop -> to_all_goals T.tadmit | _ -> T.with_policy pol t
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 197, "start_col": 0, "start_line": 193 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pol: FStar.Stubs.Tactics.Types.guard_policy -> t: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Tactics.Types.guard_policy", "Prims.unit", "MiniParse.Tac.Base.to_all_goals", "FStar.Tactics.V2.Derived.smt", "FStar.Tactics.V2.Derived.tadmit", "FStar.Tactics.V2.Derived.with_policy" ]
[]
false
true
false
false
false
let according_to (pol: T.guard_policy) (t: (unit -> T.Tac unit)) : T.Tac unit =
match pol with | T.SMT -> to_all_goals T.smt | T.Drop -> to_all_goals T.tadmit | _ -> T.with_policy pol t
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.merge
val merge (#elt a1 a2: _) : i: array elt {i == merge' a1 a2}
val merge (#elt a1 a2: _) : i: array elt {i == merge' a1 a2}
let merge #elt a1 a2 : i:array elt{ i == merge' a1 a2 } = merge' a1 a2
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 729, "start_col": 0, "start_line": 727 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: Pulse.Lib.HigherArray.array elt -> a2: Pulse.Lib.HigherArray.array elt {Pulse.Lib.HigherArray.adjacent a1 a2} -> i: Pulse.Lib.HigherArray.array elt {i == Pulse.Lib.HigherArray.merge' a1 a2}
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Pulse.Lib.HigherArray.adjacent", "Pulse.Lib.HigherArray.merge'", "Prims.eq2" ]
[]
false
false
false
false
false
let merge #elt a1 a2 : i: array elt {i == merge' a1 a2} =
merge' a1 a2
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range_join
val pts_to_range_join (#elt: Type) (a: array elt) (i m j: nat) (#p: perm) (#s1 #s2: Seq.seq elt) : stt_ghost unit (pts_to_range a i m #p s1 ** pts_to_range a m j #p s2) (fun _ -> pts_to_range a i j #p (s1 `Seq.append` s2))
val pts_to_range_join (#elt: Type) (a: array elt) (i m j: nat) (#p: perm) (#s1 #s2: Seq.seq elt) : stt_ghost unit (pts_to_range a i m #p s1 ** pts_to_range a m j #p s2) (fun _ -> pts_to_range a i j #p (s1 `Seq.append` s2))
let pts_to_range_join = pts_to_range_join'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 800, "start_col": 0, "start_line": 800 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array elt -> i: Prims.nat -> m: Prims.nat -> j: Prims.nat -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to_range a i m s1 ** Pulse.Lib.HigherArray.pts_to_range a m j s2) (fun _ -> Pulse.Lib.HigherArray.pts_to_range a i j (FStar.Seq.Base.append s1 s2))
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_range_join'" ]
[]
false
false
false
false
false
let pts_to_range_join =
pts_to_range_join'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.null_ptr
val null_ptr (a: Type u#a) : ptr a
val null_ptr (a: Type u#a) : ptr a
let null_ptr (a:Type u#a) : ptr a = { base_len = 0sz; base = pcm_ref_null (PA.pcm a 0) ; offset = 0 }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 67, "end_line": 55, "start_col": 0, "start_line": 53 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Pulse.Lib.HigherArray.ptr a
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.Mkptr", "FStar.Ghost.hide", "FStar.SizeT.t", "FStar.SizeT.__uint_to_t", "Pulse.Lib.Core.pcm_ref_null", "Pulse.Lib.PCM.Array.carrier", "Prims.nat", "Pulse.Lib.PCM.Array.pcm", "Pulse.Lib.HigherArray.ptr" ]
[]
false
false
false
true
false
let null_ptr (a: Type u#a) : ptr a =
{ base_len = 0sz; base = pcm_ref_null (PA.pcm a 0); offset = 0 }
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.offset
val offset (#elt: Type) (p: ptr elt) : Ghost nat (requires True) (ensures (fun offset -> offset <= base_len (base p)))
val offset (#elt: Type) (p: ptr elt) : Ghost nat (requires True) (ensures (fun offset -> offset <= base_len (base p)))
let offset (#elt: Type) (p: ptr elt) : Ghost nat (requires True) (ensures (fun offset -> offset <= base_len (base p))) = p.offset
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 10, "end_line": 69, "start_col": 0, "start_line": 67 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Pulse.Lib.HigherArray.ptr elt -> Prims.Ghost Prims.nat
Prims.Ghost
[]
[]
[ "Pulse.Lib.HigherArray.ptr", "Pulse.Lib.HigherArray.__proj__Mkptr__item__offset", "Prims.nat", "Prims.l_True", "Prims.b2t", "Prims.op_LessThanOrEqual", "Pulse.Lib.HigherArray.base_len", "Pulse.Lib.HigherArray.base" ]
[]
false
false
false
false
false
let offset (#elt: Type) (p: ptr elt) : Ghost nat (requires True) (ensures (fun offset -> offset <= base_len (base p))) =
p.offset
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.null
val null (#a: Type u#1) : array a
val null (#a: Type u#1) : array a
let null (#a: Type u#1) : array a = { p = null_ptr a; length =Ghost.hide 0 }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 106, "start_col": 0, "start_line": 105 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Lib.HigherArray.array a
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.Mkarray", "Pulse.Lib.HigherArray.null_ptr", "FStar.Ghost.hide", "Prims.nat", "Pulse.Lib.HigherArray.array" ]
[]
false
false
false
true
false
let null (#a: Type u#1) : array a =
{ p = null_ptr a; length = Ghost.hide 0 }
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.mk_if_t
val mk_if_t (#t: Type) (test: bool) (x1: (ctest true test -> Tot t)) (x2: (ctest false test -> Tot t)) : Tot t
val mk_if_t (#t: Type) (test: bool) (x1: (ctest true test -> Tot t)) (x2: (ctest false test -> Tot t)) : Tot t
let mk_if_t (#t: Type) (test: bool) (x1: (ctest true test -> Tot t)) (x2: (ctest false test -> Tot t)) : Tot t = if test then x1 () else x2 ()
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 31, "end_line": 47, "start_col": 0, "start_line": 46 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
test: Prims.bool -> x1: (_: MiniParse.Tac.Base.ctest true test -> t) -> x2: (_: MiniParse.Tac.Base.ctest false test -> t) -> t
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "MiniParse.Tac.Base.ctest" ]
[]
false
false
false
false
false
let mk_if_t (#t: Type) (test: bool) (x1: (ctest true test -> Tot t)) (x2: (ctest false test -> Tot t)) : Tot t =
if test then x1 () else x2 ()
false
Steel.ST.Reference.fst
Steel.ST.Reference.ref
val ref ([@@@ unused] a:Type0) : Type0
val ref ([@@@ unused] a:Type0) : Type0
let ref (a:Type0) : Type0 = R.ref a
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 11, "end_line": 25, "start_col": 0, "start_line": 23 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ref" ]
[]
false
false
false
true
true
let ref (a: Type0) : Type0 =
R.ref a
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.solve_goal
val solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit
val solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit
let rec solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit = if T.ngoals () = 0 then () else begin begin if T.ngoals () > 1 then tfail "More than one goal here" else () end; begin match T.trytac tforall_intro with | Some _ -> T.debug ("Applied: forall_intro"); to_...
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 180, "start_col": 0, "start_line": 136 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Prims.unit", "Prims.bool", "FStar.Tactics.NamedView.binding", "MiniParse.Tac.Base.to_all_goals", "MiniParse.Tac.Base.solve_goal", "FStar.Tactics.V2.Derived.debug", "FStar.Pervasives.Native.option", "Prims.op_GreaterThan", "MiniParse.Tac.Base.tfail", "Prims.int", "FStar.Tactics.V...
[ "recursion" ]
false
true
false
false
false
let rec solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit =
if T.ngoals () = 0 then () else (if T.ngoals () > 1 then tfail "More than one goal here"; match T.trytac tforall_intro with | Some _ -> T.debug ("Applied: forall_intro"); to_all_goals (fun () -> solve_goal l) | _ -> match T.trytac timplies_intro with | Some _ -> T.debug ("A...
false
Steel.ST.Reference.fst
Steel.ST.Reference.pts_to
val pts_to (#a:Type0) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop
val pts_to (#a:Type0) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop
let pts_to (#a:Type0) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop = R.pts_to r p v
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 40, "start_col": 0, "start_line": 35 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.Reference.ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Reference.ref", "Steel.FractionalPermission.perm", "Steel.Reference.pts_to", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let pts_to (#a: Type0) (r: ref a) ([@@@ smt_fallback]p: perm) ([@@@ smt_fallback]v: a) : vprop =
R.pts_to r p v
false
Steel.ST.Reference.fst
Steel.ST.Reference.null
val null (#a:Type0) : ref a
val null (#a:Type0) : ref a
let null (#a:Type0) : ref a = R.null #a
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 29, "start_col": 0, "start_line": 27 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Steel.ST.Reference.ref a
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.null", "Steel.ST.Reference.ref" ]
[]
false
false
false
true
false
let null (#a: Type0) : ref a =
R.null #a
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.app_head_rev_tail
val app_head_rev_tail (t: T.term) : T.Tac (T.term * list T.argv)
val app_head_rev_tail (t: T.term) : T.Tac (T.term * list T.argv)
let rec app_head_rev_tail (t: T.term) : T.Tac (T.term * list T.argv) = let ins = T.inspect t in if T.Tv_App? ins then let (T.Tv_App u v) = ins in let (x, l) = app_head_rev_tail u in (x, v :: l) else (t, [])
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 34, "start_col": 0, "start_line": 24 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Tactics.NamedView.term * Prims.list FStar.Stubs.Reflection.V2.Data.argv)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.uu___is_Tv_App", "FStar.Stubs.Reflection.V2.Data.argv", "Prims.list", "FStar.Pervasives.Native.Mktuple2", "Prims.Cons", "FStar.Pervasives.Native.tuple2", "MiniParse.Tac.Base.app_head_rev_tail", "FStar.Tactics.NamedView.named_term_view", "Pri...
[ "recursion" ]
false
true
false
false
false
let rec app_head_rev_tail (t: T.term) : T.Tac (T.term * list T.argv) =
let ins = T.inspect t in if T.Tv_App? ins then let T.Tv_App u v = ins in let x, l = app_head_rev_tail u in (x, v :: l) else (t, [])
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.string_of_name
val string_of_name (n: T.name) : Tot string
val string_of_name (n: T.name) : Tot string
let rec string_of_name (n: T.name) : Tot string = match n with | [] -> "" | [a] -> a | a :: b -> a ^ "." ^ string_of_name b
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 69, "start_col": 0, "start_line": 65 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: FStar.Stubs.Reflection.Types.name -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.name", "Prims.string", "Prims.list", "Prims.op_Hat", "MiniParse.Tac.Base.string_of_name" ]
[ "recursion" ]
false
false
false
true
false
let rec string_of_name (n: T.name) : Tot string =
match n with | [] -> "" | [a] -> a | a :: b -> a ^ "." ^ string_of_name b
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.op_Array_Assignment
val op_Array_Assignment (#t: Type) (a: array t) (i: SZ.t) (v: t) (#s: Ghost.erased (Seq.seq t) {SZ.v i < Seq.length s}) : stt unit (requires pts_to a s) (ensures fun res -> pts_to a (Seq.upd s (SZ.v i) v))
val op_Array_Assignment (#t: Type) (a: array t) (i: SZ.t) (v: t) (#s: Ghost.erased (Seq.seq t) {SZ.v i < Seq.length s}) : stt unit (requires pts_to a s) (ensures fun res -> pts_to a (Seq.upd s (SZ.v i) v))
let op_Array_Assignment = write
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 264, "start_col": 0, "start_line": 264 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array t -> i: FStar.SizeT.t -> v: t -> Pulse.Lib.Core.stt Prims.unit (Pulse.Lib.HigherArray.pts_to a (FStar.Ghost.reveal s)) (fun _ -> Pulse.Lib.HigherArray.pts_to a (FStar.Seq.Base.upd (FStar.Ghost.reveal s) (FStar.SizeT.v i) v))
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.write" ]
[]
false
false
false
false
false
let op_Array_Assignment =
write
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.mk_array
val mk_array (#elt: Type u#1) (base_len: SZ.t) (base: l_pcm_ref elt base_len) (offset: nat{offset <= SZ.v base_len}) : array elt
val mk_array (#elt: Type u#1) (base_len: SZ.t) (base: l_pcm_ref elt base_len) (offset: nat{offset <= SZ.v base_len}) : array elt
let mk_array (#elt: Type u#1) (base_len: SZ.t) (base:l_pcm_ref elt base_len) (offset:nat { offset <= SZ.v base_len}) : array elt = { p = { base_len; base; offset} ; length = Ghost.hide (SZ.v base_len - offset) }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 82, "end_line": 133, "start_col": 0, "start_line": 127 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
base_len: FStar.SizeT.t -> base: Pulse.Lib.HigherArray.l_pcm_ref elt base_len -> offset: Prims.nat{offset <= FStar.SizeT.v base_len} -> Pulse.Lib.HigherArray.array elt
Prims.Tot
[ "total" ]
[]
[ "FStar.SizeT.t", "Pulse.Lib.HigherArray.l_pcm_ref", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.SizeT.v", "Pulse.Lib.HigherArray.Mkarray", "Pulse.Lib.HigherArray.Mkptr", "FStar.Ghost.hide", "Prims.op_Subtraction", "Pulse.Lib.HigherArray.array" ]
[]
false
false
false
false
false
let mk_array (#elt: Type u#1) (base_len: SZ.t) (base: l_pcm_ref elt base_len) (offset: nat{offset <= SZ.v base_len}) : array elt =
{ p = { base_len = base_len; base = base; offset = offset }; length = Ghost.hide (SZ.v base_len - offset) }
false
Steel.ST.Reference.fst
Steel.ST.Reference._stack_frame
val _stack_frame:vprop
val _stack_frame:vprop
let _stack_frame : vprop = pure True
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 107, "start_col": 0, "start_line": 107 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Util.pure", "Prims.l_True" ]
[]
false
false
false
true
false
let _stack_frame:vprop =
pure True
false
Steel.ST.C.Types.Fields.fsti
Steel.ST.C.Types.Fields.norm_fields
val norm_fields: Prims.unit -> FStar.Tactics.Tac unit
val norm_fields: Prims.unit -> FStar.Tactics.Tac unit
let norm_fields () : FStar.Tactics.Tac unit = FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops]; FStar.Tactics.trefl ()
{ "file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 9, "start_col": 0, "start_line": 7 }
module Steel.ST.C.Types.Fields include Steel.ST.C.Types.Base open Steel.C.Typestring open Steel.ST.Util
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.C.Types.Base.fsti.checked", "Steel.C.Typestring.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.C.Types...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_module": "Steel.C.Typestring", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Base", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.trefl", "FStar.Stubs.Tactics.V1.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta_attr", "Prims.string", "Prims.Nil", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "FStar.Pervasives.primops" ]
[]
false
true
false
false
false
let norm_fields () : FStar.Tactics.Tac unit =
FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops]; FStar.Tactics.trefl ()
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.ptr_shift
val ptr_shift (#elt: Type) (p: ptr elt) (off: nat{offset p + off <= base_len (base p)}) : ptr elt
val ptr_shift (#elt: Type) (p: ptr elt) (off: nat{offset p + off <= base_len (base p)}) : ptr elt
let ptr_shift (#elt: Type) (p: ptr elt) (off: nat {offset p + off <= base_len (base p)}) : ptr elt = { base_len = p.base_len; base = p.base; offset = p.offset + off; }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 444, "start_col": 0, "start_line": 435 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Pulse.Lib.HigherArray.ptr elt -> off: Prims.nat { Pulse.Lib.HigherArray.offset p + off <= Pulse.Lib.HigherArray.base_len (Pulse.Lib.HigherArray.base p) } -> Pulse.Lib.HigherArray.ptr elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.ptr", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Pulse.Lib.HigherArray.offset", "Pulse.Lib.HigherArray.base_len", "Pulse.Lib.HigherArray.base", "Pulse.Lib.HigherArray.Mkptr", "Pulse.Lib.HigherArray.__proj__Mkptr__item__base_len", "Pulse.Lib...
[]
false
false
false
false
false
let ptr_shift (#elt: Type) (p: ptr elt) (off: nat{offset p + off <= base_len (base p)}) : ptr elt =
{ base_len = p.base_len; base = p.base; offset = p.offset + off }
false
Steel.ST.C.Types.Fields.fsti
Steel.ST.C.Types.Fields.nonempty_field_description_t
val nonempty_field_description_t : t: Type0 -> Type
let nonempty_field_description_t (t: Type0) = (fd: field_description_t t { fd.fd_empty == false })
{ "file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 54, "end_line": 27, "start_col": 0, "start_line": 26 }
module Steel.ST.C.Types.Fields include Steel.ST.C.Types.Base open Steel.C.Typestring open Steel.ST.Util [@@noextract_to "krml"] // tactic let norm_fields () : FStar.Tactics.Tac unit = FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops]; FStar.Tactics.trefl () [@@noextract_to "krml"] // primit...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.C.Types.Base.fsti.checked", "Steel.C.Typestring.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.C.Types...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_module": "Steel.C.Typestring", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Base", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Type0 -> Type
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.Fields.field_description_t", "Prims.eq2", "Prims.bool", "Steel.ST.C.Types.Fields.__proj__Mkfield_description_t__item__fd_empty" ]
[]
false
false
false
true
true
let nonempty_field_description_t (t: Type0) =
(fd: field_description_t t {fd.fd_empty == false})
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range
val pts_to_range (#a:Type) (x:array a) ([@@@ equate_by_smt] i:nat) ([@@@ equate_by_smt] j: nat) (#[exact (`full_perm)] p:perm) ([@@@ equate_by_smt] s: Seq.seq a) : vprop
val pts_to_range (#a:Type) (x:array a) ([@@@ equate_by_smt] i:nat) ([@@@ equate_by_smt] j: nat) (#[exact (`full_perm)] p:perm) ([@@@ equate_by_smt] s: Seq.seq a) : vprop
let pts_to_range (#a:Type) (x:array a) ([@@@ equate_by_smt] i:nat) ([@@@ equate_by_smt] j: nat) (#[exact (`full_perm)] p:perm) ([@@@ equate_by_smt] s: Seq.seq a) : vprop = exists* (q:in_bounds i j x). pts_to (array_slice x i j) #p s ** token q
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 73, "end_line": 504, "start_col": 0, "start_line": 496 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Pulse.Lib.HigherArray.array a -> i: Prims.nat -> j: Prims.nat -> s: FStar.Seq.Base.seq a -> Pulse.Lib.Core.vprop
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Prims.nat", "PulseCore.FractionalPermission.perm", "FStar.Seq.Base.seq", "Pulse.Lib.Core.op_exists_Star", "Pulse.Lib.HigherArray.in_bounds", "Pulse.Lib.Core.op_Star_Star", "Pulse.Lib.HigherArray.pts_to", "Pulse.Lib.HigherArray.array_slice", "Pulse.Lib.HigherArray.to...
[]
false
false
false
true
false
let pts_to_range (#a: Type) (x: array a) ([@@@ equate_by_smt]i [@@@ equate_by_smt]j: nat) (#[exact (`full_perm)] p: perm) ([@@@ equate_by_smt]s: Seq.seq a) : vprop =
exists* (q: in_bounds i j x). pts_to (array_slice x i j) #p s ** token q
false
Steel.ST.C.Types.Fields.fsti
Steel.ST.C.Types.Fields.field_description_nil
val field_description_nil:field_description_t field_t_nil
val field_description_nil:field_description_t field_t_nil
let field_description_nil : field_description_t field_t_nil = { fd_def = (fun _ -> false); fd_empty = true; fd_type = (fun _ -> unit); fd_typedef = (fun _ -> false_elim ()); }
{ "file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 38, "start_col": 0, "start_line": 33 }
module Steel.ST.C.Types.Fields include Steel.ST.C.Types.Base open Steel.C.Typestring open Steel.ST.Util [@@noextract_to "krml"] // tactic let norm_fields () : FStar.Tactics.Tac unit = FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops]; FStar.Tactics.trefl () [@@noextract_to "krml"] // primit...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.C.Types.Base.fsti.checked", "Steel.C.Typestring.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.C.Types...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_module": "Steel.C.Typestring", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Base", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Steel.ST.C.Types.Fields.field_description_t Steel.ST.C.Types.Fields.field_t_nil
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.Fields.Mkfield_description_t", "Steel.ST.C.Types.Fields.field_t_nil", "Prims.string", "Prims.bool", "Prims.unit", "FStar.Pervasives.false_elim", "Steel.ST.C.Types.Base.typedef" ]
[]
false
false
false
true
false
let field_description_nil:field_description_t field_t_nil =
{ fd_def = (fun _ -> false); fd_empty = true; fd_type = (fun _ -> unit); fd_typedef = (fun _ -> false_elim ()) }
false
Steel.ST.C.Types.Fields.fsti
Steel.ST.C.Types.Fields.field_description_cons
val field_description_cons (#ft #fc: Type0) (n: string) (#fn: Type0) (#[solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn))) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc))
val field_description_cons (#ft #fc: Type0) (n: string) (#fn: Type0) (#[solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn))) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc))
let field_description_cons (#ft: Type0) (#fc: Type0) (n: string) (#fn: Type0) (# [ solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn))) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc)) = field_description_cons0 fn #ft #fc n t fd
{ "file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 43, "end_line": 53, "start_col": 0, "start_line": 52 }
module Steel.ST.C.Types.Fields include Steel.ST.C.Types.Base open Steel.C.Typestring open Steel.ST.Util [@@noextract_to "krml"] // tactic let norm_fields () : FStar.Tactics.Tac unit = FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops]; FStar.Tactics.trefl () [@@noextract_to "krml"] // primit...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.C.Types.Base.fsti.checked", "Steel.C.Typestring.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.C.Types...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_module": "Steel.C.Typestring", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Base", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.string -> t: Steel.ST.C.Types.Base.typedef ft -> fd: Steel.ST.C.Types.Fields.field_description_t fc -> Steel.ST.C.Types.Fields.nonempty_field_description_t (Steel.ST.C.Types.Fields.field_t_cons fn ft fc)
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Prims.squash", "FStar.Pervasives.norm", "Steel.C.Typestring.norm_typestring", "Prims.eq2", "Steel.C.Typestring.mk_string_t", "Steel.ST.C.Types.Base.typedef", "Steel.ST.C.Types.Fields.field_description_t", "Steel.ST.C.Types.Fields.field_description_cons0", "Steel.ST.C.Types.Fields....
[]
false
false
false
false
false
let field_description_cons (#ft #fc: Type0) (n: string) (#fn: Type0) (#[solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn))) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc)) =
field_description_cons0 fn #ft #fc n t fd
false
Steel.ST.C.Types.Fields.fsti
Steel.ST.C.Types.Fields.field_t
val field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype
val field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype
let field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype = (s: string { fd.fd_def s })
{ "file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 94, "end_line": 30, "start_col": 0, "start_line": 30 }
module Steel.ST.C.Types.Fields include Steel.ST.C.Types.Base open Steel.C.Typestring open Steel.ST.Util [@@noextract_to "krml"] // tactic let norm_fields () : FStar.Tactics.Tac unit = FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops]; FStar.Tactics.trefl () [@@noextract_to "krml"] // primit...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.C.Types.Base.fsti.checked", "Steel.C.Typestring.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.C.Types...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_module": "Steel.C.Typestring", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Base", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
fd: Steel.ST.C.Types.Fields.field_description_t t -> Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.C.Types.Fields.field_description_t", "Prims.string", "Prims.b2t", "Steel.ST.C.Types.Fields.__proj__Mkfield_description_t__item__fd_def", "Prims.eqtype" ]
[]
false
false
false
true
false
let field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype =
(s: string{fd.fd_def s})
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.split_l'
val split_l' (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : array elt
val split_l' (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : array elt
let split_l' (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : array elt = { p = ptr_of a; length=i }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 28, "end_line": 451, "start_col": 0, "start_line": 446 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array elt -> i: FStar.Ghost.erased Prims.nat {FStar.Ghost.reveal i <= Pulse.Lib.HigherArray.length a} -> Pulse.Lib.HigherArray.array elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "FStar.Ghost.erased", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Ghost.reveal", "Pulse.Lib.HigherArray.length", "Pulse.Lib.HigherArray.Mkarray", "Pulse.Lib.HigherArray.ptr_of" ]
[]
false
false
false
false
false
let split_l' (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : array elt =
{ p = ptr_of a; length = i }
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.array_slice
val array_slice (#elt: Type) (a: array elt) (i: nat) (j: nat{i <= j /\ j <= length a}) : GTot (array elt)
val array_slice (#elt: Type) (a: array elt) (i: nat) (j: nat{i <= j /\ j <= length a}) : GTot (array elt)
let array_slice (#elt: Type) (a: array elt) (i:nat) (j: nat {i <= j /\ j <= length a}) : GTot (array elt) = split_l (split_r a i) (j - i)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 481, "start_col": 0, "start_line": 476 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array elt -> i: Prims.nat -> j: Prims.nat{i <= j /\ j <= Pulse.Lib.HigherArray.length a} -> Prims.GTot (Pulse.Lib.HigherArray.array elt)
Prims.GTot
[ "sometrivial" ]
[]
[ "Pulse.Lib.HigherArray.array", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Pulse.Lib.HigherArray.length", "Pulse.Lib.HigherArray.split_l", "Pulse.Lib.HigherArray.split_r", "FStar.Ghost.hide", "Prims.op_Subtraction" ]
[]
false
false
false
false
false
let array_slice (#elt: Type) (a: array elt) (i: nat) (j: nat{i <= j /\ j <= length a}) : GTot (array elt) =
split_l (split_r a i) (j - i)
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range_split
val pts_to_range_split (#elt: Type) (a: array elt) (i m j: nat) (#p: perm) (#s: Seq.seq elt) : stt_ghost unit (pts_to_range a i j #p s ** pure (i <= m /\ m <= j) ) (fun _ -> exists* s1 s2. pts_to_range a i m #p s1 ** pts_to_range a m j #p s2 ** pure ( i <= m /\ m <=...
val pts_to_range_split (#elt: Type) (a: array elt) (i m j: nat) (#p: perm) (#s: Seq.seq elt) : stt_ghost unit (pts_to_range a i j #p s ** pure (i <= m /\ m <= j) ) (fun _ -> exists* s1 s2. pts_to_range a i m #p s1 ** pts_to_range a m j #p s2 ** pure ( i <= m /\ m <=...
let pts_to_range_split = pts_to_range_split'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 699, "start_col": 0, "start_line": 699 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array elt -> i: Prims.nat -> m: Prims.nat -> j: Prims.nat -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to_range a i j s ** Pulse.Lib.Core.pure (i <= m /\ m <= j)) (fun _ -> exists* (s1: FStar.Seq.Base.seq elt) (s2: FStar.Seq.Base.seq elt). ...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_range_split'" ]
[]
false
false
false
false
false
let pts_to_range_split =
pts_to_range_split'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.vprop_equiv_refl_eq
val vprop_equiv_refl_eq: v0: vprop -> v1: vprop -> squash (v0 == v1) -> vprop_equiv v0 v1
val vprop_equiv_refl_eq: v0: vprop -> v1: vprop -> squash (v0 == v1) -> vprop_equiv v0 v1
let vprop_equiv_refl_eq (v0 v1:vprop) (_:squash (v0 == v1)) : vprop_equiv v0 v1 = vprop_equiv_refl v0
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 21, "end_line": 625, "start_col": 0, "start_line": 624 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v0: Pulse.Lib.Core.vprop -> v1: Pulse.Lib.Core.vprop -> _: Prims.squash (v0 == v1) -> Pulse.Lib.Core.vprop_equiv v0 v1
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Core.vprop", "Prims.squash", "Prims.eq2", "Pulse.Lib.Core.vprop_equiv_refl", "Pulse.Lib.Core.vprop_equiv" ]
[]
false
false
false
false
false
let vprop_equiv_refl_eq (v0: vprop) (v1: vprop) (_: squash (v0 == v1)) : vprop_equiv v0 v1 =
vprop_equiv_refl v0
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range_prop
val pts_to_range_prop (#elt: Type) (a: array elt) (#i #j: nat) (#p: perm) (#s: Seq.seq elt) : stt_ghost unit (pts_to_range a i j #p s) (fun _ -> pts_to_range a i j #p s ** pure ( (i <= j /\ j <= length a /\ eq2 #nat (Seq.length s) (j - i)) ))
val pts_to_range_prop (#elt: Type) (a: array elt) (#i #j: nat) (#p: perm) (#s: Seq.seq elt) : stt_ghost unit (pts_to_range a i j #p s) (fun _ -> pts_to_range a i j #p s ** pure ( (i <= j /\ j <= length a /\ eq2 #nat (Seq.length s) (j - i)) ))
let pts_to_range_prop = pts_to_range_prop'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 526, "start_col": 0, "start_line": 526 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array elt -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to_range a i j s) (fun _ -> Pulse.Lib.HigherArray.pts_to_range a i j s ** Pulse.Lib.Core.pure (i <= j /\ j <= Pulse.Lib.HigherArray.length a /\ FStar.Seq.Base.length s == ...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_range_prop'" ]
[]
false
false
false
false
false
let pts_to_range_prop =
pts_to_range_prop'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.mk_carrier_gather
val mk_carrier_gather: #elt: Type -> len: nat -> offset: nat -> s1: Seq.seq elt -> s2: Seq.seq elt -> p1: perm -> p2: perm -> squash (let c1 = mk_carrier len offset s1 p1 in let c2 = mk_carrier len offset s2 p2 in composable c1 c2 /\ Seq.length s1 == Seq.length s2 /\ ...
val mk_carrier_gather: #elt: Type -> len: nat -> offset: nat -> s1: Seq.seq elt -> s2: Seq.seq elt -> p1: perm -> p2: perm -> squash (let c1 = mk_carrier len offset s1 p1 in let c2 = mk_carrier len offset s2 p2 in composable c1 c2 /\ Seq.length s1 == Seq.length s2 /\ ...
let mk_carrier_gather (#elt: Type) (len: nat) (offset: nat) (s1 s2: Seq.seq elt) (p1 p2: perm) (_:squash ( let c1 = mk_carrier len offset s1 p1 in let c2 = mk_carrier len offset s2 p2 in composable c1 c2 /\ Seq.length s1 == Seq.length s2 /\ offset + Seq.length s1 <= len )) : squash ( ...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 71, "end_line": 382, "start_col": 0, "start_line": 355 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Prims.nat -> offset: Prims.nat -> s1: FStar.Seq.Base.seq elt -> s2: FStar.Seq.Base.seq elt -> p1: PulseCore.FractionalPermission.perm -> p2: PulseCore.FractionalPermission.perm -> _: Prims.squash (let c1 = Pulse.Lib.PCM.Array.mk_carrier len offset s1 p1 in let c2 = Puls...
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.Seq.Base.seq", "PulseCore.FractionalPermission.perm", "Prims.squash", "Prims.l_and", "Pulse.Lib.PCM.Array.composable", "FStar.Ghost.hide", "Prims.eq2", "FStar.Seq.Base.length", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Pulse.Lib.PCM.Array.carrier", ...
[]
false
false
true
false
false
let mk_carrier_gather (#elt: Type) (len: nat) (offset: nat) (s1: Seq.seq elt) (s2: Seq.seq elt) (p1: perm) (p2: perm) (_: squash (let c1 = mk_carrier len offset s1 p1 in let c2 = mk_carrier len offset s2 p2 in composable c1 c2 /\ Seq....
let c1 = mk_carrier len offset s1 p1 in let c2 = mk_carrier len offset s2 p2 in assert (composable c1 c2); assert ((mk_carrier len offset s1 (p1 `sum_perm` p2)) `Map.equal` (c1 `compose` c2)); assert ((mk_carrier len offset s2 (p1 `sum_perm` p2)) `Map.equal` (c1 `compose` c2)); mk_carrier_inj len offset s1 s2 (p1 `sum_...
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.op_Array_Access
val op_Array_Access (#t: Type) (a: array t) (i: SZ.t) (#p: perm) (#s: Ghost.erased (Seq.seq t){SZ.v i < Seq.length s}) : stt t (requires pts_to a #p s) (ensures fun res -> pts_to a #p s ** pure (res == Seq.index s (SZ.v i)))
val op_Array_Access (#t: Type) (a: array t) (i: SZ.t) (#p: perm) (#s: Ghost.erased (Seq.seq t){SZ.v i < Seq.length s}) : stt t (requires pts_to a #p s) (ensures fun res -> pts_to a #p s ** pure (res == Seq.index s (SZ.v i)))
let op_Array_Access = read
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 26, "end_line": 219, "start_col": 0, "start_line": 219 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array t -> i: FStar.SizeT.t -> Pulse.Lib.Core.stt t (Pulse.Lib.HigherArray.pts_to a (FStar.Ghost.reveal s)) (fun res -> Pulse.Lib.HigherArray.pts_to a (FStar.Ghost.reveal s) ** Pulse.Lib.Core.pure (res == FStar.Seq.Base.index (FStar.Ghost.reveal s) (FStar.SizeT...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.read" ]
[]
false
false
false
false
false
let op_Array_Access =
read
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.mk_carrier_valid_sum_perm
val mk_carrier_valid_sum_perm (#elt: Type) (len offset: nat) (s: Seq.seq elt) (p1 p2: perm) : squash (let c1 = mk_carrier len offset s p1 in let c2 = mk_carrier len offset s p2 in composable c1 c2 <==> valid_sum_perm len offset (Seq.length s) p1 p2)
val mk_carrier_valid_sum_perm (#elt: Type) (len offset: nat) (s: Seq.seq elt) (p1 p2: perm) : squash (let c1 = mk_carrier len offset s p1 in let c2 = mk_carrier len offset s p2 in composable c1 c2 <==> valid_sum_perm len offset (Seq.length s) p1 p2)
let mk_carrier_valid_sum_perm (#elt: Type) (len: nat) (offset: nat) (s: Seq.seq elt) (p1 p2: perm) : squash (let c1 = mk_carrier len offset s p1 in let c2 = mk_carrier len offset s p2 in composable c1 c2 <==> valid_sum_perm len offset (Seq.length s) p1 p2) = let c1 = mk_carrier len offset s p1 in le...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 9, "end_line": 401, "start_col": 0, "start_line": 385 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Prims.nat -> offset: Prims.nat -> s: FStar.Seq.Base.seq elt -> p1: PulseCore.FractionalPermission.perm -> p2: PulseCore.FractionalPermission.perm -> Prims.squash (let c1 = Pulse.Lib.PCM.Array.mk_carrier len offset s p1 in let c2 = Pulse.Lib.PCM.Array.mk_carrier len offset s p2 in ...
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.Seq.Base.seq", "PulseCore.FractionalPermission.perm", "Prims.op_AmpAmp", "Prims.op_GreaterThan", "FStar.Seq.Base.length", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Prims._assert", "Prims.l_iff", "Pulse.Lib.PCM.Fraction.composable", "FStar.Map.sel", "Pulse.Lib.PCM....
[]
false
false
true
false
false
let mk_carrier_valid_sum_perm (#elt: Type) (len offset: nat) (s: Seq.seq elt) (p1 p2: perm) : squash (let c1 = mk_carrier len offset s p1 in let c2 = mk_carrier len offset s p2 in composable c1 c2 <==> valid_sum_perm len offset (Seq.length s) p1 p2) =
let c1 = mk_carrier len offset s p1 in let c2 = mk_carrier len offset s p2 in if Seq.length s > 0 && offset + Seq.length s <= len then let open FStar.Real in assert (Frac.composable (Map.sel c1 offset) (Map.sel c2 offset) <==> valid_perm len offset (Seq.length s) (sum_perm p1 p2))
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.merge'
val merge' : a1: Pulse.Lib.HigherArray.array elt -> a2: Pulse.Lib.HigherArray.array elt {Pulse.Lib.HigherArray.adjacent a1 a2} -> Pulse.Lib.HigherArray.array elt
let merge' (#elt: Type) (a1: array elt) (a2:array elt { adjacent a1 a2 }) = { p = ptr_of a1; length=Ghost.hide (length a1 + length a2) }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 724, "start_col": 0, "start_line": 723 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a1: Pulse.Lib.HigherArray.array elt -> a2: Pulse.Lib.HigherArray.array elt {Pulse.Lib.HigherArray.adjacent a1 a2} -> Pulse.Lib.HigherArray.array elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Pulse.Lib.HigherArray.adjacent", "Pulse.Lib.HigherArray.Mkarray", "Pulse.Lib.HigherArray.ptr_of", "FStar.Ghost.hide", "Prims.nat", "Prims.op_Addition", "Pulse.Lib.HigherArray.length" ]
[]
false
false
false
false
false
let merge' (#elt: Type) (a1: array elt) (a2: array elt {adjacent a1 a2}) =
{ p = ptr_of a1; length = Ghost.hide (length a1 + length a2) }
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.split_r'
val split_r' (#elt: Type) (a: array elt) (i: nat{i <= length a}) : array elt
val split_r' (#elt: Type) (a: array elt) (i: nat{i <= length a}) : array elt
let split_r' (#elt: Type) (a: array elt) (i: nat {i <= length a}) : array elt = { p= ptr_shift (ptr_of a) i; length=Ghost.hide (length a - i) }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 65, "end_line": 466, "start_col": 0, "start_line": 461 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array elt -> i: Prims.nat{i <= Pulse.Lib.HigherArray.length a} -> Pulse.Lib.HigherArray.array elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Pulse.Lib.HigherArray.length", "Pulse.Lib.HigherArray.Mkarray", "Pulse.Lib.HigherArray.ptr_shift", "Pulse.Lib.HigherArray.ptr_of", "FStar.Ghost.hide", "Prims.op_Subtraction" ]
[]
false
false
false
false
false
let split_r' (#elt: Type) (a: array elt) (i: nat{i <= length a}) : array elt =
{ p = ptr_shift (ptr_of a) i; length = Ghost.hide (length a - i) }
false
FStar.Tactics.MApply.fst
FStar.Tactics.MApply.termable_binding
[@@ FStar.Tactics.Typeclasses.tcinstance] val termable_binding:termable binding
[@@ FStar.Tactics.Typeclasses.tcinstance] val termable_binding:termable binding
instance termable_binding : termable binding = { to_term = (fun b -> binding_to_term b); }
{ "file_name": "ulib/FStar.Tactics.MApply.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 103, "start_col": 0, "start_line": 101 }
module FStar.Tactics.MApply open FStar.Reflection.V2 open FStar.Reflection.V2.Formula open FStar.Tactics.Effect open FStar.Stubs.Tactics.V2.Builtins open FStar.Tactics.NamedView open FStar.Tactics.V2.SyntaxHelpers open FStar.Tactics.V2.Derived open FStar.Tactics.V2.SyntaxCoercions open FStar.Tactics.Typeclasses pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tac...
[ { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Derived", "short_module": null }, {...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.Tactics.MApply.termable FStar.Tactics.NamedView.binding
Prims.Tot
[ "total" ]
[]
[ "FStar.Tactics.MApply.Mktermable", "FStar.Tactics.NamedView.binding", "FStar.Tactics.V2.SyntaxCoercions.binding_to_term", "FStar.Tactics.NamedView.term" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let termable_binding:termable binding =
{ to_term = (fun b -> binding_to_term b) }
false
FStar.Tactics.MApply.fst
FStar.Tactics.MApply.termable_term
[@@ FStar.Tactics.Typeclasses.tcinstance] val termable_term:termable term
[@@ FStar.Tactics.Typeclasses.tcinstance] val termable_term:termable term
instance termable_term : termable term = { to_term = (fun t -> t); }
{ "file_name": "ulib/FStar.Tactics.MApply.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 99, "start_col": 0, "start_line": 97 }
module FStar.Tactics.MApply open FStar.Reflection.V2 open FStar.Reflection.V2.Formula open FStar.Tactics.Effect open FStar.Stubs.Tactics.V2.Builtins open FStar.Tactics.NamedView open FStar.Tactics.V2.SyntaxHelpers open FStar.Tactics.V2.Derived open FStar.Tactics.V2.SyntaxCoercions open FStar.Tactics.Typeclasses pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tac...
[ { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Derived", "short_module": null }, {...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.Tactics.MApply.termable FStar.Tactics.NamedView.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Tactics.MApply.Mktermable", "FStar.Tactics.NamedView.term" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let termable_term:termable term =
{ to_term = (fun t -> t) }
false
Steel.ST.Reference.fst
Steel.ST.Reference.is_null
val is_null (#a:Type0) (r:ref a) : b:bool{b <==> r == null}
val is_null (#a:Type0) (r:ref a) : b:bool{b <==> r == null}
let is_null (#a:Type0) (r:ref a) : b:bool{b <==> r == null} = R.is_null r
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 33, "start_col": 0, "start_line": 31 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.Reference.ref a -> b: Prims.bool{b <==> r == Steel.ST.Reference.null}
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Reference.ref", "Steel.Reference.is_null", "Prims.bool", "Prims.l_iff", "Prims.b2t", "Prims.eq2", "Steel.ST.Reference.null" ]
[]
false
false
false
false
false
let is_null (#a: Type0) (r: ref a) : b: bool{b <==> r == null} =
R.is_null r
false
FStar.Tactics.MApply.fst
FStar.Tactics.MApply.mapply0
val mapply0 (t: term) : Tac unit
val mapply0 (t: term) : Tac unit
let mapply0 (t : term) : Tac unit = apply_squash_or_lem 10 t
{ "file_name": "ulib/FStar.Tactics.MApply.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 26, "end_line": 107, "start_col": 0, "start_line": 106 }
module FStar.Tactics.MApply open FStar.Reflection.V2 open FStar.Reflection.V2.Formula open FStar.Tactics.Effect open FStar.Stubs.Tactics.V2.Builtins open FStar.Tactics.NamedView open FStar.Tactics.V2.SyntaxHelpers open FStar.Tactics.V2.Derived open FStar.Tactics.V2.SyntaxCoercions open FStar.Tactics.Typeclasses pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tac...
[ { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Derived", "short_module": null }, {...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Tactics.MApply.apply_squash_or_lem", "Prims.unit" ]
[]
false
true
false
false
false
let mapply0 (t: term) : Tac unit =
apply_squash_or_lem 10 t
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range_index
val pts_to_range_index (#t: Type) (a: array t) (i: SZ.t) (#l: Ghost.erased nat{l <= SZ.v i}) (#r: Ghost.erased nat{SZ.v i < r}) (#s: Ghost.erased (Seq.seq t)) (#p: perm) : stt t (requires pts_to_range a l r #p s) (ensures fun res -> pts_to_range a l r #p s ** pure (Seq.length s =...
val pts_to_range_index (#t: Type) (a: array t) (i: SZ.t) (#l: Ghost.erased nat{l <= SZ.v i}) (#r: Ghost.erased nat{SZ.v i < r}) (#s: Ghost.erased (Seq.seq t)) (#p: perm) : stt t (requires pts_to_range a l r #p s) (ensures fun res -> pts_to_range a l r #p s ** pure (Seq.length s =...
let pts_to_range_index = pts_to_range_index'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 841, "start_col": 0, "start_line": 841 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array t -> i: FStar.SizeT.t -> Pulse.Lib.Core.stt t (Pulse.Lib.HigherArray.pts_to_range a (FStar.Ghost.reveal l) (FStar.Ghost.reveal r) (FStar.Ghost.reveal s)) (fun res -> Pulse.Lib.HigherArray.pts_to_range a (FStar.Ghost.reveal ...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_range_index'" ]
[]
false
false
false
false
false
let pts_to_range_index =
pts_to_range_index'
false
FStar.Tactics.MApply.fst
FStar.Tactics.MApply.mapply
val mapply (#ty: Type) {| _: termable ty |} (x: ty) : Tac unit
val mapply (#ty: Type) {| _: termable ty |} (x: ty) : Tac unit
let mapply (#ty:Type) {| termable ty |} (x : ty) : Tac unit = let t = to_term x in apply_squash_or_lem 10 t
{ "file_name": "ulib/FStar.Tactics.MApply.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 26, "end_line": 111, "start_col": 0, "start_line": 109 }
module FStar.Tactics.MApply open FStar.Reflection.V2 open FStar.Reflection.V2.Formula open FStar.Tactics.Effect open FStar.Stubs.Tactics.V2.Builtins open FStar.Tactics.NamedView open FStar.Tactics.V2.SyntaxHelpers open FStar.Tactics.V2.Derived open FStar.Tactics.V2.SyntaxCoercions open FStar.Tactics.Typeclasses pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tac...
[ { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Derived", "short_module": null }, {...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
{| _: FStar.Tactics.MApply.termable ty |} -> x: ty -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.MApply.termable", "FStar.Tactics.MApply.apply_squash_or_lem", "Prims.unit", "FStar.Tactics.NamedView.term", "FStar.Tactics.MApply.to_term" ]
[]
false
true
false
false
false
let mapply (#ty: Type) {| _: termable ty |} (x: ty) : Tac unit =
let t = to_term x in apply_squash_or_lem 10 t
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range_upd
val pts_to_range_upd (#t: Type) (a: array t) (i: SZ.t) (v: t) (#l: Ghost.erased nat{l <= SZ.v i}) (#r: Ghost.erased nat{SZ.v i < r}) (#s0: Ghost.erased (Seq.seq t)) : stt unit (requires pts_to_range a l r s0) (ensures fun _ -> exists* s. pts_to_range a l r s ** pure( ...
val pts_to_range_upd (#t: Type) (a: array t) (i: SZ.t) (v: t) (#l: Ghost.erased nat{l <= SZ.v i}) (#r: Ghost.erased nat{SZ.v i < r}) (#s0: Ghost.erased (Seq.seq t)) : stt unit (requires pts_to_range a l r s0) (ensures fun _ -> exists* s. pts_to_range a l r s ** pure( ...
let pts_to_range_upd = pts_to_range_upd'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 875, "start_col": 0, "start_line": 875 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array t -> i: FStar.SizeT.t -> v: t -> Pulse.Lib.Core.stt Prims.unit (Pulse.Lib.HigherArray.pts_to_range a (FStar.Ghost.reveal l) (FStar.Ghost.reveal r) (FStar.Ghost.reveal s0)) (fun _ -> exists* (s: FStar.Seq.Base.seq t). Pulse....
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_range_upd'" ]
[]
false
false
false
false
false
let pts_to_range_upd =
pts_to_range_upd'
false
LowParse.Spec.VCList.fst
LowParse.Spec.VCList.parse_nlist
val parse_nlist (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (y: parser (parse_nlist_kind n k) (nlist n t) { y == parse_nlist' n p } )
val parse_nlist (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (y: parser (parse_nlist_kind n k) (nlist n t) { y == parse_nlist' n p } )
let parse_nlist (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (y: parser (parse_nlist_kind n k) (nlist n t) { y == parse_nlist' n p } ) = parse_nlist' n p
{ "file_name": "src/lowparse/LowParse.Spec.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 18, "end_line": 18, "start_col": 0, "start_line": 12 }
(* Variable-count lists *) module LowParse.Spec.VCList include LowParse.Spec.Combinators // for seq_slice_append_l include LowParse.Spec.Array // for vlarray module Seq = FStar.Seq module U32 = FStar.UInt32 module Classical = FStar.Classical module L = FStar.List.Tot
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Array.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Classical.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> p: LowParse.Spec.Base.parser k t -> y: LowParse.Spec.Base.parser (LowParse.Spec.VCList.parse_nlist_kind n k) (LowParse.Spec.VCList.nlist n t) {y == LowParse.Spec.VCList.parse_nlist' n p}
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.VCList.parse_nlist'", "LowParse.Spec.VCList.parse_nlist_kind", "LowParse.Spec.VCList.nlist", "Prims.eq2" ]
[]
false
false
false
false
false
let parse_nlist (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (y: parser (parse_nlist_kind n k) (nlist n t) {y == parse_nlist' n p}) =
parse_nlist' n p
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_of_mont
[@@ FStar.Tactics.Typeclasses.tcinstance] val bn_of_mont (t: limb_t) (x: mont t) : BN.bn t
[@@ FStar.Tactics.Typeclasses.tcinstance] val bn_of_mont (t: limb_t) (x: mont t) : BN.bn t
instance bn_of_mont (t:limb_t) (x:mont t) : BN.bn t = x.bn
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 184, "start_col": 0, "start_line": 184 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> x: Hacl.Bignum.Montgomery.mont t -> Hacl.Bignum.bn t
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.bn" ]
[]
false
false
false
false
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let bn_of_mont (t: limb_t) (x: mont t) : BN.bn t =
x.bn
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.array_slice_impl
val array_slice_impl (#elt: Type) (a: array elt) (i: SZ.t) (j: Ghost.erased nat) (sq: squash (SZ.v i <= j /\ j <= length a)) : x: array elt {x == array_slice a (SZ.v i) j}
val array_slice_impl (#elt: Type) (a: array elt) (i: SZ.t) (j: Ghost.erased nat) (sq: squash (SZ.v i <= j /\ j <= length a)) : x: array elt {x == array_slice a (SZ.v i) j}
let array_slice_impl (#elt: Type) (a: array elt) (i: SZ.t) (j: Ghost.erased nat) (sq: squash (SZ.v i <= j /\ j <= length a)) : x:array elt { x == array_slice a (SZ.v i) j } = split_l (split_r a (SZ.v i)) (Ghost.hide (j - SZ.v i))
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 56, "end_line": 810, "start_col": 0, "start_line": 803 }
(* 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Pulse.Lib.HigherArray.array elt -> i: FStar.SizeT.t -> j: FStar.Ghost.erased Prims.nat -> sq: Prims.squash (FStar.SizeT.v i <= FStar.Ghost.reveal j /\ FStar.Ghost.reveal j <= Pulse.Lib.HigherArray.length a) -> x: Pulse.Lib.HigherArray.array elt {x == Pulse.Lib.HigherArray...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "FStar.SizeT.t", "FStar.Ghost.erased", "Prims.nat", "Prims.squash", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.SizeT.v", "FStar.Ghost.reveal", "Pulse.Lib.HigherArray.length", "Pulse.Lib.HigherArray.split_l", "Pulse.Lib.HigherArray.split_r", ...
[]
false
false
false
false
false
let array_slice_impl (#elt: Type) (a: array elt) (i: SZ.t) (j: Ghost.erased nat) (sq: squash (SZ.v i <= j /\ j <= length a)) : x: array elt {x == array_slice a (SZ.v i) j} =
split_l (split_r a (SZ.v i)) (Ghost.hide (j - SZ.v i))
false
LowParse.Spec.VCList.fst
LowParse.Spec.VCList.serialize_nlist
val serialize_nlist (n: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { k.parser_kind_subkind == Some ParserStrong } ) : Tot (y: serializer (parse_nlist n p) { y == serialize_nlist' n s })
val serialize_nlist (n: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { k.parser_kind_subkind == Some ParserStrong } ) : Tot (y: serializer (parse_nlist n p) { y == serialize_nlist' n s })
let serialize_nlist (n: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { k.parser_kind_subkind == Some ParserStrong } ) : Tot (y: serializer (parse_nlist n p) { y == serialize_nlist' n s }) = serialize_nlist' n s
{ "file_name": "src/lowparse/LowParse.Spec.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 22, "end_line": 27, "start_col": 0, "start_line": 20 }
(* Variable-count lists *) module LowParse.Spec.VCList include LowParse.Spec.Combinators // for seq_slice_append_l include LowParse.Spec.Array // for vlarray module Seq = FStar.Seq module U32 = FStar.UInt32 module Classical = FStar.Classical module L = FStar.List.Tot let parse_nlist (n: nat) (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Array.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Classical.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> s: LowParse.Spec.Base.serializer p { Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong } -> y: LowParse.Spec.Base.serializer (LowParse.Spec.VCList.parse_nlist n p) {y == LowParse.Spec.VCList.serialize_nlist'...
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "...
[]
false
false
false
false
false
let serialize_nlist (n: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {k.parser_kind_subkind == Some ParserStrong}) : Tot (y: serializer (parse_nlist n p) {y == serialize_nlist' n s}) =
serialize_nlist' n s
false
Steel.ST.C.Types.Fields.fsti
Steel.ST.C.Types.Fields.field_description_cons0
val field_description_cons0 (fn #ft #fc: Type0) (n: string) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc))
val field_description_cons0 (fn #ft #fc: Type0) (n: string) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc))
let field_description_cons0 (fn: Type0) (#ft: Type0) (#fc: Type0) (n: string) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc)) = { fd_def = (fun n' -> n = n' || fd.fd_def n'); fd_empty = false; fd_type = (fun n' -> if n = n' then ft else fd.fd_type ...
{ "file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 49, "start_col": 0, "start_line": 41 }
module Steel.ST.C.Types.Fields include Steel.ST.C.Types.Base open Steel.C.Typestring open Steel.ST.Util [@@noextract_to "krml"] // tactic let norm_fields () : FStar.Tactics.Tac unit = FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops]; FStar.Tactics.trefl () [@@noextract_to "krml"] // primit...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.C.Types.Base.fsti.checked", "Steel.C.Typestring.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.ST.C.Types...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_module": "Steel.C.Typestring", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.C.Types.Base", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
fn: Type0 -> n: Prims.string -> t: Steel.ST.C.Types.Base.typedef ft -> fd: Steel.ST.C.Types.Fields.field_description_t fc -> Steel.ST.C.Types.Fields.nonempty_field_description_t (Steel.ST.C.Types.Fields.field_t_cons fn ft fc)
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Steel.ST.C.Types.Base.typedef", "Steel.ST.C.Types.Fields.field_description_t", "Steel.ST.C.Types.Fields.Mkfield_description_t", "Steel.ST.C.Types.Fields.field_t_cons", "Prims.op_BarBar", "Prims.op_Equality", "Steel.ST.C.Types.Fields.__proj__Mkfield_description_t__item__fd_def", "Pri...
[]
false
false
false
true
false
let field_description_cons0 (fn #ft #fc: Type0) (n: string) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc)) =
{ fd_def = (fun n' -> n = n' || fd.fd_def n'); fd_empty = false; fd_type = (fun n' -> if n = n' then ft else fd.fd_type n'); fd_typedef = (fun n' -> if n = n' then t else fd.fd_typedef n') }
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.proj_point_to_list_fits
val proj_point_to_list_fits: p:S.proj_point -> Lemma (point_inv_list (proj_point_to_list p))
val proj_point_to_list_fits: p:S.proj_point -> Lemma (point_inv_list (proj_point_to_list p))
let proj_point_to_list_fits p = let (px, py, pz) = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in proj_point_to_list_sub p; felem_to_list_lemma_eval pxM; felem_to_list_lemma_eval pyM; felem_to_list_lemma_eval pzM
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 97, "start_col": 0, "start_line": 88 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.P256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures Hacl.Spec.P256.PrecompTable.point_inv_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.P256.PointOps.proj_point", "Prims.nat", "Hacl.Spec.P256.PrecompTable.felem_to_list_lemma_eval", "Prims.unit", "Hacl.Spec.P256.PrecompTable.proj_point_to_list_sub", "Spec.P256.PointOps.felem", "Hacl.Spec.P256.Montgomery.to_mont" ]
[]
false
false
true
false
false
let proj_point_to_list_fits p =
let px, py, pz = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in proj_point_to_list_sub p; felem_to_list_lemma_eval pxM; felem_to_list_lemma_eval pyM; felem_to_list_lemma_eval pzM
false
Steel.ST.Array.fst
Steel.ST.Array.raise_t
val raise_t (t: Type0) : Type u#1
val raise_t (t: Type0) : Type u#1
let raise_t (t: Type0) : Type u#1 = FStar.Universe.raise_t t
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 27, "start_col": 0, "start_line": 27 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Type0 -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Universe.raise_t" ]
[]
false
false
false
true
true
let raise_t (t: Type0) : Type u#1 =
FStar.Universe.raise_t t
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.proj_point_to_list_lemma
val proj_point_to_list_lemma: p:S.proj_point -> Lemma (point_inv_list (proj_point_to_list p) /\ point_eval_list (proj_point_to_list p) == p)
val proj_point_to_list_lemma: p:S.proj_point -> Lemma (point_inv_list (proj_point_to_list p) /\ point_eval_list (proj_point_to_list p) == p)
let proj_point_to_list_lemma p = proj_point_to_list_fits p; proj_point_to_list_eval p
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 120, "start_col": 0, "start_line": 118 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.P256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures Hacl.Spec.P256.PrecompTable.point_inv_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p) /\ Hacl.Spec.P256.PrecompTable.point_eval_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p) == p)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.P256.PointOps.proj_point", "Hacl.Spec.P256.PrecompTable.proj_point_to_list_eval", "Prims.unit", "Hacl.Spec.P256.PrecompTable.proj_point_to_list_fits" ]
[]
true
false
true
false
false
let proj_point_to_list_lemma p =
proj_point_to_list_fits p; proj_point_to_list_eval p
false
Steel.ST.Array.fst
Steel.ST.Array.lower
val lower (#t: Type) (x: raise_t t) : Tot t
val lower (#t: Type) (x: raise_t t) : Tot t
let lower (#t: Type) (x: raise_t t) : Tot t = FStar.Universe.downgrade_val x
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 37, "start_col": 0, "start_line": 36 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FSta...
{ "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: Steel.ST.Array.raise_t t -> t
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Array.raise_t", "FStar.Universe.downgrade_val" ]
[]
false
false
false
true
false
let lower (#t: Type) (x: raise_t t) : Tot t =
FStar.Universe.downgrade_val x
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_mont_precomp_st
val bn_mont_precomp_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
let bn_mont_precomp_st (t:limb_t) (len:BN.meta_len t) = nBits:size_t -> n:lbignum t len -> r2:lbignum t len -> Stack (limb t) (requires fun h -> live h n /\ live h r2 /\ disjoint n r2 /\ 1 < bn_v h n /\ bn_v h n % 2 = 1 /\ pow2 (v nBits) < bn_v h n /\ v nBits / bits t < v len) (ensures fun h...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 61, "start_col": 0, "start_line": 50 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Prims.b2t", "Prims.op_LessThan", "...
[]
false
false
false
false
true
let bn_mont_precomp_st (t: limb_t) (len: BN.meta_len t) =
nBits: size_t -> n: lbignum t len -> r2: lbignum t len -> Stack (limb t) (requires fun h -> live h n /\ live h r2 /\ disjoint n r2 /\ 1 < bn_v h n /\ bn_v h n % 2 = 1 /\ pow2 (v nBits) < bn_v h n /\ v nBits / bits t < v len) (ensures fun h0 mu h1 -> modifies (...
false
Steel.ST.Reference.fst
Steel.ST.Reference.pts_to_perm
val pts_to_perm (#a: _) (#u: _) (#p: _) (#v: _) (r: ref a) : STGhost unit u (pts_to r p v) (fun _ -> pts_to r p v) True (fun _ -> p `lesser_equal_perm` full_perm)
val pts_to_perm (#a: _) (#u: _) (#p: _) (#v: _) (r: ref a) : STGhost unit u (pts_to r p v) (fun _ -> pts_to r p v) True (fun _ -> p `lesser_equal_perm` full_perm)
let pts_to_perm r = coerce_ghost (fun _ -> R.pts_to_perm r)
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 41, "end_line": 62, "start_col": 0, "start_line": 60 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.Reference.ref a -> Steel.ST.Effect.Ghost.STGhost Prims.unit
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "Steel.ST.Reference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.Reference.pts_to", "Steel.Effect.Common.vprop", "Prims.l_True", "Prims.b2t", "Steel.FractionalPermission.lesser_equal_perm", "Steel.FractionalPermission.ful...
[]
false
true
false
false
false
let pts_to_perm r =
coerce_ghost (fun _ -> R.pts_to_perm r)
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.proj_point_to_list_eval
val proj_point_to_list_eval: p:S.proj_point -> Lemma (point_eval_list (proj_point_to_list p) == p)
val proj_point_to_list_eval: p:S.proj_point -> Lemma (point_eval_list (proj_point_to_list p) == p)
let proj_point_to_list_eval p = let (px, py, pz) = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in proj_point_to_list_sub p; felem_to_list_lemma_eval pxM; felem_to_list_lemma_eval pyM; felem_to_list_lemma_eval pzM; SM.lemma_to_from_mont_id px; SM.lemma_to_from_...
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 115, "start_col": 0, "start_line": 103 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.P256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures Hacl.Spec.P256.PrecompTable.point_eval_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p) == p)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.P256.PointOps.proj_point", "Prims.nat", "Hacl.Spec.P256.Montgomery.lemma_to_from_mont_id", "Prims.unit", "Hacl.Spec.P256.PrecompTable.felem_to_list_lemma_eval", "Hacl.Spec.P256.PrecompTable.proj_point_to_list_sub", "Spec.P256.PointOps.felem", "Hacl.Spec.P256.Montgomery.to_mont" ]
[]
false
false
true
false
false
let proj_point_to_list_eval p =
let px, py, pz = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in proj_point_to_list_sub p; felem_to_list_lemma_eval pxM; felem_to_list_lemma_eval pyM; felem_to_list_lemma_eval pzM; SM.lemma_to_from_mont_id px; SM.lemma_to_from_mont_id py; SM.lemma_to_from_mont_id pz
false
Steel.ST.Array.fst
Steel.ST.Array.base_len
val base_len (#elt: Type) (b: base_t elt) : GTot nat
val base_len (#elt: Type) (b: base_t elt) : GTot nat
let base_len b = H.base_len b
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 29, "end_line": 85, "start_col": 0, "start_line": 85 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Steel.ST.Array.base_t elt -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.Array.base_t", "Steel.ST.HigherArray.base_len", "Steel.ST.Array.raise_t", "Prims.nat" ]
[]
false
false
false
false
false
let base_len b =
H.base_len b
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_st
val bn_precomp_r2_mod_n_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
let bn_precomp_r2_mod_n_st (t:limb_t) (len:BN.meta_len t) = nBits:size_t{v nBits / bits t < v len} -> n:lbignum t len -> res:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h res /\ disjoint n res) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_precomp_r...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 42, "start_col": 0, "start_line": 34 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Division", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.bits", "Hacl.Bignum.Definitions.lbignum", "Prims.unit", "FStar.Monotonic.HyperStack....
[]
false
false
false
false
true
let bn_precomp_r2_mod_n_st (t: limb_t) (len: BN.meta_len t) =
nBits: size_t{v nBits / bits t < v len} -> n: lbignum t len -> res: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h res /\ disjoint n res) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_precomp_r2_mod_n (v nBits) (as_seq h0 n) )
false
Steel.ST.Array.fst
Steel.ST.Array.raise
val raise (#t: Type) (x: t) : Tot (raise_t t)
val raise (#t: Type) (x: t) : Tot (raise_t t)
let raise (#t: Type) (x: t) : Tot (raise_t t) = FStar.Universe.raise_val x
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 28, "end_line": 32, "start_col": 0, "start_line": 31 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FSta...
{ "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: t -> Steel.ST.Array.raise_t t
Prims.Tot
[ "total" ]
[]
[ "FStar.Universe.raise_val", "Steel.ST.Array.raise_t" ]
[]
false
false
false
true
false
let raise (#t: Type) (x: t) : Tot (raise_t t) =
FStar.Universe.raise_val x
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_mont_reduction_st
val bn_mont_reduction_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v len /\ Lib.IntTypes.v len + Lib.IntTypes.v len <= Lib.IntTypes.max_size_t } -> Type0
let bn_mont_reduction_st (t:limb_t) (len:size_t{0 < v len /\ v len + v len <= max_size_t}) = n:lbignum t len -> mu:limb t -> c:lbignum t (len +! len) -> res:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h c /\ live h res /\ disjoint res n /\ disjoint res c /\ disjoint n c) (ens...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 83, "start_col": 0, "start_line": 73 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v len /\ Lib.IntTypes.v len + Lib.IntTypes.v len <= Lib.IntTypes.max_size_t } -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.max_size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Defi...
[]
false
false
false
false
true
let bn_mont_reduction_st (t: limb_t) (len: size_t{0 < v len /\ v len + v len <= max_size_t}) =
n: lbignum t len -> mu: limb t -> c: lbignum t (len +! len) -> res: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h c /\ live h res /\ disjoint res n /\ disjoint res c /\ disjoint n c) (ensures fun h0 _ h1 -> modifies (loc res |+| loc c) h0 h1 /\ ...
false
OWGCounter.ST.fst
OWGCounter.ST.release
val release (r: R.ref int) (r_mine r_other: GR.ref int) (b: G.erased bool) (l: lock (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine))) : STT unit (lock_inv r r_mine r_other) (fun _ -> emp)
val release (r: R.ref int) (r_mine r_other: GR.ref int) (b: G.erased bool) (l: lock (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine))) : STT unit (lock_inv r r_mine r_other) (fun _ -> emp)
let release (r:R.ref int) (r_mine r_other:GR.ref int) (b:G.erased bool) (l:lock (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine))) : STT unit (lock_inv r r_mine r_other) (fun _ -> emp) = if b then begin rewrite (lock_inv r r_mine r_other) ...
{ "file_name": "share/steel/examples/steel/OWGCounter.ST.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 153, "start_col": 0, "start_line": 121 }
(* Copyright 2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.SpinLock.fsti.checked", "Steel.ST.Reference.fsti.checked", "Steel.ST.GhostReference.fsti.checked", "Steel.ST.Effect.Atomic.fsti.checked", "Steel.ST.Effect.fsti.checked", "Steel.Memory.fsti.checked", "Ste...
[ { "abbrev": true, "full_module": "Steel.ST.GhostReference", "short_module": "GR" }, { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.Reference.ref Prims.int -> r_mine: Steel.ST.GhostReference.ref Prims.int -> r_other: Steel.ST.GhostReference.ref Prims.int -> b: FStar.Ghost.erased Prims.bool -> l: Steel.ST.SpinLock.lock (OWGCounter.ST.lock_inv r (match FStar.Ghost.reveal b with | true -...
Steel.ST.Effect.STT
[]
[]
[ "Steel.ST.Reference.ref", "Prims.int", "Steel.ST.GhostReference.ref", "FStar.Ghost.erased", "Prims.bool", "Steel.ST.SpinLock.lock", "OWGCounter.ST.lock_inv", "FStar.Ghost.reveal", "Steel.ST.SpinLock.release", "Prims.unit", "Steel.ST.Util.rewrite", "FStar.Ghost.hide", "FStar.Set.set", "Stee...
[]
false
true
false
false
false
let release (r: R.ref int) (r_mine r_other: GR.ref int) (b: G.erased bool) (l: lock (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine))) : STT unit (lock_inv r r_mine r_other) (fun _ -> emp) =
if b then rewrite (lock_inv r r_mine r_other) (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine)) else (let w = elim_exists () in rewrite (((GR.pts_to r_mine half_perm (fst w)) `star` (GR.pts_to r_other half_perm (snd w))) `star` (R.pts_to r full_perm (fst w + snd w)...
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_check_modulus_st
val bn_check_modulus_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
let bn_check_modulus_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> Stack (limb t) (requires fun h -> live h n) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ r == S.bn_check_modulus (as_seq h0 n))
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 26, "start_col": 0, "start_line": 21 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.live", "Lib.Buffer.MUT", "Prims.l_and", "Lib.Buffer.modifies0", "Prims.eq2", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spe...
[]
false
false
false
false
true
let bn_check_modulus_st (t: limb_t) (len: BN.meta_len t) =
n: lbignum t len -> Stack (limb t) (requires fun h -> live h n) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ r == S.bn_check_modulus (as_seq h0 n))
false
Steel.ST.Array.fst
Steel.ST.Array.null_ptr
val null_ptr (elt: Type0) : ptr elt
val null_ptr (elt: Type0) : ptr elt
let null_ptr elt = H.null_ptr (raise_t elt)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 43, "end_line": 88, "start_col": 0, "start_line": 88 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
elt: Type0 -> Steel.ST.Array.ptr elt
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.HigherArray.null_ptr", "Steel.ST.Array.raise_t", "Steel.ST.Array.ptr" ]
[]
false
false
false
true
false
let null_ptr elt =
H.null_ptr (raise_t elt)
false
Steel.ST.Array.fst
Steel.ST.Array.base_t
val base_t (elt: Type0) : Tot Type0
val base_t (elt: Type0) : Tot Type0
let base_t elt = H.base_t (raise_t elt)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 84, "start_col": 0, "start_line": 84 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
elt: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.HigherArray.base_t", "Steel.ST.Array.raise_t" ]
[]
false
false
false
true
true
let base_t elt =
H.base_t (raise_t elt)
false
Steel.ST.Array.fst
Steel.ST.Array.ptr
val ptr ([@@@unused] elt: Type0) : Type0
val ptr ([@@@unused] elt: Type0) : Type0
let ptr elt = H.ptr (raise_t elt)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 87, "start_col": 0, "start_line": 87 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
elt: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.HigherArray.ptr", "Steel.ST.Array.raise_t" ]
[]
false
false
false
true
true
let ptr elt =
H.ptr (raise_t elt)
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_mont_mul_st
val bn_mont_mul_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
let bn_mont_mul_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> mu:limb t -> aM:lbignum t len -> bM:lbignum t len -> resM:lbignum t len -> Stack unit (requires fun h -> live h aM /\ live h bM /\ live h resM /\ live h n /\ disjoint resM n /\ eq_or_disjoint aM bM /\ eq_or_disjoint aM re...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 143, "start_col": 0, "start_line": 131 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.eq_or_disjoint", "Lib.Buffer.modif...
[]
false
false
false
false
true
let bn_mont_mul_st (t: limb_t) (len: BN.meta_len t) =
n: lbignum t len -> mu: limb t -> aM: lbignum t len -> bM: lbignum t len -> resM: lbignum t len -> Stack unit (requires fun h -> live h aM /\ live h bM /\ live h resM /\ live h n /\ disjoint resM n /\ eq_or_disjoint aM bM /\ eq_or_disjoint aM resM /\ eq_or_disjoint bM resM) (en...
false
Steel.ST.Array.fst
Steel.ST.Array.base
val base (#elt: Type) (p: ptr elt) : Tot (base_t elt)
val base (#elt: Type) (p: ptr elt) : Tot (base_t elt)
let base p = H.base p
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 21, "end_line": 90, "start_col": 0, "start_line": 90 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.ST.Array.ptr elt -> Steel.ST.Array.base_t elt
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Array.ptr", "Steel.ST.HigherArray.base", "Steel.ST.Array.raise_t", "Steel.ST.Array.base_t" ]
[]
false
false
false
true
false
let base p =
H.base p
false
Steel.ST.Reference.fst
Steel.ST.Reference.cas_u32
val cas_u32 (#uses:inames) (v:Ghost.erased U32.t) (r:ref U32.t) (v_old v_new:U32.t) : STAtomicT (b:bool{b <==> (Ghost.reveal v == v_old)}) uses (pts_to r full_perm v) (fun b -> if b then pts_to r full_perm v_new else pts_to r full_perm v)
val cas_u32 (#uses:inames) (v:Ghost.erased U32.t) (r:ref U32.t) (v_old v_new:U32.t) : STAtomicT (b:bool{b <==> (Ghost.reveal v == v_old)}) uses (pts_to r full_perm v) (fun b -> if b then pts_to r full_perm v_new else pts_to r full_perm v)
let cas_u32 #uses v r v_old v_new = coerce_atomic (fun _ -> R.cas_pt_u32 #uses r v v_old v_new)
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 207, "start_col": 0, "start_line": 206 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: FStar.Ghost.erased FStar.UInt32.t -> r: Steel.ST.Reference.ref FStar.UInt32.t -> v_old: FStar.UInt32.t -> v_new: FStar.UInt32.t -> Steel.ST.Effect.Atomic.STAtomicT (b: Prims.bool{b <==> FStar.Ghost.reveal v == v_old})
Steel.ST.Effect.Atomic.STAtomicT
[]
[]
[ "Steel.Memory.inames", "FStar.Ghost.erased", "FStar.UInt32.t", "Steel.ST.Reference.ref", "Steel.ST.Coercions.coerce_atomic", "Prims.bool", "Prims.l_iff", "Prims.b2t", "Prims.eq2", "FStar.Ghost.reveal", "Steel.Effect.Common.Observable", "Steel.Reference.pts_to", "Steel.FractionalPermission.fu...
[]
false
true
false
false
false
let cas_u32 #uses v r v_old v_new =
coerce_atomic (fun _ -> R.cas_pt_u32 #uses r v v_old v_new)
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.free
val free (#opened: _) (#a:Type) (#v:erased a) (r:ref a) : STGhostT unit opened (pts_to r full_perm v) (fun _ -> emp)
val free (#opened: _) (#a:Type) (#v:erased a) (r:ref a) : STGhostT unit opened (pts_to r full_perm v) (fun _ -> emp)
let free #_ #a #v r = let gr : R.ghost_ref a = coerce_eq (R.reveal_ghost_ref a) (Ghost.hide r.reveal) in weaken (pts_to r full_perm v) (R.ghost_pts_to gr full_perm v) (fun _ -> R.reveal_ghost_pts_to_sl gr full_perm v ); STC.coerce_ghost (fun _ -> R.ghost_free gr)
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 45, "end_line": 66, "start_col": 0, "start_line": 60 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.GhostHigherReference.ref a -> Steel.ST.Effect.Ghost.STGhostT Prims.unit
Steel.ST.Effect.Ghost.STGhostT
[]
[]
[ "Steel.Memory.inames", "FStar.Ghost.erased", "Steel.ST.GhostHigherReference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.to_vprop'", "Steel.HigherReference.ghost_pts_to_sl", "Steel.FractionalPermission.full_perm", "FStar.Ghost.reveal", ...
[]
false
true
false
false
false
let free #_ #a #v r =
let gr:R.ghost_ref a = coerce_eq (R.reveal_ghost_ref a) (Ghost.hide r.reveal) in weaken (pts_to r full_perm v) (R.ghost_pts_to gr full_perm v) (fun _ -> R.reveal_ghost_pts_to_sl gr full_perm v); STC.coerce_ghost (fun _ -> R.ghost_free gr)
false
Steel.ST.Array.fst
Steel.ST.Array.pts_to
val pts_to (#elt: Type0) (a: array elt) (p: P.perm) ([@@@ smt_fallback ] s: Seq.seq elt) : Tot vprop
val pts_to (#elt: Type0) (a: array elt) (p: P.perm) ([@@@ smt_fallback ] s: Seq.seq elt) : Tot vprop
let pts_to a p s = H.pts_to a p (seq_map raise s)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 49, "end_line": 97, "start_col": 0, "start_line": 97 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Steel.ST.Array.array elt -> p: Steel.FractionalPermission.perm -> s: FStar.Seq.Base.seq elt -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Array.array", "Steel.FractionalPermission.perm", "FStar.Seq.Base.seq", "Steel.ST.HigherArray.pts_to", "Steel.ST.Array.raise_t", "Steel.ST.Array.seq_map", "Steel.ST.Array.raise", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let pts_to a p s =
H.pts_to a p (seq_map raise s)
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_to_mont_st
val bn_to_mont_st : t: Hacl.Bignum.Definitions.limb_t -> nLen: Hacl.Bignum.meta_len t -> Type0
let bn_to_mont_st (t:limb_t) (nLen:BN.meta_len t) = n:lbignum t nLen -> mu:limb t -> r2:lbignum t nLen -> a:lbignum t nLen -> aM:lbignum t nLen -> Stack unit (requires fun h -> live h n /\ live h r2 /\ live h a /\ live h aM /\ disjoint a r2 /\ disjoint a n /\ disjoint a aM /\ disjoint n r2 /...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 103, "start_col": 0, "start_line": 91 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> nLen: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Pr...
[]
false
false
false
false
true
let bn_to_mont_st (t: limb_t) (nLen: BN.meta_len t) =
n: lbignum t nLen -> mu: limb t -> r2: lbignum t nLen -> a: lbignum t nLen -> aM: lbignum t nLen -> Stack unit (requires fun h -> live h n /\ live h r2 /\ live h a /\ live h aM /\ disjoint a r2 /\ disjoint a n /\ disjoint a aM /\ disjoint n r2 /\ disjoint n aM /\ disjoint r2 aM) ...
false
Steel.ST.Reference.fst
Steel.ST.Reference.share_gen
val share_gen (#a:Type0) (#uses:_) (#p:perm) (#v: a) (r:ref a) (p1 p2: perm) : STGhost unit uses (pts_to r p v) (fun _ -> pts_to r p1 v `star` pts_to r p2 v) (p == p1 `sum_perm` p2) (fun _ -> True)
val share_gen (#a:Type0) (#uses:_) (#p:perm) (#v: a) (r:ref a) (p1 p2: perm) : STGhost unit uses (pts_to r p v) (fun _ -> pts_to r p1 v `star` pts_to r p2 v) (p == p1 `sum_perm` p2) (fun _ -> True)
let share_gen r p1 p2 = coerce_ghost (fun _ -> R.share_gen_pt r p1 p2)
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 174, "start_col": 0, "start_line": 172 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.ST.Reference.ref a -> p1: Steel.FractionalPermission.perm -> p2: Steel.FractionalPermission.perm -> Steel.ST.Effect.Ghost.STGhost Prims.unit
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "Steel.ST.Reference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.Reference.pts_to", "Steel.Effect.Common.star", "Steel.Effect.Common.vprop", "Prims.eq2", "Steel.FractionalPermission.sum_perm", "Prims.l_True", "Steel.Ref...
[]
false
true
false
false
false
let share_gen r p1 p2 =
coerce_ghost (fun _ -> R.share_gen_pt r p1 p2)
false
FStar.Tactics.MApply.fst
FStar.Tactics.MApply.apply_squash_or_lem
val apply_squash_or_lem : d:nat -> term -> Tac unit
val apply_squash_or_lem : d:nat -> term -> Tac unit
let rec apply_squash_or_lem d t = (* Before anything, try a vanilla apply and apply_lemma *) try apply t with | _ -> try apply (`FStar.Squash.return_squash); apply t with | _ -> try apply_lemma t with | _ -> // Fuel cutoff, just in case. if d <= 0 then fail "mapply: out of fuel" else begin ...
{ "file_name": "ulib/FStar.Tactics.MApply.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 91, "start_col": 0, "start_line": 32 }
module FStar.Tactics.MApply open FStar.Reflection.V2 open FStar.Reflection.V2.Formula open FStar.Tactics.Effect open FStar.Stubs.Tactics.V2.Builtins open FStar.Tactics.NamedView open FStar.Tactics.V2.SyntaxHelpers open FStar.Tactics.V2.Derived open FStar.Tactics.V2.SyntaxCoercions open FStar.Tactics.Typeclasses pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tac...
[ { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Derived", "short_module": null }, {...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d: Prims.nat -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.nat", "FStar.Tactics.NamedView.term", "FStar.Tactics.V2.Derived.try_with", "Prims.unit", "FStar.Tactics.V2.Derived.apply", "Prims.exn", "FStar.Tactics.V2.Derived.apply_lemma", "Prims.op_LessThanOrEqual", "FStar.Tactics.V2.Derived.fail", "Prims.bool", "Prims.list", "FStar.Stubs.Reflectio...
[ "recursion" ]
false
true
false
false
false
let rec apply_squash_or_lem d t =
try apply t with | _ -> try (apply (`FStar.Squash.return_squash); apply t) with | _ -> try apply_lemma t with | _ -> if d <= 0 then fail "mapply: out of fuel" else let ty = tc (cur_env ()) t in let tys, c = collect_arr ty in match inspect_comp c with...
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.list_as_felem4
val list_as_felem4 (f: felem_list) : lseq uint64 4
val list_as_felem4 (f: felem_list) : lseq uint64 4
let list_as_felem4 (f:felem_list) : lseq uint64 4 = Seq.seq_of_list f <: lseq uint64 4
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 33, "start_col": 0, "start_line": 32 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Hacl.Spec.P256.PrecompTable.felem_list -> Lib.Sequence.lseq Lib.IntTypes.uint64 4
Prims.Tot
[ "total" ]
[]
[ "Hacl.Spec.P256.PrecompTable.felem_list", "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.uint64", "Lib.Sequence.lseq" ]
[]
false
false
false
false
false
let list_as_felem4 (f: felem_list) : lseq uint64 4 =
Seq.seq_of_list f <: lseq uint64 4
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_from_mont_st
val bn_from_mont_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
let bn_from_mont_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> mu:limb t -> aM:lbignum t len -> a:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h aM /\ disjoint aM a /\ disjoint aM n /\ disjoint a n) (ensures fun h0 _ h1 -> modifies (loc a) h0 h1 /\ as...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 121, "start_col": 0, "start_line": 111 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Pr...
[]
false
false
false
false
true
let bn_from_mont_st (t: limb_t) (len: BN.meta_len t) =
n: lbignum t len -> mu: limb t -> aM: lbignum t len -> a: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h aM /\ disjoint aM a /\ disjoint aM n /\ disjoint a n ) (ensures fun h0 _ h1 -> modifies (loc a) h0 h1 /\ as_seq h1 a == S.bn_from_mont (as...
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.create4_lseq
val create4_lseq (x0 x1 x2 x3: uint64) : lseq uint64 4
val create4_lseq (x0 x1 x2 x3: uint64) : lseq uint64 4
let create4_lseq (x0 x1 x2 x3:uint64) : lseq uint64 4 = let l = [x0; x1; x2; x3] in assert_norm (FL.length l = 4); Seq.seq_of_list l
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 20, "start_col": 0, "start_line": 17 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x0: Lib.IntTypes.uint64 -> x1: Lib.IntTypes.uint64 -> x2: Lib.IntTypes.uint64 -> x3: Lib.IntTypes.uint64 -> Lib.Sequence.lseq Lib.IntTypes.uint64 4
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint64", "FStar.Seq.Base.seq_of_list", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.Cons", "Prims.Nil", "Lib.Sequ...
[]
false
false
false
false
false
let create4_lseq (x0 x1 x2 x3: uint64) : lseq uint64 4 =
let l = [x0; x1; x2; x3] in assert_norm (FL.length l = 4); Seq.seq_of_list l
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_mont_one_st
val bn_mont_one_st : t: Hacl.Bignum.Definitions.limb_t -> nLen: Hacl.Bignum.meta_len t -> Type0
let bn_mont_one_st (t:limb_t) (nLen:BN.meta_len t) = n:lbignum t nLen -> mu:limb t -> r2:lbignum t nLen -> oneM:lbignum t nLen -> Stack unit (requires fun h -> live h n /\ live h r2 /\ live h oneM /\ disjoint n r2 /\ disjoint n oneM /\ disjoint r2 oneM) (ensures fun h0 _ h1 -> modifies (loc one...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 205, "start_col": 0, "start_line": 195 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> nLen: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Pr...
[]
false
false
false
false
true
let bn_mont_one_st (t: limb_t) (nLen: BN.meta_len t) =
n: lbignum t nLen -> mu: limb t -> r2: lbignum t nLen -> oneM: lbignum t nLen -> Stack unit (requires fun h -> live h n /\ live h r2 /\ live h oneM /\ disjoint n r2 /\ disjoint n oneM /\ disjoint r2 oneM) (ensures fun h0 _ h1 -> modifies (loc oneM) h0 h1 /\ ...
false
Hacl.Bignum.Montgomery.fsti
Hacl.Bignum.Montgomery.bn_mont_sqr_st
val bn_mont_sqr_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
let bn_mont_sqr_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> mu:limb t -> aM:lbignum t len -> resM:lbignum t len -> Stack unit (requires fun h -> live h aM /\ live h resM /\ live h n /\ disjoint resM n /\ eq_or_disjoint aM resM) (ensures fun h0 _ h1 -> modifies (loc resM) h0 h1 /\ ...
{ "file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 162, "start_col": 0, "start_line": 152 }
module Hacl.Bignum.Montgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum include Hacl.Bignum.ModInvLimb #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_ex...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.ModInvLimb.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Tactics.T...
[ { "abbrev": false, "full_module": "Hacl.Bignum.ModInvLimb", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "S" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.eq_or_disjoint", "Lib.Buffer.modif...
[]
false
false
false
false
true
let bn_mont_sqr_st (t: limb_t) (len: BN.meta_len t) =
n: lbignum t len -> mu: limb t -> aM: lbignum t len -> resM: lbignum t len -> Stack unit (requires fun h -> live h aM /\ live h resM /\ live h n /\ disjoint resM n /\ eq_or_disjoint aM resM) (ensures fun h0 _ h1 -> modifies (loc resM) h0 h1 /\ as_seq h1 resM == S.bn_mon...
false
Steel.ST.Array.fst
Steel.ST.Array.compare_inv
val compare_inv : a0: Steel.ST.Array.array t -> a1: Steel.ST.Array.array t -> s0: FStar.Seq.Base.seq t -> s1: FStar.Seq.Base.seq t -> l: FStar.SizeT.t -> ctr: Steel.ST.Reference.ref (FStar.Pervasives.Native.option FStar.SizeT.t) -> b: Prims.bool -> Steel.Effect.Common.vprop
let compare_inv (#t:eqtype) (#p0 #p1:perm) (a0 a1:array t) (s0: Seq.seq t) (s1: Seq.seq t) (l:US.t) (ctr : R.ref (option US.t)) (b: bool) = pts_to a0 p0 s0 `star` pts_to a1 p1 s1 `star` exists_ (fun (x:option US.t) -> R.pts_to ctr Steel.FractionalPermi...
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 267, "start_col": 0, "start_line": 255 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_modul...
{ "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
a0: Steel.ST.Array.array t -> a1: Steel.ST.Array.array t -> s0: FStar.Seq.Base.seq t -> s1: FStar.Seq.Base.seq t -> l: FStar.SizeT.t -> ctr: Steel.ST.Reference.ref (FStar.Pervasives.Native.option FStar.SizeT.t) -> b: Prims.bool -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "FStar.Seq.Base.seq", "FStar.SizeT.t", "Steel.ST.Reference.ref", "FStar.Pervasives.Native.option", "Prims.bool", "Steel.Effect.Common.star", "Steel.ST.Array.pts_to", "Steel.ST.Util.exists_", "Steel.ST.Reference.pts_to",...
[]
false
false
false
false
false
let compare_inv (#t: eqtype) (#p0 #p1: perm) (a0 a1: array t) (s0 s1: Seq.seq t) (l: US.t) (ctr: R.ref (option US.t)) (b: bool) =
((pts_to a0 p0 s0) `star` (pts_to a1 p1 s1)) `star` (exists_ (fun (x: option US.t) -> ((R.pts_to ctr Steel.FractionalPermission.full_perm x) `star` (pure (equal_up_to s0 s1 x))) `star` (pure (within_bounds x l b))))
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.felem_to_list_lemma_eval
val felem_to_list_lemma_eval: x:S.felem -> Lemma (BD.bn_v (list_as_felem4 (felem_to_list x)) == x)
val felem_to_list_lemma_eval: x:S.felem -> Lemma (BD.bn_v (list_as_felem4 (felem_to_list x)) == x)
let felem_to_list_lemma_eval x = let x0 = x % pow2 64 in let x1 = x / pow2 64 % pow2 64 in let x2 = x / pow2 128 % pow2 64 in let x3 = x / pow2 192 % pow2 64 in let bn_x = list_as_felem4 (felem_to_list x) in create4_lemma (u64 x0) (u64 x1) (u64 x2) (u64 x3); assert (v bn_x.[0] == x0 /\ v bn_x.[1] == x1 /\...
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 49, "start_col": 0, "start_line": 39 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Spec.P256.PointOps.felem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.Bignum.Definitions.bn_v (Hacl.Spec.P256.PrecompTable.list_as_felem4 (Hacl.Spec.P256.PrecompTable.felem_to_list x)) == x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.P256.PointOps.felem", "Hacl.Spec.PrecompBaseTable256.lemma_decompose_nat256_as_four_u64", "Prims.unit", "Prims._assert", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.IntTypes.U64", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.pow2", "Hacl...
[]
true
false
true
false
false
let felem_to_list_lemma_eval x =
let x0 = x % pow2 64 in let x1 = x / pow2 64 % pow2 64 in let x2 = x / pow2 128 % pow2 64 in let x3 = x / pow2 192 % pow2 64 in let bn_x = list_as_felem4 (felem_to_list x) in create4_lemma (u64 x0) (u64 x1) (u64 x2) (u64 x3); assert (v bn_x.[ 0 ] == x0 /\ v bn_x.[ 1 ] == x1 /\ v bn_x.[ 2 ] == x2 /\ v bn_x.[ 3 ] == x3);...
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.create4_lemma
val create4_lemma (x0 x1 x2 x3:uint64) : Lemma (let s = create4_lseq x0 x1 x2 x3 in s.[0] == x0 /\ s.[1] == x1 /\ s.[2] == x2 /\ s.[3] == x3)
val create4_lemma (x0 x1 x2 x3:uint64) : Lemma (let s = create4_lseq x0 x1 x2 x3 in s.[0] == x0 /\ s.[1] == x1 /\ s.[2] == x2 /\ s.[3] == x3)
let create4_lemma x0 x1 x2 x3 = Seq.elim_of_list [x0; x1; x2; x3]
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 27, "start_col": 0, "start_line": 26 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x0: Lib.IntTypes.uint64 -> x1: Lib.IntTypes.uint64 -> x2: Lib.IntTypes.uint64 -> x3: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (ensures (let s = Hacl.Spec.P256.PrecompTable.create4_lseq x0 x1 x2 x3 in s.[ 0 ] == x0 /\ s.[ 1 ] == x1 /\ s.[ 2 ] == x2 /\ s.[ 3 ] == x3))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint64", "FStar.Seq.Properties.elim_of_list", "Prims.Cons", "Prims.Nil", "Prims.unit" ]
[]
true
false
true
false
false
let create4_lemma x0 x1 x2 x3 =
Seq.elim_of_list [x0; x1; x2; x3]
false
Steel.ST.Array.fst
Steel.ST.Array.seq_map_raise_inj
val seq_map_raise_inj (#elt: Type0) (s1 s2: Seq.seq elt) : Lemma (requires (seq_map raise s1 == seq_map raise s2)) (ensures (s1 == s2)) [SMTPat (seq_map raise s1); SMTPat (seq_map raise s2)]
val seq_map_raise_inj (#elt: Type0) (s1 s2: Seq.seq elt) : Lemma (requires (seq_map raise s1 == seq_map raise s2)) (ensures (s1 == s2)) [SMTPat (seq_map raise s1); SMTPat (seq_map raise s2)]
let seq_map_raise_inj (#elt: Type0) (s1 s2: Seq.seq elt) : Lemma (requires (seq_map raise s1 == seq_map raise s2)) (ensures (s1 == s2)) [SMTPat (seq_map raise s1); SMTPat (seq_map raise s2)] = assert (seq_map lower (seq_map raise s1) `Seq.equal` s1); assert (seq_map lower (seq_map raise s2) `Seq.equal` s2)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 58, "end_line": 76, "start_col": 0, "start_line": 68 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FSta...
{ "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
s1: FStar.Seq.Base.seq elt -> s2: FStar.Seq.Base.seq elt -> FStar.Pervasives.Lemma (requires Steel.ST.Array.seq_map Steel.ST.Array.raise s1 == Steel.ST.Array.seq_map Steel.ST.Array.raise s2) (ensures s1 == s2) [ SMTPat (Steel.ST.Array.seq_map Steel.ST.Array.raise s1); ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Seq.Base.seq", "Prims._assert", "FStar.Seq.Base.equal", "Steel.ST.Array.seq_map", "Steel.ST.Array.raise_t", "Steel.ST.Array.lower", "Steel.ST.Array.raise", "Prims.unit", "Prims.eq2", "Prims.squash", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.Nil" ]
[]
true
false
true
false
false
let seq_map_raise_inj (#elt: Type0) (s1 s2: Seq.seq elt) : Lemma (requires (seq_map raise s1 == seq_map raise s2)) (ensures (s1 == s2)) [SMTPat (seq_map raise s1); SMTPat (seq_map raise s2)] =
assert ((seq_map lower (seq_map raise s1)) `Seq.equal` s1); assert ((seq_map lower (seq_map raise s2)) `Seq.equal` s2)
false
Steel.ST.Array.fst
Steel.ST.Array.pts_to_range_body
val pts_to_range_body (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) (s: Seq.seq elt) (sq: squash (i <= j /\ j <= length a)) : Tot vprop
val pts_to_range_body (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) (s: Seq.seq elt) (sq: squash (i <= j /\ j <= length a)) : Tot vprop
let pts_to_range_body (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) (s: Seq.seq elt) (sq: squash (i <= j /\ j <= length a)) : Tot vprop = pts_to (array_slice a i j sq) p s
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 576, "start_col": 0, "start_line": 570 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Steel.ST.Array.array elt -> i: Prims.nat -> j: Prims.nat -> p: Steel.FractionalPermission.perm -> s: FStar.Seq.Base.seq elt -> sq: Prims.squash (i <= j /\ j <= Steel.ST.Array.length a) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Array.array", "Prims.nat", "Steel.FractionalPermission.perm", "FStar.Seq.Base.seq", "Prims.squash", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Steel.ST.Array.length", "Steel.ST.Array.pts_to", "Steel.ST.Array.array_slice", "Steel.Effect.Common.vprop" ]
[]
false
false
false
false
false
let pts_to_range_body (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) (s: Seq.seq elt) (sq: squash (i <= j /\ j <= length a)) : Tot vprop =
pts_to (array_slice a i j sq) p s
false
Steel.ST.Array.fst
Steel.ST.Array.pts_to_range
val pts_to_range (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) ([@@@ smt_fallback ] s: Seq.seq elt) : Tot vprop
val pts_to_range (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) ([@@@ smt_fallback ] s: Seq.seq elt) : Tot vprop
let pts_to_range (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) ([@@@ smt_fallback ] s: Seq.seq elt) : Tot vprop = exists_ (pts_to_range_body a i j p s)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 583, "start_col": 0, "start_line": 578 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Steel.ST.Array.array elt -> i: Prims.nat -> j: Prims.nat -> p: Steel.FractionalPermission.perm -> s: FStar.Seq.Base.seq elt -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.Array.array", "Prims.nat", "Steel.FractionalPermission.perm", "FStar.Seq.Base.seq", "Steel.ST.Util.exists_", "Prims.squash", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Steel.ST.Array.length", "Steel.ST.Array.pts_to_range_body", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let pts_to_range (#elt: Type0) (a: array elt) (i j: nat) (p: P.perm) ([@@@ smt_fallback]s: Seq.seq elt) : Tot vprop =
exists_ (pts_to_range_body a i j p s)
false
Steel.ST.Array.fst
Steel.ST.Array.ptr_base_offset_inj
val ptr_base_offset_inj (#elt: Type) (p1 p2: ptr elt) : Lemma (requires ( base p1 == base p2 /\ offset p1 == offset p2 )) (ensures ( p1 == p2 ))
val ptr_base_offset_inj (#elt: Type) (p1 p2: ptr elt) : Lemma (requires ( base p1 == base p2 /\ offset p1 == offset p2 )) (ensures ( p1 == p2 ))
let ptr_base_offset_inj p1 p2 = H.ptr_base_offset_inj p1 p2
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 59, "end_line": 92, "start_col": 0, "start_line": 92 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p1: Steel.ST.Array.ptr elt -> p2: Steel.ST.Array.ptr elt -> FStar.Pervasives.Lemma (requires Steel.ST.Array.base p1 == Steel.ST.Array.base p2 /\ Steel.ST.Array.offset p1 == Steel.ST.Array.offset p2) (ensures p1 == p2)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.ST.Array.ptr", "Steel.ST.HigherArray.ptr_base_offset_inj", "Steel.ST.Array.raise_t", "Prims.unit" ]
[]
true
false
true
false
false
let ptr_base_offset_inj p1 p2 =
H.ptr_base_offset_inj p1 p2
false
Steel.ST.Array.fst
Steel.ST.Array.is_null_ptr
val is_null_ptr (#elt: Type0) (p: ptr elt) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null_ptr elt))
val is_null_ptr (#elt: Type0) (p: ptr elt) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null_ptr elt))
let is_null_ptr p = H.is_null_ptr p
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 89, "start_col": 0, "start_line": 89 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.ST.Array.ptr elt -> Prims.Pure Prims.bool
Prims.Pure
[]
[]
[ "Steel.ST.Array.ptr", "Steel.ST.HigherArray.is_null_ptr", "Steel.ST.Array.raise_t", "Prims.bool" ]
[]
false
false
false
false
false
let is_null_ptr p =
H.is_null_ptr p
false
Steel.ST.Array.fst
Steel.ST.Array.seq_map
val seq_map (#t: Type u#a) (#t': Type u#b) (f: (t -> GTot t')) (s: Seq.seq t) : Ghost (Seq.seq t') (requires True) (ensures (fun s' -> Seq.length s' == Seq.length s /\ (forall i. {:pattern (Seq.index s' i)} Seq.index s' i == f (Seq.index s i)))) (decreases (Seq.leng...
val seq_map (#t: Type u#a) (#t': Type u#b) (f: (t -> GTot t')) (s: Seq.seq t) : Ghost (Seq.seq t') (requires True) (ensures (fun s' -> Seq.length s' == Seq.length s /\ (forall i. {:pattern (Seq.index s' i)} Seq.index s' i == f (Seq.index s i)))) (decreases (Seq.leng...
let rec seq_map (#t: Type u#a) (#t' : Type u#b) (f: (t -> GTot t')) (s: Seq.seq t) : Ghost (Seq.seq t') (requires True) (ensures (fun s' -> Seq.length s' == Seq.length s /\ (forall i . {:pattern (Seq.index s' i)} Seq.index s' i == f (Seq.index s i)) )) (decreases (Seq.length s)) = if Seq.length ...
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 78, "end_line": 57, "start_col": 0, "start_line": 43 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (_: t -> Prims.GTot t') -> s: FStar.Seq.Base.seq t -> Prims.Ghost (FStar.Seq.Base.seq t')
Prims.Ghost
[ "" ]
[]
[ "FStar.Seq.Base.seq", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "FStar.Seq.Base.empty", "Prims.bool", "FStar.Seq.Base.cons", "FStar.Seq.Base.index", "Steel.ST.Array.seq_map", "FStar.Seq.Base.slice", "Prims.l_True", "Prims.l_and", "Prims.eq2", "Prims.nat", "Prims.l_Forall...
[ "recursion" ]
false
false
false
false
false
let rec seq_map (#t: Type u#a) (#t': Type u#b) (f: (t -> GTot t')) (s: Seq.seq t) : Ghost (Seq.seq t') (requires True) (ensures (fun s' -> Seq.length s' == Seq.length s /\ (forall i. {:pattern (Seq.index s' i)} Seq.index s' i == f (Seq.index s i)))) (decreases (Seq....
if Seq.length s = 0 then Seq.empty else Seq.cons (f (Seq.index s 0)) (seq_map f (Seq.slice s 1 (Seq.length s)))
false
Steel.ST.Array.fst
Steel.ST.Array.offset
val offset (#elt: Type) (p: ptr elt) : Ghost nat (requires True) (ensures (fun offset -> offset <= base_len (base p)))
val offset (#elt: Type) (p: ptr elt) : Ghost nat (requires True) (ensures (fun offset -> offset <= base_len (base p)))
let offset p = H.offset p
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 25, "end_line": 91, "start_col": 0, "start_line": 91 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.ST.Array.ptr elt -> Prims.Ghost Prims.nat
Prims.Ghost
[]
[]
[ "Steel.ST.Array.ptr", "Steel.ST.HigherArray.offset", "Steel.ST.Array.raise_t", "Prims.nat" ]
[]
false
false
false
false
false
let offset p =
H.offset p
false
Hacl.Spec.P256.PrecompTable.fst
Hacl.Spec.P256.PrecompTable.proj_point_to_list_sub
val proj_point_to_list_sub: p:S.proj_point -> Lemma (let (px, py, pz) = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in let px_list = felem_to_list pxM in let py_list = felem_to_list pyM in let pz_list = felem_to_list pzM in let p_list = FL.(px_list @ py_list @ pz_li...
val proj_point_to_list_sub: p:S.proj_point -> Lemma (let (px, py, pz) = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in let px_list = felem_to_list pxM in let py_list = felem_to_list pyM in let pz_list = felem_to_list pzM in let p_list = FL.(px_list @ py_list @ pz_li...
let proj_point_to_list_sub p = let (px, py, pz) = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in let px_list = felem_to_list pxM in let py_list = felem_to_list pyM in let pz_list = felem_to_list pzM in FL.append_assoc px_list py_list pz_list; SPT.seq_of_list_app...
{ "file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 82, "start_col": 0, "start_line": 71 }
module Hacl.Spec.P256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Impl.P256.Point module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable256.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Sp...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.P256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures (let _ = p in (let FStar.Pervasives.Native.Mktuple3 #_ #_ #_ px py pz = _ in let pxM = Hacl.Spec.P256.Montgomery.to_mont px in let pyM = Hacl.Spec.P256.Montgomery.to_mont py in let pzM = Hacl.Spec.P256....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.P256.PointOps.proj_point", "Prims.nat", "Hacl.Spec.PrecompBaseTable.seq_of_list_append_lemma", "Lib.IntTypes.uint64", "FStar.List.Tot.Base.op_At", "Prims.unit", "FStar.List.Tot.Properties.append_assoc", "Hacl.Spec.P256.PrecompTable.felem_list", "Hacl.Spec.P256.PrecompTable.felem_to_list", "S...
[]
false
false
true
false
false
let proj_point_to_list_sub p =
let px, py, pz = p in let pxM = SM.to_mont px in let pyM = SM.to_mont py in let pzM = SM.to_mont pz in let px_list = felem_to_list pxM in let py_list = felem_to_list pyM in let pz_list = felem_to_list pzM in FL.append_assoc px_list py_list pz_list; SPT.seq_of_list_append_lemma px_list py_list; SPT.seq_of_list_append_le...
false
Steel.ST.Array.fst
Steel.ST.Array.pts_to_inj
val pts_to_inj (#elt: Type0) (a: array elt) (p1: P.perm) (s1: Seq.seq elt) (p2: P.perm) (s2: Seq.seq elt) (m: mem) : Lemma (requires ( interp (hp_of (pts_to a p1 s1)) m /\ interp (hp_of (pts_to a p2 s2)) m )) (ensures ( s1 == s2 ))
val pts_to_inj (#elt: Type0) (a: array elt) (p1: P.perm) (s1: Seq.seq elt) (p2: P.perm) (s2: Seq.seq elt) (m: mem) : Lemma (requires ( interp (hp_of (pts_to a p1 s1)) m /\ interp (hp_of (pts_to a p2 s2)) m )) (ensures ( s1 == s2 ))
let pts_to_inj a p1 s1 p2 s2 = H.pts_to_inj a p1 (seq_map raise s1) p2 (seq_map raise s2)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 122, "start_col": 0, "start_line": 121 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Steel.ST.Array.array elt -> p1: Steel.FractionalPermission.perm -> s1: FStar.Seq.Base.seq elt -> p2: Steel.FractionalPermission.perm -> s2: FStar.Seq.Base.seq elt -> m: Steel.Memory.mem -> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Effect.Common.hp_of (Steel....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.ST.Array.array", "Steel.FractionalPermission.perm", "FStar.Seq.Base.seq", "Steel.ST.HigherArray.pts_to_inj", "Steel.ST.Array.raise_t", "Steel.ST.Array.seq_map", "Steel.ST.Array.raise", "Steel.Memory.mem", "Prims.unit", "Prims.l_and", "Steel.Memory.interp", "Steel.Effect.Common.hp_of", ...
[]
true
false
true
false
false
let pts_to_inj a p1 s1 p2 s2 =
H.pts_to_inj a p1 (seq_map raise s1) p2 (seq_map raise s2)
false
Steel.ST.Array.fst
Steel.ST.Array.length_fits
val length_fits (#elt: Type) (a: array elt) : Lemma (US.fits (length a))
val length_fits (#elt: Type) (a: array elt) : Lemma (US.fits (length a))
let length_fits a = H.length_fits a
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 95, "start_col": 0, "start_line": 95 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Steel.ST.Array.array elt -> FStar.Pervasives.Lemma (ensures FStar.SizeT.fits (Steel.ST.Array.length a))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.ST.Array.array", "Steel.ST.HigherArray.length_fits", "Steel.ST.Array.raise_t", "Prims.unit" ]
[]
true
false
true
false
false
let length_fits a =
H.length_fits a
false
Steel.ST.Array.fst
Steel.ST.Array.base_len_null_ptr
val base_len_null_ptr (elt: Type0) : Lemma (base_len (base (null_ptr elt)) == 0) [SMTPat (base_len (base (null_ptr elt)))]
val base_len_null_ptr (elt: Type0) : Lemma (base_len (base (null_ptr elt)) == 0) [SMTPat (base_len (base (null_ptr elt)))]
let base_len_null_ptr elt = H.base_len_null_ptr (raise_t elt)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 94, "start_col": 0, "start_line": 94 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
elt: Type0 -> FStar.Pervasives.Lemma (ensures Steel.ST.Array.base_len (Steel.ST.Array.base (Steel.ST.Array.null_ptr elt)) == 0) [SMTPat (Steel.ST.Array.base_len (Steel.ST.Array.base (Steel.ST.Array.null_ptr elt)))]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.ST.HigherArray.base_len_null_ptr", "Steel.ST.Array.raise_t", "Prims.unit" ]
[]
true
false
true
false
false
let base_len_null_ptr elt =
H.base_len_null_ptr (raise_t elt)
false
Steel.ST.Reference.fst
Steel.ST.Reference._alloca
val _alloca (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r))
val _alloca (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r))
let _alloca (#a:Type) (x:a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) = alloc x
{ "file_name": "lib/steel/Steel.ST.Reference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 9, "end_line": 118, "start_col": 0, "start_line": 112 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.Reference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.Reference.fst" ...
[ { "abbrev": true, "full_module": "Steel.Reference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a -> Steel.ST.Effect.ST (Steel.ST.Reference.ref a)
Steel.ST.Effect.ST
[]
[]
[ "Steel.ST.Reference.alloc", "Steel.ST.Reference.ref", "Steel.Effect.Common.emp", "Steel.ST.Reference.pts_to", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop", "Prims.l_True", "Prims.b2t", "Prims.op_Negation", "Steel.ST.Reference.is_null" ]
[]
false
true
false
false
false
let _alloca (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) =
alloc x
false
Steel.ST.Array.fst
Steel.ST.Array.equal_up_to
val equal_up_to (#t: _) (s0 s1: Seq.seq t) (v: option US.t) : prop
val equal_up_to (#t: _) (s0 s1: Seq.seq t) (v: option US.t) : prop
let equal_up_to #t (s0: Seq.seq t) (s1: Seq.seq t) (v : option US.t) : prop = Seq.length s0 = Seq.length s1 /\ (match v with | None -> Ghost.reveal s0 =!= Ghost.reveal s1 | Some v -> US.v v <= Seq.length s0 /\ Seq.slice s0 0 (US.v v) `Seq.equal` Se...
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 104, "end_line": 249, "start_col": 0, "start_line": 242 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_modul...
{ "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
s0: FStar.Seq.Base.seq t -> s1: FStar.Seq.Base.seq t -> v: FStar.Pervasives.Native.option FStar.SizeT.t -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "FStar.Pervasives.Native.option", "FStar.SizeT.t", "Prims.l_and", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "FStar.Seq.Base.length", "Prims.l_not", "Prims.eq2", "FStar.Ghost.reveal", "FStar.Ghost.hide", "Prims.op_LessThanOrEqual", "FStar.SizeT.v", "FStar.Seq.Ba...
[]
false
false
false
true
true
let equal_up_to #t (s0: Seq.seq t) (s1: Seq.seq t) (v: option US.t) : prop =
Seq.length s0 = Seq.length s1 /\ (match v with | None -> Ghost.reveal s0 =!= Ghost.reveal s1 | Some v -> US.v v <= Seq.length s0 /\ (Seq.slice s0 0 (US.v v)) `Seq.equal` (Seq.slice s1 0 (US.v v)))
false
Steel.ST.Array.fst
Steel.ST.Array.ptr_shift
val ptr_shift (#elt: Type) (p: ptr elt) (off: US.t) : Pure (ptr elt) (requires (offset p + US.v off <= base_len (base p))) (ensures (fun p' -> base p' == base p /\ offset p' == offset p + US.v off ))
val ptr_shift (#elt: Type) (p: ptr elt) (off: US.t) : Pure (ptr elt) (requires (offset p + US.v off <= base_len (base p))) (ensures (fun p' -> base p' == base p /\ offset p' == offset p + US.v off ))
let ptr_shift p off = H.ptr_shift p off
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 204, "start_col": 0, "start_line": 204 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.ST.Array.ptr elt -> off: FStar.SizeT.t -> Prims.Pure (Steel.ST.Array.ptr elt)
Prims.Pure
[]
[]
[ "Steel.ST.Array.ptr", "FStar.SizeT.t", "Steel.ST.HigherArray.ptr_shift", "Steel.ST.Array.raise_t" ]
[]
false
false
false
false
false
let ptr_shift p off =
H.ptr_shift p off
false
Steel.ST.Array.fst
Steel.ST.Array.within_bounds
val within_bounds (x: option US.t) (l: US.t) (b: Ghost.erased bool) : prop
val within_bounds (x: option US.t) (l: US.t) (b: Ghost.erased bool) : prop
let within_bounds (x:option US.t) (l:US.t) (b:Ghost.erased bool) : prop = if b then Some? x /\ US.(Some?.v x <^ l) else None? x \/ US.(Some?.v x >=^ l)
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 253, "start_col": 0, "start_line": 251 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.Pervasives.Native.option FStar.SizeT.t -> l: FStar.SizeT.t -> b: FStar.Ghost.erased Prims.bool -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "FStar.SizeT.t", "FStar.Ghost.erased", "Prims.bool", "FStar.Ghost.reveal", "Prims.l_and", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "FStar.SizeT.op_Less_Hat", "FStar.Pervasives.Native.__proj__Some__item__v", "Prims.l_or", "FStar.Pervasives.Native.uu...
[]
false
false
false
true
true
let within_bounds (x: option US.t) (l: US.t) (b: Ghost.erased bool) : prop =
if b then Some? x /\ US.(Some?.v x <^ l) else None? x \/ US.(Some?.v x >=^ l)
false
Steel.ST.Array.fst
Steel.ST.Array.intro_fits_u32
val intro_fits_u32 (_:unit) : STT (squash (US.fits_u32)) emp (fun _ -> emp)
val intro_fits_u32 (_:unit) : STT (squash (US.fits_u32)) emp (fun _ -> emp)
let intro_fits_u32 () = H.intro_fits_u32 ()
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 43, "end_line": 537, "start_col": 0, "start_line": 537 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Steel.ST.Effect.STT (Prims.squash FStar.SizeT.fits_u32)
Steel.ST.Effect.STT
[]
[]
[ "Prims.unit", "Steel.ST.HigherArray.intro_fits_u32", "Prims.squash", "FStar.SizeT.fits_u32" ]
[]
false
true
true
false
false
let intro_fits_u32 () =
H.intro_fits_u32 ()
false
Steel.ST.Array.fst
Steel.ST.Array.intro_fits_u64
val intro_fits_u64 (_:unit) : STT (squash (US.fits_u64)) emp (fun _ -> emp)
val intro_fits_u64 (_:unit) : STT (squash (US.fits_u64)) emp (fun _ -> emp)
let intro_fits_u64 () = H.intro_fits_u64 ()
{ "file_name": "lib/steel/Steel.ST.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 43, "end_line": 538, "start_col": 0, "start_line": 538 }
(* Copyright 2020, 2021, 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.HigherArray.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Universe.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.che...
[ { "abbrev": true, "full_module": "Steel.ST.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherArray", "short_module": "H" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Steel.ST.Effect.STT (Prims.squash FStar.SizeT.fits_u64)
Steel.ST.Effect.STT
[]
[]
[ "Prims.unit", "Steel.ST.HigherArray.intro_fits_u64", "Prims.squash", "FStar.SizeT.fits_u64" ]
[]
false
true
true
false
false
let intro_fits_u64 () =
H.intro_fits_u64 ()
false