Theorem W, option (A), stage A2: the peak of a sweep step (drainStep) and of the funding loop #
dsLab_pk: the digit weightse1 = 2^(hβ),e0 = 2^((h−1)β)(below2^K,h < H), and the old and new tag fieldspv·e1 + vb·e0at width2K + 1.dsTag_pkok: the new tagty − old + new(width2K + 2), written byguardedSetTag, bounded by the end state's tag (gstCall_pk).dsP_pkok:drainStep, its tag bounded by the end state of the job step (Fin).fund_pkok: the funding loop's counterk + 1, belowsby its guard.
The locals of a job step are at width K except pw (a^ht ≤ 2^K) at K + 1 (ΓJ); those
of drainStep at K except old, new at 2K + 1 and tg at 2K + 2 (ΓT).
Nothing here is used by Theorems A and B.
The locals of a job step: the walk's threshold pw at width K + 1, every other at K.
Instances For
The locals of drainStep: the tag fields old, new at width 2K + 1, the new tag tg at
2K + 2, every other at K.
Equations
Instances For
The locals of a drain start after its cut: the sums t, ws at width K + 9, every other
(including b, reassigned to a child) at K.
Instances For
The locals of a split start: the new tags ty, tz (a label plus a digit) at width K + 1,
every other at K.
Instances For
proveSafe with the locals of this file.
Equations
- OrderMaintenance.Impl.tacticJsafe = Lean.ParserDescr.node `OrderMaintenance.Impl.tacticJsafe 1024 (Lean.ParserDescr.nonReservedSymbol "jsafe" false)
Instances For
Helpers #
A sequence whose rest does not write f: the first statement may assume the bound of f
at its own end.
pcSet with known values below 2^K.
A call whose arguments have known values below 2^K.
A call (normal runs) whose callee may assume the call's end-state bound.
drainStep #
e := 1 <<< (h' · β) for a height h' < H: below 2^K.
The tag of a sweep step, bounded by the end state's tag at the moved chunk y.
drainStep, its tag bounded by the end state.
The funding loop's step (fundS, locals of a job step), the sweep's tag bounded by the
end state.