M6: computing a new core's parameters #
paramsS q computes proofParams N from N (local nN) in a constant number of steps,
stores it in slot q's parameter array, and leaves the capacities of capsOf (proofParams N)
in the locals kE … kW (CapLocs). msb gives ⌊log₂ N⌋; the truncating subtractions of
proofParams become branch-free products with comparisons.
a - b, truncated at 0, without a failing subtraction: a·[b ≤ a] - b·[b ≤ a].
Equations
- One or more equations did not get rendered due to their size.
Instances For
The parameters as expressions in L and N #
RAM expression for the logarithmic scale.
Equations
Instances For
RAM expression for the requested core capacity.
Equations
Instances For
RAM expression for the group-split threshold.
Equations
Instances For
RAM expression for the chunk-split threshold.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the group-move budget bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the minimum group contribution.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the group label-spacing exponent.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the chunk unit-count bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the chunk-move budget bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the chunk move-count allowance.
Equations
Instances For
RAM expression for the initial chunk-size allowance.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the chunk split-count bound.
Equations
Instances For
RAM expression for the reservation-step allowance.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the chunk label-spacing exponent.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the chunk label-range allowance.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the quiet-chunk size threshold.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the top-tree height bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the element-label bit width.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the group-label bit width.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the maximum quiet chunk contribution.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the chunk-array capacity bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
RAM expression for the top-node-array capacity bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Their values #
Natural-number value of the group-split threshold.
Equations
- OrderMaintenance.Impl.vG L = 2 * L
Instances For
Natural-number value of the chunk-split threshold.
Equations
- OrderMaintenance.Impl.vT L = 3 * L * L
Instances For
Natural-number value of the group-move budget bound.
Equations
Instances For
Natural-number value of the minimum group contribution.
Equations
- OrderMaintenance.Impl.vgm L = (OrderMaintenance.Impl.vG L - 2) / 2
Instances For
Natural-number value of the group label-spacing exponent.
Equations
Instances For
Natural-number value of the chunk unit-count bound.
Equations
Instances For
Natural-number value of the chunk-move budget bound.
Equations
Instances For
Natural-number value of the chunk move-count allowance.
Instances For
Natural-number value of the initial chunk-size allowance.
Equations
Instances For
Natural-number value of the chunk split-count bound.
Instances For
Natural-number value of the reservation-step allowance.
Equations
Instances For
Natural-number value of the chunk label-spacing exponent.
Equations
Instances For
Natural-number value of the chunk label-range allowance.
Equations
Instances For
Natural-number value of the quiet-chunk size threshold.
Equations
- OrderMaintenance.Impl.vth L = 2 * L * L
Instances For
Natural-number value of the top-tree height bound.
Equations
- OrderMaintenance.Impl.vH L = L / 3 + 1
Instances For
Natural-number value of the element-label bit width.
Equations
Instances For
Natural-number value of the group-label bit width.
Equations
Instances For
Natural-number value of the maximum quiet chunk contribution.
Equations
Instances For
Natural-number value of the chunk-array capacity bound.
Equations
- OrderMaintenance.Impl.vcb N L = 2 + 2 * (N / (OrderMaintenance.Impl.vth L + 1 - OrderMaintenance.Impl.vcm L))
Instances For
Natural-number value of the top-node-array capacity bound.
Equations
- OrderMaintenance.Impl.vnb N L = OrderMaintenance.Impl.vH L + 2 + (OrderMaintenance.Impl.vH L + 1 + (OrderMaintenance.Impl.vH L * 12 + 1)) * OrderMaintenance.Impl.vcb N L
Instances For
They are proofParams and its capacities #
A list of statements in sequence.
Equations
Instances For
A sequence preserves every local preserved by each of its statements.
The parameter computation: L, then the parameter array, then the capacity locals.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The parameters, as (index, expression) pairs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Allocate the slot's parameter array and store all parameter expressions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Populate the capacity locals from the computed scale and requested core capacity.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compute the logarithmic scale, parameter array and allocation-capacity locals.
Equations
Instances For
What the parts do #
The parameter values, in terms of N and L.
Equations
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.N = N
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.L = L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.G = OrderMaintenance.Impl.vG L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.T = OrderMaintenance.Impl.vT L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.theta = OrderMaintenance.Impl.vth L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.Be = OrderMaintenance.Impl.vBe L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.Bg = OrderMaintenance.Impl.vBg L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.De = 2 ^ OrderMaintenance.Impl.vUG L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.Dg = 2 ^ OrderMaintenance.Impl.vHC L
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.KG = 4
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.KC = 4
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.KR = 8
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.a = 8
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.s = 11
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.beta = 64
- OrderMaintenance.Impl.pvals N L OrderMaintenance.Impl.PF.H = OrderMaintenance.Impl.vH L
Instances For
The parameters of a new core, computed in a constant number of steps.