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
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.ptr_loc
val ptr_loc (#a: _) (x: bpointer a) : Tot eloc
val ptr_loc (#a: _) (x: bpointer a) : Tot eloc
let ptr_loc #a (x:B.pointer a) : Tot eloc = B.loc_buffer x
{ "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": 113, "start_col": 0, "start_line": 113 }
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.eloc
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.pointer", "FStar.Ghost.hide", "LowStar.Monotonic.Buffer.loc", "LowStar.Monotonic.Buffer.loc_buffer", "LowStar.Buffer.trivial_preorder", "EverParse3d.Actions.Base.eloc" ]
[]
false
false
false
true
false
let ptr_loc #a (x: B.pointer a) : Tot eloc =
B.loc_buffer x
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_with_success_action
val validate_with_success_action (name: string) (#nz:bool) (#wk: _) (#k1:parser_kind nz wk) (#[@@@erasable] t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre) (#[@@@erasable] l1:eloc) (#a...
val validate_with_success_action (name: string) (#nz:bool) (#wk: _) (#k1:parser_kind nz wk) (#[@@@erasable] t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre) (#[@@@erasable] l1:eloc) (#a...
let validate_with_success_action name v1 a = validate_with_success_action' name (validate_drop v1) 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": 57, "end_line": 390, "start_col": 0, "start_line": 388 }
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
name: Prims.string -> v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 disj1 l1 allow_reading -> a: EverParse3d.Actions.Base.action inv2 disj2 l2 b Prims.bool -> EverParse3d.Actions.Base.validate_with_action_t p1 (EverParse3d.Actions.Base.conj_inv inv1 inv2) (EverParse3d.Actions.Ba...
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "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", "EverPa...
[]
false
false
false
false
false
let validate_with_success_action name v1 a =
validate_with_success_action' name (validate_drop v1) a
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.index_equations
val index_equations (_:unit) : Lemma (ensures ( //true_inv left unit (forall (d:slice_inv). {:pattern (true_inv `conj_inv` d)} (true_inv `conj_inv` d) == d) /\ //true_inv right unit (forall (d:slice_inv). {:pattern (d `conj_inv` true_inv)} (d `conj_inv` true_inv) ==...
val index_equations (_:unit) : Lemma (ensures ( //true_inv left unit (forall (d:slice_inv). {:pattern (true_inv `conj_inv` d)} (true_inv `conj_inv` d) == d) /\ //true_inv right unit (forall (d:slice_inv). {:pattern (d `conj_inv` true_inv)} (d `conj_inv` true_inv) ==...
let index_equations () = introduce forall d. _ with conj_inv_true_left_unit d; introduce forall d. _ with conj_inv_true_right_unit d; introduce forall l. _ with eloc_union_none_right_unit l; introduce forall l. _ with eloc_union_none_left_unit l; introduce forall l. _ with disjoint...
{ "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": 29, "end_line": 110, "start_col": 0, "start_line": 73 }
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
_: Prims.unit -> FStar.Pervasives.Lemma (ensures (forall (d: EverParse3d.Actions.Base.slice_inv). {:pattern EverParse3d.Actions.Base.conj_inv EverParse3d.Actions.Base.true_inv d} EverParse3d.Actions.Base.conj_inv EverParse3d.Actions.Base.true_inv d == d) /\ (forall (d: EverParse3d....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "FStar.Classical.Sugar.forall_intro", "EverParse3d.Actions.Base.eloc", "EverParse3d.Actions.Base.eloc_includes", "EverParse3d.Actions.Base.eloc_includes_refl", "Prims.squash", "Prims.l_Forall", "Prims.l_imp", "Prims.l_and", "EverParse3d.Actions.Base.eloc_union", "FStar.Classical.Su...
[]
false
false
true
false
false
let index_equations () =
introduce forall d . _ with conj_inv_true_left_unit d; introduce forall d . _ with conj_inv_true_right_unit d; introduce forall l . _ with eloc_union_none_right_unit l; introduce forall l . _ with eloc_union_none_left_unit l; introduce forall l . _ with disjoint_none_r l; introduce forall l . _ with disjoint_none_l l; ...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.app_loc
val app_loc (x: AppCtxt.app_ctxt) (l: eloc) : eloc
val app_loc (x: AppCtxt.app_ctxt) (l: eloc) : eloc
let app_loc (x:AppCtxt.app_ctxt) (l:eloc) : eloc = AppCtxt.properties x; AppCtxt.loc_of x `loc_union` 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": 32, "end_line": 118, "start_col": 0, "start_line": 116 }
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
x: EverParse3d.AppCtxt.app_ctxt -> l: EverParse3d.Actions.Base.eloc -> EverParse3d.Actions.Base.eloc
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.AppCtxt.app_ctxt", "EverParse3d.Actions.Base.eloc", "FStar.Ghost.hide", "LowStar.Monotonic.Buffer.loc", "LowStar.Monotonic.Buffer.loc_union", "EverParse3d.AppCtxt.loc_of", "FStar.Ghost.reveal", "Prims.unit", "EverParse3d.AppCtxt.properties" ]
[]
false
false
false
true
false
let app_loc (x: AppCtxt.app_ctxt) (l: eloc) : eloc =
AppCtxt.properties x; (AppCtxt.loc_of x) `loc_union` l
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.valid_length
val valid_length (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) (len: int) : Tot prop
val valid_length (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) (len: int) : Tot prop
let valid_length (#input_buffer_t: Type0) (# [tcresolve ()] inst : I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) (len: int) : Tot prop = I.live sl h /\ begin let s = I.get_remaining sl h in begin match LP.parse p s with ...
{ "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": 5, "end_line": 218, "start_col": 0, "start_line": 201 }
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: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: input_buffer_t -> len: Prims.int -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.input_stream_inst", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "Prims.int", "Prims.l_and", "EverParse3d.InputStream.Base.live", "LowParse.Spec.Base.parse", "Prims.l_False", "LowParse.Spec.Base.consumed_length", "...
[]
false
false
false
false
true
let valid_length (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) (len: int) : Tot prop =
I.live sl h /\ (let s = I.get_remaining sl h in match LP.parse p s with | None -> False | Some (_, len') -> len == len')
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.action
val action (liveness_inv:slice_inv) (disj:disjointness_pre) (modifies_l:eloc) (on_success:bool) (a:Type) : Type0
val action (liveness_inv:slice_inv) (disj:disjointness_pre) (modifies_l:eloc) (on_success:bool) (a:Type) : Type0
let action inv disj l on_success a = (# [EverParse3d.Util.solve_from_ctx ()] I.extra_t #input_buffer_t) -> ctxt: app_ctxt -> error_handler_fn : error_handler -> sl: input_buffer_t -> len: I.tlen sl -> pos: LPE.pos_t -> posf: LPE.pos_t -> Stack a (requires fun h -> I.live sl...
{ "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": 15, "end_line": 174, "start_col": 0, "start_line": 149 }
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
liveness_inv: EverParse3d.Actions.Base.slice_inv -> disj: EverParse3d.Actions.Base.disjointness_pre -> modifies_l: EverParse3d.Actions.Base.eloc -> on_success: Prims.bool -> a: Type -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "Prims.bool", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.A...
[]
false
false
false
true
true
let action inv disj l on_success a =
#[EverParse3d.Util.solve_from_ctx ()] I.extra_t #input_buffer_t -> ctxt: app_ctxt -> error_handler_fn: error_handler -> sl: input_buffer_t -> len: I.tlen sl -> pos: LPE.pos_t -> posf: LPE.pos_t -> Stack a (requires fun h -> I.live sl h /\ disj /\ inv h /\ B.l...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.error_handler
val error_handler : Type0
let error_handler = typename:string -> fieldname:string -> error_reason:string -> error_code:U64.t -> ctxt: app_ctxt -> sl: input_buffer_t -> pos: LPE.pos_t -> Stack unit (requires fun h -> I.live sl h /\ true_inv h /\ B.live h ctxt /\ loc_not_unuse...
{ "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": 20, "end_line": 147, "start_col": 0, "start_line": 125 }
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" ]
[]
[ "Prims.string", "FStar.UInt64.t", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.ErrorCode.pos_t", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverParse3d.InputStream.Base.live", "EverParse3d.InputStream.All.inst", "EverParse3d.Ac...
[]
false
false
false
true
true
let error_handler =
typename: string -> fieldname: string -> error_reason: string -> error_code: U64.t -> ctxt: app_ctxt -> sl: input_buffer_t -> pos: LPE.pos_t -> Stack unit (requires fun h -> I.live sl h /\ true_inv h /\ B.live h ctxt /\ (loc_not_unused_in h) `loc_includes...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.valid
val valid (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) : Tot prop
val valid (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) : Tot prop
let valid (#input_buffer_t: Type0) (# [tcresolve ()] inst : I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) : Tot prop = I.live sl h /\ Some? (LP.parse p (I.get_remaining sl 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": 43, "end_line": 230, "start_col": 0, "start_line": 220 }
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: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: input_buffer_t -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.input_stream_inst", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverParse3d.InputStream.Base.live", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "FStar.Pervasives.Native.tuple2", "LowParse.Sp...
[]
false
false
false
false
true
let valid (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (sl: input_buffer_t) : Tot prop =
I.live sl h /\ Some? (LP.parse p (I.get_remaining sl h))
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.valid_consumed
val valid_consumed (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h h': HS.mem) (sl: input_buffer_t) : Tot prop
val valid_consumed (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h h': HS.mem) (sl: input_buffer_t) : Tot prop
let valid_consumed (#input_buffer_t: Type0) (# [tcresolve ()] inst : I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h: HS.mem) (h': HS.mem) (sl: input_buffer_t) : Tot prop = I.live sl h /\ I.live sl h' /\ begin let s = I.get_remaining sl h in begin ma...
{ "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": 5, "end_line": 198, "start_col": 0, "start_line": 180 }
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: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> sl: input_buffer_t -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.input_stream_inst", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverParse3d.InputStream.Base.live", "LowParse.Spec.Base.parse", "Prims.l_False", "LowParse.Spec.Base.consumed_length", "FStar.Seq.Base....
[]
false
false
false
false
true
let valid_consumed (#input_buffer_t: Type0) (#[tcresolve ()] inst: I.input_stream_inst input_buffer_t) (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (h h': HS.mem) (sl: input_buffer_t) : Tot prop =
I.live sl h /\ I.live sl h' /\ (let s = I.get_remaining sl h in match LP.parse p s with | None -> False | Some (_, len) -> (I.get_remaining sl h') `Seq.equal` (Seq.slice s len (Seq.length s)))
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.leaf_reader
val leaf_reader (#nz:bool) (#k: parser_kind nz WeakKindStrongPrefix) (#t: Type) (p: parser k t) : Type u#0
val leaf_reader (#nz:bool) (#k: parser_kind nz WeakKindStrongPrefix) (#t: Type) (p: parser k t) : Type u#0
let leaf_reader #nz #k (#t: Type) (p: parser k t) : Tot Type = (# [EverParse3d.Util.solve_from_ctx ()] _extra_t : I.extra_t #input_buffer_t ) -> (sl: input_buffer_t) -> (pos: LPE.pos_t) -> Stack t (requires (fun h -> valid p h sl /\ U64.v pos == Seq.length (I.get_read sl h) )) (ensures (fu...
{ "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": 4, "end_line": 317, "start_col": 0, "start_line": 292 }
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 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Prelude.parser", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.ErrorCode.pos_t", "FStar.Monotonic.HyperStack.mem...
[]
false
false
false
false
true
let leaf_reader #nz #k (#t: Type) (p: parser k t) : Tot Type =
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: I.extra_t #input_buffer_t) -> sl: input_buffer_t -> pos: LPE.pos_t -> Stack t (requires (fun h -> valid p h sl /\ U64.v pos == Seq.length (I.get_read sl h))) (ensures (fun h res h' -> let s = I.get_remaining sl h in ...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_drop
val validate_drop (#k: LP.parser_kind) (#t: Type) (#p: LP.parser k t) (#inv: slice_inv) (#disj: disjointness_pre) (#l: eloc) (#allow_reading: _) (v: validate_with_action_t' p inv disj l allow_reading) : Tot (validate_with_action_t' p inv disj l false)
val validate_drop (#k: LP.parser_kind) (#t: Type) (#p: LP.parser k t) (#inv: slice_inv) (#disj: disjointness_pre) (#l: eloc) (#allow_reading: _) (v: validate_with_action_t' p inv disj l allow_reading) : Tot (validate_with_action_t' p inv disj l false)
let validate_drop (#k:LP.parser_kind) (#t:Type) (#p:LP.parser k t) (#inv:slice_inv) (#disj:disjointness_pre) (#l:eloc) #allow_reading (v: validate_with_action_t' p inv disj l allow_reading) : Tot (validate_with_action_t' p inv disj l false) = if allow_reading then validate_drop...
{ "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": 8, "end_line": 386, "start_col": 0, "start_line": 374 }
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 false
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "Prims.bool", "EverParse3d.Actions.Base.validate_with_action_t'", "EverParse3d.Actions.Base.validate_drop_true" ]
[]
false
false
false
false
false
let validate_drop (#k: LP.parser_kind) (#t: Type) (#p: LP.parser k t) (#inv: slice_inv) (#disj: disjointness_pre) (#l: eloc) #allow_reading (v: validate_with_action_t' p inv disj l allow_reading) : Tot (validate_with_action_t' p inv disj l false) =
if allow_reading then validate_drop_true v else v
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.intro_chan_inv
val intro_chan_inv (#p: _) (c: chan_t p) (v: chan_val) : SteelT unit (((pts_to c.send half v) `star` (pts_to c.recv half v)) `star` (trace_until c.trace v)) (fun _ -> chan_inv c)
val intro_chan_inv (#p: _) (c: chan_t p) (v: chan_val) : SteelT unit (((pts_to c.send half v) `star` (pts_to c.recv half v)) `star` (trace_until c.trace v)) (fun _ -> chan_inv c)
let intro_chan_inv #p (c:chan_t p) (v:chan_val) : SteelT unit (pts_to c.send half v `star` pts_to c.recv half v `star` trace_until c.trace v) (fun _ -> chan_inv c) = intro_chan_inv_eqT c v v
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 28, "end_line": 157, "start_col": 0, "start_line": 152 }
(* 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 -> v: Steel.Channel.Simplex.chan_val -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_t", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.intro_chan_inv_eqT", "Prims.unit", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__proj__Mkchan_t__item__send", "Steel.Channel.Simplex.half", ...
[]
false
true
false
false
false
let intro_chan_inv #p (c: chan_t p) (v: chan_val) : SteelT unit (((pts_to c.send half v) `star` (pts_to c.recv half v)) `star` (trace_until c.trace v)) (fun _ -> chan_inv c) =
intro_chan_inv_eqT c v v
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.act_with_comment
val act_with_comment (s: string) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (#b:_) (res:Type) (a: action inv disj l b res) : Tot (action inv disj l b res)
val act_with_comment (s: string) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (#b:_) (res:Type) (a: action inv disj l b res) : Tot (action inv disj l b res)
let act_with_comment s res a = fun ctxt err sl len pos posf -> LPL.comment s; a ctxt err sl len pos posf
{ "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": 290, "start_col": 0, "start_line": 285 }
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
s: Prims.string -> res: Type -> a: EverParse3d.Actions.Base.action inv disj l b res -> EverParse3d.Actions.Base.action inv disj l b res
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "Prims.bool", "EverParse3d.Actions.Base.action", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", ...
[]
false
false
false
false
false
let act_with_comment s res a =
fun ctxt err sl len pos posf -> LPL.comment s; a ctxt err sl len pos posf
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_dep_pair_with_refinement_and_action
val validate_dep_pair_with_refinement_and_action (p1_is_constant_size_without_actions: bool) (name1: string) (#nz1:_) (#k1:parser_kind nz1 WeakKindStrongPrefix) (#t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjo...
val validate_dep_pair_with_refinement_and_action (p1_is_constant_size_without_actions: bool) (name1: string) (#nz1:_) (#k1:parser_kind nz1 WeakKindStrongPrefix) (#t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjo...
let validate_dep_pair_with_refinement_and_action (p1_is_constant_size_without_actions: bool) (name1: string) #nz1 (#k1:parser_kind nz1 _) #t1 (#p1:parser k1 t1) #inv1 #disj1 #l1 (v1:validate_with_action_t p1 inv1 disj1 l1 true) (r1: leaf_reader p1) (f: t1 -> bool) #inv1' #disj1...
{ "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": 70, "end_line": 602, "start_col": 0, "start_line": 585 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
p1_is_constant_size_without_actions: Prims.bool -> name1: Prims.string -> v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 disj1 l1 true -> r1: EverParse3d.Actions.Base.leaf_reader p1 -> f: (_: t1 -> Prims.bool) -> a: (_: t1 -> EverParse3d.Actions.Base.action inv1' disj1' l1' b Prims...
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.string", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "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
false
let validate_dep_pair_with_refinement_and_action (p1_is_constant_size_without_actions: bool) (name1: string) #nz1 (#k1: parser_kind nz1 _) #t1 (#p1: parser k1 t1) #inv1 #disj1 #l1 (v1: validate_with_action_t p1 inv1 disj1 l1 true) (r1: leaf_reader p1) ...
if (p1_is_constant_size_without_actions `LP.bool_and` (k1.LP.parser_kind_high = Some 0)) `LP.bool_and` (k1.LP.parser_kind_metadata = Some LP.ParserKindMetadataTotal) then validate_dep_pair_with_refinement_and_action_total_zero_parser' name1 r1 inv1 disj1 l1 f a v2 else validate_dep_pair_with_refinement_and_action...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_ret
val validate_ret : validate_with_action_t (parse_ret ()) true_inv disjointness_trivial eloc_none true
val validate_ret : validate_with_action_t (parse_ret ()) true_inv disjointness_trivial eloc_none true
let validate_ret : validate_with_action_t (parse_ret ()) true_inv disjointness_trivial eloc_none true = fun ctxt error_handler_fn input input_length start_position -> start_position
{ "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": 18, "end_line": 424, "start_col": 0, "start_line": 421 }
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
EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_ret ()) EverParse3d.Actions.Base.true_inv EverParse3d.Actions.Base.disjointness_trivial EverParse3d.Actions.Base.eloc_none true
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.error_handler", "EverParse3d.InputStream.Base.tlen", "EverParse3d.ErrorCode.pos_t", "FStar.UInt64.t", "EverParse3d.Act...
[]
false
false
false
false
false
let validate_ret:validate_with_action_t (parse_ret ()) true_inv disjointness_trivial eloc_none true =
fun ctxt error_handler_fn input input_length start_position -> start_position
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.recall_trace_ref
val recall_trace_ref (#q: _) (r: trace_ref q) (tr tr': partial_trace_of q) (tok: MRef.witnessed r (history_p tr)) : Steel unit (MRef.pts_to r full_perm tr') (fun _ -> MRef.pts_to r full_perm tr') (requires fun _ -> True) (ensures fun _ _ _ -> history_p tr tr')
val recall_trace_ref (#q: _) (r: trace_ref q) (tr tr': partial_trace_of q) (tok: MRef.witnessed r (history_p tr)) : Steel unit (MRef.pts_to r full_perm tr') (fun _ -> MRef.pts_to r full_perm tr') (requires fun _ -> True) (ensures fun _ _ _ -> history_p tr tr')
let recall_trace_ref #q (r:trace_ref q) (tr tr':partial_trace_of q) (tok:MRef.witnessed r (history_p tr)) : Steel unit (MRef.pts_to r full_perm tr') (fun _ -> MRef.pts_to r full_perm tr') (requires fun _ -> True) (ensures fun _ _ _ -> history_p tr 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": 40, "end_line": 427, "start_col": 0, "start_line": 420 }
(* 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 q -> tr: Steel.Channel.Protocol.partial_trace_of q -> tr': Steel.Channel.Protocol.partial_trace_of q -> tok: Steel.MonotonicHigherReference.witnessed r (Steel.Channel.Simplex.history_p tr) -> Steel.Effect.Steel Prims.unit
Steel.Effect.Steel
[]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.trace_ref", "Steel.Channel.Protocol.partial_trace_of", "Steel.MonotonicHigherReference.witnessed", "Steel.Channel.Protocol.extended_to", "Steel.Channel.Simplex.history_p", "Steel.MonotonicHigherReference.recall", "FStar.Ghost.hide", "FStar.Set.set...
[]
false
true
false
false
false
let recall_trace_ref #q (r: trace_ref q) (tr: partial_trace_of q) (tr': partial_trace_of q) (tok: MRef.witnessed r (history_p tr)) : Steel unit (MRef.pts_to r full_perm tr') (fun _ -> MRef.pts_to r full_perm tr') (requires fun _ -> True) (ensures fun _ _ _ -> hi...
MRef.recall (history_p tr) r tr' tok
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_weaken_right
val validate_weaken_right (#nz:_) (#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...
val validate_weaken_right (#nz:_) (#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...
let validate_weaken_right #nz #wk (#k:parser_kind nz wk) (#t:_) (#p:parser k t) #inv #disj #l #ar (v:validate_with_action_t p inv disj l ar) #nz' #wk' (k':parser_kind nz' wk') = validate_weaken v (glb k k')
{ "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": 30, "end_line": 865, "start_col": 0, "start_line": 861 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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 -> k': EverParse3d.Kinds.parser_kind nz' wk' -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_weaken_right p k') 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.Actions.Base...
[]
false
false
false
false
false
let validate_weaken_right #nz #wk (#k: parser_kind nz wk) (#t: _) (#p: parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) #nz' #wk' (k': parser_kind nz' wk') =
validate_weaken v (glb k k')
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_dep_pair_with_refinement
val validate_dep_pair_with_refinement (p1_is_constant_size_without_actions: bool) (name1: string) (#nz1:_) (#k1:parser_kind nz1 WeakKindStrongPrefix) (#t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre...
val validate_dep_pair_with_refinement (p1_is_constant_size_without_actions: bool) (name1: string) (#nz1:_) (#k1:parser_kind nz1 WeakKindStrongPrefix) (#t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre...
let validate_dep_pair_with_refinement (p1_is_constant_size_without_actions: bool) (name1: string) #nz1 (#k1:parser_kind nz1 _) #t1 (#p1:parser k1 t1) #inv1 #disj1 #l1 (v1:validate_with_action_t p1 inv1 disj1 l1 true) (r1: leaf_reader p1) (f: t1 -> bool) #nz2 #wk2 (#k2:parser_kind nz2...
{ "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": 55, "end_line": 750, "start_col": 0, "start_line": 732 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
p1_is_constant_size_without_actions: Prims.bool -> name1: Prims.string -> v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 disj1 l1 true -> r1: EverParse3d.Actions.Base.leaf_reader p1 -> f: (_: t1 -> Prims.bool) -> v2: (x: EverParse3d.Prelude.refine t1 f -> EverParse3...
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.string", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "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
false
let validate_dep_pair_with_refinement (p1_is_constant_size_without_actions: bool) (name1: string) #nz1 (#k1: parser_kind nz1 _) #t1 (#p1: parser k1 t1) #inv1 #disj1 #l1 (v1: validate_with_action_t p1 inv1 disj1 l1 true) (r1: leaf_reader p1) (f: (t1...
if (p1_is_constant_size_without_actions `LP.bool_and` (k1.LP.parser_kind_high = Some 0)) `LP.bool_and` (k1.LP.parser_kind_metadata = Some LP.ParserKindMetadataTotal) then validate_dep_pair_with_refinement_total_zero_parser' name1 inv1 disj1 l1 r1 f v2 else validate_dep_pair_with_refinement' name1 v1 r1 f v2
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_weaken_left
val validate_weaken_left (#nz:_) (#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:...
val validate_weaken_left (#nz:_) (#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:...
let validate_weaken_left #nz #wk (#k:parser_kind nz wk) (#t:_) (#p:parser k t) #inv #disj #l #ar (v:validate_with_action_t p inv disj l ar) #nz' #wk' (k':parser_kind nz' wk') = validate_weaken v (glb k' k)
{ "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": 30, "end_line": 856, "start_col": 0, "start_line": 852 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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 -> k': EverParse3d.Kinds.parser_kind nz' wk' -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_weaken_left p k') 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.Actions.Base...
[]
false
false
false
false
false
let validate_weaken_left #nz #wk (#k: parser_kind nz wk) (#t: _) (#p: parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) #nz' #wk' (k': parser_kind nz' wk') =
validate_weaken v (glb k' k)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_total_constant_size_no_read
val validate_total_constant_size_no_read (#nz #wk: _) (#k: parser_kind nz wk) (#t: Type) (p: parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == S...
val validate_total_constant_size_no_read (#nz #wk: _) (#k: parser_kind nz wk) (#t: Type) (p: parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == S...
let validate_total_constant_size_no_read #nz #wk (#k: parser_kind nz wk) (#t: Type) (p: parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == Some LP.ParserKindMetadataTotal }) inv disj l : To...
{ "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": 57, "end_line": 1187, "start_col": 0, "start_line": 1174 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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 -> sz: FStar.UInt64.t -> u1493: u1497: Prims.unit { Mkparser_kind'?.parser_kind_high k == FStar.Pervasives.Native.Some (Mkparser_kind'?.parser_kind_low k) /\ Mkparser_kind'?.parser_kind_low k == FStar.UInt64.v sz /\ Mkparse...
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverParse3d.Kinds.weak_kind", "EverParse3d.Kinds.parser_kind", "EverParse3d.Prelude.parser", "FStar.UInt64.t", "Prims.unit", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.Native.option", "Prims.nat", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_high", "FStar.Per...
[]
false
false
false
false
false
let validate_total_constant_size_no_read #nz #wk (#k: parser_kind nz wk) (#t: Type) (p: parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == ...
validate_total_constant_size_no_read' p sz u inv disj l
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_list_inv
val validate_list_inv (#k: LPL.parser_kind) (#t: Type) (p: LPL.parser k t) (inv: slice_inv) (disj: disjointness_pre) (l: eloc) (g0 g1: Ghost.erased HS.mem) (ctxt: app_ctxt) (sl: input_buffer_t) (bres: pointer U64.t) (h: HS.mem) (stop: bool) : G...
val validate_list_inv (#k: LPL.parser_kind) (#t: Type) (p: LPL.parser k t) (inv: slice_inv) (disj: disjointness_pre) (l: eloc) (g0 g1: Ghost.erased HS.mem) (ctxt: app_ctxt) (sl: input_buffer_t) (bres: pointer U64.t) (h: HS.mem) (stop: bool) : G...
let validate_list_inv (#k: LPL.parser_kind) (#t: Type) (p: LPL.parser k t) (inv: slice_inv) (disj: disjointness_pre) (l: eloc) (g0 g1: Ghost.erased HS.mem) (ctxt:app_ctxt) (sl: input_buffer_t) (bres: pointer U64.t) (h: HS.mem) (stop: bool) : GTot 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": 92, "end_line": 931, "start_col": 0, "start_line": 882 }
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.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "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: LowParse.Spec.Base.parser k t -> inv: EverParse3d.Actions.Base.slice_inv -> disj: EverParse3d.Actions.Base.disjointness_pre -> l: EverParse3d.Actions.Base.eloc -> g0: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> g1: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> ctxt: EverP...
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "FStar.Ghost.erased", "FStar.Monotonic.HyperStack.mem", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.in...
[]
false
false
false
false
true
let validate_list_inv (#k: LPL.parser_kind) (#t: Type) (p: LPL.parser k t) (inv: slice_inv) (disj: disjointness_pre) (l: eloc) (g0 g1: Ghost.erased HS.mem) (ctxt: app_ctxt) (sl: input_buffer_t) (bres: pointer U64.t) (h: HS.mem) (stop: bool) : G...
let h0 = Ghost.reveal g0 in let h1 = Ghost.reveal g1 in let res = Seq.index (as_seq h bres) 0 in inv h0 /\ disj /\ (loc_not_unused_in h0) `loc_includes` (app_loc ctxt l) /\ (app_loc ctxt l) `loc_disjoint` (I.footprint sl) /\ (app_loc ctxt l) `loc_disjoint` (loc_buffer bres) /\ address_liveness_insensitive_locs `loc_inc...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_with_error_handler
val validate_with_error_handler (typename: string) (fieldname: string) (#nz: _) (#wk: _) (#k1:parser_kind nz wk) (#[@@@erasable] t1: Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@e...
val validate_with_error_handler (typename: string) (fieldname: string) (#nz: _) (#wk: _) (#k1:parser_kind nz wk) (#[@@@erasable] t1: Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@e...
let validate_with_error_handler (typename:string) (fieldname:string) #nz #wk (#k1:parser_kind nz wk) #t1 (#p1:parser k1 t1) (#inv1 #disj1:_) (#l1:eloc) (#ar:_) (v1:validate_with_action_t p1 inv1 disj1 l1 ar) : validate_with_action_t p1 inv1 disj1 l1 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": 5, "end_line": 418, "start_col": 0, "start_line": 393 }
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
typename: Prims.string -> fieldname: Prims.string -> v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 disj l1 ar -> EverParse3d.Actions.Base.validate_with_action_t p1 inv1 disj l1 ar
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "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", "EverPa...
[]
false
false
false
false
false
let validate_with_error_handler (typename: string) (fieldname: string) #nz #wk (#k1: parser_kind nz wk) #t1 (#p1: parser k1 t1) (#inv1: _) (#disj1: _) (#l1: eloc) (#ar: _) (v1: validate_with_action_t p1 inv1 disj1 l1 ar) : validate_with_action_...
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos0 = start_position in let h0 = HST.get () in [@@ (rename_let ("positionAfter" ^ typename)) ]let pos1 = v1 ctxt error_handler_fn input input_length pos0 in let h1 = HST.get () in modifies_address_liveness_insensitive_un...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_drop_true
val validate_drop_true (#k: LP.parser_kind) (#t: Type) (#p: LP.parser k t) (#inv: slice_inv) (#disj: disjointness_pre) (#l: eloc) (v: validate_with_action_t' p inv disj l true) : Tot (validate_with_action_t' p inv disj l false)
val validate_drop_true (#k: LP.parser_kind) (#t: Type) (#p: LP.parser k t) (#inv: slice_inv) (#disj: disjointness_pre) (#l: eloc) (v: validate_with_action_t' p inv disj l true) : Tot (validate_with_action_t' p inv disj l false)
let validate_drop_true (#k:LP.parser_kind) (#t:Type) (#p:LP.parser k t) (#inv:slice_inv) (#disj:disjointness_pre) (#l:eloc) (v: validate_with_action_t' p inv disj l true) : Tot (validate_with_action_t' p inv disj l false) = fun ctxt error_handler_fn input input_length start_position ...
{ "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": 5, "end_line": 370, "start_col": 0, "start_line": 357 }
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 true -> EverParse3d.Actions.Base.validate_with_action_t' p inv disj l false
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "EverParse3d.Actions.Base.validate_with_action_t'", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input...
[]
false
false
false
false
false
let validate_drop_true (#k: LP.parser_kind) (#t: Type) (#p: LP.parser k t) (#inv: slice_inv) (#disj: disjointness_pre) (#l: eloc) (v: validate_with_action_t' p inv disj l true) : Tot (validate_with_action_t' p inv disj l false) =
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos = start_position in let res = v ctxt error_handler_fn input input_length pos in I.skip_if_success input pos res; res
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_weaken
val validate_weaken (#nz #wk: _) (#k: parser_kind nz wk) (#t: _) (#p: parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t p inv disj l ar) (#nz' #wk': _) (k': parser_kind nz' wk' {k' `is_weaker_than` k}) : validate_with_action_t (parse_weaken p k') inv disj ...
val validate_weaken (#nz #wk: _) (#k: parser_kind nz wk) (#t: _) (#p: parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t p inv disj l ar) (#nz' #wk': _) (k': parser_kind nz' wk' {k' `is_weaker_than` k}) : validate_with_action_t (parse_weaken p k') inv disj ...
let validate_weaken #nz #wk (#k:parser_kind nz wk) #t (#p:parser k t) #inv #disj #l #ar (v:validate_with_action_t p inv disj l ar) #nz' #wk' (k':parser_kind nz' wk'{k' `is_weaker_than` k}) : validate_with_action_t (parse_weaken p k') inv disj l ar = fun ctxt error_handler_fn input input_length start_p...
{ "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": 846, "start_col": 0, "start_line": 840 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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 ar -> k': EverParse3d.Kinds.parser_kind nz' wk' {EverParse3d.Prelude.is_weaker_than k' k} -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_weaken p k') inv disj l ar
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.Prelude.is_w...
[]
false
false
false
false
false
let validate_weaken #nz #wk (#k: parser_kind nz wk) #t (#p: parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) #nz' #wk' (k': parser_kind nz' wk' {k' `is_weaker_than` k}) : validate_with_action_t (parse_weaken p k')...
fun ctxt error_handler_fn input input_length start_position -> v ctxt error_handler_fn input input_length start_position
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_impos
val validate_impos (_:unit) : validate_with_action_t (parse_impos ()) true_inv disjointness_trivial eloc_none true
val validate_impos (_:unit) : validate_with_action_t (parse_impos ()) true_inv disjointness_trivial eloc_none true
let validate_impos () = fun _ _ _ _ start_position -> LPE.set_validator_error_pos LPE.validator_error_impossible start_position
{ "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": 105, "end_line": 869, "start_col": 0, "start_line": 868 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
_: Prims.unit -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_impos ()) EverParse3d.Actions.Base.true_inv EverParse3d.Actions.Base.disjointness_trivial EverParse3d.Actions.Base.eloc_none true
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.error_handler", "EverParse3d.InputStream.Base.tlen", "EverParse3d.ErrorCode.pos_t", "EverParse3d.ErrorCo...
[]
false
false
false
false
false
let validate_impos () =
fun _ _ _ _ start_position -> LPE.set_validator_error_pos LPE.validator_error_impossible start_position
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_nlist_total_constant_size_mod_ok
val validate_nlist_total_constant_size_mod_ok (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: Type) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some...
val validate_nlist_total_constant_size_mod_ok (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: Type) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some...
let validate_nlist_total_constant_size_mod_ok (n:U32.t) #wk (#k:parser_kind true wk) (#t: Type) (p:parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires ( let open LP in k.parser_kind_subkind == Some ParserStrong /...
{ "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": 17, "end_line": 1216, "start_col": 0, "start_line": 1190 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
n: FStar.UInt32.t -> p: EverParse3d.Prelude.parser k t -> inv: EverParse3d.Actions.Base.slice_inv -> disj: EverParse3d.Actions.Base.disjointness_pre -> l: EverParse3d.Actions.Base.eloc -> Prims.Pure (EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_nlist n p) ...
Prims.Pure
[]
[]
[ "FStar.UInt32.t", "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_total_constant_size_no_read'", "LowPa...
[]
false
false
false
false
false
let validate_nlist_total_constant_size_mod_ok (n: U32.t) #wk (#k: parser_kind true wk) (#t: Type) (p: parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == So...
[@@ inline_let ]let _ = parse_nlist_total_fixed_size_kind_correct n p in validate_total_constant_size_no_read' (LP.strengthen (LP.total_constant_size_parser_kind (U32.v n)) (parse_nlist n p)) (Cast.uint32_to_uint64 n) () inv disj l
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.intro_chan_inv_cond_stepT
val intro_chan_inv_cond_stepT (vs vr: chan_val) : SteelT unit (chan_inv_step vr vs) (fun _ -> chan_inv_cond vs vr)
val intro_chan_inv_cond_stepT (vs vr: chan_val) : SteelT unit (chan_inv_step vr vs) (fun _ -> chan_inv_cond vs vr)
let intro_chan_inv_cond_stepT (vs vr:chan_val) : SteelT unit (chan_inv_step vr vs) (fun _ -> chan_inv_cond vs vr) = Steel.Utils.extract_pure (chan_inv_step_p vr vs); rewrite_slprop (chan_inv_step vr vs) (chan_inv_cond vs vr) (fun _ -> ())
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 76, "end_line": 92, "start_col": 0, "start_line": 88 }
(* 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
vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Channel.Simplex.chan_val", "Steel.Effect.Atomic.rewrite_slprop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Channel.Simplex.chan_inv_step", "Steel.Channel.Simplex.chan_inv_cond", "Steel.Memory.mem", "Prims.unit", "Steel.Utils.extract_pure", "Ste...
[]
false
true
false
false
false
let intro_chan_inv_cond_stepT (vs vr: chan_val) : SteelT unit (chan_inv_step vr vs) (fun _ -> chan_inv_cond vs vr) =
Steel.Utils.extract_pure (chan_inv_step_p vr vs); rewrite_slprop (chan_inv_step vr vs) (chan_inv_cond vs vr) (fun _ -> ())
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_nlist
val validate_nlist (n:U32.t) (#wk: _) (#k:parser_kind true wk) (#[@@@erasable] t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (#allow_reading:bo...
val validate_nlist (n:U32.t) (#wk: _) (#k:parser_kind true wk) (#[@@@erasable] t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (#allow_reading:bo...
let validate_nlist (n:U32.t) #wk (#k:parser_kind true wk) #t (#p:parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) : Tot (validate_with_action_t (parse_nlist n p) inv disj l false) = validate_weaken #false #WeakKindStrongPrefix #(LowParse.Spec.FLData.parse_fldata_kind (U32.v n)...
{ "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": 14, "end_line": 1145, "start_col": 0, "start_line": 1133 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
n: FStar.UInt32.t -> v: EverParse3d.Actions.Base.validate_with_action_t p inv disj l allow_reading -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_nlist n p) inv disj l false
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "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", "Prims.bool", "EverParse3d.Actions.Base.validate_with_action_t", "Ever...
[]
false
false
false
false
false
let validate_nlist (n: U32.t) #wk (#k: parser_kind true wk) #t (#p: parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) : Tot (validate_with_action_t (parse_nlist n p) inv disj l false) =
validate_weaken #false #WeakKindStrongPrefix #(LowParse.Spec.FLData.parse_fldata_kind (U32.v n) LowParse.Spec.List.parse_list_kind) #(list t) (validate_fldata_consumes_all n (validate_list v)) kind_nlist
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_nlist_constant_size_without_actions
val validate_nlist_constant_size_without_actions (n_is_const: bool) (n:U32.t) (#wk: _) (#k:parser_kind true wk) (#[@@@erasable] t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) ...
val validate_nlist_constant_size_without_actions (n_is_const: bool) (n:U32.t) (#wk: _) (#k:parser_kind true wk) (#[@@@erasable] t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) ...
let validate_nlist_constant_size_without_actions (n_is_const: bool) (n:U32.t) #wk (#k:parser_kind true wk) #t (#p:parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) : Tot (validate_with_action_t (parse_nlist n p) inv disj l false) = if let open LP in k.parser_ki...
{ "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": 22, "end_line": 1333, "start_col": 0, "start_line": 1315 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
n_is_const: Prims.bool -> n: FStar.UInt32.t -> v: EverParse3d.Actions.Base.validate_with_action_t p inv disj l allow_reading -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_nlist n p) inv disj l false
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "FStar.UInt32.t", "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", "Prim...
[]
false
false
false
false
false
let validate_nlist_constant_size_without_actions (n_is_const: bool) (n: U32.t) #wk (#k: parser_kind true wk) #t (#p: parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) : Tot (validate_with_action_t (parse_nlist n p) inv disj l ...
if let open LP in k.parser_kind_subkind = Some ParserStrong && k.parser_kind_high = Some k.parser_kind_low && k.parser_kind_metadata = Some ParserKindMetadataTotal && k.parser_kind_low < 4294967296 then validate_drop (validate_nlist_total_constant_size n_is_const n p inv disj l) else validate_nlist n v
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_list
val validate_list (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar) : validate_with_action_t' (LowParse.Spec.List.parse_list p) inv disj l false
val validate_list (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar) : validate_with_action_t' (LowParse.Spec.List.parse_list p) inv disj l false
let validate_list (#k:LP.parser_kind) #t (#p:LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar) : validate_with_action_t' (LowParse.Spec.List.parse_list p) inv disj l false = fun ctxt error_handler_fn input input_length start_position -> validate_list' v ctxt error_handler_fn inpu...
{ "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": 74, "end_line": 1044, "start_col": 0, "start_line": 1036 }
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.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "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 ar -> EverParse3d.Actions.Base.validate_with_action_t' (LowParse.Spec.List.parse_list p) inv disj l false
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "Prims.bool", "EverParse3d.Actions.Base.validate_with_action_t'", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Ac...
[]
false
false
false
false
false
let validate_list (#k: LP.parser_kind) #t (#p: LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar) : validate_with_action_t' (LowParse.Spec.List.parse_list p) inv disj l false =
fun ctxt error_handler_fn input input_length start_position -> validate_list' v ctxt error_handler_fn input input_length start_position
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_nlist_total_constant_size
val validate_nlist_total_constant_size (n_is_const: bool) (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: Type) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_ki...
val validate_nlist_total_constant_size (n_is_const: bool) (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: Type) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_ki...
let validate_nlist_total_constant_size (n_is_const: bool) (n:U32.t) #wk (#k:parser_kind true wk) (#t: Type) (p:parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires ( let open LP in k.parser_kind_subkind = Some ParserStrong...
{ "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": 54, "end_line": 1311, "start_col": 0, "start_line": 1278 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
n_is_const: Prims.bool -> n: FStar.UInt32.t -> p: EverParse3d.Prelude.parser k t -> inv: EverParse3d.Actions.Base.slice_inv -> disj: EverParse3d.Actions.Base.disjointness_pre -> l: EverParse3d.Actions.Base.eloc -> Prims.Pure (EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Pr...
Prims.Pure
[]
[]
[ "Prims.bool", "FStar.UInt32.t", "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", "Prims.op_Equality", "Prims.int", "LowParse.Spec.Base....
[]
false
false
false
false
false
let validate_nlist_total_constant_size (n_is_const: bool) (n: U32.t) #wk (#k: parser_kind true wk) (#t: Type) (p: parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_...
if if k.LP.parser_kind_low = 1 then true else if n_is_const then U32.v n % k.LP.parser_kind_low = 0 else false then validate_nlist_total_constant_size_mod_ok n p inv disj l else if if n_is_const then U32.v n % k.LP.parser_kind_low <> 0 else false then validate_nlist_constant_size_mod_ko n p inv disj l else ...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_with_success_action'
val validate_with_success_action' (name: string) (#nz #wk: _) (#k1: parser_kind nz wk) (#t1: _) (#p1: parser k1 t1) (#inv1 #disj1: _) (#l1: eloc) (v1: validate_with_action_t p1 inv1 disj1 l1 false) (#inv2 #disj2: _) (#l2: eloc) (#b: _) (a: action i...
val validate_with_success_action' (name: string) (#nz #wk: _) (#k1: parser_kind nz wk) (#t1: _) (#p1: parser k1 t1) (#inv1 #disj1: _) (#l1: eloc) (v1: validate_with_action_t p1 inv1 disj1 l1 false) (#inv2 #disj2: _) (#l2: eloc) (#b: _) (a: action i...
let validate_with_success_action' (name: string) #nz #wk (#k1:parser_kind nz wk) #t1 (#p1:parser k1 t1) (#inv1:_) (#disj1:_) (#l1:eloc) (v1:validate_with_action_t p1 inv1 disj1 l1 false) (#inv2:_) (#disj2:_) (#l2:eloc) #b (a:action inv2 disj2 l2 b bool) : validate_with_action...
{ "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": 13, "end_line": 353, "start_col": 0, "start_line": 323 }
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
name: Prims.string -> v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 disj1 l1 false -> a: EverParse3d.Actions.Base.action inv2 disj2 l2 b Prims.bool -> EverParse3d.Actions.Base.validate_with_action_t p1 (EverParse3d.Actions.Base.conj_inv inv1 inv2) (EverParse3d.Actions.Base.conj_...
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "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", "EverPa...
[]
false
false
false
false
false
let validate_with_success_action' (name: string) #nz #wk (#k1: parser_kind nz wk) #t1 (#p1: parser k1 t1) (#inv1: _) (#disj1: _) (#l1: eloc) (v1: validate_with_action_t p1 inv1 disj1 l1 false) (#inv2: _) (#disj2: _) (#l2: eloc) #b ...
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos0 = start_position in let h0 = HST.get () in [@@ (rename_let ("positionAfter" ^ name)) ]let pos1 = v1 ctxt error_handler_fn input input_length pos0 in let h1 = HST.get () in modifies_address_liveness_insensitive_unused...
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.intro_chan_inv_cond_eqT
val intro_chan_inv_cond_eqT (vs vr: chan_val) : Steel unit emp (fun _ -> chan_inv_cond vs vr) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> True)
val intro_chan_inv_cond_eqT (vs vr: chan_val) : Steel unit emp (fun _ -> chan_inv_cond vs vr) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> True)
let intro_chan_inv_cond_eqT (vs vr:chan_val) : Steel unit emp (fun _ -> chan_inv_cond vs vr) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> True) = intro_pure (vs == vs); rewrite_slprop (chan_inv_cond vs vs) (chan_inv_cond vs vr) (fun _ -> ())
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 76, "end_line": 86, "start_col": 0, "start_line": 80 }
(* 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
vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Steel Prims.unit
Steel.Effect.Steel
[]
[]
[ "Steel.Channel.Simplex.chan_val", "Steel.Effect.Atomic.rewrite_slprop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Channel.Simplex.chan_inv_cond", "Steel.Memory.mem", "Prims.unit", "Steel.Effect.Atomic.intro_pure", "Prims.eq2", "Steel.Effect.Common.emp...
[]
false
true
false
false
false
let intro_chan_inv_cond_eqT (vs vr: chan_val) : Steel unit emp (fun _ -> chan_inv_cond vs vr) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> True) =
intro_pure (vs == vs); rewrite_slprop (chan_inv_cond vs vs) (chan_inv_cond vs vr) (fun _ -> ())
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_with_comment
val validate_with_comment (c:string) (#nz:_) (#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) ...
val validate_with_comment (c:string) (#nz:_) (#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) ...
let validate_with_comment (c:string) #nz #wk (#k:parser_kind nz wk) #t (#p:parser k t) #inv #disj #l #ar (v:validate_with_action_t p inv disj l ar) : validate_with_action_t p inv disj l ar = fun ctxt error_handler_fn input input_length start_position -> LowParse.Low.Base.comment c; v ctxt erro...
{ "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": 1426, "start_col": 0, "start_line": 1419 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
c: Prims.string -> 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.string", "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", "EverPa...
[]
false
false
false
false
false
let validate_with_comment (c: string) #nz #wk (#k: parser_kind nz wk) #t (#p: parser k t) #inv #disj #l #ar (v: validate_with_action_t p inv disj l ar) : validate_with_action_t p inv disj l ar =
fun ctxt error_handler_fn input input_length start_position -> LowParse.Low.Base.comment c; v ctxt error_handler_fn input input_length start_position
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_total_constant_size_no_read'
val validate_total_constant_size_no_read' (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == Some LP.ParserKindM...
val validate_total_constant_size_no_read' (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == Some LP.ParserKindM...
let validate_total_constant_size_no_read' (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == Some LP.ParserKindMetadataTotal }) inv disj l : validate_wi...
{ "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": 74, "end_line": 1170, "start_col": 0, "start_line": 1149 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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: LowParse.Spec.Base.parser k t -> sz: FStar.UInt64.t -> u1471: u1475: Prims.unit { Mkparser_kind'?.parser_kind_high k == FStar.Pervasives.Native.Some (Mkparser_kind'?.parser_kind_low k) /\ Mkparser_kind'?.parser_kind_low k == FStar.UInt64.v sz /\ Mkparser...
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.UInt64.t", "Prims.unit", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.Native.option", "Prims.nat", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_high", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.__pro...
[]
false
false
false
false
false
let validate_total_constant_size_no_read' (#k: LP.parser_kind) (#t: Type) (p: LP.parser k t) (sz: U64.t) (u: unit { k.LP.parser_kind_high == Some k.LP.parser_kind_low /\ k.LP.parser_kind_low == U64.v sz /\ k.LP.parser_kind_metadata == Some LP.ParserKindM...
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos = start_position in let h = HST.get () in LP.parser_kind_prop_equiv k p; let hasBytes = I.has input input_length pos sz in let h2 = HST.get () in modifies_address_liveness_insensitive_unused_in h h2; if hasBytes then ...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_nlist_total_constant_size'
val validate_nlist_total_constant_size' (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: _) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some ParserSt...
val validate_nlist_total_constant_size' (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: _) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some ParserSt...
let validate_nlist_total_constant_size' (n:U32.t) #wk (#k:parser_kind true wk) #t (p:parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires ( let open LP in k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_high ==...
{ "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": 100, "end_line": 1275, "start_col": 0, "start_line": 1256 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
n: FStar.UInt32.t -> p: EverParse3d.Prelude.parser k t -> inv: EverParse3d.Actions.Base.slice_inv -> disj: EverParse3d.Actions.Base.disjointness_pre -> l: EverParse3d.Actions.Base.eloc -> Prims.Pure (EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_nlist n p) ...
Prims.Pure
[]
[]
[ "FStar.UInt32.t", "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.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_...
[]
false
false
false
false
false
let validate_nlist_total_constant_size' (n: U32.t) #wk (#k: parser_kind true wk) #t (p: parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some ParserStron...
fun ctxt error_handler_fn input start_position -> if n `U32.rem` (U32.uint_to_t k.LP.parser_kind_low) = 0ul then validate_nlist_total_constant_size_mod_ok n p inv disj l ctxt error_handler_fn input start_position else validate_nlist_constant_size_mod_ko n p inv ...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read_impos
val read_impos : leaf_reader (parse_impos())
val read_impos : leaf_reader (parse_impos())
let read_impos : leaf_reader (parse_impos()) = fun sl pos -> false_elim ()
{ "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": 19, "end_line": 1462, "start_col": 0, "start_line": 1459 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader (EverParse3d.Prelude.parse_impos ())
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.ErrorCode.pos_t", "FStar.Pervasives.false_elim", "Prims.l_False", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.impos_kind", "EverParse3d.Prelude.parse_imp...
[]
false
false
false
false
false
let read_impos:leaf_reader (parse_impos ()) =
fun sl pos -> false_elim ()
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT8
val validate____UINT8 : validator parse____UINT8
val validate____UINT8 : validator parse____UINT8
let validate____UINT8 : validator parse____UINT8 = validate_with_comment "Checking that we have enough space for a UINT8, i.e., 1 byte" (validate_total_constant_size_no_read parse____UINT8 1uL () _ _ _)
{ "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": 72, "end_line": 1469, "start_col": 0, "start_line": 1465 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT8
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT8", "EverParse3d.Prelude.___UINT8", "EverParse3d.Prelude.parse____UINT8", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse3d.Action...
[]
false
false
false
false
false
let validate____UINT8:validator parse____UINT8 =
validate_with_comment "Checking that we have enough space for a UINT8, i.e., 1 byte" (validate_total_constant_size_no_read parse____UINT8 1uL () _ _ _)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read_filter
val read_filter (#nz:_) (#k: parser_kind nz WeakKindStrongPrefix) (#t: Type) (#[@@@erasable] p: parser k t) (p32: leaf_reader p) (f: (t -> bool)) : leaf_reader (parse_filter p f)
val read_filter (#nz:_) (#k: parser_kind nz WeakKindStrongPrefix) (#t: Type) (#[@@@erasable] p: parser k t) (p32: leaf_reader p) (f: (t -> bool)) : leaf_reader (parse_filter p f)
let read_filter #nz (#k: parser_kind nz WeakKindStrongPrefix) (#t: Type) (#p: parser k t) (p32: leaf_reader p) (f: (t -> bool)) : leaf_reader (parse_filter p f) = fun input pos -> let h = HST.get () in assert (parse_...
{ "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": 1456, "start_col": 0, "start_line": 1444 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
p32: EverParse3d.Actions.Base.leaf_reader p -> f: (_: t -> Prims.bool) -> EverParse3d.Actions.Base.leaf_reader (EverParse3d.Prelude.parse_filter p f)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Prelude.parser", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.ErrorCode...
[]
false
false
false
false
false
let read_filter #nz (#k: parser_kind nz WeakKindStrongPrefix) (#t: Type) (#p: parser k t) (p32: leaf_reader p) (f: (t -> bool)) : leaf_reader (parse_filter p f) =
fun input pos -> let h = HST.get () in assert (parse_filter p f == LPC.parse_filter #k #t p f); assert_norm (P.refine t f == LPC.parse_filter_refine f); LPC.parse_filter_eq p f (I.get_remaining input h); p32 input pos
false
CQueue.fst
CQueue.enqueue
val enqueue (#a: Type) (x: t a) (l: Ghost.erased (v a)) (w: a) : Steel (Ghost.erased (v a)) (queue x l) (fun res -> queue x res) (requires (fun _ -> True)) (ensures (fun _ res _ -> datas res == datas l `L.append` [w]))
val enqueue (#a: Type) (x: t a) (l: Ghost.erased (v a)) (w: a) : Steel (Ghost.erased (v a)) (queue x l) (fun res -> queue x res) (requires (fun _ -> True)) (ensures (fun _ res _ -> datas res == datas l `L.append` [w]))
let enqueue #a x l w = queue_head_to_tail x l; let ptail0 = elim_queue_tail x l in let ptail = read (cllist_tail x) in let c = alloc_cell w (ccell_ptrvalue_null a) in let c0 = elim_ccell_ghost c in change_equal_slprop (vptr ptail0) (vptr ptail); write ptail c; change_equal_slprop (vptr ptail...
{ "file_name": "share/steel/examples/steel/CQueue.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 11, "end_line": 1323, "start_col": 0, "start_line": 1306 }
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
x: CQueue.t a -> l: FStar.Ghost.erased (CQueue.v a) -> w: a -> Steel.Effect.Steel (FStar.Ghost.erased (CQueue.v a))
Steel.Effect.Steel
[]
[]
[ "CQueue.t", "FStar.Ghost.erased", "CQueue.v", "Steel.Effect.Atomic.return", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.vdep", "Steel.Reference.vptrp", "CQueue.Cell.ccell_ptrvalue", "CQueue.LList.cllist_head", "Steel.FractionalPermission...
[]
false
true
false
false
false
let enqueue #a x l w =
queue_head_to_tail x l; let ptail0 = elim_queue_tail x l in let ptail = read (cllist_tail x) in let c = alloc_cell w (ccell_ptrvalue_null a) in let c0 = elim_ccell_ghost c in change_equal_slprop (vptr ptail0) (vptr ptail); write ptail c; change_equal_slprop (vptr ptail) (vptr ptail0); let l' = intro_llist_fragment_tail...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT8
val read____UINT8 : leaf_reader parse____UINT8
val read____UINT8 : leaf_reader parse____UINT8
let read____UINT8 : leaf_reader parse____UINT8 = lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL
{ "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": 48, "end_line": 1496, "start_col": 0, "start_line": 1494 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT8
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u8_kind", "FStar.UInt8.t", "LowParse.Spec.Int.parse_u8", "LowParse.Low.Int.read_u8", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UINT8", "EverParse3d.Prel...
[]
false
false
false
false
false
let read____UINT8:leaf_reader parse____UINT8 =
lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.intro_in_state
val intro_in_state (r: ref chan_val) (p: prot) (v: chan_val_p p) : SteelT unit (pts_to r half v) (fun _ -> in_state r p)
val intro_in_state (r: ref chan_val) (p: prot) (v: chan_val_p p) : SteelT unit (pts_to r half v) (fun _ -> in_state r p)
let intro_in_state (r:ref chan_val) (p:prot) (v:chan_val_p p) : SteelT unit (pts_to r half v) (fun _ -> in_state r p) = intro_pure (in_state_prop p v); intro_exists v (fun (v:chan_val) -> pts_to r half v `star` in_state_slprop p v)
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 83, "end_line": 163, "start_col": 0, "start_line": 160 }
(* 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 -> v: Steel.Channel.Simplex.chan_val_p p -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.HigherReference.ref", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_val_p", "Steel.Effect.Atomic.intro_exists", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.star", "Steel.HigherReference.pt...
[]
false
true
false
false
false
let intro_in_state (r: ref chan_val) (p: prot) (v: chan_val_p p) : SteelT unit (pts_to r half v) (fun _ -> in_state r p) =
intro_pure (in_state_prop p v); intro_exists v (fun (v: chan_val) -> (pts_to r half v) `star` (in_state_slprop p v))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.next_trace_st
val next_trace_st (#p: _) (vr vs: chan_val) (tr: partial_trace_of p) : Steel (extension_of tr) (chan_inv_step vr vs) (fun _ -> emp) (requires fun _ -> until tr == step vr.chan_prot vr.chan_msg) (ensures fun _ ts _ -> until ts == step vs.chan_prot vs.chan_msg)
val next_trace_st (#p: _) (vr vs: chan_val) (tr: partial_trace_of p) : Steel (extension_of tr) (chan_inv_step vr vs) (fun _ -> emp) (requires fun _ -> until tr == step vr.chan_prot vr.chan_msg) (ensures fun _ ts _ -> until ts == step vs.chan_prot vs.chan_msg)
let next_trace_st #p (vr:chan_val) (vs:chan_val) (tr:partial_trace_of p) : Steel (extension_of tr) (chan_inv_step vr vs) (fun _ -> emp) (requires fun _ -> until tr == step vr.chan_prot vr.chan_msg) (ensures fun _ ts _ -> until ts == step vs.chan_prot vs.chan_msg) = elim_pure ...
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 315, "start_col": 0, "start_line": 307 }
(* 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 -> Steel.Effect.Steel (Steel.Channel.Protocol.extension_of tr)
Steel.Effect.Steel
[]
[]
[ "Steel.Channel.Protocol.protocol", "Prims.unit", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Protocol.partial_trace_of", "Steel.Effect.Atomic.return", "Steel.Channel.Protocol.extension_of", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "FStar.Algebra.CommMono...
[]
false
true
false
false
false
let next_trace_st #p (vr: chan_val) (vs: chan_val) (tr: partial_trace_of p) : Steel (extension_of tr) (chan_inv_step vr vs) (fun _ -> emp) (requires fun _ -> until tr == step vr.chan_prot vr.chan_msg) (ensures fun _ ts _ -> until ts == step vs.chan_prot vs.chan_msg) =
elim_pure (chan_inv_step_p vr vs); let ts:extension_of tr = next_trace vr vs tr () () in return ts
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_list'
val validate_list' (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: I.extra_t #input_buffer_t) (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar) (ctxt: app_ctxt) (error_handler_fn: error_handler) (sl...
val validate_list' (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: I.extra_t #input_buffer_t) (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar) (ctxt: app_ctxt) (error_handler_fn: error_handler) (sl...
let validate_list' (# [EverParse3d.Util.solve_from_ctx ()] _extra_t : I.extra_t #input_buffer_t ) (#k:LP.parser_kind) #t (#p:LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar) (ctxt: app_ctxt) (error_handler_fn: error_handler) (sl: input_buffer_t) (sl_len: I.tlen sl) (po...
{ "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": 13, "end_line": 1032, "start_col": 0, "start_line": 970 }
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.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "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 ar -> ctxt: EverParse3d.Actions.Base.app_ctxt -> error_handler_fn: EverParse3d.Actions.Base.error_handler -> sl: EverParse3d.Actions.Base.input_buffer_t -> sl_len: EverParse3d.InputStream.Base.tlen sl -> pos: EverParse3d.ErrorCode...
FStar.HyperStack.ST.Stack
[]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "P...
[]
false
true
false
false
false
let validate_list' (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: I.extra_t #input_buffer_t) (#k: LP.parser_kind) #t (#p: LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar) (ctxt: app_ctxt) (error_handler_fn: error_handler) ...
let h0 = HST.get () in let g0 = Ghost.hide h0 in HST.push_frame (); let h02 = HST.get () in fresh_frame_modifies h0 h02; let result = alloca pos 1ul in let h1 = HST.get () in let g1 = Ghost.hide h1 in I.live_not_unused_in sl h0; C.Loops.do_while (validate_list_inv p inv disj l g0 g1 ctxt sl result) (fun _ -> validate...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_filter
val validate_filter (name: string) (#nz:_) (#k:parser_kind nz WeakKindStrongPrefix) (#t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (v:validate...
val validate_filter (name: string) (#nz:_) (#k:parser_kind nz WeakKindStrongPrefix) (#t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (v:validate...
let validate_filter (name: string) #nz (#k:parser_kind nz _) (#t:_) (#p:parser k t) #inv #disj #l (v:validate_with_action_t p inv disj l true) (r:leaf_reader p) (f:t -> bool) (cr:string) (cf:string) = fun ctxt error_handler_fn input input_length start_position -> [@inline_let] let pos = star...
{ "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": 7, "end_line": 776, "start_col": 0, "start_line": 753 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
name: Prims.string -> v: EverParse3d.Actions.Base.validate_with_action_t p inv disj l true -> r: EverParse3d.Actions.Base.leaf_reader p -> f: (_: t -> Prims.bool) -> cr: Prims.string -> cf: Prims.string -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_filter p f) ...
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Prims.bool", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "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
false
let validate_filter (name: string) #nz (#k: parser_kind nz _) (#t: _) (#p: parser k t) #inv #disj #l (v: validate_with_action_t p inv disj l true) (r: leaf_reader p) (f: (t -> bool)) (cr: string) (cf: string) =
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos = start_position in let h = HST.get () in LPC.parse_filter_eq p f (I.get_remaining input h); [@@ (rename_let ("positionAfter" ^ name)) ]let res = v ctxt error_handler_fn input input_length pos in let h1 = HST.get () i...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT32BE
val validate____UINT32BE : validator parse____UINT32BE
val validate____UINT32BE : validator parse____UINT32BE
let validate____UINT32BE : validator parse____UINT32BE = validate_with_comment "Checking that we have enough space for a UINT32BE, i.e., 4 bytes" (validate_total_constant_size_no_read parse____UINT32BE 4uL () _ _ _)
{ "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": 75, "end_line": 1527, "start_col": 0, "start_line": 1523 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT32BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT32BE", "EverParse3d.Prelude.___UINT32BE", "EverParse3d.Prelude.parse____UINT32BE", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse...
[]
false
false
false
false
false
let validate____UINT32BE:validator parse____UINT32BE =
validate_with_comment "Checking that we have enough space for a UINT32BE, i.e., 4 bytes" (validate_total_constant_size_no_read parse____UINT32BE 4uL () _ _ _)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT8BE
val validate____UINT8BE : validator parse____UINT8BE
val validate____UINT8BE : validator parse____UINT8BE
let validate____UINT8BE : validator parse____UINT8BE = validate_with_comment "Checking that we have enough space for a UINT8BE, i.e., 1 byte" (validate_total_constant_size_no_read parse____UINT8BE 1uL () _ _ _)
{ "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": 74, "end_line": 1503, "start_col": 0, "start_line": 1499 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT8BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT8BE", "EverParse3d.Prelude.___UINT8BE", "EverParse3d.Prelude.parse____UINT8BE", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse3d....
[]
false
false
false
false
false
let validate____UINT8BE:validator parse____UINT8BE =
validate_with_comment "Checking that we have enough space for a UINT8BE, i.e., 1 byte" (validate_total_constant_size_no_read parse____UINT8BE 1uL () _ _ _)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_weaken_inv_loc
val validate_weaken_inv_loc (#nz:_) (#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_readi...
val validate_weaken_inv_loc (#nz:_) (#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_readi...
let validate_weaken_inv_loc #nz #wk (#k:parser_kind nz wk) #t (#p:parser k t) #inv #disj (#l:eloc) #ar (inv':slice_inv{inv' `inv_implies` inv}) (disj':_{ disj' `imp_disjointness` disj}) (l':eloc{l' `eloc_includes` l}) (v:validate_with_action_t p inv disj l ar) : Tot (validate_with_...
{ "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": 5, "end_line": 1437, "start_col": 0, "start_line": 1429 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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{EverParse3d.Actions.Base.inv_implies inv' inv} -> disj': EverParse3d.Actions.Base.disjointness_pre {EverParse3d.Actions.Base.imp_disjointness disj' disj} -> l': EverParse3d.Actions.Base.eloc{EverParse3d.Actions.Base.eloc_includes l' l} -> v: EverPa...
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.inv_implies", "EverParse3d.Actions.Base.imp_disjoi...
[]
false
false
false
false
false
let validate_weaken_inv_loc #nz #wk (#k: parser_kind nz wk) #t (#p: parser k t) #inv #disj (#l: eloc) #ar (inv': slice_inv{inv' `inv_implies` inv}) (disj': _{disj' `imp_disjointness` disj}) (l': eloc{l' `eloc_includes` l}) (v: validate_with_a...
v
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT16BE
val read____UINT16BE : leaf_reader parse____UINT16BE
val read____UINT16BE : leaf_reader parse____UINT16BE
let read____UINT16BE : leaf_reader parse____UINT16BE = lift_reader _ LowParse.Low.Int.read_u16 2ul 2uL
{ "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": 49, "end_line": 1520, "start_col": 0, "start_line": 1518 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT16BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u16_kind", "FStar.UInt16.t", "LowParse.Spec.Int.parse_u16", "LowParse.Low.Int.read_u16", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UINT16BE", "EverParse...
[]
false
false
false
false
false
let read____UINT16BE:leaf_reader parse____UINT16BE =
lift_reader _ LowParse.Low.Int.read_u16 2ul 2uL
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT64BE
val validate____UINT64BE : validator parse____UINT64BE
val validate____UINT64BE : validator parse____UINT64BE
let validate____UINT64BE : validator parse____UINT64BE = validate_with_comment "Checking that we have enough space for a UINT64BE, i.e., 8 bytes" (validate_total_constant_size_no_read parse____UINT64BE 8uL () _ _ _)
{ "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": 75, "end_line": 1539, "start_col": 0, "start_line": 1535 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT64BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT64BE", "EverParse3d.Prelude.___UINT64BE", "EverParse3d.Prelude.parse____UINT64BE", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse...
[]
false
false
false
false
false
let validate____UINT64BE:validator parse____UINT64BE =
validate_with_comment "Checking that we have enough space for a UINT64BE, i.e., 8 bytes" (validate_total_constant_size_no_read parse____UINT64BE 8uL () _ _ _)
false
FStar.DM4F.IntStoreExcFixed.fst
FStar.DM4F.IntStoreExcFixed.return_is
val return_is (a: Type) (x: a) : int_store_exc a
val return_is (a: Type) (x: a) : int_store_exc a
let return_is (a:Type) (x:a) : int_store_exc a = fun store -> Some x, store
{ "file_name": "examples/dm4free/FStar.DM4F.IntStoreExcFixed.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 75, "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", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.IntStoreExcFixed...
[ { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> FStar.DM4F.IntStoreExcFixed.int_store_exc a
Prims.Tot
[ "total" ]
[]
[ "FStar.DM4F.Heap.IntStoreFixed.heap", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.DM4F.IntStoreExcFixed.int_store_exc" ]
[]
false
false
false
true
false
let return_is (a: Type) (x: a) : int_store_exc a =
fun store -> Some x, store
false
FStar.DM4F.IntStoreExcFixed.fst
FStar.DM4F.IntStoreExcFixed.iget
val iget: Prims.unit -> int_store_exc (heap)
val iget: Prims.unit -> int_store_exc (heap)
let iget () : int_store_exc (heap) = fun store -> Some store, store
{ "file_name": "examples/dm4free/FStar.DM4F.IntStoreExcFixed.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 67, "end_line": 30, "start_col": 0, "start_line": 30 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.IntStoreExcFixed...
[ { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.DM4F.IntStoreExcFixed.int_store_exc FStar.DM4F.Heap.IntStoreFixed.heap
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.DM4F.Heap.IntStoreFixed.heap", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.DM4F.IntStoreExcFixed.int_store_exc" ]
[]
false
false
false
true
false
let iget () : int_store_exc (heap) =
fun store -> Some store, store
false
FStar.DM4F.IntStoreExcFixed.fst
FStar.DM4F.IntStoreExcFixed.raise_impl
val raise_impl: Prims.unit -> int_store_exc False
val raise_impl: Prims.unit -> int_store_exc False
let raise_impl () : int_store_exc False = fun store -> None, store
{ "file_name": "examples/dm4free/FStar.DM4F.IntStoreExcFixed.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 66, "end_line": 35, "start_col": 0, "start_line": 35 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.IntStoreExcFixed...
[ { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.DM4F.IntStoreExcFixed.int_store_exc Prims.l_False
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.DM4F.Heap.IntStoreFixed.heap", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "Prims.l_False", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2", "FStar.DM4F.IntStoreExcFixed.int_store_exc" ]
[]
false
false
false
true
false
let raise_impl () : int_store_exc False =
fun store -> None, store
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT16BE
val validate____UINT16BE : validator parse____UINT16BE
val validate____UINT16BE : validator parse____UINT16BE
let validate____UINT16BE : validator parse____UINT16BE = validate_with_comment "Checking that we have enough space for a UINT16BE, i.e., 2 bytes" (validate_total_constant_size_no_read parse____UINT16BE 2uL () _ _ _)
{ "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": 75, "end_line": 1515, "start_col": 0, "start_line": 1511 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT16BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT16BE", "EverParse3d.Prelude.___UINT16BE", "EverParse3d.Prelude.parse____UINT16BE", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse...
[]
false
false
false
false
false
let validate____UINT16BE:validator parse____UINT16BE =
validate_with_comment "Checking that we have enough space for a UINT16BE, i.e., 2 bytes" (validate_total_constant_size_no_read parse____UINT16BE 2uL () _ _ _)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT8BE
val read____UINT8BE : leaf_reader parse____UINT8BE
val read____UINT8BE : leaf_reader parse____UINT8BE
let read____UINT8BE : leaf_reader parse____UINT8BE = lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL
{ "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": 48, "end_line": 1508, "start_col": 0, "start_line": 1506 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT8BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u8_kind", "FStar.UInt8.t", "LowParse.Spec.Int.parse_u8", "LowParse.Low.Int.read_u8", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UINT8BE", "EverParse3d.Pr...
[]
false
false
false
false
false
let read____UINT8BE:leaf_reader parse____UINT8BE =
lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_nlist_constant_size_mod_ko
val validate_nlist_constant_size_mod_ko (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: _) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some ParserSt...
val validate_nlist_constant_size_mod_ko (n: U32.t) (#wk: _) (#k: parser_kind true wk) (#t: _) (p: parser k t) (inv disj l: _) : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some ParserSt...
let validate_nlist_constant_size_mod_ko (n:U32.t) (#wk: _) (#k:parser_kind true wk) #t (p:parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires ( let open LP in k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_hi...
{ "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": 3, "end_line": 1253, "start_col": 0, "start_line": 1219 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
n: FStar.UInt32.t -> p: EverParse3d.Prelude.parser k t -> inv: EverParse3d.Actions.Base.slice_inv -> disj: EverParse3d.Actions.Base.disjointness_pre -> l: EverParse3d.Actions.Base.eloc -> Prims.Pure (EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_nlist n p) ...
Prims.Pure
[]
[]
[ "FStar.UInt32.t", "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.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_...
[]
false
false
false
false
false
let validate_nlist_constant_size_mod_ko (n: U32.t) (#wk: _) (#k: parser_kind true wk) #t (p: parser k t) inv disj l : Pure (validate_with_action_t (parse_nlist n p) inv disj l true) (requires (let open LP in k.parser_kind_subkind == Some Parser...
(fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos = start_position in let h = FStar.HyperStack.ST.get () in [@@ inline_let ]let f () : Lemma (requires (Some? (LP.parse (parse_nlist n p) (I.get_remaining input h)))) (ensures False) = let sq = I.ge...
false
FStar.DM4F.IntStoreExcFixed.fst
FStar.DM4F.IntStoreExcFixed.bind_is
val bind_is (a b: Type) (x: int_store_exc a) (f: (a -> int_store_exc b)) : int_store_exc b
val bind_is (a b: Type) (x: int_store_exc a) (f: (a -> int_store_exc b)) : int_store_exc b
let bind_is (a b : Type) (x:int_store_exc a) (f: a -> int_store_exc b) : int_store_exc b = fun store -> let (z, store') = x store in match z with | None -> None, store' | Some xa -> f xa store'
{ "file_name": "examples/dm4free/FStar.DM4F.IntStoreExcFixed.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 28, "start_col": 0, "start_line": 23 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.IntStoreFixed.fst.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.IntStoreExcFixed...
[ { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> x: FStar.DM4F.IntStoreExcFixed.int_store_exc a -> f: (_: a -> FStar.DM4F.IntStoreExcFixed.int_store_exc b) -> FStar.DM4F.IntStoreExcFixed.int_store_exc b
Prims.Tot
[ "total" ]
[]
[ "FStar.DM4F.IntStoreExcFixed.int_store_exc", "FStar.DM4F.Heap.IntStoreFixed.heap", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
true
false
let bind_is (a b: Type) (x: int_store_exc a) (f: (a -> int_store_exc b)) : int_store_exc b =
fun store -> let z, store' = x store in match z with | None -> None, store' | Some xa -> f xa store'
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT32BE
val read____UINT32BE : leaf_reader parse____UINT32BE
val read____UINT32BE : leaf_reader parse____UINT32BE
let read____UINT32BE : leaf_reader parse____UINT32BE = lift_reader _ LowParse.Low.Int.read_u32 4ul 4uL
{ "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": 49, "end_line": 1532, "start_col": 0, "start_line": 1530 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT32BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u32_kind", "FStar.UInt32.t", "LowParse.Spec.Int.parse_u32", "LowParse.Low.Int.read_u32", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UINT32BE", "EverParse...
[]
false
false
false
false
false
let read____UINT32BE:leaf_reader parse____UINT32BE =
lift_reader _ LowParse.Low.Int.read_u32 4ul 4uL
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.intro_chan_inv_eqT
val intro_chan_inv_eqT (#p: _) (c: chan_t p) (vs vr: chan_val) : Steel unit (((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) (fun _ -> chan_inv c) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> True)
val intro_chan_inv_eqT (#p: _) (c: chan_t p) (vs vr: chan_val) : Steel unit (((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) (fun _ -> chan_inv c) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> True)
let intro_chan_inv_eqT #p (c:chan_t p) (vs vr:chan_val) : Steel unit (pts_to c.send half vs `star` pts_to c.recv half vr `star` trace_until c.trace vr) (fun _ -> chan_inv c) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> 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": 25, "end_line": 122, "start_col": 0, "start_line": 114 }
(* 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 -> vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.Steel Prims.unit
Steel.Effect.Steel
[]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_t", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.intro_chan_inv_auxT", "Prims.unit", "Steel.Channel.Simplex.intro_chan_inv_cond_eqT", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__proj__Mkcha...
[]
false
true
false
false
false
let intro_chan_inv_eqT #p (c: chan_t p) (vs: chan_val) (vr: chan_val) : Steel unit (((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) (fun _ -> chan_inv c) (requires fun _ -> vs == vr) (ensures fun _ _ _ -> True) =
intro_chan_inv_cond_eqT vs vr; intro_chan_inv_auxT c
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_ite
val validate_ite (#nz:_) (#wk: _) (#k:parser_kind nz wk) (e:bool) (#[@@@erasable] a:squash e -> Type) (#[@@@erasable] b:squash (not e) -> Type) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre) (#[@@@erasable] l1:eloc) ...
val validate_ite (#nz:_) (#wk: _) (#k:parser_kind nz wk) (e:bool) (#[@@@erasable] a:squash e -> Type) (#[@@@erasable] b:squash (not e) -> Type) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre) (#[@@@erasable] l1:eloc) ...
let validate_ite e p1 v1 p2 v2 = fun ctxt error_handler_fn input input_len start_position -> if e then validate_drop (v1 ()) ctxt error_handler_fn input input_len start_position else validate_drop (v2 ()) ctxt error_handler_fn input input_len start_position
{ "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": 85, "end_line": 877, "start_col": 0, "start_line": 872 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
e: Prims.bool -> p1: (_: Prims.squash e -> EverParse3d.Prelude.parser k (a ())) -> v1: (_: Prims.squash e -> EverParse3d.Actions.Base.validate_with_action_t (p1 ()) inv1 disj1 l1 ar1) -> p2: (_: Prims.squash (Prims.op_Negation e) -> EverParse3d.Prelude.parser k (b ())) -> v2: ...
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverParse3d.Kinds.weak_kind", "EverParse3d.Kinds.parser_kind", "Prims.squash", "Prims.b2t", "Prims.op_Negation", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "EverParse3d.Prelude.parser", "EverParse3d.Actions.B...
[]
false
false
false
false
false
let validate_ite e p1 v1 p2 v2 =
fun ctxt error_handler_fn input input_len start_position -> if e then validate_drop (v1 ()) ctxt error_handler_fn input input_len start_position else validate_drop (v2 ()) ctxt error_handler_fn input input_len start_position
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_all_zeros
val validate_all_zeros : validate_with_action_t parse_all_zeros true_inv disjointness_trivial eloc_none false
val validate_all_zeros : validate_with_action_t parse_all_zeros true_inv disjointness_trivial eloc_none false
let validate_all_zeros = validate_list (validate_filter "parse_zeros" validate____UINT8 read____UINT8 is_zero "check if zero" "")
{ "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": 1736, "start_col": 0, "start_line": 1735 }
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.ListUpTo", "short_module": "LUT" }, { "abbrev": true, "full_module": "LowParse.Low.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "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
EverParse3d.Actions.Base.validate_with_action_t EverParse3d.Prelude.parse_all_zeros EverParse3d.Actions.Base.true_inv EverParse3d.Actions.Base.disjointness_trivial EverParse3d.Actions.Base.eloc_none false
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_list", "EverParse3d.Kinds.filter_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT8", "EverParse3d.Prelude.refine", "EverParse3d.Prelude.___UINT8", "EverParse3d.Prelude.is_zero", "EverParse3d.Prelude.parse_filter", "EverParse3d.Prelud...
[]
false
false
false
false
false
let validate_all_zeros =
validate_list (validate_filter "parse_zeros" validate____UINT8 read____UINT8 is_zero "check if zero" "")
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT16
val validate____UINT16 : validator parse____UINT16
val validate____UINT16 : validator parse____UINT16
let validate____UINT16 : validator parse____UINT16 = validate_with_comment "Checking that we have enough space for a UINT16, i.e., 2 bytes" (validate_total_constant_size_no_read parse____UINT16 2uL () _ _ _)
{ "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": 73, "end_line": 1551, "start_col": 0, "start_line": 1547 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT16
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT16", "EverParse3d.Prelude.___UINT16", "EverParse3d.Prelude.parse____UINT16", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse3d.Act...
[]
false
false
false
false
false
let validate____UINT16:validator parse____UINT16 =
validate_with_comment "Checking that we have enough space for a UINT16, i.e., 2 bytes" (validate_total_constant_size_no_read parse____UINT16 2uL () _ _ _)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT64BE
val read____UINT64BE : leaf_reader parse____UINT64BE
val read____UINT64BE : leaf_reader parse____UINT64BE
let read____UINT64BE : leaf_reader parse____UINT64BE = lift_reader _ LowParse.Low.Int.read_u64 8ul 8uL
{ "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": 49, "end_line": 1544, "start_col": 0, "start_line": 1542 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT64BE
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u64_kind", "FStar.UInt64.t", "LowParse.Spec.Int.parse_u64", "LowParse.Low.Int.read_u64", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UINT64BE", "EverParse...
[]
false
false
false
false
false
let read____UINT64BE:leaf_reader parse____UINT64BE =
lift_reader _ LowParse.Low.Int.read_u64 8ul 8uL
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT16
val read____UINT16 : leaf_reader parse____UINT16
val read____UINT16 : leaf_reader parse____UINT16
let read____UINT16 : leaf_reader parse____UINT16 = lift_reader _ LowParse.Low.BoundedInt.read_u16_le 2ul 2uL
{ "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": 59, "end_line": 1556, "start_col": 0, "start_line": 1554 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT16
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u16_kind", "FStar.UInt16.t", "LowParse.Spec.BoundedInt.parse_u16_le", "LowParse.Low.BoundedInt.read_u16_le", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UIN...
[]
false
false
false
false
false
let read____UINT16:leaf_reader parse____UINT16 =
lift_reader _ LowParse.Low.BoundedInt.read_u16_le 2ul 2uL
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.synth_list_up_to'
val synth_list_up_to' (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond fuel) : Tot (parse_list_up_to_t cond)
val synth_list_up_to' (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond fuel) : Tot (parse_list_up_to_t cond)
let synth_list_up_to' (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond fuel) : Tot (parse_list_up_to_t cond) = (fst xy, snd xy)
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 18, "end_line": 238, "start_col": 0, "start_line": 232 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> fuel: Prims.nat -> xy: LowParse.Spec.ListUpTo.parse_list_up_to_fuel_t cond fuel -> LowParse.Spec.ListUpTo.parse_list_up_to_t cond
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.nat", "LowParse.Spec.ListUpTo.parse_list_up_to_fuel_t", "FStar.Pervasives.Native.Mktuple2", "Prims.list", "LowParse.Spec.ListUpTo.refine_with_cond", "LowParse.Spec.ListUpTo.negate_cond", "FStar.Pervasives.Native.fst", "LowParse.Spec.ListUpTo.llist", "FStar.Pervasives.Native.sn...
[]
false
false
false
false
false
let synth_list_up_to' (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond fuel) : Tot (parse_list_up_to_t cond) =
(fst xy, snd xy)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT32
val validate____UINT32 : validator parse____UINT32
val validate____UINT32 : validator parse____UINT32
let validate____UINT32 : validator parse____UINT32 = validate_with_comment "Checking that we have enough space for a UINT32, i.e., 4 bytes" (validate_total_constant_size_no_read parse____UINT32 4uL () _ _ _)
{ "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": 73, "end_line": 1563, "start_col": 0, "start_line": 1559 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT32
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT32", "EverParse3d.Prelude.___UINT32", "EverParse3d.Prelude.parse____UINT32", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse3d.Act...
[]
false
false
false
false
false
let validate____UINT32:validator parse____UINT32 =
validate_with_comment "Checking that we have enough space for a UINT32, i.e., 4 bytes" (validate_total_constant_size_no_read parse____UINT32 4uL () _ _ _)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT32
val read____UINT32 : leaf_reader parse____UINT32
val read____UINT32 : leaf_reader parse____UINT32
let read____UINT32 : leaf_reader parse____UINT32 = lift_reader _ LowParse.Low.BoundedInt.read_u32_le 4ul 4uL
{ "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": 59, "end_line": 1568, "start_col": 0, "start_line": 1566 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT32
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u32_kind", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_u32_le", "LowParse.Low.BoundedInt.read_u32_le", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UIN...
[]
false
false
false
false
false
let read____UINT32:leaf_reader parse____UINT32 =
lift_reader _ LowParse.Low.BoundedInt.read_u32_le 4ul 4uL
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate____UINT64
val validate____UINT64 : validator parse____UINT64
val validate____UINT64 : validator parse____UINT64
let validate____UINT64 : validator parse____UINT64 = validate_with_comment "Checking that we have enough space for a UINT64, i.e., 8 bytes" (validate_total_constant_size_no_read parse____UINT64 8uL () _ _ _)
{ "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": 73, "end_line": 1575, "start_col": 0, "start_line": 1571 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse____UINT64
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.validate_with_comment", "EverParse3d.Kinds.WeakKindStrongPrefix", "EverParse3d.Kinds.kind____UINT64", "EverParse3d.Prelude.___UINT64", "EverParse3d.Prelude.parse____UINT64", "EverParse3d.Actions.Base.true_inv", "EverParse3d.Actions.Base.disjointness_trivial", "EverParse3d.Act...
[]
false
false
false
false
false
let validate____UINT64:validator parse____UINT64 =
validate_with_comment "Checking that we have enough space for a UINT64, i.e., 8 bytes" (validate_total_constant_size_no_read parse____UINT64 8uL () _ _ _)
false
Steel.SpinLock.fst
Steel.SpinLock.acquire
val acquire (#p:vprop) (l:lock p) : SteelT unit emp (fun _ -> p)
val acquire (#p:vprop) (l:lock p) : SteelT unit emp (fun _ -> p)
let rec acquire #p l = let r:ref bool = l.r in let i: inv (lockinv p r) = l.i in let b = with_invariant i (fun _ -> acquire_core r i) in if b then ( rewrite_slprop (if b then p else emp) p (fun _ -> ()); noop () ) else ( rewrite_slprop (if b then p else emp) emp (fun _ -> ()); acquire l )
{ "file_name": "lib/steel/Steel.SpinLock.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 89, "start_col": 0, "start_line": 79 }
(* 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.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": tr...
[ { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.Effect.Atomic", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Steel.SpinLock.lock p -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Effect.Common.vprop", "Steel.SpinLock.lock", "Steel.Effect.Atomic.noop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Prims.unit", "Steel.Effect.Atomic.rewrite_slprop", "Prims.bool", "Steel.Effect.Common.emp", "Steel.Memory.mem", "Steel.SpinLock.acqui...
[ "recursion" ]
false
true
false
false
false
let rec acquire #p l =
let r:ref bool = l.r in let i:inv (lockinv p r) = l.i in let b = with_invariant i (fun _ -> acquire_core r i) in if b then (rewrite_slprop (if b then p else emp) p (fun _ -> ()); noop ()) else (rewrite_slprop (if b then p else emp) emp (fun _ -> ()); acquire l)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_list_body
val validate_list_body (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: I.extra_t #input_buffer_t) (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar) (g0 g1: Ghost.erased HS.mem) (ctxt: app_ctxt) (err...
val validate_list_body (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: I.extra_t #input_buffer_t) (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar) (g0 g1: Ghost.erased HS.mem) (ctxt: app_ctxt) (err...
let validate_list_body (# [EverParse3d.Util.solve_from_ctx ()] _extra_t : I.extra_t #input_buffer_t ) (#k:LP.parser_kind) #t (#p:LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar) (g0 g1: Ghost.erased HS.mem) (ctxt:app_ctxt) (error_handler_fn:error_handler) (sl: input_buff...
{ "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": 5, "end_line": 966, "start_col": 0, "start_line": 935 }
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.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "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 ar -> g0: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> g1: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> ctxt: EverParse3d.Actions.Base.app_ctxt -> error_handler_fn: EverParse3d.Actions.Base.error_handler -> sl: Eve...
FStar.HyperStack.ST.Stack
[]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "P...
[]
false
true
false
false
false
let validate_list_body (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: I.extra_t #input_buffer_t) (#k: LP.parser_kind) #t (#p: LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar) (g0: Ghost.erased HS.mem) (g1: Ghost.erased HS.m...
let h = HST.get () in LPLL.parse_list_eq p (I.get_remaining sl h); let position = !*bres in if not (I.has sl sl_len position 1uL) then true else let h1 = HST.get () in modifies_address_liveness_insensitive_unused_in (Ghost.reveal g0) h1; let result = validate_drop v ctxt error_handler_fn sl sl_len position in u...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_unit
val validate_unit : validator parse_unit
val validate_unit : validator parse_unit
let validate_unit = fun _ _ input _ start_position -> start_position
{ "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": 1584, "start_col": 0, "start_line": 1583 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.validator EverParse3d.Prelude.parse_unit
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.error_handler", "EverParse3d.InputStream.Base.tlen", "EverParse3d.ErrorCode.pos_t", "FStar.UInt64.t" ]
[]
false
false
false
false
false
let validate_unit =
fun _ _ input _ start_position -> start_position
false
Steel.ST.Array.Util.fst
Steel.ST.Array.Util.forall_body
val forall_body: #a: Type0 -> n: US.t -> arr: A.array a -> p: (a -> bool) -> r: R.ref US.t -> perm: perm -> s: G.erased (Seq.seq a) -> squash (Seq.length s == US.v n) -> unit -> STT unit (forall_inv n arr p r perm s () true) (fun _ -> exists_ (forall_inv n arr p r perm ...
val forall_body: #a: Type0 -> n: US.t -> arr: A.array a -> p: (a -> bool) -> r: R.ref US.t -> perm: perm -> s: G.erased (Seq.seq a) -> squash (Seq.length s == US.v n) -> unit -> STT unit (forall_inv n arr p r perm s () true) (fun _ -> exists_ (forall_inv n arr p r perm ...
let forall_body (#a:Type0) (n:US.t) (arr:A.array a) (p:a -> bool) (r:R.ref US.t) (perm:perm) (s:G.erased (Seq.seq a)) (_:squash (Seq.length s == US.v n)) : unit -> STT unit (forall_inv n arr p r perm s () true) (fun _ -> exists_ (forall_inv n arr p r perm s ())) = fun _ -> le...
{ "file_name": "lib/steel/Steel.ST.Array.Util.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 225, "start_col": 0, "start_line": 193 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Reference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.ST.Effect.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.che...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Effect", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": true, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: FStar.SizeT.t -> arr: Steel.ST.Array.array a -> p: (_: a -> Prims.bool) -> r: Steel.ST.Reference.ref FStar.SizeT.t -> perm: Steel.FractionalPermission.perm -> s: FStar.Ghost.erased (FStar.Seq.Base.seq a) -> _: Prims.squash (FStar.Seq.Base.length (FStar.Ghost.reveal s) == FStar.SizeT.v n)...
Steel.ST.Effect.STT
[]
[]
[ "FStar.SizeT.t", "Steel.ST.Array.array", "Prims.bool", "Steel.ST.Reference.ref", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Prims.squash", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "FStar.Ghost.reveal", "FStar.SizeT.v", "Prims.unit", "Steel.S...
[]
false
true
false
false
false
let forall_body (#a: Type0) (n: US.t) (arr: A.array a) (p: (a -> bool)) (r: R.ref US.t) (perm: perm) (s: G.erased (Seq.seq a)) (_: squash (Seq.length s == US.v n)) : unit -> STT unit (forall_inv n arr p r perm s () true) (fun _ -> exists_ (f...
fun _ -> let _ = elim_exists () in elim_pure _; elim_pure _; let i = R.read r in R.write r (US.add i 1sz); intro_pure (forall_pure_inv n p s () (US.add i 1sz)); intro_pure (forall_pure_inv_b n p s () (US.add i 1sz) ((US.add i 1sz) `US.lt` n && p (Seq.index s (US.v (...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.external_action
val external_action (l: eloc) : Tot Type0
val external_action (l: eloc) : Tot Type0
let external_action l = unit -> Stack unit (fun _ -> True) (fun h0 _ h1 -> B.modifies l h0 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": 72, "end_line": 1839, "start_col": 0, "start_line": 1838 }
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.Tactics", "short_module": "T" }, { "abbrev": true, "full_module": "LowParse.Low.ListUpTo", "short_module": "LUT" }, { "abbrev": true, "full_module": "LowParse.Low.FLData", "short_module": "LPLF" }, { "abbrev": true, "ful...
{ "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 -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.eloc", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_True", "LowStar.Monotonic.Buffer.modifies", "FStar.Ghost.reveal", "LowStar.Monotonic.Buffer.loc" ]
[]
false
false
false
true
true
let external_action l =
unit -> Stack unit (fun _ -> True) (fun h0 _ h1 -> B.modifies l h0 h1)
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read_unit
val read_unit : leaf_reader (parse_ret ())
val read_unit : leaf_reader (parse_ret ())
let read_unit = fun input 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": 21, "end_line": 1588, "start_col": 0, "start_line": 1587 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader (EverParse3d.Prelude.parse_ret ())
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.ErrorCode.pos_t", "Prims.unit" ]
[]
false
false
false
false
false
let read_unit =
fun input pos -> ()
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_fldata_consumes_all
val validate_fldata_consumes_all (n: U32.t) (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar {k.LP.parser_kind_subkind == Some LP.ParserConsumesAll}) : validate_with_action_t' (LowParse.Spec....
val validate_fldata_consumes_all (n: U32.t) (#k: LP.parser_kind) (#t: _) (#p: LP.parser k t) (#inv #disj #l #ar: _) (v: validate_with_action_t' p inv disj l ar {k.LP.parser_kind_subkind == Some LP.ParserConsumesAll}) : validate_with_action_t' (LowParse.Spec....
let validate_fldata_consumes_all (n:U32.t) (#k: LP.parser_kind) #t (#p: LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar { k.LP.parser_kind_subkind == Some LP.ParserConsumesAll }) : validate_with_action_t' (LowParse.Spec.FLData.parse_fldata p (U32.v n)) 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": 7, "end_line": 1081, "start_col": 0, "start_line": 1053 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
n: FStar.UInt32.t -> v: EverParse3d.Actions.Base.validate_with_action_t' p inv disj l ar { Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> EverParse3d.Actions.Base.validate_with_action_t' (LowParse.Spec.FLData.parse_fldat...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "EverParse3d.Actions.Base.slice_inv", "EverParse3d.Actions.Base.disjointness_pre", "EverParse3d.Actions.Base.eloc", "Prims.bool", "EverParse3d.Actions.Base.validate_with_action_t'", "Prims.eq2", "FStar.Pervasives.Nati...
[]
false
false
false
false
false
let validate_fldata_consumes_all (n: U32.t) (#k: LP.parser_kind) #t (#p: LP.parser k t) #inv #disj #l #ar (v: validate_with_action_t' p inv disj l ar {k.LP.parser_kind_subkind == Some LP.ParserConsumesAll}) : validate_with_action_t' (LowPar...
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos = start_position in let h = HST.get () in LPLF.parse_fldata_consumes_all_correct p (U32.v n) (I.get_remaining input h); let hasEnoughBytes = I.has input input_length pos (Cast.uint32_to_uint64 n) in let h1 = HST.get () in ...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.read____UINT64
val read____UINT64 : leaf_reader parse____UINT64
val read____UINT64 : leaf_reader parse____UINT64
let read____UINT64 : leaf_reader parse____UINT64 = lift_reader _ LowParse.Low.Int.read_u64_le 8ul 8uL
{ "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": 52, "end_line": 1580, "start_col": 0, "start_line": 1578 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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.leaf_reader EverParse3d.Prelude.parse____UINT64
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Actions.Base.lift_reader", "LowParse.Spec.Int.parse_u64_kind", "FStar.UInt64.t", "LowParse.Spec.Int.parse_u64_le", "LowParse.Low.Int.read_u64_le", "FStar.UInt32.__uint_to_t", "FStar.UInt64.__uint_to_t", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Kinds.kind____UINT64", "EverP...
[]
false
false
false
false
false
let read____UINT64:leaf_reader parse____UINT64 =
lift_reader _ LowParse.Low.Int.read_u64_le 8ul 8uL
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_pair
val validate_pair (name1: string) (#nz1:_) (#k1:parser_kind nz1 WeakKindStrongPrefix) (#[@@@erasable] t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre) (#[@@@erasable] l1:eloc) (#allow...
val validate_pair (name1: string) (#nz1:_) (#k1:parser_kind nz1 WeakKindStrongPrefix) (#[@@@erasable] t1:Type) (#[@@@erasable] p1:parser k1 t1) (#[@@@erasable] inv1:slice_inv) (#[@@@erasable] disj1:disjointness_pre) (#[@@@erasable] l1:eloc) (#allow...
let validate_pair (name1: string) #nz1 (#k1:parser_kind nz1 WeakKindStrongPrefix) #t1 (#p1:parser k1 t1) (#inv1 #disj1:_) (#l1:eloc) (#ar1:_) (v1:validate_with_action_t p1 inv1 disj1 l1 ar1) #nz2 #wk2 (#k2:parser_kind nz2 wk2) #t2 (#p2:parser k2 t2) (#inv2 #disj2:_) (#l2:eloc) (#ar2:_...
{ "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": 449, "start_col": 0, "start_line": 431 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
name1: Prims.string -> v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 disj1 l1 allow_reading1 -> v2: EverParse3d.Actions.Base.validate_with_action_t p2 inv2 disj2 l2 allow_reading2 -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_pair p1 p2) (EverParse3d.Ac...
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Prims.bool", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "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
false
let validate_pair (name1: string) #nz1 (#k1: parser_kind nz1 WeakKindStrongPrefix) #t1 (#p1: parser k1 t1) (#inv1: _) (#disj1: _) (#l1: eloc) (#ar1: _) (v1: validate_with_action_t p1 inv1 disj1 l1 ar1) #nz2 #wk2 (#k2: parser_kind nz2 wk2) ...
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos = start_position in let h = HST.get () in LPC.nondep_then_eq p1 p2 (I.get_remaining input h); [@@ (rename_let ("positionAfter" ^ name1)) ]let pos1 = validate_drop v1 ctxt error_handler_fn input input_length pos in let...
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.synth_list_up_to_fuel
val synth_list_up_to_fuel (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: dtuple2 t (parse_list_up_to_payload_t cond fuel)) : Tot (parse_list_up_to_fuel_t cond (fuel + 1))
val synth_list_up_to_fuel (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: dtuple2 t (parse_list_up_to_payload_t cond fuel)) : Tot (parse_list_up_to_fuel_t cond (fuel + 1))
let synth_list_up_to_fuel (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: dtuple2 t (parse_list_up_to_payload_t cond fuel)) : Tot (parse_list_up_to_fuel_t cond (fuel + 1)) = let (| x, yz |) = xy in if cond x then ([], x) else let (y, z) = (yz <: parse_list_up_to_fuel_t cond fuel) in (x :: y, z...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 15, "end_line": 43, "start_col": 0, "start_line": 32 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> fuel: Prims.nat -> xy: Prims.dtuple2 t (LowParse.Spec.ListUpTo.parse_list_up_to_payload_t cond fuel) -> LowParse.Spec.ListUpTo.parse_list_up_to_fuel_t cond (fuel + 1)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.nat", "Prims.dtuple2", "LowParse.Spec.ListUpTo.parse_list_up_to_payload_t", "FStar.Pervasives.Native.Mktuple2", "LowParse.Spec.ListUpTo.llist", "LowParse.Spec.ListUpTo.refine_with_cond", "LowParse.Spec.ListUpTo.negate_cond", "Prims.op_Addition", "Prims.Nil", "Prims.Cons", ...
[]
false
false
false
false
false
let synth_list_up_to_fuel (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: dtuple2 t (parse_list_up_to_payload_t cond fuel)) : Tot (parse_list_up_to_fuel_t cond (fuel + 1)) =
let (| x , yz |) = xy in if cond x then ([], x) else let y, z = (yz <: parse_list_up_to_fuel_t cond fuel) in (x :: y, z)
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to_payload_kind
val parse_list_up_to_payload_kind (k: parser_kind) : Tot (k': parser_kind{k' `is_weaker_than` k})
val parse_list_up_to_payload_kind (k: parser_kind) : Tot (k': parser_kind{k' `is_weaker_than` k})
let parse_list_up_to_payload_kind (k: parser_kind) : Tot (k' : parser_kind {k' `is_weaker_than` k }) = { parser_kind_low = 0; parser_kind_high = None; parser_kind_subkind = k.parser_kind_subkind; parser_kind_metadata = None; }
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 1, "end_line": 60, "start_col": 0, "start_line": 55 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: LowParse.Spec.Base.parser_kind -> k': LowParse.Spec.Base.parser_kind{LowParse.Spec.Base.is_weaker_than k' k}
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.Mkparser_kind'", "FStar.Pervasives.Native.None", "Prims.nat", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "LowParse.Spec.Base.parser_kind_metadata_some", "LowParse.Spec.Base.is_weaker_than" ]
[]
false
false
false
false
false
let parse_list_up_to_payload_kind (k: parser_kind) : Tot (k': parser_kind{k' `is_weaker_than` k}) =
{ parser_kind_low = 0; parser_kind_high = None; parser_kind_subkind = k.parser_kind_subkind; parser_kind_metadata = None }
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_list_up_to_inv
val validate_list_up_to_inv (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (p: parser k t) (terminator: t) (prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p) (ctxt: app_ctxt) (sl: input_buffer_t) (h0: HS.mem) (bres: B.pointer U64.t) (h:...
val validate_list_up_to_inv (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (p: parser k t) (terminator: t) (prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p) (ctxt: app_ctxt) (sl: input_buffer_t) (h0: HS.mem) (bres: B.pointer U64.t) (h:...
let validate_list_up_to_inv (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (p: parser k t) (terminator: t) (prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p) (ctxt: app_ctxt) (sl: input_buffer_t) (h0: HS.mem) (bres: B.pointer U64.t) (h: HS.mem) (stop: bool) : GTot Type0 = ...
{ "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": 5, "end_line": 1653, "start_col": 0, "start_line": 1608 }
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.ListUpTo", "short_module": "LUT" }, { "abbrev": true, "full_module": "LowParse.Low.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "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 -> terminator: t -> prf: LowParse.Spec.ListUpTo.consumes_if_not_cond (EverParse3d.Prelude.cond_string_up_to terminator) p -> ctxt: EverParse3d.Actions.Base.app_ctxt -> sl: EverParse3d.Actions.Base.input_buffer_t -> h0: FStar.Monotonic.HyperStack.m...
Prims.GTot
[ "sometrivial" ]
[]
[ "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "Prims.eqtype", "EverParse3d.Prelude.parser", "LowParse.Spec.ListUpTo.consumes_if_not_cond", "EverParse3d.Prelude.cond_string_up_to", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.input_buffer_t", "FStar.Mono...
[]
false
false
false
false
true
let validate_list_up_to_inv (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (p: parser k t) (terminator: t) (prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p) (ctxt: app_ctxt) (sl: input_buffer_t) (h0: HS.mem) (bres: B.pointer U64.t) (h:...
let res = B.deref h bres in let q = LUT.parse_list_up_to (cond_string_up_to terminator) p prf in B.live h0 bres /\ I.live sl h0 /\ I.live sl h /\ B.loc_disjoint (I.footprint sl) ((B.loc_buffer bres) `B.loc_union` (app_loc ctxt loc_none)) /\ B.loc_disjoint (B.loc_buffer bres) (app_loc ctxt loc_none) /\ B.live h0 ctxt /\...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_filter_with_action
val validate_filter_with_action (name: string) (#nz:_) (#k:parser_kind nz WeakKindStrongPrefix) (#t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) ...
val validate_filter_with_action (name: string) (#nz:_) (#k:parser_kind nz WeakKindStrongPrefix) (#t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) ...
let validate_filter_with_action (name: string) #nz (#k:parser_kind nz _) (#t:_) (#p:parser k t) #inv #disj #l (v:validate_with_action_t p inv disj l true) (r:leaf_reader p) (f:t -> bool) (cr:string) (cf:string) (#b:bool) #inva #disja (#la:eloc) (a: t -> action inva disja la b bool) ...
{ "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": 7, "end_line": 810, "start_col": 0, "start_line": 779 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
name: Prims.string -> v: EverParse3d.Actions.Base.validate_with_action_t p inv disj l true -> r: EverParse3d.Actions.Base.leaf_reader p -> f: (_: t -> Prims.bool) -> cr: Prims.string -> cf: Prims.string -> a: (_: t -> EverParse3d.Actions.Base.action inva disja la b Prims.bool) -> EverPars...
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Prims.bool", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "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
false
let validate_filter_with_action (name: string) #nz (#k: parser_kind nz _) (#t: _) (#p: parser k t) #inv #disj #l (v: validate_with_action_t p inv disj l true) (r: leaf_reader p) (f: (t -> bool)) (cr: string) (cf: string) (#b: bool) ...
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos0 = start_position in let h = HST.get () in LPC.parse_filter_eq p f (I.get_remaining input h); [@@ (rename_let ("positionAfter" ^ name)) ]let res = v ctxt error_handler_fn input input_length pos0 in let h1 = HST.get ()...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_unit_refinement
val validate_unit_refinement (f:unit -> bool) (cf:string) : validator (parse_unit `parse_filter` f)
val validate_unit_refinement (f:unit -> bool) (cf:string) : validator (parse_unit `parse_filter` f)
let validate_unit_refinement (f:unit -> bool) (cf:string) : validator (parse_unit `parse_filter` f) = fun _ _ input _ start_position -> [@inline_let] let pos = start_position in let h = HST.get () in LPC.parse_filter_eq parse_unit f (I.get_remaining input h); LowStar.Comment.comment cf; if f () ...
{ "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": 78, "end_line": 1600, "start_col": 0, "start_line": 1591 }
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.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "abbrev": true, "full_module": "LowParse.Spec.Combinators", "short_module": "LPC" }, { "abbrev": tr...
{ "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
f: (_: Prims.unit -> Prims.bool) -> cf: Prims.string -> EverParse3d.Actions.Base.validator (EverParse3d.Prelude.parse_filter EverParse3d.Prelude.parse_unit f)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Prims.bool", "Prims.string", "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.error_handler", "EverParse3d.InputStream.Base.tlen", "EverParse3d.ErrorC...
[]
false
false
false
false
false
let validate_unit_refinement (f: (unit -> bool)) (cf: string) : validator (parse_unit `parse_filter` f) =
fun _ _ input _ start_position -> [@@ inline_let ]let pos = start_position in let h = HST.get () in LPC.parse_filter_eq parse_unit f (I.get_remaining input h); LowStar.Comment.comment cf; if f () then pos else LPE.set_validator_error_pos LPE.validator_error_constraint_failed pos
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to_payload
val parse_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind{k.parser_kind_subkind <> Some ParserConsumesAll}) (ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (x: t) : Tot (parser (parse_list_up_to_payload_kind k) (pars...
val parse_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind{k.parser_kind_subkind <> Some ParserConsumesAll}) (ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (x: t) : Tot (parser (parse_list_up_to_payload_kind k) (pars...
let parse_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind { k.parser_kind_subkind <> Some ParserConsumesAll }) (ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (x: t) : Tot (parser (parse_list_up_to_payload_kind k) (parse_list_up_to_payload_t co...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 53, "end_line": 72, "start_col": 0, "start_line": 62 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> fuel: Prims.nat -> k: LowParse.Spec.Base.parser_kind { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> ptail: LowParse.Spec.Base.parser (LowParse.Spec.ListUpTo.parse_list_up_to_ki...
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.nat", "LowParse.Spec.Base.parser_kind", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.Parse...
[]
false
false
false
false
false
let parse_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind{k.parser_kind_subkind <> Some ParserConsumesAll}) (ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (x: t) : Tot (parser (parse_list_up_to_payload_kind k) (pars...
if cond x then weaken (parse_list_up_to_payload_kind k) (parse_ret UP_UNIT) else weaken (parse_list_up_to_payload_kind k) ptail
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to_fuel
val parse_list_up_to_fuel (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (decreases fuel)
val parse_list_up_to_fuel (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (decreases fuel)
let rec parse_list_up_to_fuel (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (decreases fuel) = if fuel = 0 then fail_parser (parse_list_up_to_...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 43, "end_line": 91, "start_col": 0, "start_line": 74 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> p: LowParse.Spec.Base.parser k t { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> fuel: Prims.nat -> Prims.Tot (LowParse.Spec.Base.parser (LowParse.Spec.ListUpTo.parse_list_up_to_kin...
Prims.Tot
[ "total", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.bool", "LowParse.Spec.Base.parser", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse...
[ "recursion" ]
false
false
false
false
false
let rec parse_list_up_to_fuel (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (decreases fuel) =
if fuel = 0 then fail_parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel) else (parse_dtuple2 (weaken (parse_list_up_to_kind k) p) #(parse_list_up_to_payload_kind k) #(parse_list_up_to_payload_t cond (fuel - 1)) (parse_list_up_to_payload cond (fuel - 1) k (parse_list_up_to_fuel cond...
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to'_eq
val parse_list_up_to'_eq (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) (b: bytes) : Lemma (parse (parse_list_up_to' cond p fuel) b == (match parse (parse_list_up_to_fuel cond p fuel) b ...
val parse_list_up_to'_eq (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) (b: bytes) : Lemma (parse (parse_list_up_to' cond p fuel) b == (match parse (parse_list_up_to_fuel cond p fuel) b ...
let parse_list_up_to'_eq (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (fuel: nat) (b: bytes) : Lemma (parse (parse_list_up_to' cond p fuel) b == ( match parse (parse_list_up_to_fuel cond p fuel) b with | None -> None |...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 268, "start_col": 0, "start_line": 251 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> p: LowParse.Spec.Base.parser k t { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> fuel: Prims.nat -> b: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (ensures LowParse.Spe...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.bool", "LowParse.Spec.Base.parser", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse...
[]
true
false
true
false
false
let parse_list_up_to'_eq (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) (b: bytes) : Lemma (parse (parse_list_up_to' cond p fuel) b == (match parse (parse_list_up_to_fuel cond p fuel) b ...
parse_synth_eq (parse_list_up_to_fuel cond p fuel) (synth_list_up_to' cond fuel) b
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to_fuel_indep
val parse_list_up_to_fuel_indep (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) (b: bytes) (xy: parse_list_up_to_fuel_t cond fuel) (consumed: consumed_length b) (fuel': nat{L.length (...
val parse_list_up_to_fuel_indep (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) (b: bytes) (xy: parse_list_up_to_fuel_t cond fuel) (consumed: consumed_length b) (fuel': nat{L.length (...
let rec parse_list_up_to_fuel_indep (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (fuel: nat) (b: bytes) (xy: parse_list_up_to_fuel_t cond fuel) (consumed: consumed_length b) (fuel' : nat { L.length (fst xy) < fuel' }) : Lemma ...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 79, "end_line": 161, "start_col": 0, "start_line": 133 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> p: LowParse.Spec.Base.parser k t { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> fuel: Prims.nat -> b: LowParse.Bytes.bytes -> xy: LowParse.Spec.ListUpTo.parse_list_up_to_fuel_t c...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.bool", "LowParse.Spec.Base.parser", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse...
[ "recursion" ]
false
false
true
false
false
let rec parse_list_up_to_fuel_indep (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) (b: bytes) (xy: parse_list_up_to_fuel_t cond fuel) (consumed: consumed_length b) (fuel': nat{L.leng...
assert (fuel > 0); assert (fuel' > 0); parse_list_up_to_fuel_eq cond p fuel b; parse_list_up_to_fuel_eq cond p fuel' b; let Some (x, consumed_x) = parse p b in if cond x then () else let b' = Seq.slice b consumed_x (Seq.length b) in let Some (yz, consumed_yz) = parse (parse_list_up_to_fuel cond p (fuel - 1)) b' in ...
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to'
val parse_list_up_to' (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond))
val parse_list_up_to' (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond))
let parse_list_up_to' (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond)) = parse_synth (parse_list_up_to_fuel cond p fuel) (synth_list_up_to' cond fu...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 33, "end_line": 249, "start_col": 0, "start_line": 240 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> p: LowParse.Spec.Base.parser k t { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> fuel: Prims.nat -> LowParse.Spec.Base.parser (LowParse.Spec.ListUpTo.parse_list_up_to_kind k) (Low...
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.bool", "LowParse.Spec.Base.parser", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse...
[]
false
false
false
false
false
let parse_list_up_to' (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (fuel: nat) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond)) =
parse_synth (parse_list_up_to_fuel cond p fuel) (synth_list_up_to' cond fuel)
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.close_parse_list_up_to
val close_parse_list_up_to (b: bytes) : GTot (n: nat{Seq.length b < n})
val close_parse_list_up_to (b: bytes) : GTot (n: nat{Seq.length b < n})
let close_parse_list_up_to (b: bytes) : GTot (n: nat { Seq.length b < n }) = Seq.length b + 1
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 18, "end_line": 273, "start_col": 0, "start_line": 270 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: LowParse.Bytes.bytes -> Prims.GTot (n: Prims.nat{FStar.Seq.Base.length b < n})
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Bytes.bytes", "Prims.op_Addition", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.nat", "Prims.b2t", "Prims.op_LessThan" ]
[]
false
false
false
false
false
let close_parse_list_up_to (b: bytes) : GTot (n: nat{Seq.length b < n}) =
Seq.length b + 1
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to
val parse_list_up_to (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (prf: consumes_if_not_cond cond p) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond))
val parse_list_up_to (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (prf: consumes_if_not_cond cond p) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond))
let parse_list_up_to (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (prf: consumes_if_not_cond cond p) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond)) = parse_list_up_to_correct #k #t cond p prf; close_by_fuel' (par...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 66, "end_line": 311, "start_col": 0, "start_line": 303 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> p: LowParse.Spec.Base.parser k t { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> prf: LowParse.Spec.ListUpTo.consumes_if_not_cond cond p -> LowParse.Spec.Base.parser (LowParse.Spec.List...
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.bool", "LowParse.Spec.Base.parser", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse...
[]
false
false
false
false
false
let parse_list_up_to (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (prf: consumes_if_not_cond cond p) : Tot (parser (parse_list_up_to_kind k) (parse_list_up_to_t cond)) =
parse_list_up_to_correct #k #t cond p prf; close_by_fuel' (parse_list_up_to' cond p) close_parse_list_up_to
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_string
val validate_string (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (#[@@@erasable] p: parser k t) (v: validator p) (r: leaf_reader p) (terminator: t) : Tot (validate_with_action_t (parse_string p terminator) true_inv disjointness_trivial eloc_none false)
val validate_string (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (#[@@@erasable] p: parser k t) (v: validator p) (r: leaf_reader p) (terminator: t) : Tot (validate_with_action_t (parse_string p terminator) true_inv disjointness_trivial eloc_none false)
let validate_string (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (#[@@@erasable] p: parser k t) (v: validator p) (r: leaf_reader p) (terminator: t) = LP.parser_kind_prop_equiv k p; validate_weaken (validate_list_up_to v r terminator (fun _ _ _ -> ())) _
{ "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": 74, "end_line": 1730, "start_col": 0, "start_line": 1722 }
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.ListUpTo", "short_module": "LUT" }, { "abbrev": true, "full_module": "LowParse.Low.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "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.validator p -> r: EverParse3d.Actions.Base.leaf_reader p -> terminator: t -> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_string p terminator) EverParse3d.Actions.Base.true_inv EverParse3d.Actions.Base.disjointness_trivial EverPa...
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "Prims.eqtype", "EverParse3d.Prelude.parser", "EverParse3d.Actions.Base.validator", "EverParse3d.Actions.Base.leaf_reader", "EverParse3d.Actions.Base.validate_weaken", "LowParse.Spec.ListUpTo.parse_list_up_to_kind", "LowParse...
[]
false
false
false
false
false
let validate_string (#k: parser_kind true WeakKindStrongPrefix) (#t: eqtype) (#[@@@ erasable]p: parser k t) (v: validator p) (r: leaf_reader p) (terminator: t) =
LP.parser_kind_prop_equiv k p; validate_weaken (validate_list_up_to v r terminator (fun _ _ _ -> ())) _
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.intro_chan_inv_auxT
val intro_chan_inv_auxT (#p: _) (#vs #vr: chan_val) (c: chan_t p) : SteelT unit ((((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) `star` (chan_inv_cond vs vr)) (fun _ -> chan_inv c)
val intro_chan_inv_auxT (#p: _) (#vs #vr: chan_val) (c: chan_t p) : SteelT unit ((((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) `star` (chan_inv_cond vs vr)) (fun _ -> chan_inv c)
let intro_chan_inv_auxT #p (#vs : chan_val) (#vr : chan_val) (c:chan_t p) : SteelT unit (pts_to c.send half vs `star` pts_to c.recv half vr `star` trace_until c.trace vr `star` chan_inv_cond 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": 89, "end_line": 103, "start_col": 0, "start_line": 94 }
(* 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.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.chan_t", "Steel.Effect.Atomic.intro_exists", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__p...
[]
false
true
false
false
false
let intro_chan_inv_auxT #p (#vs: chan_val) (#vr: chan_val) (c: chan_t p) : SteelT unit ((((pts_to c.send half vs) `star` (pts_to c.recv half vr)) `star` (trace_until c.trace vr)) `star` (chan_inv_cond vs vr)) (fun _ -> chan_inv c) =
intro_exists _ (fun (vr: chan_val) -> ((pts_to c.recv half vr) `star` (trace_until c.trace vr)) `star` (chan_inv_cond vs vr)); intro_exists _ (fun (vs: chan_val) -> (pts_to c.send half vs) `star` (chan_inv_recv c vs))
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to_correct
val parse_list_up_to_correct (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (prf: (b: bytes -> x: t -> consumed: consumed_length b -> Lemma (requires (parse p b == Some (x, consumed) /\ (~(c...
val parse_list_up_to_correct (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (prf: (b: bytes -> x: t -> consumed: consumed_length b -> Lemma (requires (parse p b == Some (x, consumed) /\ (~(c...
let parse_list_up_to_correct (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (prf: ( (b: bytes) -> (x: t) -> (consumed: consumed_length b) -> Lemma (requires (parse p b == Some (x, consumed) /\ (~ (cond x)))) ...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 301, "start_col": 0, "start_line": 275 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> p: LowParse.Spec.Base.parser k t { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> prf: (b: LowParse.Bytes.bytes -> x: t -> consumed: LowParse.Spec.Base.consumed_length b ->...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.bool", "LowParse.Spec.Base.parser", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse...
[]
false
false
true
false
false
let parse_list_up_to_correct (#k: parser_kind) (#t: Type u#r) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (prf: (b: bytes -> x: t -> consumed: consumed_length b -> Lemma (requires (parse p b == Some (x, consumed) /\ (~(c...
close_by_fuel_correct (parse_list_up_to_kind k) (parse_list_up_to' cond p) close_parse_list_up_to (fun fuel b -> parse_list_up_to'_eq cond p (close_parse_list_up_to b) b; parse_list_up_to'_eq cond p fuel b; parse_list_up_to_fuel_ext cond p prf (close_parse_list_up_to b) fuel b) (fun fuel -> ...
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_all_bytes
val validate_all_bytes : validate_with_action_t parse_all_bytes true_inv disjointness_trivial eloc_none false
val validate_all_bytes : validate_with_action_t parse_all_bytes true_inv disjointness_trivial eloc_none false
let validate_all_bytes = fun _ _ input input_length start_position -> I.empty input input_length start_position
{ "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": 43, "end_line": 1733, "start_col": 0, "start_line": 1732 }
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.ListUpTo", "short_module": "LUT" }, { "abbrev": true, "full_module": "LowParse.Low.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "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
EverParse3d.Actions.Base.validate_with_action_t EverParse3d.Prelude.parse_all_bytes EverParse3d.Actions.Base.true_inv EverParse3d.Actions.Base.disjointness_trivial EverParse3d.Actions.Base.eloc_none false
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.error_handler", "EverParse3d.InputStream.Base.tlen", "EverParse3d.ErrorCode.pos_t", "EverParse3d.InputStream.Base.empty"...
[]
false
false
false
false
false
let validate_all_bytes =
fun _ _ input input_length start_position -> I.empty input input_length start_position
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.action_return
val action_return (#a:Type) (x:a) : action true_inv disjointness_trivial eloc_none false a
val action_return (#a:Type) (x:a) : action true_inv disjointness_trivial eloc_none false a
let action_return (#a:Type) (x:a) = fun _ _ _ _ _ _ -> x
{ "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": 24, "end_line": 1745, "start_col": 0, "start_line": 1743 }
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.ListUpTo", "short_module": "LUT" }, { "abbrev": true, "full_module": "LowParse.Low.FLData", "short_module": "LPLF" }, { "abbrev": true, "full_module": "LowParse.Spec.List", "short_module": "LPLL" }, { "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
x: a -> EverParse3d.Actions.Base.action EverParse3d.Actions.Base.true_inv EverParse3d.Actions.Base.disjointness_trivial EverParse3d.Actions.Base.eloc_none false a
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Base.extra_t", "EverParse3d.Actions.Base.input_buffer_t", "EverParse3d.InputStream.All.inst", "EverParse3d.Actions.Base.app_ctxt", "EverParse3d.Actions.Base.error_handler", "EverParse3d.InputStream.Base.tlen", "EverParse3d.ErrorCode.pos_t" ]
[]
false
false
false
false
false
let action_return (#a: Type) (x: a) =
fun _ _ _ _ _ _ -> x
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.ptr_inv_elim
val ptr_inv_elim (x: B.pointer 'a) : Lemma (ensures forall h. ptr_inv x h ==> B.live h x)
val ptr_inv_elim (x: B.pointer 'a) : Lemma (ensures forall h. ptr_inv x h ==> B.live h x)
let ptr_inv_elim (x:B.pointer 'a) : Lemma (ensures forall h. ptr_inv x h ==> B.live h x) = introduce forall h. ptr_inv x h ==> B.live h x with assert (ptr_inv x h ==> B.live h x) by (T.norm [delta])
{ "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": 35, "end_line": 1816, "start_col": 0, "start_line": 1811 }
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.Tactics", "short_module": "T" }, { "abbrev": true, "full_module": "LowParse.Low.ListUpTo", "short_module": "LUT" }, { "abbrev": true, "full_module": "LowParse.Low.FLData", "short_module": "LPLF" }, { "abbrev": true, "ful...
{ "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: LowStar.Buffer.pointer 'a -> FStar.Pervasives.Lemma (ensures forall (h: FStar.Monotonic.HyperStack.mem). EverParse3d.Actions.Base.ptr_inv x h ==> LowStar.Monotonic.Buffer.live h x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.Buffer.pointer", "FStar.Classical.Sugar.forall_intro", "FStar.Monotonic.HyperStack.mem", "Prims.l_imp", "EverParse3d.Actions.Base.ptr_inv", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "FStar.Tactics.Effect.assert_by_tactic", "Prims.unit", "FStar.Stubs.Tactics.V1.Bu...
[]
false
false
true
false
false
let ptr_inv_elim (x: B.pointer 'a) : Lemma (ensures forall h. ptr_inv x h ==> B.live h x) =
introduce forall h . ptr_inv x h ==> B.live h x with FStar.Tactics.Effect.assert_by_tactic (ptr_inv x h ==> B.live h x) (fun _ -> (); (T.norm [delta]))
false
Steel.Channel.Simplex.fst
Steel.Channel.Simplex.intro_chan_inv_stepT
val intro_chan_inv_stepT (#p: _) (c: chan_t p) (vs vr: chan_val) : SteelT unit ((((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)) (fun _ -> chan_inv c)
val intro_chan_inv_stepT (#p: _) (c: chan_t p) (vs vr: chan_val) : SteelT unit ((((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)) (fun _ -> chan_inv c)
let intro_chan_inv_stepT #p (c:chan_t p) (vs vr:chan_val) : SteelT unit (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) (fun _ -> chan_inv c) = intro_chan_inv_cond_stepT vs vr; intro...
{ "file_name": "lib/steel/Steel.Channel.Simplex.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 25, "end_line": 112, "start_col": 0, "start_line": 105 }
(* 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 -> vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Channel.Simplex.prot", "Steel.Channel.Simplex.chan_t", "Steel.Channel.Simplex.chan_val", "Steel.Channel.Simplex.intro_chan_inv_auxT", "Prims.unit", "Steel.Channel.Simplex.intro_chan_inv_cond_stepT", "Steel.Effect.Common.star", "Steel.HigherReference.pts_to", "Steel.Channel.Simplex.__proj__Mkc...
[]
false
true
false
false
false
let intro_chan_inv_stepT #p (c: chan_t p) (vs: chan_val) (vr: chan_val) : SteelT unit ((((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)) (fun _ -> chan_inv c) =
intro_chan_inv_cond_stepT vs vr; intro_chan_inv_auxT c
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.parse_list_up_to_fuel_length
val parse_list_up_to_fuel_length (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (prf: (b: bytes -> x: t -> consumed: consumed_length b -> Lemma (requires (parse p b == Some (x, consumed) /\ (~(c...
val parse_list_up_to_fuel_length (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (prf: (b: bytes -> x: t -> consumed: consumed_length b -> Lemma (requires (parse p b == Some (x, consumed) /\ (~(c...
let rec parse_list_up_to_fuel_length (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t { k.parser_kind_subkind <> Some ParserConsumesAll }) (prf: ( (b: bytes) -> (x: t) -> (consumed: consumed_length b) -> Lemma (requires (parse p b == Some (x, consumed) /\ (~ (cond x)))) ...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 9, "end_line": 195, "start_col": 0, "start_line": 163 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> p: LowParse.Spec.Base.parser k t { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> prf: (b: LowParse.Bytes.bytes -> x: t -> consumed: LowParse.Spec.Base.consumed_length b ->...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.bool", "LowParse.Spec.Base.parser", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse...
[ "recursion" ]
false
false
true
false
false
let rec parse_list_up_to_fuel_length (#k: parser_kind) (#t: Type) (cond: (t -> Tot bool)) (p: parser k t {k.parser_kind_subkind <> Some ParserConsumesAll}) (prf: (b: bytes -> x: t -> consumed: consumed_length b -> Lemma (requires (parse p b == Some (x, consumed) /\ ...
parse_list_up_to_fuel_eq cond p fuel b; if fuel = 0 then () else match parse p b with | None -> () | Some (x, consumed) -> if cond x then () else (prf b x consumed; parse_list_up_to_fuel_length cond p prf (fuel - 1) (Seq.slice b consumed (Seq.length b)))
false
EverParse3d.Actions.Base.fst
EverParse3d.Actions.Base.validate_with_dep_action
val validate_with_dep_action (name: string) (#nz:_) (#k:parser_kind nz WeakKindStrongPrefix) (#t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (v...
val validate_with_dep_action (name: string) (#nz:_) (#k:parser_kind nz WeakKindStrongPrefix) (#t:Type) (#[@@@erasable] p:parser k t) (#[@@@erasable] inv:slice_inv) (#[@@@erasable] disj:disjointness_pre) (#[@@@erasable] l:eloc) (v...
let validate_with_dep_action (name: string) #nz (#k:parser_kind nz _) (#t:_) (#p:parser k t) #inv #disj #l (v:validate_with_action_t p inv disj l true) (r:leaf_reader p) (#b:bool) #inva #disja (#la:eloc) (a: t -> action inva disja la b bool) = fun ctxt error_handler_fn input in...
{ "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": 7, "end_line": 837, "start_col": 0, "start_line": 813 }
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.Spec.Combinators", "short_module": "LPC" }, { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "LowParse.Spec.Base", "short_module": "LP" }, { "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
name: Prims.string -> v: EverParse3d.Actions.Base.validate_with_action_t p inv disj l true -> r: EverParse3d.Actions.Base.leaf_reader p -> a: (_: t -> EverParse3d.Actions.Base.action inva disja la b Prims.bool) -> EverParse3d.Actions.Base.validate_with_action_t p (EverParse3d.Actions.Base.conj_...
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Prims.bool", "EverParse3d.Kinds.parser_kind", "EverParse3d.Kinds.WeakKindStrongPrefix", "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
false
let validate_with_dep_action (name: string) #nz (#k: parser_kind nz _) (#t: _) (#p: parser k t) #inv #disj #l (v: validate_with_action_t p inv disj l true) (r: leaf_reader p) (#b: bool) #inva #disja (#la: eloc) (a: (t -> action in...
fun ctxt error_handler_fn input input_length start_position -> [@@ inline_let ]let pos0 = start_position in let h = HST.get () in [@@ (rename_let ("positionAfter" ^ name)) ]let res = v ctxt error_handler_fn input input_length pos0 in let h1 = HST.get () in if LPE.is_error res then res else [@@ (...
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.serialize_list_up_to_payload
val serialize_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind{k.parser_kind_subkind <> Some ParserConsumesAll}) (#ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (stail: serializer ptail) (x: t) : Tot (serialize...
val serialize_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind{k.parser_kind_subkind <> Some ParserConsumesAll}) (#ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (stail: serializer ptail) (x: t) : Tot (serialize...
let serialize_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind { k.parser_kind_subkind <> Some ParserConsumesAll }) (#ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (stail: serializer ptail) (x: t) : Tot (serializer (parse_list_up_to_payload c...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 63, "end_line": 361, "start_col": 0, "start_line": 350 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> fuel: Prims.nat -> k: LowParse.Spec.Base.parser_kind { Mkparser_kind'?.parser_kind_subkind k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserConsumesAll } -> stail: LowParse.Spec.Base.serializer ptail -> x: t -> LowParse.Spec.Base.ser...
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.nat", "LowParse.Spec.Base.parser_kind", "Prims.b2t", "Prims.op_disEquality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.Parse...
[]
false
false
false
false
false
let serialize_list_up_to_payload (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (k: parser_kind{k.parser_kind_subkind <> Some ParserConsumesAll}) (#ptail: parser (parse_list_up_to_kind k) (parse_list_up_to_fuel_t cond fuel)) (stail: serializer ptail) (x: t) : Tot (serialize...
if cond x then serialize_weaken (parse_list_up_to_payload_kind k) (serialize_ret UP_UNIT (fun _ -> ())) else serialize_weaken (parse_list_up_to_payload_kind k) stail
false
LowParse.Spec.ListUpTo.fst
LowParse.Spec.ListUpTo.synth_list_up_to_fuel_recip
val synth_list_up_to_fuel_recip (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond (fuel + 1)) : Tot (dtuple2 t (parse_list_up_to_payload_t cond fuel))
val synth_list_up_to_fuel_recip (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond (fuel + 1)) : Tot (dtuple2 t (parse_list_up_to_payload_t cond fuel))
let synth_list_up_to_fuel_recip (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond (fuel + 1)) : Tot (dtuple2 t (parse_list_up_to_payload_t cond fuel)) = let (l, z) = xy in match l with | [] -> (| z, UP_UNIT |) | x :: y -> (| x, ((y <: llist (refine_with_cond (negate_cond con...
{ "file_name": "src/lowparse/LowParse.Spec.ListUpTo.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 83, "end_line": 372, "start_col": 0, "start_line": 363 }
module LowParse.Spec.ListUpTo open LowParse.Spec.Base open LowParse.Spec.Fuel open LowParse.Spec.Combinators let llist (t: Type) (fuel: nat) : Tot Type = (l: list t { L.length l < fuel }) let parse_list_up_to_fuel_t (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) : Tot Type = (llist (refine_with_cond (negate...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Seq.fst.checked", "LowParse.Spec.Fuel.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar...
[ { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Fuel", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: (_: t -> Prims.bool) -> fuel: Prims.nat -> xy: LowParse.Spec.ListUpTo.parse_list_up_to_fuel_t cond (fuel + 1) -> Prims.dtuple2 t (LowParse.Spec.ListUpTo.parse_list_up_to_payload_t cond fuel)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.nat", "LowParse.Spec.ListUpTo.parse_list_up_to_fuel_t", "Prims.op_Addition", "LowParse.Spec.ListUpTo.llist", "LowParse.Spec.ListUpTo.refine_with_cond", "LowParse.Spec.ListUpTo.negate_cond", "Prims.Mkdtuple2", "LowParse.Spec.ListUpTo.parse_list_up_to_payload_t", "LowParse.Spec....
[]
false
false
false
false
false
let synth_list_up_to_fuel_recip (#t: Type) (cond: (t -> Tot bool)) (fuel: nat) (xy: parse_list_up_to_fuel_t cond (fuel + 1)) : Tot (dtuple2 t (parse_list_up_to_payload_t cond fuel)) =
let l, z = xy in match l with | [] -> (| z, UP_UNIT |) | x :: y -> (| x, ((y <: llist (refine_with_cond (negate_cond cond)) fuel), z) |)
false