effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | val next_chan_val (#p: sprot) (x: msg_t p) (vs0: chan_val{in_state_prop p vs0})
: Tot (vs: chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs}) | [
{
"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
},
{
... | false | let next_chan_val (#p:sprot) (x:msg_t p) (vs0:chan_val { in_state_prop p vs0 })
: Tot (vs:chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs})
= {
chan_prot = (step vs0.chan_prot vs0.chan_msg);
chan_msg = x;
chan_ctr = vs0.chan_ctr + 1
} | val next_chan_val (#p: sprot) (x: msg_t p) (vs0: chan_val{in_state_prop p vs0})
: Tot (vs: chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs})
let next_chan_val (#p: sprot) (x: msg_t p) (vs0: chan_val{in_state_prop p vs0})
: Tot (vs: chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs}) ... | false | null | false | { chan_prot = (step vs0.chan_prot vs0.chan_msg); chan_msg = x; chan_ctr = vs0.chan_ctr + 1 } | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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",
"... | [
"total"
] | [
"Steel.Channel.Simplex.sprot",
"Steel.Channel.Protocol.msg_t",
"Steel.Channel.Simplex.chan_val",
"Steel.Channel.Simplex.in_state_prop",
"Steel.Channel.Simplex.Mkchan_val",
"Steel.Channel.Simplex.step",
"Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_prot",
"Steel.Channel.Simplex.__proj__Mkchan_v... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val next_chan_val (#p: sprot) (x: msg_t p) (vs0: chan_val{in_state_prop p vs0})
: Tot (vs: chan_val{in_state_prop (step p x) vs /\ chan_inv_step_p vs0 vs}) | [] | Steel.Channel.Simplex.next_chan_val | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
x: Steel.Channel.Protocol.msg_t p ->
vs0: Steel.Channel.Simplex.chan_val{Steel.Channel.Simplex.in_state_prop p vs0}
-> vs:
Steel.Channel.Simplex.chan_val
{ Steel.Channel.Simplex.in_state_prop (Steel.Channel.Simplex.step p x) vs /\
Steel.Channel.Simplex.chan_inv_step_p vs0 vs } | {
"end_col": 33,
"end_line": 139,
"start_col": 6,
"start_line": 137
} |
Prims.Tot | [
{
"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
},
{
... | false | let step (s:sprot) (x:msg_t s) = step s x | let step (s: sprot) (x: msg_t s) = | false | null | false | step s x | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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",
"... | [
"total"
] | [
"Steel.Channel.Simplex.sprot",
"Steel.Channel.Protocol.msg_t",
"Steel.Channel.Protocol.step",
"Prims.unit",
"Steel.Channel.Protocol.protocol"
] | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val step : s: Steel.Channel.Simplex.sprot -> x: Steel.Channel.Protocol.msg_t s
-> Steel.Channel.Protocol.protocol Prims.unit | [] | Steel.Channel.Simplex.step | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | s: Steel.Channel.Simplex.sprot -> x: Steel.Channel.Protocol.msg_t s
-> Steel.Channel.Protocol.protocol Prims.unit | {
"end_col": 41,
"end_line": 49,
"start_col": 33,
"start_line": 49
} | |
Prims.Tot | val initial_trace (p: prot) : (q: partial_trace_of p {until q == p}) | [
{
"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
},
{
... | false | let initial_trace (p:prot) : (q:partial_trace_of p {until q == p})
= { to = p; tr=Waiting p} | val initial_trace (p: prot) : (q: partial_trace_of p {until q == p})
let initial_trace (p: prot) : (q: partial_trace_of p {until q == p}) = | false | null | false | { to = p; tr = Waiting p } | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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",
"... | [
"total"
] | [
"Steel.Channel.Simplex.prot",
"Steel.Channel.Protocol.Mkpartial_trace_of",
"Steel.Channel.Protocol.Waiting",
"Steel.Channel.Protocol.partial_trace_of",
"Prims.eq2",
"Steel.Channel.Protocol.protocol",
"Prims.unit",
"Steel.Channel.Protocol.until"
] | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val initial_trace (p: prot) : (q: partial_trace_of p {until q == p}) | [] | Steel.Channel.Simplex.initial_trace | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Steel.Channel.Simplex.prot
-> q: Steel.Channel.Protocol.partial_trace_of p {Steel.Channel.Protocol.until q == p} | {
"end_col": 26,
"end_line": 169,
"start_col": 6,
"start_line": 169
} |
Prims.Tot | val chan_inv_cond (vsend vrecv: chan_val) : vprop | [
{
"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
},
{
... | false | let chan_inv_cond (vsend:chan_val) (vrecv:chan_val) : vprop =
if vsend.chan_ctr = vrecv.chan_ctr
then pure (vsend == vrecv)
else chan_inv_step vrecv vsend | val chan_inv_cond (vsend vrecv: chan_val) : vprop
let chan_inv_cond (vsend vrecv: chan_val) : vprop = | false | null | false | if vsend.chan_ctr = vrecv.chan_ctr then pure (vsend == vrecv) else chan_inv_step vrecv vsend | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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",
"... | [
"total"
] | [
"Steel.Channel.Simplex.chan_val",
"Prims.op_Equality",
"Prims.nat",
"Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_ctr",
"Steel.Effect.Common.pure",
"Prims.eq2",
"Prims.bool",
"Steel.Channel.Simplex.chan_inv_step",
"Steel.Effect.Common.vprop"
] | [] | (*
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... | false | true | Steel.Channel.Simplex.fst | {
"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... | null | val chan_inv_cond (vsend vrecv: chan_val) : vprop | [] | Steel.Channel.Simplex.chan_inv_cond | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | vsend: Steel.Channel.Simplex.chan_val -> vrecv: Steel.Channel.Simplex.chan_val
-> Steel.Effect.Common.vprop | {
"end_col": 34,
"end_line": 61,
"start_col": 4,
"start_line": 59
} |
Prims.Tot | val next_trace:
#p: _ ->
vr: chan_val ->
vs: chan_val ->
tr: partial_trace_of p ->
s: squash (until tr == step vr.chan_prot vr.chan_msg) ->
squash (chan_inv_step_p vr vs)
-> (ts: partial_trace_of p {until ts == step vs.chan_prot vs.chan_msg}) | [
{
"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
},
{
... | false | let next_trace #p (vr:chan_val) (vs:chan_val)
(tr:partial_trace_of p)
(s:squash (until tr == step vr.chan_prot vr.chan_msg))
(_:squash (chan_inv_step_p vr vs))
: (ts:partial_trace_of p { until ts == step vs.chan_prot vs.chan_msg })
= let msg : next_msg_t tr = ... | val next_trace:
#p: _ ->
vr: chan_val ->
vs: chan_val ->
tr: partial_trace_of p ->
s: squash (until tr == step vr.chan_prot vr.chan_msg) ->
squash (chan_inv_step_p vr vs)
-> (ts: partial_trace_of p {until ts == step vs.chan_prot vs.chan_msg})
let next_trace
#p
(vr: chan_val)
... | false | null | false | let msg:next_msg_t tr = vs.chan_msg in
assert (extensible tr);
extend_partial_trace tr msg | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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",
"... | [
"total"
] | [
"Steel.Channel.Protocol.protocol",
"Prims.unit",
"Steel.Channel.Simplex.chan_val",
"Steel.Channel.Protocol.partial_trace_of",
"Prims.squash",
"Prims.eq2",
"Steel.Channel.Protocol.until",
"Steel.Channel.Simplex.step",
"Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_prot",
"Steel.Channel.Simpl... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val next_trace:
#p: _ ->
vr: chan_val ->
vs: chan_val ->
tr: partial_trace_of p ->
s: squash (until tr == step vr.chan_prot vr.chan_msg) ->
squash (chan_inv_step_p vr vs)
-> (ts: partial_trace_of p {until ts == step vs.chan_prot vs.chan_msg}) | [] | Steel.Channel.Simplex.next_trace | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
vr: Steel.Channel.Simplex.chan_val ->
vs: Steel.Channel.Simplex.chan_val ->
tr: Steel.Channel.Protocol.partial_trace_of p ->
s:
Prims.squash (Steel.Channel.Protocol.until tr ==
Steel.Channel.Simplex.step (Mkchan_val?.chan_prot vr) (Mkchan_val?.chan_msg vr)) ->
_: Prims.squash (Steel... | {
"end_col": 32,
"end_line": 305,
"start_col": 4,
"start_line": 303
} |
Steel.Effect.Steel | 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') | [
{
"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
},
{
... | false | 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')
... | 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 rec... | true | null | false | MRef.recall (history_p tr) r tr' tok | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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') | [] | Steel.Channel.Simplex.recall_trace_ref | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
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 | {
"end_col": 40,
"end_line": 427,
"start_col": 4,
"start_line": 427
} |
Steel.Effect.SteelT | 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) | [
{
"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
},
{
... | 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 | 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... | true | null | false | intro_chan_inv_eqT c v v | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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",
... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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) | [] | Steel.Channel.Simplex.intro_chan_inv | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Steel.Channel.Simplex.chan_t p -> v: Steel.Channel.Simplex.chan_val
-> Steel.Effect.SteelT Prims.unit | {
"end_col": 28,
"end_line": 157,
"start_col": 4,
"start_line": 157
} |
Steel.Effect.Steel | 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) | [
{
"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
},
{
... | 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 ... | 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_v... | true | null | false | elim_pure (chan_inv_step_p vr vs);
let ts:extension_of tr = next_trace vr vs tr () () in
return ts | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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) | [] | Steel.Channel.Simplex.next_trace_st | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
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) | {
"end_col": 13,
"end_line": 315,
"start_col": 4,
"start_line": 313
} |
Steel.Effect.Steel | 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) | [
{
"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
},
{
... | 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 _ -> ()) | 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 == ... | true | null | false | intro_pure (vs == vs);
rewrite_slprop (chan_inv_cond vs vs) (chan_inv_cond vs vr) (fun _ -> ()) | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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) | [] | Steel.Channel.Simplex.intro_chan_inv_cond_eqT | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val
-> Steel.Effect.Steel Prims.unit | {
"end_col": 76,
"end_line": 86,
"start_col": 4,
"start_line": 85
} |
Steel.Effect.SteelT | val intro_chan_inv_cond_stepT (vs vr: chan_val)
: SteelT unit (chan_inv_step vr vs) (fun _ -> chan_inv_cond vs vr) | [
{
"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
},
{
... | 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 _ -> ()) | 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) = | true | null | false | Steel.Utils.extract_pure (chan_inv_step_p vr vs);
rewrite_slprop (chan_inv_step vr vs) (chan_inv_cond vs vr) (fun _ -> ()) | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val intro_chan_inv_cond_stepT (vs vr: chan_val)
: SteelT unit (chan_inv_step vr vs) (fun _ -> chan_inv_cond vs vr) | [] | Steel.Channel.Simplex.intro_chan_inv_cond_stepT | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | vs: Steel.Channel.Simplex.chan_val -> vr: Steel.Channel.Simplex.chan_val
-> Steel.Effect.SteelT Prims.unit | {
"end_col": 76,
"end_line": 92,
"start_col": 4,
"start_line": 91
} |
Steel.Effect.SteelT | 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) | [
{
"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
},
{
... | 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) | 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) = | true | null | false | 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)) | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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) | [] | Steel.Channel.Simplex.intro_in_state | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
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 | {
"end_col": 83,
"end_line": 163,
"start_col": 4,
"start_line": 162
} |
Steel.Effect.Steel | 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) | [
{
"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
},
{
... | false | 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)
... | 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: c... | true | null | false | intro_chan_inv_cond_eqT vs vr;
intro_chan_inv_auxT c | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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) | [] | Steel.Channel.Simplex.intro_chan_inv_eqT | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
c: Steel.Channel.Simplex.chan_t p ->
vs: Steel.Channel.Simplex.chan_val ->
vr: Steel.Channel.Simplex.chan_val
-> Steel.Effect.Steel Prims.unit | {
"end_col": 25,
"end_line": 122,
"start_col": 4,
"start_line": 121
} |
Steel.Effect.SteelT | 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) | [
{
"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
},
{
... | false | 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... | 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: chan_val) (vr: cha... | true | null | false | intro_chan_inv_cond_stepT vs vr;
intro_chan_inv_auxT c | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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) | [] | Steel.Channel.Simplex.intro_chan_inv_stepT | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
c: Steel.Channel.Simplex.chan_t p ->
vs: Steel.Channel.Simplex.chan_val ->
vr: Steel.Channel.Simplex.chan_val
-> Steel.Effect.SteelT Prims.unit | {
"end_col": 25,
"end_line": 112,
"start_col": 4,
"start_line": 111
} |
Steel.Effect.SteelT | 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) | [
{
"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
},
{
... | 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)
... | 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: c... | true | null | false | 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)) | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.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... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | 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) | [] | Steel.Channel.Simplex.intro_chan_inv_auxT | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Steel.Channel.Simplex.chan_t p -> Steel.Effect.SteelT Prims.unit | {
"end_col": 89,
"end_line": 103,
"start_col": 4,
"start_line": 102
} |
Steel.Effect.Steel | val intro_trace_until (#q: _) (r: trace_ref q) (tr: partial_trace_of q) (v: chan_val)
: Steel unit
(MRef.pts_to r full_perm tr)
(fun _ -> trace_until r v)
(requires fun _ -> until tr == step v.chan_prot v.chan_msg)
(ensures fun _ _ _ -> True) | [
{
"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
},
{
... | false | let intro_trace_until #q (r:trace_ref q) (tr:partial_trace_of q) (v:chan_val)
: Steel unit (MRef.pts_to r full_perm tr)
(fun _ -> trace_until r v)
(requires fun _ -> until tr == step v.chan_prot v.chan_msg)
(ensures fun _ _ _ -> True)
= intro_pure (until tr == step v.cha... | val intro_trace_until (#q: _) (r: trace_ref q) (tr: partial_trace_of q) (v: chan_val)
: Steel unit
(MRef.pts_to r full_perm tr)
(fun _ -> trace_until r v)
(requires fun _ -> until tr == step v.chan_prot v.chan_msg)
(ensures fun _ _ _ -> True)
let intro_trace_until #q (r: trace_ref q) (tr: pa... | true | null | false | intro_pure (until tr == step v.chan_prot v.chan_msg);
intro_exists tr
(fun (tr: partial_trace_of q) ->
(MRef.pts_to r full_perm tr) `star` (pure (until tr == (step v.chan_prot v.chan_msg))));
() | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.trace_ref",
"Steel.Channel.Protocol.partial_trace_of",
"Steel.Channel.Simplex.chan_val",
"Prims.unit",
"Steel.Effect.Atomic.intro_exists",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.Effect.Common.star"... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val intro_trace_until (#q: _) (r: trace_ref q) (tr: partial_trace_of q) (v: chan_val)
: Steel unit
(MRef.pts_to r full_perm tr)
(fun _ -> trace_until r v)
(requires fun _ -> until tr == step v.chan_prot v.chan_msg)
(ensures fun _ _ _ -> True) | [] | Steel.Channel.Simplex.intro_trace_until | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
r: Steel.Channel.Simplex.trace_ref q ->
tr: Steel.Channel.Protocol.partial_trace_of q ->
v: Steel.Channel.Simplex.chan_val
-> Steel.Effect.Steel Prims.unit | {
"end_col": 6,
"end_line": 181,
"start_col": 4,
"start_line": 176
} |
Steel.Effect.SteelT | val intro_trace_until_init (#p: _) (c: chan_t p) (v: init_chan_val p)
: SteelT unit (MRef.pts_to c.trace full_perm (initial_trace p)) (fun _ -> trace_until c.trace v) | [
{
"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
},
{
... | false | let intro_trace_until_init #p (c:chan_t p) (v:init_chan_val p)
: SteelT unit (MRef.pts_to c.trace full_perm (initial_trace p))
(fun _ -> trace_until c.trace v)
= intro_pure (until (initial_trace p) == step v.chan_prot v.chan_msg);
//TODO: Not sure why I need this rewrite
rewrite_slprop (MRe... | val intro_trace_until_init (#p: _) (c: chan_t p) (v: init_chan_val p)
: SteelT unit (MRef.pts_to c.trace full_perm (initial_trace p)) (fun _ -> trace_until c.trace v)
let intro_trace_until_init #p (c: chan_t p) (v: init_chan_val p)
: SteelT unit (MRef.pts_to c.trace full_perm (initial_trace p)) (fun _ -> trace_... | true | null | false | intro_pure (until (initial_trace p) == step v.chan_prot v.chan_msg);
rewrite_slprop ((MRef.pts_to c.trace full_perm (initial_trace p))
`star`
(pure (until (initial_trace p) == step v.chan_prot v.chan_msg)))
((MRef.pts_to c.trace full_perm (initial_trace p))
`star`
(pure (until (initial_trace p) == ste... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan_t",
"Steel.Channel.Simplex.init_chan_val",
"Steel.Effect.Atomic.intro_exists",
"Steel.Channel.Protocol.partial_trace_of",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.Channel.Simplex.initial_trace",
... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val intro_trace_until_init (#p: _) (c: chan_t p) (v: init_chan_val p)
: SteelT unit (MRef.pts_to c.trace full_perm (initial_trace p)) (fun _ -> trace_until c.trace v) | [] | Steel.Channel.Simplex.intro_trace_until_init | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Steel.Channel.Simplex.chan_t p -> v: Steel.Channel.Simplex.init_chan_val p
-> Steel.Effect.SteelT Prims.unit | {
"end_col": 63,
"end_line": 195,
"start_col": 4,
"start_line": 188
} |
Steel.Effect.SteelT | val gather_r (#p: sprot) (r: ref chan_val) (v: chan_val)
: SteelT unit
((pts_to r half v) `star` (in_state r p))
(fun _ -> (pts_to r full_perm v) `star` (in_state_slprop p v)) | [
{
"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
},
{
... | false | let gather_r (#p:sprot) (r:ref chan_val) (v:chan_val)
: SteelT unit
(pts_to r half v `star` in_state r p)
(fun _ -> pts_to r full_perm v `star` in_state_slprop p v)
= let v' = witness_exists () in
H.higher_ref_pts_to_injective_eq #_ #_ #_ #_ #v #_ r;
H.gather #_ #_ #half #half #v #v r;
rewrite_s... | val gather_r (#p: sprot) (r: ref chan_val) (v: chan_val)
: SteelT unit
((pts_to r half v) `star` (in_state r p))
(fun _ -> (pts_to r full_perm v) `star` (in_state_slprop p v))
let gather_r (#p: sprot) (r: ref chan_val) (v: chan_val)
: SteelT unit
((pts_to r half v) `star` (in_state r p))
... | true | null | false | let v' = witness_exists () in
H.higher_ref_pts_to_injective_eq #_ #_ #_ #_ #v #_ r;
H.gather #_ #_ #half #half #v #v r;
rewrite_slprop (pts_to r (sum_perm half half) v) (pts_to r full_perm v) (fun _ -> ());
rewrite_slprop (in_state_slprop p v') (in_state_slprop p v) (fun _ -> ()) | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.sprot",
"Steel.HigherReference.ref",
"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.in_state_slprop",
"FStar.Ghost.reveal",
"Steel.Memory.mem",
"... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val gather_r (#p: sprot) (r: ref chan_val) (v: chan_val)
: SteelT unit
((pts_to r half v) `star` (in_state r p))
(fun _ -> (pts_to r full_perm v) `star` (in_state_slprop p v)) | [] | Steel.Channel.Simplex.gather_r | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | r: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val -> v: Steel.Channel.Simplex.chan_val
-> Steel.Effect.SteelT Prims.unit | {
"end_col": 77,
"end_line": 281,
"start_col": 3,
"start_line": 277
} |
Steel.Effect.SteelT | val update_channel (#p: sprot) (#q: _) (c: chan_t q) (x: msg_t p) (vs: chan_val) (r: ref chan_val)
: SteelT chan_val
((pts_to r full_perm vs) `star` (in_state_slprop p vs))
(fun vs' ->
(pts_to r full_perm vs')
`star`
((in_state_slprop (step p x) vs') `star` (chan_inv_step v... | [
{
"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
},
{
... | false | let update_channel (#p:sprot) #q (c:chan_t q) (x:msg_t p) (vs:chan_val) (r:ref chan_val)
: SteelT chan_val
(pts_to r full_perm vs `star` in_state_slprop p vs)
(fun vs' -> pts_to r full_perm vs' `star` (in_state_slprop (step p x) vs' `star` chan_inv_step vs vs'))
= elim_pure (in_state_prop p vs... | val update_channel (#p: sprot) (#q: _) (c: chan_t q) (x: msg_t p) (vs: chan_val) (r: ref chan_val)
: SteelT chan_val
((pts_to r full_perm vs) `star` (in_state_slprop p vs))
(fun vs' ->
(pts_to r full_perm vs')
`star`
((in_state_slprop (step p x) vs') `star` (chan_inv_step v... | true | null | false | elim_pure (in_state_prop p vs);
let vs' = next_chan_val x vs in
H.write r vs';
intro_pure (in_state_prop (step p x) vs');
intro_pure (chan_inv_step_p vs vs');
return vs' | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.sprot",
"Steel.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan_t",
"Steel.Channel.Protocol.msg_t",
"Steel.Channel.Simplex.chan_val",
"Steel.HigherReference.ref",
"Steel.Effect.Atomic.return",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val update_channel (#p: sprot) (#q: _) (c: chan_t q) (x: msg_t p) (vs: chan_val) (r: ref chan_val)
: SteelT chan_val
((pts_to r full_perm vs) `star` (in_state_slprop p vs))
(fun vs' ->
(pts_to r full_perm vs')
`star`
((in_state_slprop (step p x) vs') `star` (chan_inv_step v... | [] | Steel.Channel.Simplex.update_channel | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
c: Steel.Channel.Simplex.chan_t q ->
x: Steel.Channel.Protocol.msg_t p ->
vs: Steel.Channel.Simplex.chan_val ->
r: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val
-> Steel.Effect.SteelT Steel.Channel.Simplex.chan_val | {
"end_col": 14,
"end_line": 268,
"start_col": 4,
"start_line": 263
} |
Steel.Effect.SteelT | val trace (#q:prot) (cc:chan q)
: SteelT (tr:partial_trace_of q & history cc tr) emp (fun _ -> emp) | [
{
"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
},
{
... | false | let trace #q (cc:chan q)
: SteelT (tr:partial_trace_of q & history cc tr)
emp (fun _ -> emp)
= let _ = send_receive_prelude cc in
let tr = witness_trace_until cc.chan_chan.trace in
intro_chan_inv_auxT cc.chan_chan;
Steel.SpinLock.release cc.chan_lock;
tr | val trace (#q:prot) (cc:chan q)
: SteelT (tr:partial_trace_of q & history cc tr) emp (fun _ -> emp)
let trace #q (cc: chan q) : SteelT (tr: partial_trace_of q & history cc tr) emp (fun _ -> emp) = | true | null | false | let _ = send_receive_prelude cc in
let tr = witness_trace_until cc.chan_chan.trace in
intro_chan_inv_auxT cc.chan_chan;
Steel.SpinLock.release cc.chan_lock;
tr | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan",
"Prims.dtuple2",
"Steel.Channel.Protocol.partial_trace_of",
"Steel.Channel.Simplex.history",
"Prims.unit",
"Steel.SpinLock.release",
"Steel.Channel.Simplex.chan_inv",
"Steel.Channel.Simplex.__proj__Mkchan__item__chan_chan",
"Steel.Channel... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val trace (#q:prot) (cc:chan q)
: SteelT (tr:partial_trace_of q & history cc tr) emp (fun _ -> emp) | [] | Steel.Channel.Simplex.trace | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | cc: Steel.Channel.Simplex.chan q
-> Steel.Effect.SteelT
(Prims.dtuple2 (Steel.Channel.Protocol.partial_trace_of q)
(fun tr -> Steel.Channel.Simplex.history cc tr)) | {
"end_col": 6,
"end_line": 458,
"start_col": 3,
"start_line": 454
} |
Steel.Effect.SteelT | val witness_trace_until (#q: _) (#vr: chan_val) (r: trace_ref q)
: SteelT (tr: partial_trace_of q & MRef.witnessed r (history_p tr))
(trace_until r vr)
(fun _ -> trace_until r vr) | [
{
"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
},
{
... | false | let witness_trace_until #q (#vr:chan_val) (r:trace_ref q)
: SteelT (tr:partial_trace_of q & MRef.witnessed r (history_p tr))
(trace_until r vr)
(fun _ -> trace_until r vr)
= let tr = MRef.read_refine r in
let tok = MRef.witness r (history_p tr) tr () in
elim_pure (until tr == step vr.c... | val witness_trace_until (#q: _) (#vr: chan_val) (r: trace_ref q)
: SteelT (tr: partial_trace_of q & MRef.witnessed r (history_p tr))
(trace_until r vr)
(fun _ -> trace_until r vr)
let witness_trace_until #q (#vr: chan_val) (r: trace_ref q)
: SteelT (tr: partial_trace_of q & MRef.witnessed r (history... | true | null | false | let tr = MRef.read_refine r in
let tok = MRef.witness r (history_p tr) tr () in
elim_pure (until tr == step vr.chan_prot vr.chan_msg);
intro_trace_until r tr vr;
(| tr, tok |) | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan_val",
"Steel.Channel.Simplex.trace_ref",
"Prims.Mkdtuple2",
"Steel.Channel.Protocol.partial_trace_of",
"Steel.MonotonicHigherReference.witnessed",
"Steel.Channel.Protocol.extended_to",
"Steel.Channel.Simplex.history_p",
"Prims.dtuple2",
"Pr... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val witness_trace_until (#q: _) (#vr: chan_val) (r: trace_ref q)
: SteelT (tr: partial_trace_of q & MRef.witnessed r (history_p tr))
(trace_until r vr)
(fun _ -> trace_until r vr) | [] | Steel.Channel.Simplex.witness_trace_until | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | r: Steel.Channel.Simplex.trace_ref q
-> Steel.Effect.SteelT
(Prims.dtuple2 (Steel.Channel.Protocol.partial_trace_of q)
(fun tr -> Steel.MonotonicHigherReference.witnessed r (Steel.Channel.Simplex.history_p tr))) | {
"end_col": 17,
"end_line": 449,
"start_col": 3,
"start_line": 445
} |
Steel.Effect.Steel | val prot_equals (#q #p: _) (#vr: chan_val) (cc: chan q)
: Steel unit
((pts_to cc.chan_chan.recv half vr) `star` (receiver cc p))
(fun _ -> (pts_to cc.chan_chan.recv half vr) `star` (receiver cc p))
(requires fun _ -> True)
(ensures fun _ _ _ -> step vr.chan_prot vr.chan_msg == p) | [
{
"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
},
{
... | false | let prot_equals #q (#p:_) (#vr:chan_val) (cc:chan q)
: Steel unit
(pts_to cc.chan_chan.recv half vr `star` receiver cc p)
(fun _ -> pts_to cc.chan_chan.recv half vr `star` receiver cc p)
(requires fun _ -> True)
(ensures fun _ _ _ -> step vr.chan_prot vr.chan_msg == p)
= let... | val prot_equals (#q #p: _) (#vr: chan_val) (cc: chan q)
: Steel unit
((pts_to cc.chan_chan.recv half vr) `star` (receiver cc p))
(fun _ -> (pts_to cc.chan_chan.recv half vr) `star` (receiver cc p))
(requires fun _ -> True)
(ensures fun _ _ _ -> step vr.chan_prot vr.chan_msg == p)
let prot_eq... | true | null | false | let vr' = witness_exists () in
H.higher_ref_pts_to_injective_eq #_ #_ #_ #_ #vr #_ cc.chan_chan.recv;
rewrite_slprop (in_state_slprop _ _) (in_state_slprop p vr) (fun _ -> ());
elim_pure _;
intro_in_state _ _ vr | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan_val",
"Steel.Channel.Simplex.chan",
"Steel.Channel.Simplex.intro_in_state",
"Steel.Channel.Simplex.__proj__Mkchan_t__item__recv",
"Steel.Channel.Simplex.__proj__Mkchan__item__chan_chan",
"Prims.unit",
"Steel.Effect.Atomic.elim_pure",
"FStar.G... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val prot_equals (#q #p: _) (#vr: chan_val) (cc: chan q)
: Steel unit
((pts_to cc.chan_chan.recv half vr) `star` (receiver cc p))
(fun _ -> (pts_to cc.chan_chan.recv half vr) `star` (receiver cc p))
(requires fun _ -> True)
(ensures fun _ _ _ -> step vr.chan_prot vr.chan_msg == p) | [] | Steel.Channel.Simplex.prot_equals | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | cc: Steel.Channel.Simplex.chan q -> Steel.Effect.Steel Prims.unit | {
"end_col": 25,
"end_line": 439,
"start_col": 3,
"start_line": 435
} |
Steel.Effect.Steel | val extend_trace (#p:prot) (#next:prot) (c:chan p)
(previous:partial_trace_of p)
(hprevious:history c previous)
: Steel (t:extension_of previous & history c t)
(receiver c next)
(fun t -> receiver c next)
(requires fun _ -> True)
(ensures fun ... | [
{
"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
},
{
... | false | let extend_trace (#q:prot) (#p:prot)
(cc:chan q)
(tr:partial_trace_of q)
(htr:history cc tr)
: Steel (tr':extension_of tr & history cc tr')
(receiver cc p)
(fun t -> receiver cc p)
(requires fun _ -> True)
(ensures fun _ t _ -... | val extend_trace (#p:prot) (#next:prot) (c:chan p)
(previous:partial_trace_of p)
(hprevious:history c previous)
: Steel (t:extension_of previous & history c t)
(receiver c next)
(fun t -> receiver c next)
(requires fun _ -> True)
(ensures fun ... | true | null | false | let _ = send_receive_prelude cc in
let tr' = extend_history cc htr in
let _ = prot_equals cc in
intro_chan_inv_auxT cc.chan_chan;
Steel.SpinLock.release cc.chan_lock;
tr' | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan",
"Steel.Channel.Protocol.partial_trace_of",
"Steel.Channel.Simplex.history",
"Prims.dtuple2",
"Steel.Channel.Protocol.extension_of",
"Prims.unit",
"Steel.SpinLock.release",
"Steel.Channel.Simplex.chan_inv",
"Steel.Channel.Simplex.__proj__M... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val extend_trace (#p:prot) (#next:prot) (c:chan p)
(previous:partial_trace_of p)
(hprevious:history c previous)
: Steel (t:extension_of previous & history c t)
(receiver c next)
(fun t -> receiver c next)
(requires fun _ -> True)
(ensures fun ... | [] | Steel.Channel.Simplex.extend_trace | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
c: Steel.Channel.Simplex.chan p ->
previous: Steel.Channel.Protocol.partial_trace_of p ->
hprevious: Steel.Channel.Simplex.history c previous
-> Steel.Effect.Steel
(Prims.dtuple2 (Steel.Channel.Protocol.extension_of previous)
(fun t -> Steel.Channel.Simplex.history c t)) | {
"end_col": 7,
"end_line": 493,
"start_col": 3,
"start_line": 488
} |
Steel.Effect.SteelT | val send_receive_prelude (#p: prot) (cc: chan p)
: SteelT (chan_val & chan_val)
emp
(fun v ->
(((pts_to cc.chan_chan.send half (fst v)) `star` (pts_to cc.chan_chan.recv half (snd v)))
`star`
(trace_until cc.chan_chan.trace (snd v)))
`star`
(chan_inv_... | [
{
"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
},
{
... | false | let send_receive_prelude (#p:prot) (cc:chan p)
: SteelT (chan_val & chan_val)
emp
(fun v ->
pts_to cc.chan_chan.send half (fst v) `star`
pts_to cc.chan_chan.recv half (snd v) `star`
trace_until cc.chan_chan.trace (snd v) `star`
chan_inv_cond (f... | val send_receive_prelude (#p: prot) (cc: chan p)
: SteelT (chan_val & chan_val)
emp
(fun v ->
(((pts_to cc.chan_chan.send half (fst v)) `star` (pts_to cc.chan_chan.recv half (snd v)))
`star`
(trace_until cc.chan_chan.trace (snd v)))
`star`
(chan_inv_... | true | null | false | let c = cc.chan_chan in
Steel.SpinLock.acquire cc.chan_lock;
let vs = read_refine (chan_inv_recv cc.chan_chan) cc.chan_chan.send in
let _ = witness_exists () in
let vr = H.read cc.chan_chan.recv in
rewrite_slprop ((trace_until _ _) `star` (chan_inv_cond _ _))
((trace_until cc.chan_chan.trace vr) `star` (chan_inv_cond... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan",
"Steel.Effect.Atomic.return",
"FStar.Pervasives.Native.tuple2",
"Steel.Channel.Simplex.chan_val",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.Effect.Common.VStar",
"Steel.HigherReference.pts_to",... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val send_receive_prelude (#p: prot) (cc: chan p)
: SteelT (chan_val & chan_val)
emp
(fun v ->
(((pts_to cc.chan_chan.send half (fst v)) `star` (pts_to cc.chan_chan.recv half (snd v)))
`star`
(trace_until cc.chan_chan.trace (snd v)))
`star`
(chan_inv_... | [] | Steel.Channel.Simplex.send_receive_prelude | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | cc: Steel.Channel.Simplex.chan p
-> Steel.Effect.SteelT (Steel.Channel.Simplex.chan_val * Steel.Channel.Simplex.chan_val) | {
"end_col": 19,
"end_line": 369,
"start_col": 3,
"start_line": 361
} |
Steel.Effect.Steel | val extend_history (#q: _) (#tr: partial_trace_of q) (#v: chan_val) (c: chan q) (tok: history c tr)
: Steel (tr': extension_of tr & history c tr')
((pts_to c.chan_chan.recv half v) `star` (trace_until c.chan_chan.trace v))
(fun _ -> (pts_to c.chan_chan.recv half v) `star` (trace_until c.chan_chan.trace ... | [
{
"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
},
{
... | false | let extend_history #q (#tr:partial_trace_of q)
(#v:chan_val)
(c:chan q)
(tok:history c tr)
: Steel (tr':extension_of tr & history c tr')
(pts_to c.chan_chan.recv half v `star`
trace_until c.chan_chan.trace v)
(fun _ -> ... | val extend_history (#q: _) (#tr: partial_trace_of q) (#v: chan_val) (c: chan q) (tok: history c tr)
: Steel (tr': extension_of tr & history c tr')
((pts_to c.chan_chan.recv half v) `star` (trace_until c.chan_chan.trace v))
(fun _ -> (pts_to c.chan_chan.recv half v) `star` (trace_until c.chan_chan.trace ... | true | null | false | let tr' = MRef.read_refine c.chan_chan.trace in
let _ = recall_trace_ref c.chan_chan.trace tr tr' tok in
let tok' = MRef.witness c.chan_chan.trace (history_p tr') tr' () in
elim_pure (until tr' == step v.chan_prot v.chan_msg);
intro_trace_until c.chan_chan.trace tr' v;
let tr'':extension_of tr = tr' in
(| tr'', tok' |) | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Protocol.protocol",
"Prims.unit",
"Steel.Channel.Protocol.partial_trace_of",
"Steel.Channel.Simplex.chan_val",
"Steel.Channel.Simplex.chan",
"Steel.Channel.Simplex.history",
"Prims.Mkdtuple2",
"Steel.Channel.Protocol.extension_of",
"Prims.dtuple2",
"Steel.Channel.Simplex.intro_trace... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val extend_history (#q: _) (#tr: partial_trace_of q) (#v: chan_val) (c: chan q) (tok: history c tr)
: Steel (tr': extension_of tr & history c tr')
((pts_to c.chan_chan.recv half v) `star` (trace_until c.chan_chan.trace v))
(fun _ -> (pts_to c.chan_chan.recv half v) `star` (trace_until c.chan_chan.trace ... | [] | Steel.Channel.Simplex.extend_history | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Steel.Channel.Simplex.chan q -> tok: Steel.Channel.Simplex.history c tr
-> Steel.Effect.Steel
(Prims.dtuple2 (Steel.Channel.Protocol.extension_of tr)
(fun tr' -> Steel.Channel.Simplex.history c tr')) | {
"end_col": 20,
"end_line": 477,
"start_col": 3,
"start_line": 471
} |
Steel.Effect.Steel | val update_trace (#p: _) (r: trace_ref p) (vr vs: chan_val)
: Steel unit
(trace_until r vr)
(fun _ -> trace_until r vs)
(requires fun _ -> chan_inv_step_p vr vs)
(ensures fun _ _ _ -> True) | [
{
"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
},
{
... | false | let update_trace #p (r:trace_ref p) (vr:chan_val) (vs:chan_val)
: Steel unit
(trace_until r vr)
(fun _ -> trace_until r vs)
(requires fun _ -> chan_inv_step_p vr vs)
(ensures fun _ _ _ -> True)
= intro_pure (chan_inv_step_p vr vs);
let tr = MRef.read_refine r in
elim_... | val update_trace (#p: _) (r: trace_ref p) (vr vs: chan_val)
: Steel unit
(trace_until r vr)
(fun _ -> trace_until r vs)
(requires fun _ -> chan_inv_step_p vr vs)
(ensures fun _ _ _ -> True)
let update_trace #p (r: trace_ref p) (vr: chan_val) (vs: chan_val)
: Steel unit
(trace_until... | true | null | false | intro_pure (chan_inv_step_p vr vs);
let tr = MRef.read_refine r in
elim_pure (until tr == step vr.chan_prot vr.chan_msg);
let ts:extension_of tr = next_trace_st vr vs tr in
MRef.write r ts;
intro_pure (until ts == step vs.chan_prot vs.chan_msg);
intro_exists ts
(fun (ts: partial_trace_of p) ->
(MRef.pts_to r fu... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.trace_ref",
"Steel.Channel.Simplex.chan_val",
"Steel.Effect.Atomic.intro_exists",
"Steel.Channel.Protocol.partial_trace_of",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.Effect.Common.star",
"Steel.Monot... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val update_trace (#p: _) (r: trace_ref p) (vr vs: chan_val)
: Steel unit
(trace_until r vr)
(fun _ -> trace_until r vs)
(requires fun _ -> chan_inv_step_p vr vs)
(ensures fun _ _ _ -> True) | [] | Steel.Channel.Simplex.update_trace | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
r: Steel.Channel.Simplex.trace_ref p ->
vr: Steel.Channel.Simplex.chan_val ->
vs: Steel.Channel.Simplex.chan_val
-> Steel.Effect.Steel Prims.unit | {
"end_col": 58,
"end_line": 332,
"start_col": 4,
"start_line": 323
} |
Steel.Effect.SteelT | val mk_chan (#p: prot) (send recv: ref chan_val) (v: init_chan_val p)
: SteelT (chan_t_sr p send recv)
((pts_to send half v) `star` (pts_to recv half v))
(fun c -> chan_inv c) | [
{
"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
},
{
... | false | let mk_chan (#p:prot) (send recv:ref chan_val) (v:init_chan_val p)
: SteelT (chan_t_sr p send recv)
(pts_to send half v `star` pts_to recv half v)
(fun c -> chan_inv c)
= let tr: trace_ref p = MRef.alloc (extended_to #p) (initial_trace p) in
let c = Mkchan_t send recv tr in
rewrite_slp... | val mk_chan (#p: prot) (send recv: ref chan_val) (v: init_chan_val p)
: SteelT (chan_t_sr p send recv)
((pts_to send half v) `star` (pts_to recv half v))
(fun c -> chan_inv c)
let mk_chan (#p: prot) (send recv: ref chan_val) (v: init_chan_val p)
: SteelT (chan_t_sr p send recv)
((pts_to send h... | true | null | false | let tr:trace_ref p = MRef.alloc (extended_to #p) (initial_trace p) in
let c = Mkchan_t send recv tr in
rewrite_slprop (MRef.pts_to tr full_perm (initial_trace p))
(MRef.pts_to c.trace full_perm (initial_trace p))
(fun _ -> ());
intro_trace_until_init c v;
rewrite_slprop ((pts_to send half v) `star` (pts_to recv hal... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.HigherReference.ref",
"Steel.Channel.Simplex.chan_val",
"Steel.Channel.Simplex.init_chan_val",
"Steel.Effect.Atomic.return",
"Steel.Channel.Simplex.chan_t_sr",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.Channel.Simple... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val mk_chan (#p: prot) (send recv: ref chan_val) (v: init_chan_val p)
: SteelT (chan_t_sr p send recv)
((pts_to send half v) `star` (pts_to recv half v))
(fun c -> chan_inv c) | [] | Steel.Channel.Simplex.mk_chan | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
send: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val ->
recv: Steel.HigherReference.ref Steel.Channel.Simplex.chan_val ->
v: Steel.Channel.Simplex.init_chan_val p
-> Steel.Effect.SteelT (Steel.Channel.Simplex.chan_t_sr p send recv) | {
"end_col": 13,
"end_line": 214,
"start_col": 3,
"start_line": 201
} |
Steel.Effect.SteelT | val send (#p:prot) (c:chan p) (#next:prot{more next}) (x:msg_t next)
: SteelT unit (sender c next) (fun _ -> sender c (step next x)) | [
{
"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
},
{
... | false | let rec send (#p:prot) (c:chan p) (#next:prot{more next}) (x:msg_t next)
: SteelT unit (sender c next) (fun _ -> sender c (step next x))
= let v = send_receive_prelude c in //matching v as vs,vr fails
if (fst v).chan_ctr = (snd v).chan_ctr
then (
rewrite_slprop (chan_inv_cond (fst v) (snd v))
... | val send (#p:prot) (c:chan p) (#next:prot{more next}) (x:msg_t next)
: SteelT unit (sender c next) (fun _ -> sender c (step next x))
let rec send (#p: prot) (c: chan p) (#next: prot{more next}) (x: msg_t next)
: SteelT unit (sender c next) (fun _ -> sender c (step next x)) = | true | null | false | let v = send_receive_prelude c in
if (fst v).chan_ctr = (snd v).chan_ctr
then
(rewrite_slprop (chan_inv_cond (fst v) (snd v)) (pure (fst v == snd v)) (fun _ -> ());
send_available c x (fst v) (snd v) ())
else
(rewrite_slprop (chan_inv_cond (fst v) (snd v)) (chan_inv_step (snd v) (fst v)) (fun _ -> ());
intr... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan",
"Prims.b2t",
"Steel.Channel.Protocol.more",
"Steel.Channel.Protocol.msg_t",
"Prims.op_Equality",
"Prims.nat",
"Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_ctr",
"FStar.Pervasives.Native.fst",
"Steel.Channel.Simplex.chan_val",
"... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val send (#p:prot) (c:chan p) (#next:prot{more next}) (x:msg_t next)
: SteelT unit (sender c next) (fun _ -> sender c (step next x)) | [
"recursion"
] | Steel.Channel.Simplex.send | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Steel.Channel.Simplex.chan p -> x: Steel.Channel.Protocol.msg_t next
-> Steel.Effect.SteelT Prims.unit | {
"end_col": 5,
"end_line": 388,
"start_col": 3,
"start_line": 373
} |
Steel.Effect.SteelT | val send_available:
#p: sprot ->
#q: _ ->
cc: chan q ->
x: msg_t p ->
vs: chan_val ->
vr: chan_val ->
unit
-> SteelT unit (send_pre_available p #q cc.chan_chan vs vr) (fun _ -> sender cc (step p x)) | [
{
"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
},
{
... | false | let send_available (#p:sprot) #q (cc:chan q) (x:msg_t p) (vs vr:chan_val) (_:unit)
: SteelT unit (send_pre_available p #q cc.chan_chan vs vr) (fun _ -> sender cc (step p x))
= Steel.Utils.extract_pure (vs == vr);
Steel.Utils.rewrite #_ #(send_recv_in_sync cc.chan_chan.send p cc.chan_chan vs) vr vs;
elim_pur... | val send_available:
#p: sprot ->
#q: _ ->
cc: chan q ->
x: msg_t p ->
vs: chan_val ->
vr: chan_val ->
unit
-> SteelT unit (send_pre_available p #q cc.chan_chan vs vr) (fun _ -> sender cc (step p x))
let send_available (#p: sprot) #q (cc: chan q) (x: msg_t p) (vs: chan_val) (vr: chan_val) (... | true | null | false | Steel.Utils.extract_pure (vs == vr);
Steel.Utils.rewrite #_ #(send_recv_in_sync cc.chan_chan.send p cc.chan_chan vs) vr vs;
elim_pure (vs == vs);
gather_r cc.chan_chan.send vs;
let next_vs = update_channel cc.chan_chan x vs cc.chan_chan.send in
H.share cc.chan_chan.send;
intro_exists next_vs
(fun (next_vs: chan_val) ... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.sprot",
"Steel.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan",
"Steel.Channel.Protocol.msg_t",
"Steel.Channel.Simplex.chan_val",
"Prims.unit",
"Steel.SpinLock.release",
"Steel.Channel.Simplex.chan_inv",
"Steel.Channel.Simplex.__proj__Mkchan__item__chan_chan",
"Steel.Cha... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val send_available:
#p: sprot ->
#q: _ ->
cc: chan q ->
x: msg_t p ->
vs: chan_val ->
vr: chan_val ->
unit
-> SteelT unit (send_pre_available p #q cc.chan_chan vs vr) (fun _ -> sender cc (step p x)) | [] | Steel.Channel.Simplex.send_available | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
cc: Steel.Channel.Simplex.chan q ->
x: Steel.Channel.Protocol.msg_t p ->
vs: Steel.Channel.Simplex.chan_val ->
vr: Steel.Channel.Simplex.chan_val ->
_: Prims.unit
-> Steel.Effect.SteelT Prims.unit | {
"end_col": 39,
"end_line": 293,
"start_col": 4,
"start_line": 285
} |
Steel.Effect.SteelT | val recv (#p:prot) (#next:prot{more next}) (c:chan p)
: SteelT (msg_t next) (receiver c next) (fun x -> receiver c (step next x)) | [
{
"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
},
{
... | false | let rec recv (#p:prot) (#next:prot{more next}) (c:chan p)
: SteelT (msg_t next) (receiver c next) (fun x -> receiver c (step next x))
= let v = send_receive_prelude c in
if (fst v).chan_ctr = (snd v).chan_ctr
then (
rewrite_slprop (chan_inv_cond (fst v) (snd v))
(pure ... | val recv (#p:prot) (#next:prot{more next}) (c:chan p)
: SteelT (msg_t next) (receiver c next) (fun x -> receiver c (step next x))
let rec recv (#p: prot) (#next: prot{more next}) (c: chan p)
: SteelT (msg_t next) (receiver c next) (fun x -> receiver c (step next x)) = | true | null | false | let v = send_receive_prelude c in
if (fst v).chan_ctr = (snd v).chan_ctr
then
(rewrite_slprop (chan_inv_cond (fst v) (snd v)) (pure (fst v == snd v)) (fun _ -> ());
elim_pure (fst v == snd v);
intro_chan_inv_eqT c.chan_chan (fst v) (snd v);
Steel.SpinLock.release c.chan_lock;
recv c)
else
(rewrite_s... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Prims.b2t",
"Steel.Channel.Protocol.more",
"Steel.Channel.Simplex.chan",
"Prims.op_Equality",
"Prims.nat",
"Steel.Channel.Simplex.__proj__Mkchan_val__item__chan_ctr",
"FStar.Pervasives.Native.fst",
"Steel.Channel.Simplex.chan_val",
"FStar.Pervasives.Native.snd",
"S... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val recv (#p:prot) (#next:prot{more next}) (c:chan p)
: SteelT (msg_t next) (receiver c next) (fun x -> receiver c (step next x)) | [
"recursion"
] | Steel.Channel.Simplex.recv | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Steel.Channel.Simplex.chan p -> Steel.Effect.SteelT (Steel.Channel.Protocol.msg_t next) | {
"end_col": 5,
"end_line": 408,
"start_col": 3,
"start_line": 392
} |
Steel.Effect.SteelT | val recv_availableT: #p: sprot -> #q: _ -> cc: chan q -> vs: chan_val -> vr: chan_val -> unit
-> SteelT (msg_t p)
(sender_ahead cc.chan_chan.recv p cc.chan_chan vs vr)
(fun x -> receiver cc (step p x)) | [
{
"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
},
{
... | false | let recv_availableT (#p:sprot) #q (cc:chan q) (vs vr:chan_val) (_:unit)
: SteelT (msg_t p)
(sender_ahead cc.chan_chan.recv p cc.chan_chan vs vr)
(fun x -> receiver cc (step p x))
= elim_pure (chan_inv_step_p vr vs);
gather_r cc.chan_chan.recv vr;
elim_pure (in_state_prop p vr);
H.write cc.chan_c... | val recv_availableT: #p: sprot -> #q: _ -> cc: chan q -> vs: chan_val -> vr: chan_val -> unit
-> SteelT (msg_t p)
(sender_ahead cc.chan_chan.recv p cc.chan_chan vs vr)
(fun x -> receiver cc (step p x))
let recv_availableT (#p: sprot) #q (cc: chan q) (vs: chan_val) (vr: chan_val) (_: unit)
: SteelT (ms... | true | null | false | elim_pure (chan_inv_step_p vr vs);
gather_r cc.chan_chan.recv vr;
elim_pure (in_state_prop p vr);
H.write cc.chan_chan.recv vs;
H.share cc.chan_chan.recv;
assert (vs.chan_prot == p);
let vs_msg:msg_t p = vs.chan_msg in
intro_pure (in_state_prop (step p vs_msg) vs);
intro_exists vs
(fun (vs: chan_val) ->
(pts_to... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.sprot",
"Steel.Channel.Simplex.prot",
"Steel.Channel.Simplex.chan",
"Steel.Channel.Simplex.chan_val",
"Prims.unit",
"Steel.Channel.Protocol.msg_t",
"Steel.SpinLock.release",
"Steel.Channel.Simplex.chan_inv",
"Steel.Channel.Simplex.__proj__Mkchan__item__chan_chan",
"Steel.Cha... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val recv_availableT: #p: sprot -> #q: _ -> cc: chan q -> vs: chan_val -> vr: chan_val -> unit
-> SteelT (msg_t p)
(sender_ahead cc.chan_chan.recv p cc.chan_chan vs vr)
(fun x -> receiver cc (step p x)) | [] | Steel.Channel.Simplex.recv_availableT | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
cc: Steel.Channel.Simplex.chan q ->
vs: Steel.Channel.Simplex.chan_val ->
vr: Steel.Channel.Simplex.chan_val ->
_: Prims.unit
-> Steel.Effect.SteelT (Steel.Channel.Protocol.msg_t p) | {
"end_col": 10,
"end_line": 350,
"start_col": 4,
"start_line": 338
} |
Steel.Effect.SteelT | val new_chan (p:prot)
: SteelT (chan p) emp (fun c -> sender c p `star` receiver c p) | [
{
"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
},
{
... | false | let new_chan (p:prot) : SteelT (chan p) emp (fun c -> sender c p `star` receiver c p)
= let q = msg unit p in
let v : chan_val = { chan_prot = q; chan_msg = (); chan_ctr = 0 } in
let vp : init_chan_val p = v in
let send = H.alloc v in
let recv = H.alloc v in
H.share recv;
H.share send;
(* ... | val new_chan (p:prot)
: SteelT (chan p) emp (fun c -> sender c p `star` receiver c p)
let new_chan (p: prot) : SteelT (chan p) emp (fun c -> (sender c p) `star` (receiver c p)) = | true | null | false | let q = msg unit p in
let v:chan_val = { chan_prot = q; chan_msg = (); chan_ctr = 0 } in
let vp:init_chan_val p = v in
let send = H.alloc v in
let recv = H.alloc v in
H.share recv;
H.share send;
rewrite_slprop ((((pts_to send (half_perm full_perm) v) `star` (pts_to send (half_perm full_perm) v)
)
`star`
... | {
"checked_file": "Steel.Channel.Simplex.fst.checked",
"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.Channel.Simplex.prot",
"Steel.Effect.Atomic.return",
"Steel.Channel.Simplex.chan",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.Effect.Common.VStar",
"Steel.Channel.Simplex.sender",
"Steel.Channel.Simplex.receiver",
"Steel.Effect.Common.vprop",
"P... | [] | (*
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... | false | false | Steel.Channel.Simplex.fst | {
"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... | null | val new_chan (p:prot)
: SteelT (chan p) emp (fun c -> sender c p `star` receiver c p) | [] | Steel.Channel.Simplex.new_chan | {
"file_name": "lib/steel/Steel.Channel.Simplex.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Steel.Channel.Simplex.prot -> Steel.Effect.SteelT (Steel.Channel.Simplex.chan p) | {
"end_col": 13,
"end_line": 241,
"start_col": 3,
"start_line": 217
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let felem2 = lbuffer uint64 8ul | let felem2 = | false | null | false | lbuffer uint64 8ul | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | true | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val felem2 : Type0 | [] | Hacl.Impl.Curve25519.Field64.felem2 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 31,
"end_line": 29,
"start_col": 13,
"start_line": 29
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let u512 = lbuffer uint64 8ul | let u512 = | false | null | false | lbuffer uint64 8ul | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | true | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val u512 : Type0 | [] | Hacl.Impl.Curve25519.Field64.u512 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 29,
"end_line": 25,
"start_col": 11,
"start_line": 25
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let felem = lbuffer uint64 4ul | let felem = | false | null | false | lbuffer uint64 4ul | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | true | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val felem : Type0 | [] | Hacl.Impl.Curve25519.Field64.felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 30,
"end_line": 28,
"start_col": 12,
"start_line": 28
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let u1024 = lbuffer uint64 16ul | let u1024 = | false | null | false | lbuffer uint64 16ul | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | true | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val u1024 : Type0 | [] | Hacl.Impl.Curve25519.Field64.u1024 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 31,
"end_line": 26,
"start_col": 12,
"start_line": 26
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let u256 = lbuffer uint64 4ul | let u256 = | false | null | false | lbuffer uint64 4ul | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
"total"
] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | true | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val u256 : Type0 | [] | Hacl.Impl.Curve25519.Field64.u256 | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 29,
"end_line": 24,
"start_col": 11,
"start_line": 24
} | |
Prims.GTot | val fevalh (h: mem) (f: felem) : GTot P.elem | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let fevalh (h:mem) (f:felem) : GTot P.elem = (as_nat h f) % P.prime | val fevalh (h: mem) (f: felem) : GTot P.elem
let fevalh (h: mem) (f: felem) : GTot P.elem = | false | null | false | (as_nat h f) % P.prime | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"Hacl.Impl.Curve25519.Field64.felem",
"Prims.op_Modulus",
"Hacl.Impl.Curve25519.Field64.as_nat",
"Spec.Curve25519.prime",
"Spec.Curve25519.elem"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val fevalh (h: mem) (f: felem) : GTot P.elem | [] | Hacl.Impl.Curve25519.Field64.fevalh | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Field64.felem
-> Prims.GTot Spec.Curve25519.elem | {
"end_col": 67,
"end_line": 41,
"start_col": 45,
"start_line": 41
} |
Prims.GTot | val as_nat (h: mem) (e: felem) : GTot nat | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let as_nat (h:mem) (e:felem) : GTot nat =
let s = as_seq h e in
let s0 = s.[0] in
let s1 = s.[1] in
let s2 = s.[2] in
let s3 = s.[3] in
S.as_nat4 (s0, s1, s2, s3) | val as_nat (h: mem) (e: felem) : GTot nat
let as_nat (h: mem) (e: felem) : GTot nat = | false | null | false | let s = as_seq h e in
let s0 = s.[ 0 ] in
let s1 = s.[ 1 ] in
let s2 = s.[ 2 ] in
let s3 = s.[ 3 ] in
S.as_nat4 (s0, s1, s2, s3) | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"Hacl.Impl.Curve25519.Field64.felem",
"Hacl.Spec.Curve25519.Field64.Definition.as_nat4",
"FStar.Pervasives.Native.Mktuple4",
"Lib.IntTypes.uint64",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.eq2",
"FStar.Seq.Base.index",
"Lib.Sequence.t... | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val as_nat (h: mem) (e: felem) : GTot nat | [] | Hacl.Impl.Curve25519.Field64.as_nat | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Field64.felem -> Prims.GTot Prims.nat | {
"end_col": 28,
"end_line": 38,
"start_col": 41,
"start_line": 32
} |
FStar.HyperStack.ST.Stack | val load_felem:
f:felem
-> u64s:lbuffer uint64 4ul ->
Stack unit
(requires fun h ->
live h u64s /\ live h f /\ disjoint u64s f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == BSeq.nat_from_intseq_le (as_seq h0 u64s)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let load_felem f u64s =
let h0 = ST.get () in
Hacl.Impl.Curve25519.Lemmas.lemma_nat_from_uints64_le_4 (as_seq h0 u64s);
f.(0ul) <- u64s.(0ul);
f.(1ul) <- u64s.(1ul);
f.(2ul) <- u64s.(2ul);
f.(3ul) <- u64s.(3ul) | val load_felem:
f:felem
-> u64s:lbuffer uint64 4ul ->
Stack unit
(requires fun h ->
live h u64s /\ live h f /\ disjoint u64s f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == BSeq.nat_from_intseq_le (as_seq h0 u64s))
let load_felem f u64s = | true | null | false | let h0 = ST.get () in
Hacl.Impl.Curve25519.Lemmas.lemma_nat_from_uints64_le_4 (as_seq h0 u64s);
f.(0ul) <- u64s.(0ul);
f.(1ul) <- u64s.(1ul);
f.(2ul) <- u64s.(2ul);
f.(3ul) <- u64s.(3ul) | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [] | [
"Hacl.Impl.Curve25519.Field64.felem",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.Buffer.op_Array_Assignment",
"Prims.unit",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Lib.Buffer.op_Array_Access",
"Lib.Buffer.MUT",
"Hacl.Impl.Curve25519.Lem... | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val load_felem:
f:felem
-> u64s:lbuffer uint64 4ul ->
Stack unit
(requires fun h ->
live h u64s /\ live h f /\ disjoint u64s f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == BSeq.nat_from_intseq_le (as_seq h0 u64s)) | [] | Hacl.Impl.Curve25519.Field64.load_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Impl.Curve25519.Field64.felem -> u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 23,
"end_line": 72,
"start_col": 23,
"start_line": 66
} |
FStar.HyperStack.ST.Stack | val set_zero: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 0) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let set_zero f =
f.(0ul) <- u64 0;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0 | val set_zero: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 0)
let set_zero f = | true | null | false | f.(0ul) <- u64 0;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0 | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [] | [
"Hacl.Impl.Curve25519.Field64.felem",
"Lib.Buffer.op_Array_Assignment",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.u64",
"Prims.unit"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val set_zero: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 0) | [] | Hacl.Impl.Curve25519.Field64.set_zero | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 18,
"end_line": 149,
"start_col": 2,
"start_line": 146
} |
FStar.HyperStack.ST.Stack | val set_one: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 1) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let set_one f =
f.(0ul) <- u64 1;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0 | val set_one: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 1)
let set_one f = | true | null | false | f.(0ul) <- u64 1;
f.(1ul) <- u64 0;
f.(2ul) <- u64 0;
f.(3ul) <- u64 0 | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [] | [
"Hacl.Impl.Curve25519.Field64.felem",
"Lib.Buffer.op_Array_Assignment",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.u64",
"Prims.unit"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val set_one: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_nat h1 f == 1) | [] | Hacl.Impl.Curve25519.Field64.set_one | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 18,
"end_line": 164,
"start_col": 2,
"start_line": 161
} |
FStar.HyperStack.ST.Stack | val copy_felem:
f1:felem
-> f2:felem ->
Stack unit
(requires fun h ->
live h f1 /\ live h f2 /\ disjoint f1 f2)
(ensures fun h0 _ h1 ->
modifies (loc f1) h0 h1 /\
as_seq h1 f1 == as_seq h0 f2) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let copy_felem f1 f2 =
f1.(0ul) <- f2.(0ul);
f1.(1ul) <- f2.(1ul);
f1.(2ul) <- f2.(2ul);
f1.(3ul) <- f2.(3ul);
let h1 = ST.get () in
LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2) | val copy_felem:
f1:felem
-> f2:felem ->
Stack unit
(requires fun h ->
live h f1 /\ live h f2 /\ disjoint f1 f2)
(ensures fun h0 _ h1 ->
modifies (loc f1) h0 h1 /\
as_seq h1 f1 == as_seq h0 f2)
let copy_felem f1 f2 = | true | null | false | f1.(0ul) <- f2.(0ul);
f1.(1ul) <- f2.(1ul);
f1.(2ul) <- f2.(2ul);
f1.(3ul) <- f2.(3ul);
let h1 = ST.get () in
LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2) | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [] | [
"Hacl.Impl.Curve25519.Field64.felem",
"Lib.Sequence.eq_intro",
"Lib.IntTypes.uint64",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"FStar.UInt32.__uint_to_t",
"Lib.Buffer.as_seq",
"Lib.Buffer.MUT",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"FStar.HyperStack.ST.get",
"Lib.B... | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val copy_felem:
f1:felem
-> f2:felem ->
Stack unit
(requires fun h ->
live h f1 /\ live h f2 /\ disjoint f1 f2)
(ensures fun h0 _ h1 ->
modifies (loc f1) h0 h1 /\
as_seq h1 f1 == as_seq h0 f2) | [] | Hacl.Impl.Curve25519.Field64.copy_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f1: Hacl.Impl.Curve25519.Field64.felem -> f2: Hacl.Impl.Curve25519.Field64.felem
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 45,
"end_line": 184,
"start_col": 2,
"start_line": 179
} |
FStar.HyperStack.ST.StackInline | val create_felem: unit ->
StackInline felem
(requires fun _ -> True)
(ensures fun h0 f h1 ->
stack_allocated f h0 h1 (Seq.create 4 (u64 0)) /\
as_nat h1 f == 0) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let create_felem () = create 4ul (u64 0) | val create_felem: unit ->
StackInline felem
(requires fun _ -> True)
(ensures fun h0 f h1 ->
stack_allocated f h0 h1 (Seq.create 4 (u64 0)) /\
as_nat h1 f == 0)
let create_felem () = | true | null | false | create 4ul (u64 0) | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [] | [
"Prims.unit",
"Lib.Buffer.create",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.u64",
"Lib.Buffer.lbuffer",
"Hacl.Impl.Curve25519.Field64.felem"
] | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val create_felem: unit ->
StackInline felem
(requires fun _ -> True)
(ensures fun h0 f h1 ->
stack_allocated f h0 h1 (Seq.create 4 (u64 0)) /\
as_nat h1 f == 0) | [] | Hacl.Impl.Curve25519.Field64.create_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.StackInline Hacl.Impl.Curve25519.Field64.felem | {
"end_col": 40,
"end_line": 52,
"start_col": 22,
"start_line": 52
} |
FStar.HyperStack.ST.Stack | val carry_pass_store: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_seq h1 f == SC.carry_pass_store (as_seq h0 f)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let carry_pass_store f =
let f3 = f.(3ul) in
let top_bit = f3 >>. 63ul in
f.(3ul) <- f3 &. u64 0x7fffffffffffffff;
let h0 = ST.get () in
let carry = add1 f f (u64 19 *! top_bit) in
let h1 = ST.get () in
assert (as_nat h1 f + v carry * pow2 256 == as_nat h0 f + 19 * v top_bit);
S.bn_v_is_as_nat (as_seq h... | val carry_pass_store: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_seq h1 f == SC.carry_pass_store (as_seq h0 f))
let carry_pass_store f = | true | null | false | let f3 = f.(3ul) in
let top_bit = f3 >>. 63ul in
f.(3ul) <- f3 &. u64 0x7fffffffffffffff;
let h0 = ST.get () in
let carry = add1 f f (u64 19 *! top_bit) in
let h1 = ST.get () in
assert (as_nat h1 f + v carry * pow2 256 == as_nat h0 f + 19 * v top_bit);
S.bn_v_is_as_nat (as_seq h1 f);
S.bn_v_is_as_nat (as_seq h0 f);
let... | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [] | [
"Hacl.Impl.Curve25519.Field64.felem",
"Prims.unit",
"Hacl.Spec.Bignum.Definitions.bn_eval_inj",
"Lib.IntTypes.U64",
"FStar.Pervasives.Native.snd",
"Lib.IntTypes.uint64",
"Hacl.Spec.Curve25519.Field64.Core.felem",
"FStar.Ghost.reveal",
"FStar.Pervasives.Native.tuple2",
"Lib.Buffer.as_seq",
"Lib.B... | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val carry_pass_store: f:felem ->
Stack unit
(requires fun h -> live h f)
(ensures fun h0 _ h1 ->
modifies (loc f) h0 h1 /\
as_seq h1 f == SC.carry_pass_store (as_seq h0 f)) | [] | Hacl.Impl.Curve25519.Field64.carry_pass_store | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Impl.Curve25519.Field64.felem -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 4,
"end_line": 97,
"start_col": 24,
"start_line": 83
} |
FStar.HyperStack.ST.Stack | val store_felem:
u64s:lbuffer uint64 4ul
-> f:felem ->
Stack unit
(requires fun h ->
live h f /\ live h u64s /\ disjoint u64s f)
(ensures fun h0 _ h1 ->
modifies (loc u64s |+| loc f) h0 h1 /\
as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Curve25519.Field64.Definition",
"short_module": "S... | false | let store_felem u64s f =
let h0 = ST.get () in
carry_pass_store f;
let h1 = ST.get () in
SC.lemma_carry_pass_store_first (as_seq h0 f);
carry_pass_store f;
let h2 = ST.get () in
SC.lemma_carry_pass_store_second (as_seq h1 f);
let f0 = f.(0ul) in
let f1 = f.(1ul) in
let f2 = f.(2ul) in
let f3 = f.(... | val store_felem:
u64s:lbuffer uint64 4ul
-> f:felem ->
Stack unit
(requires fun h ->
live h f /\ live h u64s /\ disjoint u64s f)
(ensures fun h0 _ h1 ->
modifies (loc u64s |+| loc f) h0 h1 /\
as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f))
let store_felem u64s f = | true | null | false | let h0 = ST.get () in
carry_pass_store f;
let h1 = ST.get () in
SC.lemma_carry_pass_store_first (as_seq h0 f);
carry_pass_store f;
let h2 = ST.get () in
SC.lemma_carry_pass_store_second (as_seq h1 f);
let f0 = f.(0ul) in
let f1 = f.(1ul) in
let f2 = f.(2ul) in
let f3 = f.(3ul) in
S.bn_v_is_as_nat (as_seq h0 f);
S.bn_v_... | {
"checked_file": "Hacl.Impl.Curve25519.Field64.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Hacl.Impl.Curve25519.Field64.felem",
"Lib.ByteSequence.lemma_nat_from_to_intseq_le_preserves_value",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Lib.Buffer.as_seq",
"Lib.Buffer.MUT",
"Prims.unit",
"Hacl.Impl.Curve25519.Lemmas... | [] | module Hacl.Impl.Curve25519.Field64
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Lib.Buffer
open Hacl.Impl.Curve25519.Fields.Core
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module BSeq = Lib.ByteSequence
module P = Spec.Curve25519
module S ... | false | false | Hacl.Impl.Curve25519.Field64.fst | {
"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... | null | val store_felem:
u64s:lbuffer uint64 4ul
-> f:felem ->
Stack unit
(requires fun h ->
live h f /\ live h u64s /\ disjoint u64s f)
(ensures fun h0 _ h1 ->
modifies (loc u64s |+| loc f) h0 h1 /\
as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f)) | [] | Hacl.Impl.Curve25519.Field64.store_felem | {
"file_name": "code/curve25519/Hacl.Impl.Curve25519.Field64.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul -> f: Hacl.Impl.Curve25519.Field64.felem
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 69,
"end_line": 134,
"start_col": 24,
"start_line": 111
} |
Prims.Tot | val eloc_includes (l1 l2: eloc) : Tot prop | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let eloc_includes (l1 l2:eloc) = B.loc_includes l1 l2 /\ True | val eloc_includes (l1 l2: eloc) : Tot prop
let eloc_includes (l1 l2: eloc) = | false | null | false | B.loc_includes l1 l2 /\ True | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Actions.Base.eloc",
"Prims.l_and",
"LowStar.Monotonic.Buffer.loc_includes",
"FStar.Ghost.reveal",
"LowStar.Monotonic.Buffer.loc",
"Prims.l_True",
"Prims.prop"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val eloc_includes (l1 l2: eloc) : Tot prop | [] | EverParse3d.Actions.Base.eloc_includes | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | l1: EverParse3d.Actions.Base.eloc -> l2: EverParse3d.Actions.Base.eloc -> Prims.prop | {
"end_col": 61,
"end_line": 33,
"start_col": 33,
"start_line": 33
} |
Prims.Tot | val validate_with_action_t
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#t:Type)
(p:parser k t)
(inv:slice_inv)
(l:eloc)
(allow_reading:bool)
: Type0 | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | let validate_with_action_t p inv l allow_reading = validate_with_action_t' p inv l allow_reading | val validate_with_action_t
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#t:Type)
(p:parser k t)
(inv:slice_inv)
(l:eloc)
(allow_reading:bool)
: Type0
let validate_with_action_t p inv l allow_reading = | false | null | false | validate_with_action_t' p inv l allow_reading | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.validate_with_action_t'"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_with_action_t
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#t:Type)
(p:parser k t)
(inv:slice_inv)
(l:eloc)
(allow_reading:bool)
: Type0 | [] | EverParse3d.Actions.Base.validate_with_action_t | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: EverParse3d.Prelude.parser k t ->
inv: EverParse3d.Actions.Base.slice_inv ->
l: EverParse3d.Actions.Base.eloc ->
allow_reading: Prims.bool
-> Type0 | {
"end_col": 96,
"end_line": 200,
"start_col": 51,
"start_line": 200
} |
Prims.Tot | val inv_implies (inv0 inv1: slice_inv) : Tot prop | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let inv_implies (inv0 inv1:slice_inv) =
forall i h.
inv0 i h ==> inv1 i h | val inv_implies (inv0 inv1: slice_inv) : Tot prop
let inv_implies (inv0 inv1: slice_inv) = | false | null | false | forall i h. inv0 i h ==> inv1 i h | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Actions.Base.slice_inv",
"Prims.l_Forall",
"LowStar.Monotonic.Buffer.loc",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_imp",
"Prims.prop"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val inv_implies (inv0 inv1: slice_inv) : Tot prop | [] | EverParse3d.Actions.Base.inv_implies | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | inv0: EverParse3d.Actions.Base.slice_inv -> inv1: EverParse3d.Actions.Base.slice_inv -> Prims.prop | {
"end_col": 25,
"end_line": 27,
"start_col": 2,
"start_line": 26
} |
Prims.Tot | val eloc : Type0 | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let eloc = (l: FStar.Ghost.erased B.loc { B.address_liveness_insensitive_locs `B.loc_includes` l }) | val eloc : Type0
let eloc = | false | null | false | (l: FStar.Ghost.erased B.loc {B.address_liveness_insensitive_locs `B.loc_includes` l}) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"FStar.Ghost.erased",
"LowStar.Monotonic.Buffer.loc",
"LowStar.Monotonic.Buffer.loc_includes",
"LowStar.Monotonic.Buffer.address_liveness_insensitive_locs",
"FStar.Ghost.reveal"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val eloc : Type0 | [] | EverParse3d.Actions.Base.eloc | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type0 | {
"end_col": 99,
"end_line": 30,
"start_col": 11,
"start_line": 30
} |
Prims.Tot | 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] l1:eloc)
(#allow_reading:bool)
(v1:validate_with_act... | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | let validate_with_success_action
name v1 a
= validate_with_success_action' name (validate_drop v1) 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] l1:eloc)
(#allow_reading:bool)
(v1:validate_with_act... | false | null | false | validate_with_success_action' name (validate_drop v1) a | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.string",
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.validate_with_action_t",
"EverParse3d.Actions.Base.action",
"EverParse3d.Acti... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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] l1:eloc)
(#allow_reading:bool)
(v1:validate_with_act... | [] | EverParse3d.Actions.Base.validate_with_success_action | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
name: Prims.string ->
v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 l1 allow_reading ->
a: EverParse3d.Actions.Base.action p1 inv2 l2 b Prims.bool
-> EverParse3d.Actions.Base.validate_with_action_t p1
(EverParse3d.Actions.Base.conj_inv inv1 inv2)
(EverParse3d.Actions.Base.eloc_u... | {
"end_col": 57,
"end_line": 288,
"start_col": 2,
"start_line": 288
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "... | false | let hinv = HS.mem -> Tot Type0 | let hinv = | false | null | false | HS.mem -> Tot Type0 | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"FStar.Monotonic.HyperStack.mem"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val hinv : Type | [] | EverParse3d.Actions.Base.hinv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type | {
"end_col": 30,
"end_line": 19,
"start_col": 11,
"start_line": 19
} | |
Prims.Tot | val validate_eta
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#allow_reading:bool)
(v: validate_with_action_t p inv l allow_reading)
: Tot (validate... | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | let validate_eta v =
fun ctxt error_handler_fn sl pos -> v ctxt error_handler_fn sl pos | val validate_eta
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#allow_reading:bool)
(v: validate_with_action_t p inv l allow_reading)
: Tot (validate... | false | null | false | fun ctxt error_handler_fn sl pos -> v ctxt error_handler_fn sl pos | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.validate_with_action_t",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.inpu... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_eta
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#allow_reading:bool)
(v: validate_with_action_t p inv l allow_reading)
: Tot (validate... | [] | EverParse3d.Actions.Base.validate_eta | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | v: EverParse3d.Actions.Base.validate_with_action_t p inv l allow_reading
-> EverParse3d.Actions.Base.validate_with_action_t p inv l allow_reading | {
"end_col": 68,
"end_line": 203,
"start_col": 2,
"start_line": 203
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "... | false | let liveness_inv = i:hinv {
forall l h0 h1. {:pattern (i h1); (modifies l h0 h1)} i h0 /\ modifies l h0 h1 /\ address_liveness_insensitive_locs `loc_includes` l ==> i h1
} | let liveness_inv = | false | null | false | i:
hinv
{ forall l h0 h1. {:pattern (i h1); (modifies l h0 h1)}
i h0 /\ modifies l h0 h1 /\ address_liveness_insensitive_locs `loc_includes` l ==> i h1 } | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Actions.Base.hinv",
"Prims.l_Forall",
"LowStar.Monotonic.Buffer.loc",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_imp",
"Prims.l_and",
"LowStar.Monotonic.Buffer.modifies",
"LowStar.Monotonic.Buffer.loc_includes",
"LowStar.Monotonic.Buffer.address_liveness_insensitive_locs"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val liveness_inv : Type | [] | EverParse3d.Actions.Base.liveness_inv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type | {
"end_col": 1,
"end_line": 22,
"start_col": 19,
"start_line": 20
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "... | false | let mem_inv = liveness_inv | let mem_inv = | false | null | false | liveness_inv | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Actions.Base.liveness_inv"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val mem_inv : Type | [] | EverParse3d.Actions.Base.mem_inv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type | {
"end_col": 27,
"end_line": 23,
"start_col": 15,
"start_line": 23
} | |
Prims.Tot | val true_inv : slice_inv | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let true_inv : slice_inv = fun _ _ -> True | val true_inv : slice_inv
let true_inv:slice_inv = | false | null | false | fun _ _ -> True | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowStar.Monotonic.Buffer.loc",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_True",
"EverParse3d.Actions.Base.slice_inv"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val true_inv : slice_inv | [] | EverParse3d.Actions.Base.true_inv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.slice_inv | {
"end_col": 42,
"end_line": 28,
"start_col": 27,
"start_line": 28
} |
Prims.Tot | val slice_inv : Type u#1 | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let slice_inv = loc -> mem_inv | val slice_inv : Type u#1
let slice_inv = | false | null | false | loc -> mem_inv | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowStar.Monotonic.Buffer.loc",
"EverParse3d.Actions.Base.mem_inv"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val slice_inv : Type u#1 | [] | EverParse3d.Actions.Base.slice_inv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type | {
"end_col": 30,
"end_line": 24,
"start_col": 16,
"start_line": 24
} |
Prims.Tot | val eloc_union (l1 l2: eloc) : Tot eloc | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let eloc_union (l1 l2:eloc) : Tot eloc = B.loc_union l1 l2 | val eloc_union (l1 l2: eloc) : Tot eloc
let eloc_union (l1 l2: eloc) : Tot eloc = | false | null | false | B.loc_union l1 l2 | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Actions.Base.eloc",
"FStar.Ghost.hide",
"LowStar.Monotonic.Buffer.loc",
"LowStar.Monotonic.Buffer.loc_union",
"FStar.Ghost.reveal"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val eloc_union (l1 l2: eloc) : Tot eloc | [] | EverParse3d.Actions.Base.eloc_union | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | l1: EverParse3d.Actions.Base.eloc -> l2: EverParse3d.Actions.Base.eloc
-> EverParse3d.Actions.Base.eloc | {
"end_col": 58,
"end_line": 31,
"start_col": 41,
"start_line": 31
} |
Prims.Tot | 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 | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | 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)) | 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_... | false | null | false | I.live sl h /\ Some? (LP.parse p (I.get_remaining sl h)) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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 | [] | EverParse3d.Actions.Base.valid | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: input_buffer_t
-> Prims.prop | {
"end_col": 43,
"end_line": 134,
"start_col": 2,
"start_line": 133
} |
Prims.Tot | val ptr_inv (#a: _) (x: bpointer a) : Tot slice_inv | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let ptr_inv #a (x:B.pointer a) : slice_inv = fun (sl:_) h -> B.live h x | val ptr_inv (#a: _) (x: bpointer a) : Tot slice_inv
let ptr_inv #a (x: B.pointer a) : slice_inv = | false | null | false | fun (sl: _) h -> B.live h x | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowStar.Buffer.pointer",
"LowStar.Monotonic.Buffer.loc",
"FStar.Monotonic.HyperStack.mem",
"LowStar.Monotonic.Buffer.live",
"LowStar.Buffer.trivial_preorder",
"EverParse3d.Actions.Base.slice_inv"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val ptr_inv (#a: _) (x: bpointer a) : Tot slice_inv | [] | EverParse3d.Actions.Base.ptr_inv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.Actions.Base.bpointer a -> EverParse3d.Actions.Base.slice_inv | {
"end_col": 71,
"end_line": 45,
"start_col": 45,
"start_line": 45
} |
Prims.Tot | 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 | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | 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... | 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 ()] ... | false | null | false | 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))) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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.... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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 | [] | EverParse3d.Actions.Base.valid_consumed | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
h': FStar.Monotonic.HyperStack.mem ->
sl: input_buffer_t
-> Prims.prop | {
"end_col": 5,
"end_line": 102,
"start_col": 2,
"start_line": 94
} |
Prims.Tot | val validate_ret
: validate_with_action_t (parse_ret ()) true_inv eloc_none true | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | let validate_ret
: validate_with_action_t (parse_ret ()) true_inv eloc_none true
= fun ctxt error_handler_fn input input_length start_position ->
start_position | val validate_ret
: validate_with_action_t (parse_ret ()) true_inv eloc_none true
let validate_ret:validate_with_action_t (parse_ret ()) true_inv eloc_none true = | false | null | false | fun ctxt error_handler_fn input input_length start_position -> start_position | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_ret
: validate_with_action_t (parse_ret ()) true_inv eloc_none true | [] | EverParse3d.Actions.Base.validate_ret | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_ret ())
EverParse3d.Actions.Base.true_inv
EverParse3d.Actions.Base.eloc_none
true | {
"end_col": 18,
"end_line": 321,
"start_col": 4,
"start_line": 320
} |
Prims.Tot | val act_with_comment
(s: string)
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#b:_)
(res:Type)
(a: action p inv l b res)
: Tot (action... | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | let act_with_comment
s res a
=
fun ctxt sl pos posf ->
LPL.comment s;
a ctxt sl pos posf | val act_with_comment
(s: string)
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#b:_)
(res:Type)
(a: action p inv l b res)
: Tot (action... | false | null | false | fun ctxt sl pos posf ->
LPL.comment s;
a ctxt sl pos posf | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.string",
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.action",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.in... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val act_with_comment
(s: string)
(#nz:bool)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#b:_)
(res:Type)
(a: action p inv l b res)
: Tot (action... | [] | EverParse3d.Actions.Base.act_with_comment | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | s: Prims.string -> res: Type -> a: EverParse3d.Actions.Base.action p inv l b res
-> EverParse3d.Actions.Base.action p inv l b res | {
"end_col": 20,
"end_line": 210,
"start_col": 2,
"start_line": 208
} |
Prims.Tot | 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... | [
{
"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... | 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 == Some LP.ParserKindMetadataTotal
})
inv l
: Tot (va... | 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... | false | null | false | validate_total_constant_size_no_read' p sz u inv l | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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... | [] | EverParse3d.Actions.Base.validate_total_constant_size_no_read | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: EverParse3d.Prelude.parser k t ->
sz: FStar.UInt64.t ->
u526:
u529:
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_... | {
"end_col": 52,
"end_line": 1075,
"start_col": 2,
"start_line": 1075
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | let validate_with_action_t' (#k:LP.parser_kind) (#t:Type) (p:LP.parser k t) (inv:slice_inv) (l:eloc) (allow_reading:bool) =
(# [tcresolve ()] 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) ->
Stack U64.t
... | let validate_with_action_t'
(#k: LP.parser_kind)
(#t: Type)
(p: LP.parser k t)
(inv: slice_inv)
(l: eloc)
(allow_reading: bool)
= | false | null | false |
#[tcresolve ()]
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
-> Stack U64.t
(requires
fun h ->
I.live sl h /\ inv (I.footprint sl) h /\ B.live h ctxt /\
(loc_not... | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"EverParse3d.Actions.Base.slice_inv",
"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_ctx... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_with_action_t' : p: LowParse.Spec.Base.parser k t ->
inv: EverParse3d.Actions.Base.slice_inv ->
l: EverParse3d.Actions.Base.eloc ->
allow_reading: Prims.bool
-> Type0 | [] | EverParse3d.Actions.Base.validate_with_action_t' | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
inv: EverParse3d.Actions.Base.slice_inv ->
l: EverParse3d.Actions.Base.eloc ->
allow_reading: Prims.bool
-> Type0 | {
"end_col": 5,
"end_line": 198,
"start_col": 2,
"start_line": 163
} | |
Prims.Tot | val read____UINT8BE
: leaf_reader parse____UINT8BE | [
{
"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... | false | let read____UINT8BE
: leaf_reader parse____UINT8BE
= lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL | val read____UINT8BE
: leaf_reader parse____UINT8BE
let read____UINT8BE:leaf_reader parse____UINT8BE = | false | null | false | lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val read____UINT8BE
: leaf_reader parse____UINT8BE | [] | EverParse3d.Actions.Base.read____UINT8BE | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.leaf_reader EverParse3d.Prelude.parse____UINT8BE | {
"end_col": 48,
"end_line": 1359,
"start_col": 2,
"start_line": 1359
} |
Prims.Tot | 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] l1:eloc)
(v1:va... | [
{
"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,
... | 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 #l1 (v1:validate_with_action_t p1 inv1 l1 true) (r1: leaf_reader p1)
(f: t1 -> bool)
#nz2 #wk2 (#k2:parser_kind nz2 wk2) (#t2:re... | 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] l1:eloc)
(v1:va... | false | null | false | 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 l1 r1 f v2
else validate_dep_pair_with_refinement' name1 v1 r1 f v2 | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"Prims.string",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.validate_with_action_t",
"EverParse3d.Actions.Base.leaf_reader",
"... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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] l1:eloc)
(v1:va... | [] | EverParse3d.Actions.Base.validate_dep_pair_with_refinement | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p1_is_constant_size_without_actions: Prims.bool ->
name1: Prims.string ->
v1: EverParse3d.Actions.Base.validate_with_action_t p1 inv1 l1 true ->
r1: EverParse3d.Actions.Base.leaf_reader p1 ->
f: (_: t1 -> Prims.bool) ->
v2:
(x: EverParse3d.Prelude.refine t1 f
-> EverParse3d.Acti... | {
"end_col": 57,
"end_line": 648,
"start_col": 4,
"start_line": 641
} |
Prims.Tot | val read____UINT32
: leaf_reader parse____UINT32 | [
{
"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... | false | let read____UINT32
: leaf_reader parse____UINT32
= lift_reader _ LowParse.Low.BoundedInt.read_u32_le 4ul 4uL | val read____UINT32
: leaf_reader parse____UINT32
let read____UINT32:leaf_reader parse____UINT32 = | false | null | false | lift_reader _ LowParse.Low.BoundedInt.read_u32_le 4ul 4uL | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val read____UINT32
: leaf_reader parse____UINT32 | [] | EverParse3d.Actions.Base.read____UINT32 | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.leaf_reader EverParse3d.Prelude.parse____UINT32 | {
"end_col": 59,
"end_line": 1419,
"start_col": 2,
"start_line": 1419
} |
Prims.Tot | val validate____UINT16BE
: validator parse____UINT16BE | [
{
"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... | 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 () _ _) | val validate____UINT16BE
: validator parse____UINT16BE
let validate____UINT16BE:validator parse____UINT16BE = | false | null | false | 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 () _ _) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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.eloc_none",
"EverParse3d.Actions.... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate____UINT16BE
: validator parse____UINT16BE | [] | EverParse3d.Actions.Base.validate____UINT16BE | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.validator EverParse3d.Prelude.parse____UINT16BE | {
"end_col": 73,
"end_line": 1366,
"start_col": 4,
"start_line": 1364
} |
Prims.Tot | val validate____UINT16
: validator parse____UINT16 | [
{
"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... | 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 () _ _) | val validate____UINT16
: validator parse____UINT16
let validate____UINT16:validator parse____UINT16 = | false | null | false | 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 () _ _) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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.eloc_none",
"EverParse3d.Actions.Base.v... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate____UINT16
: validator parse____UINT16 | [] | EverParse3d.Actions.Base.validate____UINT16 | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.validator EverParse3d.Prelude.parse____UINT16 | {
"end_col": 71,
"end_line": 1402,
"start_col": 4,
"start_line": 1400
} |
Prims.Tot | val validate____UINT8BE
: validator parse____UINT8BE | [
{
"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... | 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 () _ _) | val validate____UINT8BE
: validator parse____UINT8BE
let validate____UINT8BE:validator parse____UINT8BE = | false | null | false | 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 () _ _) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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.eloc_none",
"EverParse3d.Actions.Bas... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate____UINT8BE
: validator parse____UINT8BE | [] | EverParse3d.Actions.Base.validate____UINT8BE | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.validator EverParse3d.Prelude.parse____UINT8BE | {
"end_col": 72,
"end_line": 1354,
"start_col": 4,
"start_line": 1352
} |
Prims.Tot | 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] l:eloc)
(#allow_reading:bool)
... | [
{
"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... | 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 #l #ar
(v: validate_with_action_t p inv l ar)
: Tot (validate_with_action_t (parse_nlist n p) inv l false)
=
if
let open LP in
k.parser_kind_subkind = Some ParserStro... | 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] l:eloc)
(#allow_reading:bool)
... | false | null | false | 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 l)
else validate_nlist n v | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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.eloc",
"EverParse3d.Actions.Base.validate_with_action_t",
"Prims.op_AmpAmp",
"Prims.op_Equality",
"FStar.P... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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] l:eloc)
(#allow_reading:bool)
... | [] | EverParse3d.Actions.Base.validate_nlist_constant_size_without_actions | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
n_is_const: Prims.bool ->
n: FStar.UInt32.t ->
v: EverParse3d.Actions.Base.validate_with_action_t p inv l allow_reading
-> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_nlist n p)
inv
l
false | {
"end_col": 22,
"end_line": 1191,
"start_col": 2,
"start_line": 1182
} |
Prims.Tot | val read____UINT32BE
: leaf_reader parse____UINT32BE | [
{
"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... | false | let read____UINT32BE
: leaf_reader parse____UINT32BE
= lift_reader _ LowParse.Low.Int.read_u32 4ul 4uL | val read____UINT32BE
: leaf_reader parse____UINT32BE
let read____UINT32BE:leaf_reader parse____UINT32BE = | false | null | false | lift_reader _ LowParse.Low.Int.read_u32 4ul 4uL | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val read____UINT32BE
: leaf_reader parse____UINT32BE | [] | EverParse3d.Actions.Base.read____UINT32BE | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.leaf_reader EverParse3d.Prelude.parse____UINT32BE | {
"end_col": 49,
"end_line": 1383,
"start_col": 2,
"start_line": 1383
} |
Prims.Tot | val validate____UINT64
: validator parse____UINT64 | [
{
"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... | 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 () _ _) | val validate____UINT64
: validator parse____UINT64
let validate____UINT64:validator parse____UINT64 = | false | null | false | 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 () _ _) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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.eloc_none",
"EverParse3d.Actions.Base.v... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate____UINT64
: validator parse____UINT64 | [] | EverParse3d.Actions.Base.validate____UINT64 | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.validator EverParse3d.Prelude.parse____UINT64 | {
"end_col": 71,
"end_line": 1426,
"start_col": 4,
"start_line": 1424
} |
Prims.Tot | val read____UINT8
: leaf_reader parse____UINT8 | [
{
"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... | false | let read____UINT8
: leaf_reader parse____UINT8
= lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL | val read____UINT8
: leaf_reader parse____UINT8
let read____UINT8:leaf_reader parse____UINT8 = | false | null | false | lift_reader _ LowParse.Low.Int.read_u8 1ul 1uL | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val read____UINT8
: leaf_reader parse____UINT8 | [] | EverParse3d.Actions.Base.read____UINT8 | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.leaf_reader EverParse3d.Prelude.parse____UINT8 | {
"end_col": 48,
"end_line": 1347,
"start_col": 2,
"start_line": 1347
} |
Prims.Tot | val validate_impos
(_:unit)
: validate_with_action_t (parse_impos ()) true_inv eloc_none true | [
{
"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,
... | false | let validate_impos ()
: Tot (validate_with_action_t (parse_impos ()) true_inv eloc_none true)
= fun _ _ _ _ start_position -> LPE.set_validator_error_pos LPE.validator_error_impossible start_position | val validate_impos
(_:unit)
: validate_with_action_t (parse_impos ()) true_inv eloc_none true
let validate_impos () : Tot (validate_with_action_t (parse_impos ()) true_inv eloc_none true) = | false | null | false | fun _ _ _ _ start_position ->
LPE.set_validator_error_pos LPE.validator_error_impossible start_position | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_impos
(_:unit)
: validate_with_action_t (parse_impos ()) true_inv eloc_none true | [] | EverParse3d.Actions.Base.validate_impos | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | _: Prims.unit
-> EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_impos ())
EverParse3d.Actions.Base.true_inv
EverParse3d.Actions.Base.eloc_none
true | {
"end_col": 107,
"end_line": 763,
"start_col": 4,
"start_line": 763
} |
Prims.Tot | val read_unit
: leaf_reader (parse_ret ()) | [
{
"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... | false | let read_unit
= fun input pos -> () | val read_unit
: leaf_reader (parse_ret ())
let read_unit = | false | null | false | fun input pos -> () | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"EverParse3d.InputStream.All.inst",
"EverParse3d.ErrorCode.pos_t",
"Prims.unit"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val read_unit
: leaf_reader (parse_ret ()) | [] | EverParse3d.Actions.Base.read_unit | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.leaf_reader (EverParse3d.Prelude.parse_ret ()) | {
"end_col": 21,
"end_line": 1439,
"start_col": 2,
"start_line": 1439
} |
Prims.GTot | val validate_list_inv
(#k: LPL.parser_kind)
(#t: Type)
(p: LPL.parser k t)
(inv: slice_inv)
(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 Type0 | [
{
"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,... | false | let validate_list_inv
(#k: LPL.parser_kind)
(#t: Type)
(p: LPL.parser k t)
(inv: slice_inv)
(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 Type0
= let h0 = Ghost.reveal g0 in
let h1 = Ghost.reveal g1 in
let res ... | val validate_list_inv
(#k: LPL.parser_kind)
(#t: Type)
(p: LPL.parser k t)
(inv: slice_inv)
(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 Type0
let validate_list_inv... | false | null | false | let h0 = Ghost.reveal g0 in
let h1 = Ghost.reveal g1 in
let res = Seq.index (as_seq h bres) 0 in
inv (I.footprint sl) h0 /\ (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... | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"sometrivial"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"FStar.Ghost.erased",
"FStar.Monotonic.HyperStack.mem",
"EverParse3d.Actions.Base.app_ctxt",
"EverParse3d.Actions.Base.input_buffer_t",
"LowStar.Buffer.pointer",
"F... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_list_inv
(#k: LPL.parser_kind)
(#t: Type)
(p: LPL.parser k t)
(inv: slice_inv)
(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 Type0 | [] | EverParse3d.Actions.Base.validate_list_inv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
inv: EverParse3d.Actions.Base.slice_inv ->
l: EverParse3d.Actions.Base.eloc ->
g0: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem ->
g1: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem ->
ctxt: EverParse3d.Actions.Base.app_ctxt ->
sl: EverParse3d.Act... | {
"end_col": 92,
"end_line": 823,
"start_col": 1,
"start_line": 789
} |
Prims.Tot | val read_impos
: leaf_reader (parse_impos()) | [
{
"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... | false | let read_impos
: leaf_reader (parse_impos())
= fun sl pos ->
false_elim () | val read_impos
: leaf_reader (parse_impos())
let read_impos:leaf_reader (parse_impos ()) = | false | null | false | fun sl pos -> false_elim () | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val read_impos
: leaf_reader (parse_impos()) | [] | EverParse3d.Actions.Base.read_impos | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.leaf_reader (EverParse3d.Prelude.parse_impos ()) | {
"end_col": 19,
"end_line": 1313,
"start_col": 4,
"start_line": 1312
} |
Prims.Tot | val validate____UINT64BE
: validator parse____UINT64BE | [
{
"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... | 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 () _ _) | val validate____UINT64BE
: validator parse____UINT64BE
let validate____UINT64BE:validator parse____UINT64BE = | false | null | false | 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 () _ _) | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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.eloc_none",
"EverParse3d.Actions.... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate____UINT64BE
: validator parse____UINT64BE | [] | EverParse3d.Actions.Base.validate____UINT64BE | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.validator EverParse3d.Prelude.parse____UINT64BE | {
"end_col": 73,
"end_line": 1390,
"start_col": 4,
"start_line": 1388
} |
Prims.Tot | val read____UINT64
: leaf_reader parse____UINT64 | [
{
"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... | false | let read____UINT64
: leaf_reader parse____UINT64
= lift_reader _ LowParse.Low.Int.read_u64_le 8ul 8uL | val read____UINT64
: leaf_reader parse____UINT64
let read____UINT64:leaf_reader parse____UINT64 = | false | null | false | lift_reader _ LowParse.Low.Int.read_u64_le 8ul 8uL | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val read____UINT64
: leaf_reader parse____UINT64 | [] | EverParse3d.Actions.Base.read____UINT64 | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.leaf_reader EverParse3d.Prelude.parse____UINT64 | {
"end_col": 52,
"end_line": 1431,
"start_col": 2,
"start_line": 1431
} |
Prims.Tot | val action_deref
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#a:_)
(x:bpointer a)
: action p (ptr_inv x) eloc_none false a | [
{
"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,
... | false | let action_deref
#nz #wk (#k:parser_kind nz wk) (#t:Type) (#p:parser k t)
(#a:_) (x:B.pointer a)
: action p (ptr_inv x) loc_none false a
= fun _ _ _ _ -> !*x | val action_deref
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#a:_)
(x:bpointer a)
: action p (ptr_inv x) eloc_none false a
let action_deref
#nz
#wk
(#k: parser_kind nz wk)
(#t: Type)
(#p... | false | null | false | fun _ _ _ _ -> !*x | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"LowStar.Buffer.pointer",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"EverParse3d.InputStream.All.inst",
"EverParse3d.Actions.Base.app_ctxt",
"EverPar... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val action_deref
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#a:_)
(x:bpointer a)
: action p (ptr_inv x) eloc_none false a | [] | EverParse3d.Actions.Base.action_deref | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.Actions.Base.bpointer a
-> EverParse3d.Actions.Base.action p
(EverParse3d.Actions.Base.ptr_inv x)
EverParse3d.Actions.Base.eloc_none
false
a | {
"end_col": 23,
"end_line": 1675,
"start_col": 5,
"start_line": 1675
} |
Prims.Tot | 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) | [
{
"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... | 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_... | 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: Typ... | false | null | false | 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 | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"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... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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) | [] | EverParse3d.Actions.Base.read_filter | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p32: EverParse3d.Actions.Base.leaf_reader p -> f: (_: t -> Prims.bool)
-> EverParse3d.Actions.Base.leaf_reader (EverParse3d.Prelude.parse_filter p f) | {
"end_col": 21,
"end_line": 1307,
"start_col": 6,
"start_line": 1302
} |
Prims.Tot | val action_assignment
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#a:_)
(x:bpointer a)
(v:a)
: action p (ptr_inv x) (ptr_loc x) false unit | [
{
"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,
... | false | let action_assignment
#nz #wk (#k:parser_kind nz wk) (#t:Type) (#p:parser k t)
(#a:_) (x:B.pointer a) (v:a)
: action p (ptr_inv x) (ptr_loc x) false unit
= fun _ _ _ _ -> x *= v | val action_assignment
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#a:_)
(x:bpointer a)
(v:a)
: action p (ptr_inv x) (ptr_loc x) false unit
let action_assignment
#nz
#wk
(#k: parser_kind nz wk... | false | null | false | fun _ _ _ _ -> x *= v | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"LowStar.Buffer.pointer",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"EverParse3d.InputStream.All.inst",
"EverParse3d.Actions.Base.app_ctxt",
"EverPar... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val action_assignment
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#a:_)
(x:bpointer a)
(v:a)
: action p (ptr_inv x) (ptr_loc x) false unit | [] | EverParse3d.Actions.Base.action_assignment | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.Actions.Base.bpointer a -> v: a
-> EverParse3d.Actions.Base.action p
(EverParse3d.Actions.Base.ptr_inv x)
(EverParse3d.Actions.Base.ptr_loc x)
false
Prims.unit | {
"end_col": 26,
"end_line": 1683,
"start_col": 5,
"start_line": 1683
} |
Prims.Tot | val action_weaken
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#b:_)
(#a:_)
(act:action p inv l b a)
(#[@@@erasable] inv':slice_inv{inv' `... | [
{
"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,
... | false | let action_weaken
#nz #wk (#k:parser_kind nz wk) (#t:Type) (#p:parser k t)
(#inv:slice_inv) (#l:eloc) (#b:_) (#a:_) (act:action p inv l b a)
(#inv':slice_inv{inv' `inv_implies` inv}) (#l':eloc{l' `eloc_includes` l})
: action p inv' l' b a
= act | val action_weaken
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#b:_)
(#a:_)
(act:action p inv l b a)
(#[@@@erasable] inv':slice_inv{inv' `... | false | null | false | act | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.action",
"EverParse3d.Actions.Base.inv_implies",
"EverParse3d.Actions.Base.eloc_includes"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val action_weaken
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] inv:slice_inv)
(#[@@@erasable] l:eloc)
(#b:_)
(#a:_)
(act:action p inv l b a)
(#[@@@erasable] inv':slice_inv{inv' `... | [] | EverParse3d.Actions.Base.action_weaken | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | act: EverParse3d.Actions.Base.action p inv l b a -> EverParse3d.Actions.Base.action p inv' l' b a | {
"end_col": 8,
"end_line": 1703,
"start_col": 5,
"start_line": 1703
} |
Prims.Tot | val validate_weaken
(#nz #wk: _)
(#k: parser_kind nz wk)
(#t: _)
(#p: parser k t)
(#inv #l #ar: _)
(v: validate_with_action_t p inv l ar)
(#nz' #wk': _)
(k': parser_kind nz' wk' {k' `is_weaker_than` k})
: Tot (validate_with_action_t (parse_weaken p k') inv l ar) | [
{
"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,
... | false | let validate_weaken #nz #wk (#k:parser_kind nz wk) #t (#p:parser k t)
#inv #l #ar (v:validate_with_action_t p inv l ar)
#nz' #wk' (k':parser_kind nz' wk'{k' `is_weaker_than` k})
: Tot (validate_with_action_t (parse_weaken p k') inv l ar)
= fun ctxt error_handler_fn input inpu... | val validate_weaken
(#nz #wk: _)
(#k: parser_kind nz wk)
(#t: _)
(#p: parser k t)
(#inv #l #ar: _)
(v: validate_with_action_t p inv l ar)
(#nz' #wk': _)
(k': parser_kind nz' wk' {k' `is_weaker_than` k})
: Tot (validate_with_action_t (parse_weaken p k') inv l ar)
let v... | false | null | false | fun ctxt error_handler_fn input input_length start_position ->
v ctxt error_handler_fn input input_length start_position | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.validate_with_action_t",
"EverParse3d.Prelude.is_weaker_than",
"EverParse3d.InputStream.Base.ex... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_weaken
(#nz #wk: _)
(#k: parser_kind nz wk)
(#t: _)
(#p: parser k t)
(#inv #l #ar: _)
(v: validate_with_action_t p inv l ar)
(#nz' #wk': _)
(k': parser_kind nz' wk' {k' `is_weaker_than` k})
: Tot (validate_with_action_t (parse_weaken p k') inv l ar) | [] | EverParse3d.Actions.Base.validate_weaken | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
v: EverParse3d.Actions.Base.validate_with_action_t p inv 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
l
ar | {
"end_col": 61,
"end_line": 739,
"start_col": 4,
"start_line": 738
} |
Prims.Tot | val action_seq
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] invf:slice_inv)
(#[@@@erasable] lf:eloc)
(#bf:_)
(#a:Type)
(f: action p invf lf bf a)
(#[@@@erasable] invg:slice_inv)
... | [
{
"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,
... | false | let action_seq
#nz #wk (#k:parser_kind nz wk) (#t:Type) (#p:parser k t)
(#invf:slice_inv) (#lf:eloc)
#bf (#a:Type) (f: action p invf lf bf a)
(#invg:slice_inv) (#lg:eloc) #bg
(#b:Type) (g: action p invg lg bg b)
: Tot (action p (conj_inv invf invg) (eloc_union lf lg) (bf || bg) b)
= fu... | val action_seq
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] invf:slice_inv)
(#[@@@erasable] lf:eloc)
(#bf:_)
(#a:Type)
(f: action p invf lf bf a)
(#[@@@erasable] invg:slice_inv)
... | false | null | false | fun ctxt input pos posf ->
let h0 = HST.get () in
let _ = f ctxt input pos posf in
let h1 = HST.get () in
modifies_address_liveness_insensitive_unused_in h0 h1;
g ctxt input pos posf | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.action",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val action_seq
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] invf:slice_inv)
(#[@@@erasable] lf:eloc)
(#bf:_)
(#a:Type)
(f: action p invf lf bf a)
(#[@@@erasable] invg:slice_inv)
... | [] | EverParse3d.Actions.Base.action_seq | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
f: EverParse3d.Actions.Base.action p invf lf bf a ->
g: EverParse3d.Actions.Base.action p invg lg bg b
-> EverParse3d.Actions.Base.action p
(EverParse3d.Actions.Base.conj_inv invf invg)
(EverParse3d.Actions.Base.eloc_union lf lg)
(bf || bg)
b | {
"end_col": 25,
"end_line": 1627,
"start_col": 4,
"start_line": 1622
} |
Prims.Tot | val validate_drop_true
(#k: LP.parser_kind)
(#t: Type)
(#p: LP.parser k t)
(#inv: slice_inv)
(#l: eloc)
(v: validate_with_action_t' p inv l true)
: Tot (validate_with_action_t' p inv l false) | [
{
"abbrev": true,
"full_module": "LowParse.Low.Base",
"short_module": "LPL"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Base",
"short_module": "LP"
},
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full... | false | let validate_drop_true
(#k:LP.parser_kind) (#t:Type) (#p:LP.parser k t) (#inv:slice_inv) (#l:eloc) (v: validate_with_action_t' p inv l true)
: Tot (validate_with_action_t' p inv l false)
= fun ctxt error_handler_fn input input_length start_position ->
[@inline_let] let pos = start_position in
let res = v ctxt er... | val validate_drop_true
(#k: LP.parser_kind)
(#t: Type)
(#p: LP.parser k t)
(#inv: slice_inv)
(#l: eloc)
(v: validate_with_action_t' p inv l true)
: Tot (validate_with_action_t' p inv l false)
let validate_drop_true
(#k: LP.parser_kind)
(#t: Type)
(#p: LP.parser ... | false | null | 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 | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.validate_with_action_t'",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"EverParse3d.InputStream.All.inst... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_drop_true
(#k: LP.parser_kind)
(#t: Type)
(#p: LP.parser k t)
(#inv: slice_inv)
(#l: eloc)
(v: validate_with_action_t' p inv l true)
: Tot (validate_with_action_t' p inv l false) | [] | EverParse3d.Actions.Base.validate_drop_true | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | v: EverParse3d.Actions.Base.validate_with_action_t' p inv l true
-> EverParse3d.Actions.Base.validate_with_action_t' p inv l false | {
"end_col": 5,
"end_line": 275,
"start_col": 2,
"start_line": 271
} |
Prims.Tot | val validate_list
(#k: LP.parser_kind)
(#t: _)
(#p: LP.parser k t)
(#inv #l #ar: _)
(v: validate_with_action_t' p inv l ar)
: Tot (validate_with_action_t' (LowParse.Spec.List.parse_list p) inv l false) | [
{
"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,... | false | let validate_list
(#k:LP.parser_kind)
#t
(#p:LP.parser k t)
#inv #l #ar
(v: validate_with_action_t' p inv l ar)
: Tot (validate_with_action_t' (LowParse.Spec.List.parse_list p) inv l false)
= fun ctxt error_handler_fn input input_length start_position ->
validate_list' v ctxt error_handler_fn input input_le... | val validate_list
(#k: LP.parser_kind)
(#t: _)
(#p: LP.parser k t)
(#inv #l #ar: _)
(v: validate_with_action_t' p inv l ar)
: Tot (validate_with_action_t' (LowParse.Spec.List.parse_list p) inv l false)
let validate_list
(#k: LP.parser_kind)
#t
(#p: LP.parser k t)
... | false | null | false | fun ctxt error_handler_fn input input_length start_position ->
validate_list' v ctxt error_handler_fn input input_length start_position | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"Prims.bool",
"EverParse3d.Actions.Base.validate_with_action_t'",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"EverParse3d.Inpu... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_list
(#k: LP.parser_kind)
(#t: _)
(#p: LP.parser k t)
(#inv #l #ar: _)
(v: validate_with_action_t' p inv l ar)
: Tot (validate_with_action_t' (LowParse.Spec.List.parse_list p) inv l false) | [] | EverParse3d.Actions.Base.validate_list | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | v: EverParse3d.Actions.Base.validate_with_action_t' p inv l ar
-> EverParse3d.Actions.Base.validate_with_action_t' (LowParse.Spec.List.parse_list p) inv l false | {
"end_col": 74,
"end_line": 932,
"start_col": 2,
"start_line": 931
} |
Prims.Tot | val bpointer (a: Type0) : Tot Type0 | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let bpointer a = B.pointer a | val bpointer (a: Type0) : Tot Type0
let bpointer a = | false | null | false | B.pointer a | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowStar.Buffer.pointer"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val bpointer (a: Type0) : Tot Type0 | [] | EverParse3d.Actions.Base.bpointer | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | a: Type0 -> Type0 | {
"end_col": 28,
"end_line": 43,
"start_col": 17,
"start_line": 43
} |
Prims.Tot | val eloc_none : eloc | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let eloc_none : eloc = B.loc_none | val eloc_none : eloc
let eloc_none:eloc = | false | null | false | B.loc_none | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"FStar.Ghost.hide",
"LowStar.Monotonic.Buffer.loc",
"LowStar.Monotonic.Buffer.loc_none",
"EverParse3d.Actions.Base.eloc"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val eloc_none : eloc | [] | EverParse3d.Actions.Base.eloc_none | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | EverParse3d.Actions.Base.eloc | {
"end_col": 33,
"end_line": 32,
"start_col": 23,
"start_line": 32
} |
Prims.Tot | val action_ite
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] invf:slice_inv)
(#[@@@erasable] lf:eloc)
(guard:bool)
(#bf:_)
(#a:Type)
(then_: squash guard -> action p invf lf bf a)... | [
{
"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,
... | false | let action_ite
#nz #wk (#k:parser_kind nz wk) (#t:Type) (#p:parser k t)
(#invf:slice_inv) (#lf:eloc)
(guard:bool)
#bf (#a:Type) (then_: squash guard -> action p invf lf bf a)
(#invg:slice_inv) (#lg:eloc) #bg
(else_: squash (not guard) -> action p invg lg bg a)
: action p (conj_inv ... | val action_ite
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] invf:slice_inv)
(#[@@@erasable] lf:eloc)
(guard:bool)
(#bf:_)
(#a:Type)
(then_: squash guard -> action p invf lf bf a)... | false | null | false | fun ctxt input pos posf ->
if guard then then_ () ctxt input pos posf else else_ () ctxt input pos posf | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.bool",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"Prims.squash",
"Prims.b2t",
"EverParse3d.Actions.Base.action",
"Prims.op_Negation",
"EverParse3d.InputStream.Base.ex... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val action_ite
(#nz:_)
(#wk: _)
(#k:parser_kind nz wk)
(#[@@@erasable] t:Type)
(#[@@@erasable] p:parser k t)
(#[@@@erasable] invf:slice_inv)
(#[@@@erasable] lf:eloc)
(guard:bool)
(#bf:_)
(#a:Type)
(then_: squash guard -> action p invf lf bf a)... | [] | EverParse3d.Actions.Base.action_ite | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
guard: Prims.bool ->
then_: (_: Prims.squash guard -> EverParse3d.Actions.Base.action p invf lf bf a) ->
else_:
(_: Prims.squash (Prims.op_Negation guard) -> EverParse3d.Actions.Base.action p invg lg bg a)
-> EverParse3d.Actions.Base.action p
(EverParse3d.Actions.Base.conj_inv invf invg)
... | {
"end_col": 39,
"end_line": 1642,
"start_col": 4,
"start_line": 1639
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "... | false | let app_ctxt = B.pointer U8.t | let app_ctxt = | false | null | false | B.pointer U8.t | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowStar.Buffer.pointer",
"FStar.UInt8.t"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val app_ctxt : Type0 | [] | EverParse3d.Actions.Base.app_ctxt | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type0 | {
"end_col": 29,
"end_line": 48,
"start_col": 15,
"start_line": 48
} | |
Prims.Tot | val conj_inv (i0 i1: slice_inv) : Tot slice_inv | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let conj_inv (i0 i1:slice_inv) : slice_inv = fun sl h -> i0 sl h /\ i1 sl h | val conj_inv (i0 i1: slice_inv) : Tot slice_inv
let conj_inv (i0 i1: slice_inv) : slice_inv = | false | null | false | fun sl h -> i0 sl h /\ i1 sl h | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Actions.Base.slice_inv",
"LowStar.Monotonic.Buffer.loc",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val conj_inv (i0 i1: slice_inv) : Tot slice_inv | [] | EverParse3d.Actions.Base.conj_inv | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | i0: EverParse3d.Actions.Base.slice_inv -> i1: EverParse3d.Actions.Base.slice_inv
-> EverParse3d.Actions.Base.slice_inv | {
"end_col": 75,
"end_line": 29,
"start_col": 45,
"start_line": 29
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "... | false | let input_buffer_t = EverParse3d.InputStream.All.t | let input_buffer_t = | false | null | false | EverParse3d.InputStream.All.t | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.InputStream.All.t"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val input_buffer_t : Type0 | [] | EverParse3d.Actions.Base.input_buffer_t | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type0 | {
"end_col": 50,
"end_line": 53,
"start_col": 21,
"start_line": 53
} | |
Prims.Pure | val validate_nlist_constant_size_mod_ko
(n: U32.t)
(#wk: _)
(#k: parser_kind true wk)
(#t: _)
(p: parser k t)
(inv l: _)
: Pure (validate_with_action_t (parse_nlist n p) inv l true)
(requires
(let open LP in
k.parser_kind_subkind == Some ParserStrong /\ k.... | [
{
"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... | false | let validate_nlist_constant_size_mod_ko (n:U32.t) (#wk: _) (#k:parser_kind true wk) #t (p:parser k t) inv l
: Pure (validate_with_action_t (parse_nlist n p) inv l true)
(requires (
let open LP in
k.parser_kind_subkind == Some ParserStrong /\
k.parser_kind_high == Some k.parser_kind_low /\
U32.v n % ... | val validate_nlist_constant_size_mod_ko
(n: U32.t)
(#wk: _)
(#k: parser_kind true wk)
(#t: _)
(p: parser k t)
(inv l: _)
: Pure (validate_with_action_t (parse_nlist n p) inv l true)
(requires
(let open LP in
k.parser_kind_subkind == Some ParserStrong /\ k.... | false | null | false | (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... | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [] | [
"FStar.UInt32.t",
"EverParse3d.Kinds.weak_kind",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"EverParse3d.InputStream.All.inst"... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_nlist_constant_size_mod_ko
(n: U32.t)
(#wk: _)
(#k: parser_kind true wk)
(#t: _)
(p: parser k t)
(inv l: _)
: Pure (validate_with_action_t (parse_nlist n p) inv l true)
(requires
(let open LP in
k.parser_kind_subkind == Some ParserStrong /\ k.... | [] | EverParse3d.Actions.Base.validate_nlist_constant_size_mod_ko | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
n: FStar.UInt32.t ->
p: EverParse3d.Prelude.parser k t ->
inv: EverParse3d.Actions.Base.slice_inv ->
l: EverParse3d.Actions.Base.eloc
-> Prims.Pure
(EverParse3d.Actions.Base.validate_with_action_t (EverParse3d.Prelude.parse_nlist n p)
inv
l
true) | {
"end_col": 3,
"end_line": 1124,
"start_col": 2,
"start_line": 1106
} |
FStar.HyperStack.ST.Stack | val validate_list_up_to_body
(#[FStar.Tactics.Typeclasses.tcresolve ()] _extra_t: I.extra_t #input_buffer_t)
(#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)
(v: validator ... | [
{
"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,
... | false | let validate_list_up_to_body
(# [FStar.Tactics.Typeclasses.tcresolve ()] _extra_t : I.extra_t #input_buffer_t )
(#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)
(v: validator p)
(r: leaf_reader p)
... | val validate_list_up_to_body
(#[FStar.Tactics.Typeclasses.tcresolve ()] _extra_t: I.extra_t #input_buffer_t)
(#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)
(v: validator ... | true | null | false | let h = HST.get () in
LUT.parse_list_up_to_eq (cond_string_up_to terminator) p prf (I.get_remaining sl h);
let position = !*bres in
let result = v ctxt error_handler_fn sl sl_len position in
B.upd bres 0ul result;
if LPE.is_error result
then true
else
let value = r sl position in
cond_string_up_to terminator value | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [] | [
"EverParse3d.InputStream.Base.extra_t",
"EverParse3d.Actions.Base.input_buffer_t",
"EverParse3d.InputStream.All.inst",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix",
"Prims.eqtype",
"EverParse3d.Prelude.parser",
"LowParse.Spec.ListUpTo.consumes_if_not_cond",
"EverParse3d.... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_list_up_to_body
(#[FStar.Tactics.Typeclasses.tcresolve ()] _extra_t: I.extra_t #input_buffer_t)
(#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)
(v: validator ... | [] | EverParse3d.Actions.Base.validate_list_up_to_body | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
terminator: t ->
prf:
LowParse.Spec.ListUpTo.consumes_if_not_cond (EverParse3d.Prelude.cond_string_up_to terminator)
p ->
v: EverParse3d.Actions.Base.validator p ->
r: EverParse3d.Actions.Base.leaf_reader p ->
ctxt: EverParse3d.Actions.Base.app_ctxt ->
error_handler_fn: EverParse3... | {
"end_col": 5,
"end_line": 1542,
"start_col": 1,
"start_line": 1530
} |
Prims.Tot | val validate_list_up_to
(#k: parser_kind true WeakKindStrongPrefix)
(#t: eqtype)
(#p: parser k t)
(v: validator p)
(r: leaf_reader p)
(terminator: t)
(prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p)
: Tot
(validate_with_action_t #true
#WeakKindSt... | [
{
"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,
... | false | let validate_list_up_to
(#k: parser_kind true WeakKindStrongPrefix)
(#t: eqtype)
(#p: parser k t)
(v: validator p)
(r: leaf_reader p)
(terminator: t)
(prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p)
: Tot (validate_with_action_t #true #WeakKindStrongPrefix (LUT.parse_list_up_to (cond_strin... | val validate_list_up_to
(#k: parser_kind true WeakKindStrongPrefix)
(#t: eqtype)
(#p: parser k t)
(v: validator p)
(r: leaf_reader p)
(terminator: t)
(prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p)
: Tot
(validate_with_action_t #true
#WeakKindSt... | false | null | false | fun ctxt error_handler_fn sl sl_len pos ->
let h0 = HST.get () in
HST.push_frame ();
let h1 = HST.get () in
fresh_frame_modifies h0 h1;
let bres = B.alloca pos 1ul in
let h2 = HST.get () in
I.live_not_unused_in sl h0;
C.Loops.do_while (validate_list_up_to_inv p terminator prf ctxt sl h2 bres)
(fun _... | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix",
"Prims.eqtype",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.validator",
"EverParse3d.Actions.Base.leaf_reader",
"LowParse.Spec.ListUpTo.consumes_if_not_cond",
"EverParse3d.Prelude.cond_string_up_to",
"EverParse3d.... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val validate_list_up_to
(#k: parser_kind true WeakKindStrongPrefix)
(#t: eqtype)
(#p: parser k t)
(v: validator p)
(r: leaf_reader p)
(terminator: t)
(prf: LUT.consumes_if_not_cond (cond_string_up_to terminator) p)
: Tot
(validate_with_action_t #true
#WeakKindSt... | [] | EverParse3d.Actions.Base.validate_list_up_to | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
v: EverParse3d.Actions.Base.validator p ->
r: EverParse3d.Actions.Base.leaf_reader p ->
terminator: t ->
prf:
LowParse.Spec.ListUpTo.consumes_if_not_cond (EverParse3d.Prelude.cond_string_up_to terminator)
p
-> EverParse3d.Actions.Base.validate_with_action_t (LowParse.Spec.ListUpTo.parse... | {
"end_col": 8,
"end_line": 1570,
"start_col": 2,
"start_line": 1556
} |
Prims.Tot | val ptr_loc (#a: _) (x: bpointer a) : Tot eloc | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Typeclasses",
"short_module": null
},
{
"abbrev": true,
"ful... | false | let ptr_loc #a (x:B.pointer a) : Tot eloc = B.loc_buffer x | val ptr_loc (#a: _) (x: bpointer a) : Tot eloc
let ptr_loc #a (x: B.pointer a) : Tot eloc = | false | null | false | B.loc_buffer x | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"LowStar.Buffer.pointer",
"FStar.Ghost.hide",
"LowStar.Monotonic.Buffer.loc",
"LowStar.Monotonic.Buffer.loc_buffer",
"LowStar.Buffer.trivial_preorder",
"EverParse3d.Actions.Base.eloc"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | val ptr_loc (#a: _) (x: bpointer a) : Tot eloc | [] | EverParse3d.Actions.Base.ptr_loc | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.Actions.Base.bpointer a -> EverParse3d.Actions.Base.eloc | {
"end_col": 58,
"end_line": 44,
"start_col": 44,
"start_line": 44
} |
Prims.Tot | val app_loc (x: app_ctxt) (l: eloc) : eloc | [
{
"abbrev": true,
"full_module": "EverParse3d.Prelude",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "... | false | let app_loc (x:app_ctxt) (l:eloc) : eloc = B.loc_buffer x `loc_union` l | val app_loc (x: app_ctxt) (l: eloc) : eloc
let app_loc (x: app_ctxt) (l: eloc) : eloc = | false | null | false | (B.loc_buffer x) `loc_union` l | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"EverParse3d.Actions.Base.app_ctxt",
"EverParse3d.Actions.Base.eloc",
"FStar.Ghost.hide",
"LowStar.Monotonic.Buffer.loc",
"LowStar.Monotonic.Buffer.loc_union",
"LowStar.Monotonic.Buffer.loc_buffer",
"FStar.UInt8.t",
"LowStar.Buffer.trivial_preorder",
"FStar.Ghost.reveal"
] | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | true | EverParse3d.Actions.Base.fst | {
"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... | null | val app_loc (x: app_ctxt) (l: eloc) : eloc | [] | EverParse3d.Actions.Base.app_loc | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | x: EverParse3d.Actions.Base.app_ctxt -> l: EverParse3d.Actions.Base.eloc
-> EverParse3d.Actions.Base.eloc | {
"end_col": 71,
"end_line": 49,
"start_col": 43,
"start_line": 49
} |
Prims.Tot | 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] l:eloc)
(v:validate_with_action_t p inv l true)
(r:leaf_reader p)... | [
{
"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,
... | false | let validate_filter_with_action
(name: string) #nz (#k:parser_kind nz _) (#t:_) (#p:parser k t)
#inv #l (v:validate_with_action_t p inv l true)
(r:leaf_reader p) (f:t -> bool) (cr:string) (cf:string)
(#b:bool) #inva (#la:eloc) (a: t -> acti... | 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] l:eloc)
(v:validate_with_action_t p inv l true)
(r:leaf_reader p)... | false | null | false | 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 ()... | {
"checked_file": "EverParse3d.Actions.Base.fst.checked",
"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.Combinator... | [
"total"
] | [
"Prims.string",
"Prims.bool",
"EverParse3d.Kinds.parser_kind",
"EverParse3d.Kinds.WeakKindStrongPrefix",
"EverParse3d.Prelude.parser",
"EverParse3d.Actions.Base.slice_inv",
"EverParse3d.Actions.Base.eloc",
"EverParse3d.Actions.Base.validate_with_action_t",
"EverParse3d.Actions.Base.leaf_reader",
"... | [] | 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 LPE = EverParse3d.ErrorCode
open... | false | false | EverParse3d.Actions.Base.fst | {
"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... | null | 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] l:eloc)
(v:validate_with_action_t p inv l true)
(r:leaf_reader p)... | [] | EverParse3d.Actions.Base.validate_filter_with_action | {
"file_name": "src/3d/prelude/EverParse3d.Actions.Base.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
name: Prims.string ->
v: EverParse3d.Actions.Base.validate_with_action_t p inv 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 (EverParse3d.Prelude.parse_fil... | {
"end_col": 7,
"end_line": 706,
"start_col": 4,
"start_line": 682
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.