M6: the capacities (step 4 of the glue) #
The Level M side conditions (TopCaps, GCaps, InsCaps, PQCaps, ...) bound the record
counts of a core. Level F bounds the element and chunk counts already (E.size = count + 1,
CountInv.chunks). Here are the bounds Level F lacks:
- nodes: a potential
nodes.size + topMu ≤ nb0 + topJ · C.size. A drain start adds 2 nodes and lowers the job measure bys ≥ 3; no other step adds nodes; a split start adds 2 chunks and a job of measure at mosttopJ.
Steps that keep the node count #
The node count is unchanged.
Instances For
Top steps keep the preparation state #
The preparation state is unchanged.
Equations
- OrderMaintenance.Proof.TP s s' = (s'.prep = s.prep)
Instances For
insertAround keeps the node count #
The node count across a job step #
A walk step adds no nodes, or starts a drain: 2 nodes, and the job measure drops by at least 2.
The node count across a job step: nodes.size + topMu does not grow.
A split start keeps the node count and the preparation state, and adds two chunks.
Top steps without path writes keep the paths and the chunk count #
The paths and the chunk count are unchanged.
Instances For
Path rows beyond the chunks stay zero #
The path rows of chunks not yet allocated read zero.
Equations
Instances For
A sweep step keeps the zero rows and the chunk count.
The funding loop keeps the zero rows and the chunk count.
A walk step keeps the zero rows and the chunk count.
A job step keeps the zero rows and the chunk count.
The path rows from n on are unchanged.
Instances For
A split start keeps the zero rows.
A queue pop changes only the queue #
A split start keeps the queue.
The capacity conditions #
The node bound.
Equations
Instances For
The node budget: each chunk pays for the nodes of one job.
Equations
Instances For
The capacities as functions of the parameters.
Instances For
The capacity predicate of the reservation rounds.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The capacities at the start of an insertion, from the capacity conditions and the invariants.
The cost bound of an insertion at Level M, at parameters P.
Instances For
An insertion agrees at Level M under the cost invariant, the capacity conditions, the node budget, the zero path rows, and no preparation in progress.
Deletion and order #
A deletion agrees and keeps the capacity predicate.
An order query agrees; it changes nothing.
A fresh core #
The path rows from 2 on are empty (a core under construction).
Instances For
A construction step keeps the empty rows.
A ready fresh core satisfies the capacity predicate.
The capacities of a core #
The capacities of a core with parameters P: every bound above, exactly. The list
capacities are constants (they fix the strides of the compiled code), except the free-group
stack's, which has stride 0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A preparation step #
A core under construction, as Level M needs it: Level F's stage invariant, empty path rows from 2 on, and empty top arrays at the first stage.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A preparation step agrees, and keeps the construction's invariant or makes the core ready with the capacity predicate.