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.Spec.TEnum.fst
MiniParse.Spec.TEnum.invert_function'
val invert_function' (enum_ty val_ty teq f: T.term) : T.Tac T.term
val invert_function' (enum_ty val_ty teq f: T.term) : T.Tac T.term
let invert_function' (enum_ty val_ty: T.term) (teq: T.term) (f: T.term) : T.Tac T.term = match T.inspect f with | T.Tv_Abs b body -> begin match T.inspect body with | T.Tv_Match t _ br -> if T.term_eq t (T.pack (T.Tv_Var (T.binder_to_namedv b))) then let bx = T.fresh_binder val_ty in ...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 131, "start_col": 0, "start_line": 118 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
enum_ty: FStar.Tactics.NamedView.term -> val_ty: FStar.Tactics.NamedView.term -> teq: FStar.Tactics.NamedView.term -> f: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.binder", "FStar.Pervasives.Native.option", "FStar.Tactics.NamedView.match_returns_ascription", "Prims.list", "FStar.Tactics.NamedView.branch", "FStar.Stubs.Reflection.V2.Builtins.term_eq", "FStar.Tactics.NamedView.pack", "FStar.Tactics.NamedVi...
[]
false
true
false
false
false
let invert_function' (enum_ty val_ty teq f: T.term) : T.Tac T.term =
match T.inspect f with | T.Tv_Abs b body -> (match T.inspect body with | T.Tv_Match t _ br -> if T.term_eq t (T.pack (T.Tv_Var (T.binder_to_namedv b))) then let bx = T.fresh_binder val_ty in let x = T.pack (T.Tv_Var (T.binder_to_namedv bx)) in T.pack (T.Tv_Abs bx (invert_branch...
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16_pred
val synth_inverse_forall_bounded_u16_pred (b: nat) (t: Type) (f1: (bounded_u16 b -> GTot t)) (f2: (t -> GTot (bounded_u16 b))) (x: bounded_u16 b) : GTot Type0
val synth_inverse_forall_bounded_u16_pred (b: nat) (t: Type) (f1: (bounded_u16 b -> GTot t)) (f2: (t -> GTot (bounded_u16 b))) (x: bounded_u16 b) : GTot Type0
let synth_inverse_forall_bounded_u16_pred (b: nat) (t: Type) (f1: (bounded_u16 b -> GTot t)) (f2: (t -> GTot (bounded_u16 b))) (x: bounded_u16 b) : GTot Type0 = f2 (f1 x) == x
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 16, "end_line": 155, "start_col": 0, "start_line": 148 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
b: Prims.nat -> t: Type -> f1: (_: MiniParse.Spec.Int.bounded_u16 b -> Prims.GTot t) -> f2: (_: t -> Prims.GTot (MiniParse.Spec.Int.bounded_u16 b)) -> x: MiniParse.Spec.Int.bounded_u16 b -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.nat", "MiniParse.Spec.Int.bounded_u16", "Prims.eq2" ]
[]
false
false
false
false
true
let synth_inverse_forall_bounded_u16_pred (b: nat) (t: Type) (f1: (bounded_u16 b -> GTot t)) (f2: (t -> GTot (bounded_u16 b))) (x: bounded_u16 b) : GTot Type0 =
f2 (f1 x) == x
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.synth_inverse_forall_tenum_solve'
val synth_inverse_forall_tenum_solve': Prims.unit -> T.Tac unit
val synth_inverse_forall_tenum_solve': Prims.unit -> T.Tac unit
let synth_inverse_forall_tenum_solve' () : T.Tac unit = T.norm [delta; zeta; iota; primops]; let x = tforall_intro () in T.destruct (T.pack (T.Tv_Var (T.binding_to_namedv x))); to_all_goals (fun () -> let y = T.intro () in T.rewrite y; T.norm [delta; zeta; iota; primops]; T.trivial (); T.qed...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 186, "start_col": 0, "start_line": 176 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "MiniParse.Tac.Base.to_all_goals", "FStar.Tactics.V2.Derived.qed", "FStar.Tactics.V2.Derived.trivial", "FStar.Stubs.Tactics.V2.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta", "FStar.Pervasives.zeta", "FStar.Pervasives.iota", "FStar.Pervasives.p...
[]
false
true
false
false
false
let synth_inverse_forall_tenum_solve' () : T.Tac unit =
T.norm [delta; zeta; iota; primops]; let x = tforall_intro () in T.destruct (T.pack (T.Tv_Var (T.binding_to_namedv x))); to_all_goals (fun () -> let y = T.intro () in T.rewrite y; T.norm [delta; zeta; iota; primops]; T.trivial (); T.qed ())
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16_solve'
val synth_inverse_forall_bounded_u16_solve' (b t f1 f2: T.term) : T.Tac unit
val synth_inverse_forall_bounded_u16_solve' (b t f1 f2: T.term) : T.Tac unit
let synth_inverse_forall_bounded_u16_solve' (b: T.term) (t: T.term) (f1: T.term) (f2: T.term) : T.Tac unit = T.apply (T.mk_app (`(synth_inverse_forall_bounded_u16_intro)) [ b, T.Q_Explicit; t, T.Q_Explicit; f1, T.Q_Explicit; f2, T.Q_Explicit; ]); let _ = T.divide 1 (fun () -> T.norm [d...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 51, "end_line": 224, "start_col": 0, "start_line": 204 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
b: FStar.Tactics.NamedView.term -> t: FStar.Tactics.NamedView.term -> f1: FStar.Tactics.NamedView.term -> f2: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "MiniParse.Tac.Base.tsuccess", "Prims.unit", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.Derived.divide", "FStar.Tactics.V2.Derived.trivial", "FStar.Stubs.Tactics.V2.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta", "FSt...
[]
false
true
false
false
false
let synth_inverse_forall_bounded_u16_solve' (b t f1 f2: T.term) : T.Tac unit =
T.apply (T.mk_app (`(synth_inverse_forall_bounded_u16_intro)) [b, T.Q_Explicit; t, T.Q_Explicit; f1, T.Q_Explicit; f2, T.Q_Explicit]); let _ = T.divide 1 (fun () -> T.norm [delta; zeta; iota; primops]; T.trivial (); tsuccess "synth_inverse_forall_bounded_u16_solve, main goal") (f...
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.gen_enum_specs
val gen_enum_specs (enum: T.term) : T.Tac (T.term * T.term)
val gen_enum_specs (enum: T.term) : T.Tac (T.term * T.term)
let gen_enum_specs (enum: T.term) : T.Tac (T.term * T.term) = let bound = tenum_bound' enum in let f = gen_synth_bounded' enum in let val_t = T.mk_app (`bounded_u16) [bound, T.Q_Explicit] in let val_eq = T.mk_app (`bounded_u16_eq) [bound, T.Q_Explicit] in let g = invert_function' enum val_t val_eq f in let ...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 277, "start_col": 0, "start_line": 249 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
enum: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Tactics.NamedView.term * FStar.Tactics.NamedView.term)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.V2.Derived.mk_app", "Prims.Cons", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Stubs.Refle...
[]
false
true
false
false
false
let gen_enum_specs (enum: T.term) : T.Tac (T.term * T.term) =
let bound = tenum_bound' enum in let f = gen_synth_bounded' enum in let val_t = T.mk_app (`bounded_u16) [bound, T.Q_Explicit] in let val_eq = T.mk_app (`bounded_u16_eq) [bound, T.Q_Explicit] in let g = invert_function' enum val_t val_eq f in let pbound = T.mk_app (`parse_bounded_u16) [bound, T.Q_Explicit] in let sbound...
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.gen_enum_parser'
val gen_enum_parser' (enum: T.term) : T.Tac T.term
val gen_enum_parser' (enum: T.term) : T.Tac T.term
let gen_enum_parser' (enum: T.term) : T.Tac T.term = let (p', _) = gen_enum_specs enum in p'
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 281, "start_col": 0, "start_line": 280 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
enum: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.tuple2", "MiniParse.Spec.TEnum.gen_enum_specs" ]
[]
false
true
false
false
false
let gen_enum_parser' (enum: T.term) : T.Tac T.term =
let p', _ = gen_enum_specs enum in p'
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.synth_inverse_forall_tenum_solve
val synth_inverse_forall_tenum_solve: Prims.unit -> T.Tac unit
val synth_inverse_forall_tenum_solve: Prims.unit -> T.Tac unit
let synth_inverse_forall_tenum_solve () : T.Tac unit = let (hd, tl) = app_head_tail (T.cur_goal ()) in if hd `T.is_fvar` (`%squash) || hd `T.is_fvar` (`%auto_squash) then match tl with | [(g, _)] -> let (hd', _) = app_head_tail g in if hd' `T.is_fvar` (`%synth_inverse) then match T.trytac synth_inve...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 202, "start_col": 0, "start_line": 188 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Stubs.Reflection.V2.Data.argv", "Prims.op_BarBar", "FStar.Reflection.V2.Derived.is_fvar", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Pervasives.Native.option", "MiniParse.Tac.Base.tfail", ...
[]
false
true
false
false
false
let synth_inverse_forall_tenum_solve () : T.Tac unit =
let hd, tl = app_head_tail (T.cur_goal ()) in if hd `T.is_fvar` (`%squash) || hd `T.is_fvar` (`%auto_squash) then match tl with | [g, _] -> let hd', _ = app_head_tail g in if hd' `T.is_fvar` (`%synth_inverse) then match T.trytac synth_inverse_forall_tenum_solve' with | Some _ -> () | _...
false
References.fst
References.swap_textbook
val swap_textbook (#a: Type0) (r1 r2: ref a) (v1 v2: erased a) : SteelT unit ((pts_to r1 full_perm v1) `star` (pts_to r2 full_perm v2)) (fun _ -> (pts_to r1 full_perm v2) `star` (pts_to r2 full_perm v1))
val swap_textbook (#a: Type0) (r1 r2: ref a) (v1 v2: erased a) : SteelT unit ((pts_to r1 full_perm v1) `star` (pts_to r2 full_perm v2)) (fun _ -> (pts_to r1 full_perm v2) `star` (pts_to r2 full_perm v1))
let swap_textbook (#a:Type0) (r1 r2:ref a) (v1 v2:erased a) : SteelT unit (pts_to r1 full_perm v1 `star` pts_to r2 full_perm v2) (fun _ -> pts_to r1 full_perm v2 `star` pts_to r2 full_perm v1) = let x1 = read_pt r1 in let x2 = read_pt r2 in write_pt r1 x2; write_pt r2 x1; // The extra trailing uni...
{ "file_name": "share/steel/tutorial/References.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 6, "end_line": 25, "start_col": 0, "start_line": 16 }
module References open FStar.Ghost open Steel.FractionalPermission open Steel.Effect.Atomic open Steel.Effect open Steel.Reference /// Some examples using Steel references with fractional permissions #push-options "--fuel 0 --ifuel 0 --ide_id_info_off" (** Swap examples **)
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fa...
[ { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Steel.Effect.Atomic", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r1: Steel.Reference.ref a -> r2: Steel.Reference.ref a -> v1: FStar.Ghost.erased a -> v2: FStar.Ghost.erased a -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Reference.ref", "FStar.Ghost.erased", "Prims.unit", "Steel.Reference.write_pt", "FStar.Ghost.hide", "Steel.Reference.read_pt", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.star", "Steel.Reference.pts_to", "FStar.Ghost.reveal", "Steel.Effect.Common.vprop" ]
[]
false
true
false
false
false
let swap_textbook (#a: Type0) (r1 r2: ref a) (v1 v2: erased a) : SteelT unit ((pts_to r1 full_perm v1) `star` (pts_to r2 full_perm v2)) (fun _ -> (pts_to r1 full_perm v2) `star` (pts_to r2 full_perm v1)) =
let x1 = read_pt r1 in let x2 = read_pt r2 in write_pt r1 x2; write_pt r2 x1; ()
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.gen_enum_parser
val gen_enum_parser (pol: T.guard_policy) (enum: T.term) : T.Tac unit
val gen_enum_parser (pol: T.guard_policy) (enum: T.term) : T.Tac unit
let gen_enum_parser (pol: T.guard_policy) (enum: T.term) : T.Tac unit = T.exact_guard (gen_enum_parser' enum); according_to pol (fun () -> tconclude_with [ synth_inverse_forall_bounded_u16_solve; synth_inverse_forall_tenum_solve; ])
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 4, "end_line": 288, "start_col": 0, "start_line": 283 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
pol: FStar.Stubs.Tactics.Types.guard_policy -> enum: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Tactics.Types.guard_policy", "FStar.Tactics.NamedView.term", "MiniParse.Tac.Base.according_to", "Prims.unit", "MiniParse.Tac.Base.tconclude_with", "Prims.Cons", "MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16_solve", "MiniParse.Spec.TEnum.synth_inverse_forall_tenum_solve", "Prims...
[]
false
true
false
false
false
let gen_enum_parser (pol: T.guard_policy) (enum: T.term) : T.Tac unit =
T.exact_guard (gen_enum_parser' enum); according_to pol (fun () -> tconclude_with [synth_inverse_forall_bounded_u16_solve; synth_inverse_forall_tenum_solve])
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16_solve
val synth_inverse_forall_bounded_u16_solve: Prims.unit -> T.Tac unit
val synth_inverse_forall_bounded_u16_solve: Prims.unit -> T.Tac unit
let synth_inverse_forall_bounded_u16_solve () : T.Tac unit = let (hd, tl) = app_head_tail (T.cur_goal ()) in if hd `T.is_fvar` (`%squash) || hd `T.is_fvar` (`%auto_squash) then match tl with | [(tl, _)] -> let (hd', tl') = app_head_tail tl in if hd' `T.is_fvar` (`%synth_inverse) then begin match tl'...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 247, "start_col": 0, "start_line": 226 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Stubs.Reflection.V2.Data.argv", "Prims.op_BarBar", "FStar.Reflection.V2.Derived.is_fvar", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16_solve'", ...
[]
false
true
false
false
false
let synth_inverse_forall_bounded_u16_solve () : T.Tac unit =
let hd, tl = app_head_tail (T.cur_goal ()) in if hd `T.is_fvar` (`%squash) || hd `T.is_fvar` (`%auto_squash) then match tl with | [tl, _] -> let hd', tl' = app_head_tail tl in if hd' `T.is_fvar` (`%synth_inverse) then match tl' with | [t, _ ; bt, _ ; f2, _ ; f1, _] -> let bt_hd, bt_t...
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.mk_tenum_branches
val mk_tenum_branches (ty vty: T.term) (v: nat) (accu: list T.branch) (l: list T.name) : T.Tac (list T.branch)
val mk_tenum_branches (ty vty: T.term) (v: nat) (accu: list T.branch) (l: list T.name) : T.Tac (list T.branch)
let rec mk_tenum_branches (ty: T.term) (vty: T.term) (v: nat) (accu: list T.branch) (l: list T.name) : T.Tac (list T.branch) = match l with | [] -> accu | n :: q -> let v' = v + 1 in let env = T.cur_env () in let v = T.mk_app (`(mk_u16)) [pack_nat v, T.Q_Explicit] in let v = T.pack (T.Tv_AscribedT...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 44, "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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
ty: FStar.Tactics.NamedView.term -> vty: FStar.Tactics.NamedView.term -> v: Prims.nat -> accu: Prims.list FStar.Tactics.NamedView.branch -> l: Prims.list FStar.Stubs.Reflection.Types.name -> FStar.Tactics.Effect.Tac (Prims.list FStar.Tactics.NamedView.branch)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Prims.nat", "Prims.list", "FStar.Tactics.NamedView.branch", "FStar.Stubs.Reflection.Types.name", "FStar.List.Tot.Base.append", "Prims.Cons", "Prims.Nil", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.NamedView.pattern", "FStar.Pervasives.Native.Mktuple2", "F...
[ "recursion" ]
false
true
false
false
false
let rec mk_tenum_branches (ty vty: T.term) (v: nat) (accu: list T.branch) (l: list T.name) : T.Tac (list T.branch) =
match l with | [] -> accu | n :: q -> let v' = v + 1 in let env = T.cur_env () in let v = T.mk_app (`(mk_u16)) [pack_nat v, T.Q_Explicit] in let v = T.pack (T.Tv_AscribedT v vty None false) in let pat = T.Pat_Cons ({ head = T.pack_fv n; univs = None; subpats = [] }) in let br:T.branch = (pat, v) in let ac...
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.get_inductive_constructors
val get_inductive_constructors (t: T.term) : T.Tac (list T.name)
val get_inductive_constructors (t: T.term) : T.Tac (list T.name)
let get_inductive_constructors (t: T.term) : T.Tac (list T.name) = let v : T.term_view = T.inspect t in match v with | T.Tv_FVar w -> let u = T.inspect_fv w in let env = T.cur_env () in let s : option T.sigelt = T.lookup_typ env u in if None? s then T.fail "No definition found" else begi...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 66, "start_col": 0, "start_line": 51 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Reflection.Types.name)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Stubs.Reflection.Types.fv", "FStar.Pervasives.Native.uu___is_None", "FStar.Stubs.Reflection.Types.sigelt", "FStar.Tactics.V2.Derived.fail", "Prims.list", "FStar.Stubs.Reflection.Types.name", "Prims.bool", "FStar.Tactics.NamedView.univ_name", "FStar.Tactics.Na...
[]
false
true
false
false
false
let get_inductive_constructors (t: T.term) : T.Tac (list T.name) =
let v:T.term_view = T.inspect t in match v with | T.Tv_FVar w -> let u = T.inspect_fv w in let env = T.cur_env () in let s:option T.sigelt = T.lookup_typ env u in if None? s then T.fail "No definition found" else let v:T.sigelt_view = T.inspect_sigelt (Some?.v s) in (match v with | T.Sg_Induct...
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.invert_branches_with_cascade
val invert_branches_with_cascade (enum_ty val_eq x: T.term) (accu: option T.term) (l: list T.branch) : T.Tac T.term
val invert_branches_with_cascade (enum_ty val_eq x: T.term) (accu: option T.term) (l: list T.branch) : T.Tac T.term
let rec invert_branches_with_cascade (enum_ty: T.term) (val_eq: T.term) (x: T.term) (accu: option T.term) (l: list T.branch) : T.Tac T.term = match l with | [] -> begin match accu with | None -> tfail "There must be at least one branch" | Some t -> t end | (p, t) :: q -> begin match term_of_pa...
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 116, "start_col": 0, "start_line": 94 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
enum_ty: FStar.Tactics.NamedView.term -> val_eq: FStar.Tactics.NamedView.term -> x: FStar.Tactics.NamedView.term -> accu: FStar.Pervasives.Native.option FStar.Tactics.NamedView.term -> l: Prims.list FStar.Tactics.NamedView.branch -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Pervasives.Native.option", "Prims.list", "FStar.Tactics.NamedView.branch", "MiniParse.Tac.Base.tfail", "FStar.Tactics.NamedView.pattern", "MiniParse.Spec.TEnum.invert_branches_with_cascade", "FStar.Pervasives.Native.Some", "MiniParse.Tac.Base.mk_if", "FStar.S...
[ "recursion" ]
false
true
false
false
false
let rec invert_branches_with_cascade (enum_ty val_eq x: T.term) (accu: option T.term) (l: list T.branch) : T.Tac T.term =
match l with | [] -> (match accu with | None -> tfail "There must be at least one branch" | Some t -> t) | (p, t) :: q -> match term_of_pat p with | Some v -> let accu' = match accu with | None -> Some v | Some ac -> let scrut = T.mk_app val_eq [(x, T.Q_Explicit); (t, T.Q_Exp...
false
LowParse.Bytes32.fst
LowParse.Bytes32.reveal_empty'
val reveal_empty':squash (reveal empty_bytes == Seq.empty)
val reveal_empty':squash (reveal empty_bytes == Seq.empty)
let reveal_empty' : squash (reveal empty_bytes == Seq.empty) = assert (Seq.equal (reveal empty_bytes) Seq.empty)
{ "file_name": "src/lowparse/LowParse.Bytes32.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 51, "end_line": 60, "start_col": 0, "start_line": 59 }
module LowParse.Bytes32 include FStar.Bytes module U32 = FStar.UInt32 (* TODO: move to FStar.Bytes *) inline_for_extraction let b32slice (b: bytes) (s: U32.t) (e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U3...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Bytes.fsti.checked" ], "interface_file": false, "source_file": "Lo...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Bytes", "short_module": null }, { "abbrev": false, "full_module": "LowParse", "short_module": null }, { "abbrev": false, "full_module": "LowParse...
{ "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.squash (FStar.Bytes.reveal FStar.Bytes.empty_bytes == FStar.Seq.Base.empty)
Prims.Tot
[ "total" ]
[]
[ "Prims._assert", "FStar.Seq.Base.equal", "FStar.Bytes.byte", "FStar.Bytes.reveal", "FStar.Bytes.empty_bytes", "FStar.Seq.Base.empty" ]
[]
false
false
true
true
false
let reveal_empty':squash (reveal empty_bytes == Seq.empty) =
assert (Seq.equal (reveal empty_bytes) Seq.empty)
false
LowParse.Bytes32.fst
LowParse.Bytes32.b32slice
val b32slice (b: bytes) (s e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U32.v e)))
val b32slice (b: bytes) (s e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U32.v e)))
let b32slice (b: bytes) (s: U32.t) (e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U32.v e))) = slice b s e
{ "file_name": "src/lowparse/LowParse.Bytes32.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 13, "end_line": 16, "start_col": 0, "start_line": 9 }
module LowParse.Bytes32 include FStar.Bytes module U32 = FStar.UInt32 (* TODO: move to FStar.Bytes *)
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Bytes.fsti.checked" ], "interface_file": false, "source_file": "Lo...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Bytes", "short_module": null }, { "abbrev": false, "full_module": "LowParse", "short_module": null }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Bytes.bytes -> s: FStar.UInt32.t -> e: FStar.UInt32.t -> Prims.Pure FStar.Bytes.bytes
Prims.Pure
[]
[]
[ "FStar.Bytes.bytes", "FStar.UInt32.t", "FStar.Bytes.slice", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "FStar.Bytes.length", "Prims.eq2", "FStar.Seq.Base.seq", "FStar.Bytes.byte", "FStar.Bytes.reveal", "FStar.Seq.Base.slice" ]
[]
false
false
false
false
false
let b32slice (b: bytes) (s e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U32.v e))) =
slice b s e
false
LowParse.Bytes32.fst
LowParse.Bytes32.b32append
val b32append (b1 b2: bytes) : Pure bytes (requires (length b1 + length b2 < 4294967296)) (ensures (fun y -> reveal y == Seq.append (reveal b1) (reveal b2)))
val b32append (b1 b2: bytes) : Pure bytes (requires (length b1 + length b2 < 4294967296)) (ensures (fun y -> reveal y == Seq.append (reveal b1) (reveal b2)))
let b32append (b1: bytes) (b2: bytes) : Pure bytes (requires (length b1 + length b2 < 4294967296)) (ensures (fun y -> reveal y == Seq.append (reveal b1) (reveal b2))) = append b1 b2
{ "file_name": "src/lowparse/LowParse.Bytes32.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 14, "end_line": 25, "start_col": 0, "start_line": 19 }
module LowParse.Bytes32 include FStar.Bytes module U32 = FStar.UInt32 (* TODO: move to FStar.Bytes *) inline_for_extraction let b32slice (b: bytes) (s: U32.t) (e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U3...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Bytes.fsti.checked" ], "interface_file": false, "source_file": "Lo...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Bytes", "short_module": null }, { "abbrev": false, "full_module": "LowParse", "short_module": null }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b1: FStar.Bytes.bytes -> b2: FStar.Bytes.bytes -> Prims.Pure FStar.Bytes.bytes
Prims.Pure
[]
[]
[ "FStar.Bytes.bytes", "FStar.Bytes.append", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Addition", "FStar.Bytes.length", "Prims.eq2", "FStar.Seq.Base.seq", "FStar.Bytes.byte", "FStar.Bytes.reveal", "FStar.Seq.Base.append" ]
[]
false
false
false
false
false
let b32append (b1 b2: bytes) : Pure bytes (requires (length b1 + length b2 < 4294967296)) (ensures (fun y -> reveal y == Seq.append (reveal b1) (reveal b2))) =
append b1 b2
false
LowParse.Bytes32.fst
LowParse.Bytes32.b32_hide
val b32_hide (s: Seq.seq FStar.UInt8.t {Seq.length s < pow2 32}) : Tot (res: bytes{res == hide s}) (decreases (Seq.length s))
val b32_hide (s: Seq.seq FStar.UInt8.t {Seq.length s < pow2 32}) : Tot (res: bytes{res == hide s}) (decreases (Seq.length s))
let rec b32_hide (s: Seq.seq FStar.UInt8.t { Seq.length s < pow2 32 }) : Tot (res: bytes { res == hide s }) (decreases (Seq.length s)) = let res : bytes = if Seq.length s = 0 then empty_bytes else append (create 1ul (Seq.index s 0)) (b32_hide (Seq.slice s 1 (Seq.length s))) in b32_equal res (hide s)...
{ "file_name": "src/lowparse/LowParse.Bytes32.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 82, "start_col": 0, "start_line": 73 }
module LowParse.Bytes32 include FStar.Bytes module U32 = FStar.UInt32 (* TODO: move to FStar.Bytes *) inline_for_extraction let b32slice (b: bytes) (s: U32.t) (e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U3...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Bytes.fsti.checked" ], "interface_file": false, "source_file": "Lo...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Bytes", "short_module": null }, { "abbrev": false, "full_module": "LowParse", "short_module": null }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Seq.Base.seq FStar.UInt8.t {FStar.Seq.Base.length s < Prims.pow2 32} -> Prims.Tot (res: FStar.Bytes.bytes{res == FStar.Bytes.hide s})
Prims.Tot
[ "total", "" ]
[]
[ "FStar.Seq.Base.seq", "FStar.UInt8.t", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "Prims.pow2", "Prims.unit", "LowParse.Bytes32.b32_equal", "FStar.Bytes.hide", "FStar.Bytes.bytes", "Prims.op_Equality", "Prims.int", "FStar.Bytes.empty_bytes", "Prims.bool", "FStar.Bytes.app...
[ "recursion" ]
false
false
false
false
false
let rec b32_hide (s: Seq.seq FStar.UInt8.t {Seq.length s < pow2 32}) : Tot (res: bytes{res == hide s}) (decreases (Seq.length s)) =
let res:bytes = if Seq.length s = 0 then empty_bytes else append (create 1ul (Seq.index s 0)) (b32_hide (Seq.slice s 1 (Seq.length s))) in b32_equal res (hide s); res
false
LowParse.Bytes32.fst
LowParse.Bytes32.b32_reveal_create
val b32_reveal_create (len: U32.t) (v: byte) : Lemma (reveal (create len v) == Seq.create (U32.v len) v) [SMTPat (reveal (create len v))]
val b32_reveal_create (len: U32.t) (v: byte) : Lemma (reveal (create len v) == Seq.create (U32.v len) v) [SMTPat (reveal (create len v))]
let b32_reveal_create (len: U32.t) (v: byte) : Lemma (reveal (create len v) == Seq.create (U32.v len) v) [SMTPat (reveal (create len v))] = let b = create len v in let lhs = reveal b in let rhs = Seq.create (U32.v len) v in let pty = (i: nat { i < Seq.length lhs }) in let post (i: pty) : GTot Type...
{ "file_name": "src/lowparse/LowParse.Bytes32.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 57, "start_col": 0, "start_line": 34 }
module LowParse.Bytes32 include FStar.Bytes module U32 = FStar.UInt32 (* TODO: move to FStar.Bytes *) inline_for_extraction let b32slice (b: bytes) (s: U32.t) (e: U32.t) : Pure bytes (requires (U32.v s <= U32.v e /\ U32.v e <= length b)) (ensures (fun res -> reveal res == Seq.slice (reveal b) (U32.v s) (U3...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Bytes.fsti.checked" ], "interface_file": false, "source_file": "Lo...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Bytes", "short_module": null }, { "abbrev": false, "full_module": "LowParse", "short_module": null }, { "abbrev": false, "full_module": "LowParse...
{ "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: FStar.UInt32.t -> v: FStar.Bytes.byte -> FStar.Pervasives.Lemma (ensures FStar.Bytes.reveal (FStar.Bytes.create len v) == FStar.Seq.Base.create (FStar.UInt32.v len) v) [SMTPat (FStar.Bytes.reveal (FStar.Bytes.create len v))]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.UInt32.t", "FStar.Bytes.byte", "FStar.Seq.Base.lemma_eq_elim", "Prims.unit", "FStar.Seq.Base.lemma_eq_intro", "FStar.Classical.forall_intro", "Prims.l_True", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern", "Prims._assert", "Prims.eq2", "FStar.Bytes.get", "FStar.UInt32.uint_...
[]
false
false
true
false
false
let b32_reveal_create (len: U32.t) (v: byte) : Lemma (reveal (create len v) == Seq.create (U32.v len) v) [SMTPat (reveal (create len v))] =
let b = create len v in let lhs = reveal b in let rhs = Seq.create (U32.v len) v in let pty = (i: nat{i < Seq.length lhs}) in let post (i: pty) : GTot Type0 = Seq.index lhs (i <: nat) == Seq.index rhs (i <: nat) in let f (i: pty) : Lemma (post i) = assert (get b (U32.uint_to_t i) == v) in Classical.forall_intro #pty #p...
false
MiniParse.Spec.TEnum.fst
MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16_intro
val synth_inverse_forall_bounded_u16_intro (b: nat) (t: Type) (f1: (bounded_u16 b -> GTot t)) (f2: (t -> GTot (bounded_u16 b))) (u: squash (synth_inverse_forall_bounded_u16' b t f1 f2)) : Tot (squash (synth_inverse f2 f1))
val synth_inverse_forall_bounded_u16_intro (b: nat) (t: Type) (f1: (bounded_u16 b -> GTot t)) (f2: (t -> GTot (bounded_u16 b))) (u: squash (synth_inverse_forall_bounded_u16' b t f1 f2)) : Tot (squash (synth_inverse f2 f1))
let synth_inverse_forall_bounded_u16_intro b t f1 f2 u = Classical.forall_intro (Classical.move_requires (forall_bounded_u16_elim b (synth_inverse_forall_bounded_u16_pred b t f1 f2)))
{ "file_name": "examples/miniparse/MiniParse.Spec.TEnum.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 128, "end_line": 174, "start_col": 0, "start_line": 173 }
(* 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", "MiniParse.Tac.Base.fst.checked", "MiniParse.Spec.Int.fst.checked", "MiniParse.Spec.Combinators.fst.checked", "FStar.UInt16.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Sealed.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Spec.Int", "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
b: Prims.nat -> t: Type0 -> f1: (_: MiniParse.Spec.Int.bounded_u16 b -> Prims.GTot t) -> f2: (_: t -> Prims.GTot (MiniParse.Spec.Int.bounded_u16 b)) -> u91: Prims.squash (MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16' b t f1 f2) -> Prims.squash (MiniParse.Spec.Combinators.synth_inverse f2...
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "MiniParse.Spec.Int.bounded_u16", "Prims.squash", "MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16'", "FStar.Classical.forall_intro", "Prims.l_imp", "MiniParse.Spec.Int.forall_bounded_u16", "MiniParse.Spec.TEnum.synth_inverse_forall_bounded_u16_pred", "FStar.Classical.move_require...
[]
false
false
true
false
false
let synth_inverse_forall_bounded_u16_intro b t f1 f2 u =
Classical.forall_intro (Classical.move_requires (forall_bounded_u16_elim b (synth_inverse_forall_bounded_u16_pred b t f1 f2)))
false
Steel.GhostMonotonicHigherReference.fst
Steel.GhostMonotonicHigherReference.witness
val witness (#inames: _) (#a:Type) (#q:perm) (#p:Preorder.preorder a) (r:ref a p) (fact:stable_property p) (v:erased a) (_:squash (fact v)) : SteelAtomicUT (witnessed r fact) inames (pts_to r q v) (fun _ -> pts_to r q v)
val witness (#inames: _) (#a:Type) (#q:perm) (#p:Preorder.preorder a) (r:ref a p) (fact:stable_property p) (v:erased a) (_:squash (fact v)) : SteelAtomicUT (witnessed r fact) inames (pts_to r q v) (fun _ -> pts_to r q v)
let witness (#inames: _) (#a:Type) (#q:perm) (#p:Preorder.preorder a) (r:ref a p) (fact:stable_property p) (v:erased a) (_:squash (fact v)) : SteelAtomicUT (witnessed r fact) inames (pts_to r q v) (fun _ -> pts_to r q v) = let h = w...
{ "file_name": "lib/steel/Steel.GhostMonotonicHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 12, "end_line": 147, "start_col": 0, "start_line": 128 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Preorder.fst.checked", "Steel.Memory.fsti.checked", "Steel.GhostPCMReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti...
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": true, "full_module": "Steel.Effect.Atomic", "short_module": "A" }, { "abbrev": true, "full_module": "Steel.GhostPCMReference", "short_module": "PR" }, { "abbrev": true, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.GhostMonotonicHigherReference.ref a p -> fact: Steel.GhostMonotonicHigherReference.stable_property p -> v: FStar.Ghost.erased a -> _: Prims.squash (fact (FStar.Ghost.reveal v)) -> Steel.Effect.Atomic.SteelAtomicUT (Steel.GhostMonotonicHigherReference.witnessed r fact)
Steel.Effect.Atomic.SteelAtomicUT
[]
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "FStar.Preorder.preorder", "Steel.GhostMonotonicHigherReference.ref", "Steel.GhostMonotonicHigherReference.stable_property", "FStar.Ghost.erased", "Prims.squash", "FStar.Ghost.reveal", "Steel.Effect.Atomic.return", "Steel.GhostMonotonicHigh...
[]
false
true
false
false
false
let witness (#inames: _) (#a: Type) (#q: perm) (#p: Preorder.preorder a) (r: ref a p) (fact: stable_property p) (v: erased a) (_: squash (fact v)) : SteelAtomicUT (witnessed r fact) inames (pts_to r q v) (fun _ -> pts_to r q v) =
let h = witness_exists #_ #_ #(pts_to_body r q v) () in let _ = elim_pure #_ #_ #_ #q r v h in assert (forall h'. compatible pcm_history h h' ==> lift_fact fact h'); lift_fact_is_stable #a #p fact; let w = witness_thunk #_ #_ #(pcm_history #a #p) r (lift_fact fact) h () () in intro_pure_full r v h; rewrite_slprop (pts_...
false
OPLSS.Plain.fst
OPLSS.Plain.reveal
val reveal (p:plain) : GTot AES.plain
val reveal (p:plain) : GTot AES.plain
let reveal (p:plain) : GTot AES.plain = p
{ "file_name": "examples/crypto/OPLSS.Plain.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 22, "start_col": 0, "start_line": 22 }
(* 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", "OPLSS.Ideal.fsti.checked", "OPLSS.Flag.fsti.checked", "OPLSS.AES.fst.checked", "OPLSS.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "OPLSS.Plain.fst" }
[ { "abbrev": false, "full_module": "OPLSS.Ideal", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short...
{ "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: OPLSS.Plain.plain -> Prims.GTot OPLSS.AES.plain
Prims.GTot
[ "sometrivial" ]
[]
[ "OPLSS.Plain.plain", "OPLSS.AES.plain" ]
[]
false
false
false
false
false
let reveal (p: plain) : GTot AES.plain =
p
false
OPLSS.Plain.fst
OPLSS.Plain.hide
val hide (b:AES.plain) : GTot plain
val hide (b:AES.plain) : GTot plain
let hide (b:AES.plain) : GTot plain = b
{ "file_name": "examples/crypto/OPLSS.Plain.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 24, "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", "OPLSS.Ideal.fsti.checked", "OPLSS.Flag.fsti.checked", "OPLSS.AES.fst.checked", "OPLSS.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "OPLSS.Plain.fst" }
[ { "abbrev": false, "full_module": "OPLSS.Ideal", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short...
{ "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: OPLSS.AES.plain -> Prims.GTot OPLSS.Plain.plain
Prims.GTot
[ "sometrivial" ]
[]
[ "OPLSS.AES.plain", "OPLSS.Plain.plain" ]
[]
false
false
false
false
false
let hide (b: AES.plain) : GTot plain =
b
false
OPLSS.Plain.fst
OPLSS.Plain.repr
val repr (p:plain{not (Flag.reveal conf)}) : (b:AES.plain{b == reveal p})
val repr (p:plain{not (Flag.reveal conf)}) : (b:AES.plain{b == reveal p})
let repr (p:plain{not (Flag.reveal conf)}) : (b:AES.plain{b == reveal p}) = p
{ "file_name": "examples/crypto/OPLSS.Plain.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 38, "start_col": 0, "start_line": 36 }
(* 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", "OPLSS.Ideal.fsti.checked", "OPLSS.Flag.fsti.checked", "OPLSS.AES.fst.checked", "OPLSS.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "OPLSS.Plain.fst" }
[ { "abbrev": false, "full_module": "OPLSS.Ideal", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short...
{ "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: OPLSS.Plain.plain{Prims.op_Negation (OPLSS.Flag.reveal OPLSS.Ideal.conf)} -> b: OPLSS.AES.plain{b == OPLSS.Plain.reveal p}
Prims.Tot
[ "total" ]
[]
[ "OPLSS.Plain.plain", "Prims.b2t", "Prims.op_Negation", "OPLSS.Flag.reveal", "OPLSS.Ideal.conf", "OPLSS.AES.plain", "Prims.eq2", "OPLSS.Plain.reveal" ]
[]
false
false
false
false
false
let repr (p: plain{not (Flag.reveal conf)}) : (b: AES.plain{b == reveal p}) =
p
false
OPLSS.Plain.fst
OPLSS.Plain.coerce
val coerce (r:AES.plain{not (Flag.reveal auth)}) : (p:plain{p == hide r})
val coerce (r:AES.plain{not (Flag.reveal auth)}) : (p:plain{p == hide r})
let coerce (r:AES.plain{not (Flag.reveal auth)}) : (p:plain{p == hide r}) = r
{ "file_name": "examples/crypto/OPLSS.Plain.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 42, "start_col": 0, "start_line": 40 }
(* 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", "OPLSS.Ideal.fsti.checked", "OPLSS.Flag.fsti.checked", "OPLSS.AES.fst.checked", "OPLSS.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "OPLSS.Plain.fst" }
[ { "abbrev": false, "full_module": "OPLSS.Ideal", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short...
{ "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: OPLSS.AES.plain{Prims.op_Negation (OPLSS.Flag.reveal OPLSS.Ideal.auth)} -> p: OPLSS.Plain.plain{p == OPLSS.Plain.hide r}
Prims.Tot
[ "total" ]
[]
[ "OPLSS.AES.plain", "Prims.b2t", "Prims.op_Negation", "OPLSS.Flag.reveal", "OPLSS.Ideal.auth", "OPLSS.Plain.plain", "Prims.eq2", "OPLSS.Plain.hide" ]
[]
false
false
false
false
false
let coerce (r: AES.plain{not (Flag.reveal auth)}) : (p: plain{p == hide r}) =
r
false
OPLSS.Plain.fst
OPLSS.Plain.length
val length (p:plain) : (n:nat{n = Seq.length (reveal p)})
val length (p:plain) : (n:nat{n = Seq.length (reveal p)})
let length (p:plain) : (n:nat{n = Seq.length (reveal p)}) = Seq.length p
{ "file_name": "examples/crypto/OPLSS.Plain.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 16, "end_line": 46, "start_col": 0, "start_line": 44 }
(* 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", "OPLSS.Ideal.fsti.checked", "OPLSS.Flag.fsti.checked", "OPLSS.AES.fst.checked", "OPLSS.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "OPLSS.Plain.fst" }
[ { "abbrev": false, "full_module": "OPLSS.Ideal", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short_module": null }, { "abbrev": false, "full_module": "OPLSS", "short...
{ "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: OPLSS.Plain.plain -> n: Prims.nat{n = FStar.Seq.Base.length (OPLSS.Plain.reveal p)}
Prims.Tot
[ "total" ]
[]
[ "OPLSS.Plain.plain", "FStar.Seq.Base.length", "FStar.UInt8.t", "Prims.nat", "Prims.b2t", "Prims.op_Equality", "OPLSS.Plain.reveal" ]
[]
false
false
false
false
false
let length (p: plain) : (n: nat{n = Seq.length (reveal p)}) =
Seq.length p
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.sprot
val sprot : Type
let sprot = p:prot { more p }
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 29, "end_line": 28, "start_col": 0, "start_line": 28 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
Type
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Prims.b2t", "Steel.Channel.Protocol.more" ]
[]
false
false
false
true
true
let sprot =
p: prot{more p}
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.trace_ref
val trace_ref : p: Steel.Channel.Simplex.prot -> Type0
let trace_ref (p:prot) = mref (partial_trace_of p) extended_to
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 38, "start_col": 0, "start_line": 38 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.prot -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.mref", "Steel.Channel.Protocol.partial_trace_of", "Steel.Channel.Protocol.extended_to" ]
[]
false
false
false
true
true
let trace_ref (p: prot) =
mref (partial_trace_of p) extended_to
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.half
val half:perm
val half:perm
let half : perm = half_perm full_perm
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 47, "start_col": 0, "start_line": 47 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Steel.FractionalPermission.perm
Prims.Tot
[ "total" ]
[]
[ "Steel.FractionalPermission.half_perm", "Steel.FractionalPermission.full_perm" ]
[]
false
false
false
true
false
let half:perm =
half_perm full_perm
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.chan_inv_step_p
val chan_inv_step_p (vrecv vsend: chan_val) : prop
val chan_inv_step_p (vrecv vsend: chan_val) : prop
let chan_inv_step_p (vrecv vsend:chan_val) : prop = (vsend.chan_prot == step vrecv.chan_prot vrecv.chan_msg /\ vsend.chan_ctr == vrecv.chan_ctr + 1)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 53, "start_col": 0, "start_line": 51 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
vrecv: Steel.Channel.Simplex.chan_val -> vsend: Steel.Channel.Simplex.chan_val -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.chan_val", "Prims.l_and", "Prims.eq2", "Steel.Channel.Protocol.protocol", "Prims.unit", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_prot", "Steel.Channel.Simplex.step", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_msg", "Prims.int", "Steel.Channel.Simplex....
[]
false
false
false
true
true
let chan_inv_step_p (vrecv vsend: chan_val) : prop =
(vsend.chan_prot == step vrecv.chan_prot vrecv.chan_msg /\ vsend.chan_ctr == vrecv.chan_ctr + 1)
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.mref
val mref : a: Type -> p: FStar.Preorder.preorder a -> Type0
let mref a p = MRef.ref a p
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 37, "start_col": 0, "start_line": 37 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
a: Type -> p: FStar.Preorder.preorder a -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Preorder.preorder", "Steel.MonotonicHigherReference.ref" ]
[]
false
false
false
true
true
let mref a p =
MRef.ref a p
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.chan_inv_step
val chan_inv_step (vrecv vsend: chan_val) : vprop
val chan_inv_step (vrecv vsend: chan_val) : vprop
let chan_inv_step (vrecv vsend:chan_val) : vprop = pure (chan_inv_step_p vrecv vsend)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 56, "start_col": 0, "start_line": 55 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
vrecv: Steel.Channel.Simplex.chan_val -> vsend: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.chan_val", "Steel.Effect.Common.pure", "Steel.Channel.Simplex.chan_inv_step_p", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let chan_inv_step (vrecv vsend: chan_val) : vprop =
pure (chan_inv_step_p vrecv vsend)
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.trace_until_prop
val trace_until_prop (#p: _) (r: trace_ref p) (vr: chan_val) (tr: partial_trace_of p) : vprop
val trace_until_prop (#p: _) (r: trace_ref p) (vr: chan_val) (tr: partial_trace_of p) : vprop
let trace_until_prop #p (r:trace_ref p) (vr:chan_val) (tr: partial_trace_of p) : vprop = MRef.pts_to r full_perm tr `star` pure (until tr == step vr.chan_prot vr.chan_msg)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 65, "start_col": 0, "start_line": 63 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
r: Steel.Channel.Simplex.trace_ref p -> vr: Steel.Channel.Simplex.chan_val -> tr: Steel.Channel.Protocol.partial_trace_of p -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.trace_ref", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Protocol.partial_trace_of", "Steel.Effect.Common.star", "Steel.MonotonicHigherReference.pts_to", "Steel.Channel.Protocol.extended_to", "Steel.FractionalPermission.full_perm", "FStar.Ghos...
[]
false
false
false
false
false
let trace_until_prop #p (r: trace_ref p) (vr: chan_val) (tr: partial_trace_of p) : vprop =
(MRef.pts_to r full_perm tr) `star` (pure (until tr == step vr.chan_prot vr.chan_msg))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.trace_until
val trace_until : r: Steel.Channel.Simplex.trace_ref p -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
let trace_until #p (r:trace_ref p) (vr:chan_val) = h_exists (trace_until_prop r vr)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 34, "end_line": 68, "start_col": 0, "start_line": 67 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
r: Steel.Channel.Simplex.trace_ref p -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.trace_ref", "Steel.Channel.Simplex.chan_val", "Steel.Effect.Atomic.h_exists", "Steel.Channel.Protocol.partial_trace_of", "Steel.Channel.Simplex.trace_until_prop", "Steel.Effect.Common.vprop" ]
[]
false
false
false
false
false
let trace_until #p (r: trace_ref p) (vr: chan_val) =
h_exists (trace_until_prop r vr)
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.chan_inv_recv
val chan_inv_recv : c: Steel.Channel.Simplex.chan_t p -> vsend: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
let chan_inv_recv #p (c:chan_t p) (vsend:chan_val) = h_exists (fun (vrecv:chan_val) -> pts_to c.recv half vrecv `star` trace_until c.trace vrecv `star` chan_inv_cond vsend vrecv)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 74, "start_col": 0, "start_line": 70 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
c: Steel.Channel.Simplex.chan_t p -> vsend: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_t", "Steel.Channel.Simplex.chan_val", "Steel.Effect.Atomic.h_exists", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__proj__Mkchan_t__item__recv", "Steel.Channel.Simplex.half", "Steel.Channel.Simplex.trace...
[]
false
false
false
false
false
let chan_inv_recv #p (c: chan_t p) (vsend: chan_val) =
h_exists (fun (vrecv: chan_val) -> ((pts_to c.recv half vrecv) `star` (trace_until c.trace vrecv)) `star` (chan_inv_cond vsend vrecv))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.chan_inv
val chan_inv (#p: _) (c: chan_t p) : vprop
val chan_inv (#p: _) (c: chan_t p) : vprop
let chan_inv #p (c:chan_t p) : vprop = h_exists (fun (vsend:chan_val) -> pts_to c.send half vsend `star` chan_inv_recv c vsend)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 58, "end_line": 78, "start_col": 0, "start_line": 76 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
c: Steel.Channel.Simplex.chan_t p -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_t", "Steel.Effect.Atomic.h_exists", "Steel.Channel.Simplex.chan_val", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__proj__Mkchan_t__item__send", "Steel.Channel.Simplex.half", "Steel.Channel.Simplex.chan_...
[]
false
false
false
false
false
let chan_inv #p (c: chan_t p) : vprop =
h_exists (fun (vsend: chan_val) -> (pts_to c.send half vsend) `star` (chan_inv_recv c vsend))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.in_state_prop
val in_state_prop (p: prot) (vsend: chan_val) : prop
val in_state_prop (p: prot) (vsend: chan_val) : prop
let in_state_prop (p:prot) (vsend:chan_val) : prop = p == step vsend.chan_prot vsend.chan_msg
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 131, "start_col": 0, "start_line": 130 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.prot -> vsend: Steel.Channel.Simplex.chan_val -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_val", "Prims.eq2", "Steel.Channel.Protocol.protocol", "Prims.unit", "Steel.Channel.Simplex.step", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_prot", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_msg", "Prims.prop" ]
[]
false
false
false
true
true
let in_state_prop (p: prot) (vsend: chan_val) : prop =
p == step vsend.chan_prot vsend.chan_msg
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.init_chan_val
val init_chan_val : p: Steel.Channel.Simplex.prot -> Type
let init_chan_val (p:prot) = v:chan_val {v.chan_prot == msg unit p}
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 67, "end_line": 166, "start_col": 0, "start_line": 166 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.prot -> Type
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_val", "Prims.eq2", "Steel.Channel.Protocol.prot", "Prims.unit", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_prot", "Steel.Channel.Simplex.msg", "Prims.eqtype" ]
[]
false
false
false
true
true
let init_chan_val (p: prot) =
v: chan_val{v.chan_prot == msg unit p}
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.in_state
val in_state : r: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> p: Steel.Channel.Simplex.prot -> Steel.Effect.Common.vprop
let in_state (r:ref chan_val) (p:prot) = h_exists (fun (vsend:chan_val) -> pts_to r half vsend `star` in_state_slprop p vsend)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 55, "end_line": 147, "start_col": 0, "start_line": 145 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
r: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> p: Steel.Channel.Simplex.prot -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.HigherReference.ref", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.prot", "Steel.Effect.Atomic.h_exists", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.half", "Steel.Channel.Simplex.in_state_slprop", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let in_state (r: ref chan_val) (p: prot) =
h_exists (fun (vsend: chan_val) -> (pts_to r half vsend) `star` (in_state_slprop p vsend))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.chan_val_p
val chan_val_p : p: Steel.Channel.Simplex.prot -> Type
let chan_val_p (p:prot) = (vs0:chan_val { in_state_prop p vs0 })
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 64, "end_line": 159, "start_col": 0, "start_line": 159 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.prot -> Type
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.in_state_prop" ]
[]
false
false
false
true
true
let chan_val_p (p: prot) =
(vs0: chan_val{in_state_prop p vs0})
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.in_state_slprop
val in_state_slprop (p: prot) (vsend: chan_val) : vprop
val in_state_slprop (p: prot) (vsend: chan_val) : vprop
let in_state_slprop (p:prot) (vsend:chan_val) : vprop = pure (in_state_prop p vsend)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 84, "end_line": 143, "start_col": 0, "start_line": 143 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.prot -> vsend: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_val", "Steel.Effect.Common.pure", "Steel.Channel.Simplex.in_state_prop", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let in_state_slprop (p: prot) (vsend: chan_val) : vprop =
pure (in_state_prop p vsend)
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.receiver
val receiver (#p:prot) (c:chan p) (next_action:prot) : vprop
val receiver (#p:prot) (c:chan p) (next_action:prot) : vprop
let receiver #q (c:chan q) (p:prot) = in_state c.chan_chan.recv p
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 65, "end_line": 150, "start_col": 0, "start_line": 150 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
c: Steel.Channel.Simplex.chan p -> next_action: Steel.Channel.Simplex.prot -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan", "Steel.Channel.Simplex.in_state", "Steel.Channel.Simplex.__proj__Mkchan_t__item__recv", "Steel.Channel.Simplex.__proj__Mkchan__item__chan_chan", "Steel.Effect.Common.vprop" ]
[]
false
false
false
false
false
let receiver #q (c: chan q) (p: prot) =
in_state c.chan_chan.recv p
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.sender
val sender (#p:prot) (c:chan p) (next_action:prot) : vprop
val sender (#p:prot) (c:chan p) (next_action:prot) : vprop
let sender #q (c:chan q) (p:prot) = in_state c.chan_chan.send p
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 63, "end_line": 149, "start_col": 0, "start_line": 149 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
c: Steel.Channel.Simplex.chan p -> next_action: Steel.Channel.Simplex.prot -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan", "Steel.Channel.Simplex.in_state", "Steel.Channel.Simplex.__proj__Mkchan_t__item__send", "Steel.Channel.Simplex.__proj__Mkchan__item__chan_chan", "Steel.Effect.Common.vprop" ]
[]
false
false
false
false
false
let sender #q (c: chan q) (p: prot) =
in_state c.chan_chan.send p
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.step
val step : s: Steel.Channel.Simplex.sprot -> x: Steel.Channel.Protocol.msg_t s -> Steel.Channel.Protocol.protocol Prims.unit
let step (s:sprot) (x:msg_t s) = step s x
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 41, "end_line": 49, "start_col": 0, "start_line": 49 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
s: Steel.Channel.Simplex.sprot -> x: Steel.Channel.Protocol.msg_t s -> Steel.Channel.Protocol.protocol Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.sprot", "Steel.Channel.Protocol.msg_t", "Steel.Channel.Protocol.step", "Prims.unit", "Steel.Channel.Protocol.protocol" ]
[]
false
false
false
false
false
let step (s: sprot) (x: msg_t s) =
step s x
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.chan_t_sr
val chan_t_sr : p: Steel.Channel.Simplex.prot -> send: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> recv: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> Type0
let chan_t_sr (p:prot) (send recv:ref chan_val) = (c:chan_t p{c.send == send /\ c.recv == recv})
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 96, "end_line": 183, "start_col": 0, "start_line": 183 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.prot -> send: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> recv: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.HigherReference.ref", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.chan_t", "Prims.l_and", "Prims.eq2", "Steel.Channel.Simplex.__proj__Mkchan_t__item__send", "Steel.Channel.Simplex.__proj__Mkchan_t__item__recv" ]
[]
false
false
false
true
true
let chan_t_sr (p: prot) (send recv: ref chan_val) =
(c: chan_t p {c.send == send /\ c.recv == recv})
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.msg
val msg : t: _ -> p: Steel.Channel.Protocol.prot _ -> Steel.Channel.Protocol.prot _
let msg t p = Msg Send unit (fun _ -> p)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 165, "start_col": 0, "start_line": 165 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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: _ -> p: Steel.Channel.Protocol.prot _ -> Steel.Channel.Protocol.prot _
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Protocol.prot", "Steel.Channel.Protocol.Msg", "Steel.Channel.Protocol.Send", "Prims.unit" ]
[]
false
false
false
true
false
let msg t p =
Msg Send unit (fun _ -> p)
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.send_recv_in_sync
val send_recv_in_sync (r: ref chan_val) (p: prot{more p}) (#q: _) (c: chan_t q) (vs vr: chan_val) : vprop
val send_recv_in_sync (r: ref chan_val) (p: prot{more p}) (#q: _) (c: chan_t q) (vs vr: chan_val) : vprop
let send_recv_in_sync (r:ref chan_val) (p:prot{more p}) #q (c:chan_t q) (vs vr:chan_val) : vprop = (pts_to c.send half vs `star` pts_to c.recv half vr `star` trace_until c.trace vr `star` pure (vs == vr) `star` in_state r p)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 249, "start_col": 0, "start_line": 244 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
r: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> p: Steel.Channel.Simplex.prot{Steel.Channel.Protocol.more p} -> c: Steel.Channel.Simplex.chan_t q -> vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.HigherReference.ref", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.prot", "Prims.b2t", "Steel.Channel.Protocol.more", "Steel.Channel.Simplex.chan_t", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__proj__Mkchan_t__item__send", "Steel.Channel....
[]
false
false
false
false
false
let send_recv_in_sync (r: ref chan_val) (p: prot{more p}) #q (c: chan_t q) (vs: chan_val) (vr: chan_val) : vprop =
(((((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) `star` (pure (vs == vr))) `star` (in_state r p))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.sender_ahead
val sender_ahead (r: ref chan_val) (p: prot{more p}) (#q: _) (c: chan_t q) (vs vr: chan_val) : vprop
val sender_ahead (r: ref chan_val) (p: prot{more p}) (#q: _) (c: chan_t q) (vs vr: chan_val) : vprop
let sender_ahead (r:ref chan_val) (p:prot{more p}) #q (c:chan_t q) (vs vr:chan_val) : vprop = (pts_to c.send half vs `star` pts_to c.recv half vr `star` trace_until c.trace vr `star` chan_inv_step vr vs `star` in_state r p)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 257, "start_col": 0, "start_line": 252 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
r: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> p: Steel.Channel.Simplex.prot{Steel.Channel.Protocol.more p} -> c: Steel.Channel.Simplex.chan_t q -> vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.HigherReference.ref", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.prot", "Prims.b2t", "Steel.Channel.Protocol.more", "Steel.Channel.Simplex.chan_t", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__proj__Mkchan_t__item__send", "Steel.Channel....
[]
false
false
false
false
false
let sender_ahead (r: ref chan_val) (p: prot{more p}) #q (c: chan_t q) (vs: chan_val) (vr: chan_val) : vprop =
(((((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) `star` (chan_inv_step vr vs)) `star` (in_state r p))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.send_pre_available
val send_pre_available : p: Steel.Channel.Simplex.sprot -> c: Steel.Channel.Simplex.chan_t q -> vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
let send_pre_available (p:sprot) #q (c:chan_t q) (vs vr:chan_val) = send_recv_in_sync c.send p c vs vr
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 103, "end_line": 271, "start_col": 0, "start_line": 271 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.sprot -> c: Steel.Channel.Simplex.chan_t q -> vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.sprot", "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_t", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.send_recv_in_sync", "Steel.Channel.Simplex.__proj__Mkchan_t__item__send", "Steel.Effect.Common.vprop" ]
[]
false
false
false
false
false
let send_pre_available (p: sprot) #q (c: chan_t q) (vs: chan_val) (vr: chan_val) =
send_recv_in_sync c.send p c vs vr
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.next_msg_t
val next_msg_t : x: Steel.Channel.Protocol.partial_trace_of p -> Type0
let next_msg_t (#p:prot) (x:partial_trace_of p) = P.next_msg_t x.to
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 67, "end_line": 296, "start_col": 0, "start_line": 296 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
x: Steel.Channel.Protocol.partial_trace_of p -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Protocol.partial_trace_of", "Steel.Channel.Protocol.next_msg_t", "Prims.unit", "Steel.Channel.Protocol.__proj__Mkpartial_trace_of__item__to" ]
[]
false
false
false
false
true
let next_msg_t (#p: prot) (x: partial_trace_of p) =
P.next_msg_t x.to
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.extensible
val extensible : x: Steel.Channel.Protocol.partial_trace_of p -> Prims.GTot Prims.bool
let extensible (#p:prot) (x:partial_trace_of p) = P.more x.to
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 295, "start_col": 0, "start_line": 295 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
x: Steel.Channel.Protocol.partial_trace_of p -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Protocol.partial_trace_of", "Steel.Channel.Protocol.more", "Steel.Channel.Protocol.__proj__Mkpartial_trace_of__item__to", "Prims.bool" ]
[]
false
false
false
false
false
let extensible (#p: prot) (x: partial_trace_of p) =
P.more x.to
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.chan_inv_cond
val chan_inv_cond (vsend vrecv: chan_val) : vprop
val chan_inv_cond (vsend vrecv: chan_val) : vprop
let chan_inv_cond (vsend:chan_val) (vrecv:chan_val) : vprop = if vsend.chan_ctr = vrecv.chan_ctr then pure (vsend == vrecv) else chan_inv_step vrecv vsend
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 34, "end_line": 61, "start_col": 0, "start_line": 58 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
vsend: Steel.Channel.Simplex.chan_val -> vrecv: Steel.Channel.Simplex.chan_val -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.chan_val", "Prims.op_Equality", "Prims.nat", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_ctr", "Steel.Effect.Common.pure", "Prims.eq2", "Prims.bool", "Steel.Channel.Simplex.chan_inv_step", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let chan_inv_cond (vsend vrecv: chan_val) : vprop =
if vsend.chan_ctr = vrecv.chan_ctr then pure (vsend == vrecv) else chan_inv_step vrecv vsend
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.history_p'
val history_p' (#p: prot) (t s: partial_trace_of p) : prop
val history_p' (#p: prot) (t s: partial_trace_of p) : prop
let history_p' (#p:prot) (t:partial_trace_of p) (s:partial_trace_of p) : prop = t `extended_to` s /\ True
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 412, "start_col": 0, "start_line": 411 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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: Steel.Channel.Protocol.partial_trace_of p -> s: Steel.Channel.Protocol.partial_trace_of p -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Protocol.partial_trace_of", "Prims.l_and", "Steel.Channel.Protocol.extended_to", "Prims.l_True", "Prims.prop" ]
[]
false
false
false
false
true
let history_p' (#p: prot) (t s: partial_trace_of p) : prop =
t `extended_to` s /\ True
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.history
val history (#p:prot) (c:chan p) (t:partial_trace_of p) : Type0
val history (#p:prot) (c:chan p) (t:partial_trace_of p) : Type0
let history (#p:prot) (c:chan p) (t:partial_trace_of p) : Type0 = MRef.witnessed c.chan_chan.trace (history_p t)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 418, "start_col": 0, "start_line": 417 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
c: Steel.Channel.Simplex.chan p -> t: Steel.Channel.Protocol.partial_trace_of p -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan", "Steel.Channel.Protocol.partial_trace_of", "Steel.MonotonicHigherReference.witnessed", "Steel.Channel.Protocol.extended_to", "Steel.Channel.Simplex.__proj__Mkchan_t__item__trace", "Steel.Channel.Simplex.__proj__Mkchan__item__chan_chan", "Stee...
[]
false
false
false
false
true
let history (#p: prot) (c: chan p) (t: partial_trace_of p) : Type0 =
MRef.witnessed c.chan_chan.trace (history_p t)
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.next_chan_val
val next_chan_val (#p: sprot) (x: msg_t p) (vs0: chan_val{in_state_prop p vs0}) : Tot (vs: chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs})
val next_chan_val (#p: sprot) (x: msg_t p) (vs0: chan_val{in_state_prop p vs0}) : Tot (vs: chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs})
let next_chan_val (#p:sprot) (x:msg_t p) (vs0:chan_val { in_state_prop p vs0 }) : Tot (vs:chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs}) = { chan_prot = (step vs0.chan_prot vs0.chan_msg); chan_msg = x; chan_ctr = vs0.chan_ctr + 1 }
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 140, "start_col": 0, "start_line": 134 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
x: Steel.Channel.Protocol.msg_t p -> vs0: Steel.Channel.Simplex.chan_val{Steel.Channel.Simplex.in_state_prop p vs0} -> vs: Steel.Channel.Simplex.chan_val { Steel.Channel.Simplex.in_state_prop (Steel.Channel.Simplex.step p x) vs /\ Steel.Channel.Simplex.chan_inv_step_p vs0 vs }
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.sprot", "Steel.Channel.Protocol.msg_t", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.in_state_prop", "Steel.Channel.Simplex.Mkchan_val", "Steel.Channel.Simplex.step", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_prot", "Steel.Channel.Simplex.__proj__Mkchan_v...
[]
false
false
false
false
false
let next_chan_val (#p: sprot) (x: msg_t p) (vs0: chan_val{in_state_prop p vs0}) : Tot (vs: chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs}) =
{ chan_prot = (step vs0.chan_prot vs0.chan_msg); chan_msg = x; chan_ctr = vs0.chan_ctr + 1 }
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.initial_trace
val initial_trace (p: prot) : (q: partial_trace_of p {until q == p})
val initial_trace (p: prot) : (q: partial_trace_of p {until q == p})
let initial_trace (p:prot) : (q:partial_trace_of p {until q == p}) = { to = p; tr=Waiting p}
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 169, "start_col": 0, "start_line": 168 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Steel.Channel.Simplex.prot -> q: Steel.Channel.Protocol.partial_trace_of p {Steel.Channel.Protocol.until q == p}
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Protocol.Mkpartial_trace_of", "Steel.Channel.Protocol.Waiting", "Steel.Channel.Protocol.partial_trace_of", "Prims.eq2", "Steel.Channel.Protocol.protocol", "Prims.unit", "Steel.Channel.Protocol.until" ]
[]
false
false
false
false
false
let initial_trace (p: prot) : (q: partial_trace_of p {until q == p}) =
{ to = p; tr = Waiting p }
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.u1024
val u1024 : Type0
let u1024 = lbuffer uint64 16ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 26, "start_col": 0, "start_line": 26 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let u1024 =
lbuffer uint64 16ul
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.felem
val felem : Type0
let felem = lbuffer uint64 4ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 28, "start_col": 0, "start_line": 28 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let felem =
lbuffer uint64 4ul
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.u256
val u256 : Type0
let u256 = lbuffer uint64 4ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 24, "start_col": 0, "start_line": 24 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let u256 =
lbuffer uint64 4ul
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.u512
val u512 : Type0
let u512 = lbuffer uint64 8ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 25, "start_col": 0, "start_line": 25 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let u512 =
lbuffer uint64 8ul
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.felem2
val felem2 : Type0
let felem2 = lbuffer uint64 8ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 29, "start_col": 0, "start_line": 29 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let felem2 =
lbuffer uint64 8ul
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.next_trace
val next_trace: #p: _ -> vr: chan_val -> vs: chan_val -> tr: partial_trace_of p -> s: squash (until tr == step vr.chan_prot vr.chan_msg) -> squash (chan_inv_step_p vr vs) -> (ts: partial_trace_of p {until ts == step vs.chan_prot vs.chan_msg})
val next_trace: #p: _ -> vr: chan_val -> vs: chan_val -> tr: partial_trace_of p -> s: squash (until tr == step vr.chan_prot vr.chan_msg) -> squash (chan_inv_step_p vr vs) -> (ts: partial_trace_of p {until ts == step vs.chan_prot vs.chan_msg})
let next_trace #p (vr:chan_val) (vs:chan_val) (tr:partial_trace_of p) (s:squash (until tr == step vr.chan_prot vr.chan_msg)) (_:squash (chan_inv_step_p vr vs)) : (ts:partial_trace_of p { until ts == step vs.chan_prot vs.chan_msg }) = let msg : next_msg_t tr = ...
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 305, "start_col": 0, "start_line": 298 }
(* 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.Utils.fst.checked", "Steel.SpinLock.fsti.checked", "Steel.MonotonicHigherReference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.HigherReference.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "H" }, { "abbrev": true, "full_module": "Steel.MonotonicHigherReference", "short_module": "MRef" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "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
vr: Steel.Channel.Simplex.chan_val -> vs: Steel.Channel.Simplex.chan_val -> tr: Steel.Channel.Protocol.partial_trace_of p -> s: Prims.squash (Steel.Channel.Protocol.until tr == Steel.Channel.Simplex.step (Mkchan_val?.chan_prot vr) (Mkchan_val?.chan_msg vr)) -> _: Prims.squash (Steel...
Prims.Tot
[ "total" ]
[]
[ "Steel.Channel.Protocol.protocol", "Prims.unit", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Protocol.partial_trace_of", "Prims.squash", "Prims.eq2", "Steel.Channel.Protocol.until", "Steel.Channel.Simplex.step", "Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_prot", "Steel.Channel.Simpl...
[]
false
false
false
false
false
let next_trace #p (vr: chan_val) (vs: chan_val) (tr: partial_trace_of p) (s: squash (until tr == step vr.chan_prot vr.chan_msg)) (_: squash (chan_inv_step_p vr vs)) : (ts: partial_trace_of p {until ts == step vs.chan_prot vs.chan_msg}) =
let msg:next_msg_t tr = vs.chan_msg in assert (extensible tr); extend_partial_trace tr msg
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.liveness_inv
val liveness_inv : Type
let liveness_inv = i:hinv { forall l h0 h1. {:pattern (i h1); (modifies l h0 h1)} i h0 /\ modifies l h0 h1 /\ address_liveness_insensitive_locs `loc_includes` l ==> i h1 }
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 1, "end_line": 23, "start_col": 0, "start_line": 21 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.hinv", "Prims.l_Forall", "LowStar.Monotonic.Buffer.loc", "FStar.Monotonic.HyperStack.mem", "Prims.l_imp", "Prims.l_and", "LowStar.Monotonic.Buffer.modifies", "LowStar.Monotonic.Buffer.loc_includes", "LowStar.Monotonic.Buffer.address_liveness_insensitive_locs" ]
[]
false
false
false
true
true
let liveness_inv =
i: hinv { forall l h0 h1. {:pattern (i h1); (modifies l h0 h1)} i h0 /\ modifies l h0 h1 /\ address_liveness_insensitive_locs `loc_includes` l ==> i h1 }
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.true_inv
val true_inv : slice_inv
val true_inv : slice_inv
let true_inv : slice_inv = F.on HS.mem #prop (fun _ -> True)
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 60, "end_line": 29, "start_col": 0, "start_line": 29 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverParse3d.Actions.Base.slice_inv
Prims.Tot
[ "total" ]
[]
[ "FStar.FunctionalExtensionality.on", "FStar.Monotonic.HyperStack.mem", "Prims.prop", "Prims.l_True", "EverParse3d.Actions.Base.slice_inv" ]
[]
false
false
false
true
false
let true_inv:slice_inv =
F.on HS.mem #prop (fun _ -> True)
false
CQueue.fst
CQueue.llist_fragment_head_to_tail
val llist_fragment_head_to_tail (#opened: _) (#a: Type) (l: Ghost.erased (list a)) (phead: ref (ccell_ptrvalue a)) (head: ccell_ptrvalue a) : SteelGhost (Ghost.erased (ref (ccell_ptrvalue a))) opened ((vptr phead) `star` (llist_fragment_head l phead head)) (fun res ->...
val llist_fragment_head_to_tail (#opened: _) (#a: Type) (l: Ghost.erased (list a)) (phead: ref (ccell_ptrvalue a)) (head: ccell_ptrvalue a) : SteelGhost (Ghost.erased (ref (ccell_ptrvalue a))) opened ((vptr phead) `star` (llist_fragment_head l phead head)) (fun res ->...
let rec llist_fragment_head_to_tail (#opened: _) (#a: Type) (l: Ghost.erased (list a)) (phead: ref (ccell_ptrvalue a)) (head: ccell_ptrvalue a) : SteelGhost (Ghost.erased (ref (ccell_ptrvalue a))) opened (vptr phead `star` llist_fragment_head l phead head) (fun res -> llist_fragment_tail l phead `star...
{ "file_name": "share/steel/examples/steel/CQueue.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 1033, "start_col": 0, "start_line": 983 }
module CQueue open CQueue.LList #set-options "--ide_id_info_off" //Re-define squash, since this module explicitly //replies on proving equalities of the form `t_of v == squash p` //which are delicate in the presence of optimizations that //unfold `Prims.squash (p /\ q)`to _:unit{p /\ q} //See Issue #2496 let squash (...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "CQueue.LList.fsti.checked" ], "interface_file": true, "source...
[ { "abbrev": false, "full_module": "CQueue.LList", "short_module": null }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "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: FStar.Ghost.erased (Prims.list a) -> phead: Steel.Reference.ref (CQueue.Cell.ccell_ptrvalue a) -> head: CQueue.Cell.ccell_ptrvalue a -> Steel.Effect.Atomic.SteelGhost (FStar.Ghost.erased (Steel.Reference.ref (CQueue.Cell.ccell_ptrvalue a)))
Steel.Effect.Atomic.SteelGhost
[ "" ]
[]
[ "Steel.Memory.inames", "FStar.Ghost.erased", "Prims.list", "Steel.Reference.ref", "CQueue.Cell.ccell_ptrvalue", "Prims.uu___is_Nil", "FStar.Ghost.reveal", "Prims.unit", "Steel.Effect.Atomic.change_equal_slprop", "Steel.Reference.vptr", "CQueue.intro_llist_fragment_tail_nil", "CQueue.elim_llist...
[ "recursion" ]
false
true
false
false
false
let rec llist_fragment_head_to_tail (#opened: _) (#a: Type) (l: Ghost.erased (list a)) (phead: ref (ccell_ptrvalue a)) (head: ccell_ptrvalue a) : SteelGhost (Ghost.erased (ref (ccell_ptrvalue a))) opened ((vptr phead) `star` (llist_fragment_head l phead head)) (fun re...
if Nil? l then let ptail = Ghost.hide phead in let gh = gget (vptr phead) in assert (Ghost.reveal gh == head); elim_llist_fragment_head_nil l phead head; intro_llist_fragment_tail_nil l phead; change_equal_slprop (vptr phead) (vptr ptail); ptail else (intro_llist_fragment_tail_nil [] phead; change_e...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.hinv
val hinv : Type
let hinv = HS.mem ^-> prop
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 26, "end_line": 20, "start_col": 0, "start_line": 20 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type
Prims.Tot
[ "total" ]
[]
[ "FStar.FunctionalExtensionality.op_Hat_Subtraction_Greater", "FStar.Monotonic.HyperStack.mem", "Prims.prop" ]
[]
false
false
false
true
true
let hinv =
HS.mem ^-> prop
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.mem_inv
val mem_inv : Type
let mem_inv = liveness_inv
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 24, "start_col": 0, "start_line": 24 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.liveness_inv" ]
[]
false
false
false
true
true
let mem_inv =
liveness_inv
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.inv_implies
val inv_implies (inv0 inv1: slice_inv) : Tot prop
val inv_implies (inv0 inv1: slice_inv) : Tot prop
let inv_implies (inv0 inv1:slice_inv) = forall h. inv0 h ==> inv1 h
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 28, "start_col": 0, "start_line": 26 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
inv0: EverParse3d.Actions.Base.slice_inv -> inv1: EverParse3d.Actions.Base.slice_inv -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.slice_inv", "Prims.l_Forall", "FStar.Monotonic.HyperStack.mem", "Prims.l_imp", "Prims.prop" ]
[]
false
false
false
true
true
let inv_implies (inv0 inv1: slice_inv) =
forall h. inv0 h ==> inv1 h
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.slice_inv
val slice_inv : Type u#1
val slice_inv : Type u#1
let slice_inv = mem_inv
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 23, "end_line": 25, "start_col": 0, "start_line": 25 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.mem_inv" ]
[]
false
false
false
true
true
let slice_inv =
mem_inv
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.eloc
val eloc : Type0
val eloc : Type0
let eloc = (l: FStar.Ghost.erased B.loc { B.address_liveness_insensitive_locs `B.loc_includes` l })
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 99, "end_line": 31, "start_col": 0, "start_line": 31 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "LowStar.Monotonic.Buffer.loc", "LowStar.Monotonic.Buffer.loc_includes", "LowStar.Monotonic.Buffer.address_liveness_insensitive_locs", "FStar.Ghost.reveal" ]
[]
false
false
false
true
true
let eloc =
(l: FStar.Ghost.erased B.loc {B.address_liveness_insensitive_locs `B.loc_includes` l})
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.eloc_includes
val eloc_includes (l1 l2: eloc) : Tot prop
val eloc_includes (l1 l2: eloc) : Tot prop
let eloc_includes (l1 l2:eloc) = B.loc_includes l1 l2 /\ True
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 61, "end_line": 34, "start_col": 0, "start_line": 34 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: EverParse3d.Actions.Base.eloc -> l2: EverParse3d.Actions.Base.eloc -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.eloc", "Prims.l_and", "LowStar.Monotonic.Buffer.loc_includes", "FStar.Ghost.reveal", "LowStar.Monotonic.Buffer.loc", "Prims.l_True", "Prims.prop" ]
[]
false
false
false
true
true
let eloc_includes (l1 l2: eloc) =
B.loc_includes l1 l2 /\ True
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.eloc_disjoint
val eloc_disjoint (l1 l2: eloc) : Tot prop
val eloc_disjoint (l1 l2: eloc) : Tot prop
let eloc_disjoint (l1 l2:eloc) = B.loc_disjoint l1 l2 /\ True
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 61, "end_line": 35, "start_col": 0, "start_line": 35 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: EverParse3d.Actions.Base.eloc -> l2: EverParse3d.Actions.Base.eloc -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.eloc", "Prims.l_and", "LowStar.Monotonic.Buffer.loc_disjoint", "FStar.Ghost.reveal", "LowStar.Monotonic.Buffer.loc", "Prims.l_True", "Prims.prop" ]
[]
false
false
false
true
true
let eloc_disjoint (l1 l2: eloc) =
B.loc_disjoint l1 l2 /\ True
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.fevalh
val fevalh (h: mem) (f: felem) : GTot P.elem
val fevalh (h: mem) (f: felem) : GTot P.elem
let fevalh (h:mem) (f:felem) : GTot P.elem = (as_nat h f) % P.prime
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 41, "start_col": 0, "start_line": 41 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Field64.felem -> Prims.GTot Spec.Curve25519.elem
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Field64.felem", "Prims.op_Modulus", "Hacl.Impl.Curve25519.Field64.as_nat", "Spec.Curve25519.prime", "Spec.Curve25519.elem" ]
[]
false
false
false
false
false
let fevalh (h: mem) (f: felem) : GTot P.elem =
(as_nat h f) % P.prime
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.as_nat
val as_nat (h: mem) (e: felem) : GTot nat
val as_nat (h: mem) (e: felem) : GTot nat
let as_nat (h:mem) (e:felem) : GTot nat = let s = as_seq h e in let s0 = s.[0] in let s1 = s.[1] in let s2 = s.[2] in let s3 = s.[3] in S.as_nat4 (s0, s1, s2, s3)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 38, "start_col": 0, "start_line": 32 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Field64.felem -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Field64.felem", "Hacl.Spec.Curve25519.Field64.Definition.as_nat4", "FStar.Pervasives.Native.Mktuple4", "Lib.IntTypes.uint64", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.eq2", "FStar.Seq.Base.index", "Lib.Sequence.t...
[]
false
false
false
false
false
let as_nat (h: mem) (e: felem) : GTot nat =
let s = as_seq h e in let s0 = s.[ 0 ] in let s1 = s.[ 1 ] in let s2 = s.[ 2 ] in let s3 = s.[ 3 ] in S.as_nat4 (s0, s1, s2, s3)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.disjointness_pre
val disjointness_pre : Type u#1
val disjointness_pre : Type u#1
let disjointness_pre = prop
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 50, "start_col": 0, "start_line": 50 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type
Prims.Tot
[ "total" ]
[]
[ "Prims.prop" ]
[]
false
false
false
true
true
let disjointness_pre =
prop
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.disjointness_trivial
val disjointness_trivial : disjointness_pre
val disjointness_trivial : disjointness_pre
let disjointness_trivial = True
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 31, "end_line": 51, "start_col": 0, "start_line": 51 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverParse3d.Actions.Base.disjointness_pre
Prims.Tot
[ "total" ]
[]
[ "Prims.l_True" ]
[]
false
false
false
true
false
let disjointness_trivial =
True
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.disjoint
val disjoint (l1 l2:eloc) : disjointness_pre
val disjoint (l1 l2:eloc) : disjointness_pre
let disjoint l1 l2 = eloc_disjoint l1 l2
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 40, "end_line": 52, "start_col": 0, "start_line": 52 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: EverParse3d.Actions.Base.eloc -> l2: EverParse3d.Actions.Base.eloc -> EverParse3d.Actions.Base.disjointness_pre
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.eloc", "EverParse3d.Actions.Base.eloc_disjoint", "EverParse3d.Actions.Base.disjointness_pre" ]
[]
false
false
false
true
false
let disjoint l1 l2 =
eloc_disjoint l1 l2
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.set_zero
val set_zero: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 0)
val set_zero: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 0)
let set_zero f = f.(0ul) <- u64 0; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 149, "start_col": 0, "start_line": 145 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "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.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field64.felem", "Lib.Buffer.op_Array_Assignment", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.u64", "Prims.unit" ]
[]
false
true
false
false
false
let set_zero f =
f.(0ul) <- u64 0; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.imp_disjointness
val imp_disjointness (d1 d2:disjointness_pre) : prop
val imp_disjointness (d1 d2:disjointness_pre) : prop
let imp_disjointness p1 p2 = p1 ==> p2
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 54, "start_col": 0, "start_line": 54 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d1: EverParse3d.Actions.Base.disjointness_pre -> d2: EverParse3d.Actions.Base.disjointness_pre -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.disjointness_pre", "Prims.l_imp", "Prims.prop" ]
[]
false
false
false
true
true
let imp_disjointness p1 p2 =
p1 ==> p2
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.conj_disjointness
val conj_disjointness (d0 d1:disjointness_pre) : disjointness_pre
val conj_disjointness (d0 d1:disjointness_pre) : disjointness_pre
let conj_disjointness p1 p2 = p1 /\ p2
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 53, "start_col": 0, "start_line": 53 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d0: EverParse3d.Actions.Base.disjointness_pre -> d1: EverParse3d.Actions.Base.disjointness_pre -> EverParse3d.Actions.Base.disjointness_pre
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.disjointness_pre", "Prims.l_and" ]
[]
false
false
false
true
false
let conj_disjointness p1 p2 =
p1 /\ p2
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.bpointer
val bpointer (a: Type0) : Tot Type0
val bpointer (a: Type0) : Tot Type0
let bpointer a = B.pointer a
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 28, "end_line": 112, "start_col": 0, "start_line": 112 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.pointer" ]
[]
false
false
false
true
true
let bpointer a =
B.pointer a
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.load_felem
val load_felem: f:felem -> u64s:lbuffer uint64 4ul -> Stack unit (requires fun h -> live h u64s /\ live h f /\ disjoint u64s f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == BSeq.nat_from_intseq_le (as_seq h0 u64s))
val load_felem: f:felem -> u64s:lbuffer uint64 4ul -> Stack unit (requires fun h -> live h u64s /\ live h f /\ disjoint u64s f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == BSeq.nat_from_intseq_le (as_seq h0 u64s))
let load_felem f u64s = let h0 = ST.get () in Hacl.Impl.Curve25519.Lemmas.lemma_nat_from_uints64_le_4 (as_seq h0 u64s); f.(0ul) <- u64s.(0ul); f.(1ul) <- u64s.(1ul); f.(2ul) <- u64s.(2ul); f.(3ul) <- u64s.(3ul)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 72, "start_col": 0, "start_line": 66 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "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.Impl.Curve25519.Field64.felem -> u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field64.felem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.Buffer.op_Array_Assignment", "Prims.unit", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.Buffer.op_Array_Access", "Lib.Buffer.MUT", "Hacl.Impl.Curve25519.Lem...
[]
false
true
false
false
false
let load_felem f u64s =
let h0 = ST.get () in Hacl.Impl.Curve25519.Lemmas.lemma_nat_from_uints64_le_4 (as_seq h0 u64s); f.(0ul) <- u64s.(0ul); f.(1ul) <- u64s.(1ul); f.(2ul) <- u64s.(2ul); f.(3ul) <- u64s.(3ul)
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.create_felem
val create_felem: unit -> StackInline felem (requires fun _ -> True) (ensures fun h0 f h1 -> stack_allocated f h0 h1 (Seq.create 4 (u64 0)) /\ as_nat h1 f == 0)
val create_felem: unit -> StackInline felem (requires fun _ -> True) (ensures fun h0 f h1 -> stack_allocated f h0 h1 (Seq.create 4 (u64 0)) /\ as_nat h1 f == 0)
let create_felem () = create 4ul (u64 0)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 52, "start_col": 0, "start_line": 52 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.StackInline Hacl.Impl.Curve25519.Field64.felem
FStar.HyperStack.ST.StackInline
[]
[]
[ "Prims.unit", "Lib.Buffer.create", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.u64", "Lib.Buffer.lbuffer", "Hacl.Impl.Curve25519.Field64.felem" ]
[]
false
true
false
false
false
let create_felem () =
create 4ul (u64 0)
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.set_one
val set_one: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 1)
val set_one: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 1)
let set_one f = f.(0ul) <- u64 1; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 164, "start_col": 0, "start_line": 160 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "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.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field64.felem", "Lib.Buffer.op_Array_Assignment", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.u64", "Prims.unit" ]
[]
false
true
false
false
false
let set_one f =
f.(0ul) <- u64 1; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.copy_felem
val copy_felem: f1:felem -> f2:felem -> Stack unit (requires fun h -> live h f1 /\ live h f2 /\ disjoint f1 f2) (ensures fun h0 _ h1 -> modifies (loc f1) h0 h1 /\ as_seq h1 f1 == as_seq h0 f2)
val copy_felem: f1:felem -> f2:felem -> Stack unit (requires fun h -> live h f1 /\ live h f2 /\ disjoint f1 f2) (ensures fun h0 _ h1 -> modifies (loc f1) h0 h1 /\ as_seq h1 f1 == as_seq h0 f2)
let copy_felem f1 f2 = f1.(0ul) <- f2.(0ul); f1.(1ul) <- f2.(1ul); f1.(2ul) <- f2.(2ul); f1.(3ul) <- f2.(3ul); let h1 = ST.get () in LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 184, "start_col": 0, "start_line": 178 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "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
f1: Hacl.Impl.Curve25519.Field64.felem -> f2: Hacl.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field64.felem", "Lib.Sequence.eq_intro", "Lib.IntTypes.uint64", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Lib.B...
[]
false
true
false
false
false
let copy_felem f1 f2 =
f1.(0ul) <- f2.(0ul); f1.(1ul) <- f2.(1ul); f1.(2ul) <- f2.(2ul); f1.(3ul) <- f2.(3ul); let h1 = ST.get () in LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2)
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.carry_pass_store
val carry_pass_store: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_seq h1 f == SC.carry_pass_store (as_seq h0 f))
val carry_pass_store: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_seq h1 f == SC.carry_pass_store (as_seq h0 f))
let carry_pass_store f = let f3 = f.(3ul) in let top_bit = f3 >>. 63ul in f.(3ul) <- f3 &. u64 0x7fffffffffffffff; let h0 = ST.get () in let carry = add1 f f (u64 19 *! top_bit) in let h1 = ST.get () in assert (as_nat h1 f + v carry * pow2 256 == as_nat h0 f + 19 * v top_bit); S.bn_v_is_as_nat (as_seq h...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 97, "start_col": 0, "start_line": 83 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "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.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field64.felem", "Prims.unit", "Hacl.Spec.Bignum.Definitions.bn_eval_inj", "Lib.IntTypes.U64", "FStar.Pervasives.Native.snd", "Lib.IntTypes.uint64", "Hacl.Spec.Curve25519.Field64.Core.felem", "FStar.Ghost.reveal", "FStar.Pervasives.Native.tuple2", "Lib.Buffer.as_seq", "Lib.B...
[]
false
true
false
false
false
let carry_pass_store f =
let f3 = f.(3ul) in let top_bit = f3 >>. 63ul in f.(3ul) <- f3 &. u64 0x7fffffffffffffff; let h0 = ST.get () in let carry = add1 f f (u64 19 *! top_bit) in let h1 = ST.get () in assert (as_nat h1 f + v carry * pow2 256 == as_nat h0 f + 19 * v top_bit); S.bn_v_is_as_nat (as_seq h1 f); S.bn_v_is_as_nat (as_seq h0 f); let...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.eloc_union
val eloc_union (l1 l2: eloc) : Tot eloc
val eloc_union (l1 l2: eloc) : Tot eloc
let eloc_union (l1 l2:eloc) : Tot eloc = B.loc_union l1 l2
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 58, "end_line": 32, "start_col": 0, "start_line": 32 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: EverParse3d.Actions.Base.eloc -> l2: EverParse3d.Actions.Base.eloc -> EverParse3d.Actions.Base.eloc
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.eloc", "FStar.Ghost.hide", "LowStar.Monotonic.Buffer.loc", "LowStar.Monotonic.Buffer.loc_union", "FStar.Ghost.reveal" ]
[]
false
false
false
true
false
let eloc_union (l1 l2: eloc) : Tot eloc =
B.loc_union l1 l2
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.conj_inv
val conj_inv (i0 i1: slice_inv) : Tot slice_inv
val conj_inv (i0 i1: slice_inv) : Tot slice_inv
let conj_inv (i0 i1:slice_inv) : slice_inv = F.on HS.mem #prop (fun h -> i0 h /\ i1 h)
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 86, "end_line": 30, "start_col": 0, "start_line": 30 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i0: EverParse3d.Actions.Base.slice_inv -> i1: EverParse3d.Actions.Base.slice_inv -> EverParse3d.Actions.Base.slice_inv
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.slice_inv", "FStar.FunctionalExtensionality.on", "FStar.Monotonic.HyperStack.mem", "Prims.prop", "Prims.l_and" ]
[]
false
false
false
true
false
let conj_inv (i0 i1: slice_inv) : slice_inv =
F.on HS.mem #prop (fun h -> i0 h /\ i1 h)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.app_ctxt
val app_ctxt : Type0
let app_ctxt = AppCtxt.app_ctxt
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 31, "end_line": 115, "start_col": 0, "start_line": 115 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.AppCtxt.app_ctxt" ]
[]
false
false
false
true
true
let app_ctxt =
AppCtxt.app_ctxt
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.input_buffer_t
val input_buffer_t : Type0
let input_buffer_t = EverParse3d.InputStream.All.t
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 50, "end_line": 122, "start_col": 0, "start_line": 122 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.All.t" ]
[]
false
false
false
true
true
let input_buffer_t =
EverParse3d.InputStream.All.t
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.conj_inv_true_left_unit
val conj_inv_true_left_unit (inv:slice_inv) : Tot (squash (true_inv `conj_inv` inv == inv))
val conj_inv_true_left_unit (inv:slice_inv) : Tot (squash (true_inv `conj_inv` inv == inv))
let conj_inv_true_left_unit i = FStar.PredicateExtensionality.predicateExtensionality _ (conj_inv true_inv i) i
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 81, "end_line": 40, "start_col": 0, "start_line": 39 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
inv: EverParse3d.Actions.Base.slice_inv -> Prims.squash (EverParse3d.Actions.Base.conj_inv EverParse3d.Actions.Base.true_inv inv == inv)
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.slice_inv", "FStar.PredicateExtensionality.predicateExtensionality", "FStar.Monotonic.HyperStack.mem", "EverParse3d.Actions.Base.conj_inv", "EverParse3d.Actions.Base.true_inv", "Prims.squash", "Prims.eq2" ]
[]
false
false
true
false
false
let conj_inv_true_left_unit i =
FStar.PredicateExtensionality.predicateExtensionality _ (conj_inv true_inv i) i
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.eloc_none
val eloc_none : eloc
val eloc_none : eloc
let eloc_none : eloc = B.loc_none
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 33, "end_line": 33, "start_col": 0, "start_line": 33 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
EverParse3d.Actions.Base.eloc
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.hide", "LowStar.Monotonic.Buffer.loc", "LowStar.Monotonic.Buffer.loc_none", "EverParse3d.Actions.Base.eloc" ]
[]
false
false
false
true
false
let eloc_none:eloc =
B.loc_none
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.conj_inv_true_right_unit
val conj_inv_true_right_unit (inv:slice_inv) : Tot (squash (inv `conj_inv` true_inv == inv))
val conj_inv_true_right_unit (inv:slice_inv) : Tot (squash (inv `conj_inv` true_inv == inv))
let conj_inv_true_right_unit i = FStar.PredicateExtensionality.predicateExtensionality _ (conj_inv i true_inv) i
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 81, "end_line": 42, "start_col": 0, "start_line": 41 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
inv: EverParse3d.Actions.Base.slice_inv -> Prims.squash (EverParse3d.Actions.Base.conj_inv inv EverParse3d.Actions.Base.true_inv == inv)
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.slice_inv", "FStar.PredicateExtensionality.predicateExtensionality", "FStar.Monotonic.HyperStack.mem", "EverParse3d.Actions.Base.conj_inv", "EverParse3d.Actions.Base.true_inv", "Prims.squash", "Prims.eq2" ]
[]
false
false
true
false
false
let conj_inv_true_right_unit i =
FStar.PredicateExtensionality.predicateExtensionality _ (conj_inv i true_inv) i
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_with_action_t
val validate_with_action_t (#nz:bool) (#wk: _) (#k:parser_kind nz wk) (#t:Type) (p:parser k t) (liveness_inv:slice_inv) (disj:disjointness_pre) (l:eloc) (allow_reading:bool) : Type0
val validate_with_action_t (#nz:bool) (#wk: _) (#k:parser_kind nz wk) (#t:Type) (p:parser k t) (liveness_inv:slice_inv) (disj:disjointness_pre) (l:eloc) (allow_reading:bool) : Type0
let validate_with_action_t p inv disj l allow_reading = validate_with_action_t' p inv disj l allow_reading
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 106, "end_line": 280, "start_col": 0, "start_line": 280 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: EverParse3d.Prelude.parser k t -> liveness_inv: EverParse3d.Actions.Base.slice_inv -> disj: EverParse3d.Actions.Base.disjointness_pre -> l: EverParse3d.Actions.Base.eloc -> allow_reading: Prims.bool -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverParse3d.Kinds.weak_kind", "EverParse3d.Kinds.parser_kind", "EverParse3d.Prelude.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "EverParse3d.Actions.Base.validate_with_action_t'" ]
[]
false
false
false
false
true
let validate_with_action_t p inv disj l allow_reading =
validate_with_action_t' p inv disj l allow_reading
false
Hacl.Impl.Curve25519.Field64.fst
Hacl.Impl.Curve25519.Field64.store_felem
val store_felem: u64s:lbuffer uint64 4ul -> f:felem -> Stack unit (requires fun h -> live h f /\ live h u64s /\ disjoint u64s f) (ensures fun h0 _ h1 -> modifies (loc u64s |+| loc f) h0 h1 /\ as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f))
val store_felem: u64s:lbuffer uint64 4ul -> f:felem -> Stack unit (requires fun h -> live h f /\ live h u64s /\ disjoint u64s f) (ensures fun h0 _ h1 -> modifies (loc u64s |+| loc f) h0 h1 /\ as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f))
let store_felem u64s f = let h0 = ST.get () in carry_pass_store f; let h1 = ST.get () in SC.lemma_carry_pass_store_first (as_seq h0 f); carry_pass_store f; let h2 = ST.get () in SC.lemma_carry_pass_store_second (as_seq h1 f); let f0 = f.(0ul) in let f1 = f.(1ul) in let f2 = f.(2ul) in let f3 = f.(...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 134, "start_col": 0, "start_line": 111 }
module Hacl.Impl.Curve25519.Field64 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Curve25519.Fields.Core module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module P = Spec.Curve25519 module S ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fs...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field64.Definition", "short_module": "S...
{ "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
u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul -> f: Hacl.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Curve25519.Field64.felem", "Lib.ByteSequence.lemma_nat_from_to_intseq_le_preserves_value", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Prims.unit", "Hacl.Impl.Curve25519.Lemmas...
[]
false
true
false
false
false
let store_felem u64s f =
let h0 = ST.get () in carry_pass_store f; let h1 = ST.get () in SC.lemma_carry_pass_store_first (as_seq h0 f); carry_pass_store f; let h2 = ST.get () in SC.lemma_carry_pass_store_second (as_seq h1 f); let f0 = f.(0ul) in let f1 = f.(1ul) in let f2 = f.(2ul) in let f3 = f.(3ul) in S.bn_v_is_as_nat (as_seq h0 f); S.bn_v_...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.disjoint_none_l
val disjoint_none_l (l:eloc) : squash (disjoint eloc_none l == disjointness_trivial)
val disjoint_none_l (l:eloc) : squash (disjoint eloc_none l == disjointness_trivial)
let disjoint_none_l l = FStar.PropositionalExtensionality.apply (disjoint eloc_none l) (disjointness_trivial)
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 28, "end_line": 62, "start_col": 0, "start_line": 59 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: EverParse3d.Actions.Base.eloc -> Prims.squash (EverParse3d.Actions.Base.disjoint EverParse3d.Actions.Base.eloc_none l == EverParse3d.Actions.Base.disjointness_trivial)
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.eloc", "FStar.PropositionalExtensionality.apply", "EverParse3d.Actions.Base.disjoint", "EverParse3d.Actions.Base.eloc_none", "EverParse3d.Actions.Base.disjointness_trivial", "Prims.squash", "Prims.eq2", "EverParse3d.Actions.Base.disjointness_pre" ]
[]
false
false
true
false
false
let disjoint_none_l l =
FStar.PropositionalExtensionality.apply (disjoint eloc_none l) (disjointness_trivial)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.ptr_inv
val ptr_inv (#a: _) (x: bpointer a) : Tot slice_inv
val ptr_inv (#a: _) (x: bpointer a) : Tot slice_inv
let ptr_inv #a (x:B.pointer a) : slice_inv = F.on HS.mem #prop (fun h -> B.live h x /\ True)
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 92, "end_line": 114, "start_col": 0, "start_line": 114 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.Actions.Base.bpointer a -> EverParse3d.Actions.Base.slice_inv
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.pointer", "FStar.FunctionalExtensionality.on", "FStar.Monotonic.HyperStack.mem", "Prims.prop", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "Prims.l_True", "EverParse3d.Actions.Base.slice_inv" ]
[]
false
false
false
true
false
let ptr_inv #a (x: B.pointer a) : slice_inv =
F.on HS.mem #prop (fun h -> B.live h x /\ True)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.disjoint_none_r
val disjoint_none_r (l:eloc) : squash (disjoint l eloc_none == disjointness_trivial)
val disjoint_none_r (l:eloc) : squash (disjoint l eloc_none == disjointness_trivial)
let disjoint_none_r l = FStar.PropositionalExtensionality.apply (disjoint l eloc_none) (disjointness_trivial)
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 28, "end_line": 58, "start_col": 0, "start_line": 55 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: EverParse3d.Actions.Base.eloc -> Prims.squash (EverParse3d.Actions.Base.disjoint l EverParse3d.Actions.Base.eloc_none == EverParse3d.Actions.Base.disjointness_trivial)
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.eloc", "FStar.PropositionalExtensionality.apply", "EverParse3d.Actions.Base.disjoint", "EverParse3d.Actions.Base.eloc_none", "EverParse3d.Actions.Base.disjointness_trivial", "Prims.squash", "Prims.eq2", "EverParse3d.Actions.Base.disjointness_pre" ]
[]
false
false
true
false
false
let disjoint_none_r l =
FStar.PropositionalExtensionality.apply (disjoint l eloc_none) (disjointness_trivial)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.conj_disjointness_trivial_left_unit
val conj_disjointness_trivial_left_unit (d:disjointness_pre) : squash ((disjointness_trivial `conj_disjointness` d) == d)
val conj_disjointness_trivial_left_unit (d:disjointness_pre) : squash ((disjointness_trivial `conj_disjointness` d) == d)
let conj_disjointness_trivial_left_unit (d:disjointness_pre) = FStar.PropositionalExtensionality.apply (disjointness_trivial `conj_disjointness` d) d
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 90, "end_line": 65, "start_col": 0, "start_line": 64 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d: EverParse3d.Actions.Base.disjointness_pre -> Prims.squash (EverParse3d.Actions.Base.conj_disjointness EverParse3d.Actions.Base.disjointness_trivial d == d)
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.disjointness_pre", "FStar.PropositionalExtensionality.apply", "EverParse3d.Actions.Base.conj_disjointness", "EverParse3d.Actions.Base.disjointness_trivial", "Prims.squash", "Prims.eq2" ]
[]
false
false
true
false
false
let conj_disjointness_trivial_left_unit (d: disjointness_pre) =
FStar.PropositionalExtensionality.apply (disjointness_trivial `conj_disjointness` d) d
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.conj_disjointness_trivial_right_unit
val conj_disjointness_trivial_right_unit (d:disjointness_pre) : squash ((d `conj_disjointness` disjointness_trivial) == d)
val conj_disjointness_trivial_right_unit (d:disjointness_pre) : squash ((d `conj_disjointness` disjointness_trivial) == d)
let conj_disjointness_trivial_right_unit (d:disjointness_pre) = FStar.PropositionalExtensionality.apply (d `conj_disjointness` disjointness_trivial) d
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 90, "end_line": 68, "start_col": 0, "start_line": 67 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "EverParse3d.Prelude", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d: EverParse3d.Actions.Base.disjointness_pre -> Prims.squash (EverParse3d.Actions.Base.conj_disjointness d EverParse3d.Actions.Base.disjointness_trivial == d)
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.disjointness_pre", "FStar.PropositionalExtensionality.apply", "EverParse3d.Actions.Base.conj_disjointness", "EverParse3d.Actions.Base.disjointness_trivial", "Prims.squash", "Prims.eq2" ]
[]
false
false
true
false
false
let conj_disjointness_trivial_right_unit (d: disjointness_pre) =
FStar.PropositionalExtensionality.apply (d `conj_disjointness` disjointness_trivial) d
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_eta
val validate_eta (#nz:bool) (#wk: _) (#k:parser_kind nz wk) (#[@@@erasable] t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (#allow_reading:bool) (v: validate_with_ac...
val validate_eta (#nz:bool) (#wk: _) (#k:parser_kind nz wk) (#[@@@erasable] t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (#allow_reading:bool) (v: validate_with_ac...
let validate_eta v = fun ctxt error_handler_fn sl pos -> v ctxt error_handler_fn sl pos
{ "file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 68, "end_line": 283, "start_col": 0, "start_line": 282 }
module EverParse3d.Actions.Base friend EverParse3d.Kinds friend EverParse3d.Prelude open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module B = LowStar.Buffer module I = EverParse3d.InputStream.Base module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module CP = EverParse3d.CopyBuffer modul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Comment.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: EverParse3d.Actions.Base.validate_with_action_t p inv disj l allow_reading -> EverParse3d.Actions.Base.validate_with_action_t p inv disj l allow_reading
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverParse3d.Kinds.weak_kind", "EverParse3d.Kinds.parser_kind", "EverParse3d.Prelude.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "EverParse3d.Actions.Base.validate_with_action_t", "EverParse3d.InputStream....
[]
false
false
false
false
false
let validate_eta v =
fun ctxt error_handler_fn sl pos -> v ctxt error_handler_fn sl pos
false