M6: the top structure's job at Level M (jobStep) #
The running job lives in the optional record resJob; the program reads its fields into locals
(jx jy jz and the program counter jt ja jb jc jd, pcEnc) and writes the new counter with
pcSet (or clears the job). Each case is matched against the Level F run lemma the cost proof
uses.
A copy step #
Copy a reservation path level to both replacement chunks and repair range endpoints.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A sweep step that moves a chunk (drainStep, drainStep_move) #
r := belowOf h c (local h).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Select the left drain target and initialize the moved range's boundary locals.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Select the right drain target after checking its recorded side assignment.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The chunk moved (y), its target (t), the direction (lf) and the entry below (bl).
Equations
- One or more equations did not get rendered due to their size.
Instances For
A table lookup that must succeed: r := lab? of entry e in table t.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The labels around the move and the tag fields they make (locals v h y t bl).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two writes to the same node.
Check the moved chunk tag against its neighbours and store it.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Remove the moved chunk from the source node's range endpoints.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Extend the selected drain target's range to include the moved chunk.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A sweep step that moves a chunk (locals v h).
Equations
Instances For
drainStep #
ok := drainStep v.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The funding loop, the step after a drain start, the walk #
fundLoop (locals ja jb jc jd = v up src k); the job's counter is updated.
Equations
- One or more equations did not get rendered due to their size.
Instances For
afterDrain (locals av au = v up).
Equations
- OrderMaintenance.Impl.afSetS = ("ja" ::= OrderMaintenance.Impl.Exp.var "av";; "jb" ::= OrderMaintenance.Impl.Exp.var "au";; "jc" ::= OrderMaintenance.Impl.Exp.var "src";; "jd" ::= 0)
Instances For
Resume a reservation at the parent or at the source of an overflow target.
Equations
- One or more equations did not get rendered due to their size.
Instances For
startDrain v.
Equations
- OrderMaintenance.Impl.sdP = { name := "startDrain", params := ["v"], rets := [], body := OrderMaintenance.Impl.startDrainS }
Instances For
pw := a ^ ht, in one step: a is a power of two, so a ^ ht = 1 <<< (log₂ a · ht).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Detect a nondraining, nonoverflow node above its weight threshold with a live parent.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Read the current reservation-walk node and its continuation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
walkBody at node wv.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The job step #
Load the suspended reservation job into the procedure's working locals.
Equations
- One or more equations did not get rendered due to their size.
Instances For
One resumption of the running job; the job's record is updated (or cleared).
Equations
- One or more equations did not get rendered due to their size.