Theorem W (word size): definitions #
Groundwork for the word-size theorem (docs/WORD.md). Nothing here is used by Theorems A and B.
WB K s: every value stored in the Level F coresis below2^K. This covers every field of every record (live or dead), the scalars, the lists inside nodes, the paths, the queue arrays,lpar, the job and the deferred construction, and the parameters. The one exception is the handleElem.h, which is the insertion counter: the decision of 2026-10-16 bounds handles by the number of operations instead, andOMBbelow does that.wK P = 64·L: the candidate bound.params_wBproves that the proof parameters lie below it with room to spare:elementBits + 1,groupBits + 1and(H + 2)·βare at mostwK, andN < 2^L, so the capacities (at most40000·Ncells,core_mem) are far below2^wK.
Bool and St fields are not constrained: the machine encodes them as 0–3. Side likewise
(0/1).
Stored values below 2^K #
Every numerical field stored in a group fits below the word bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every numerical field stored in a chunk fits below the word bound.
Equations
Instances For
A node's numbers, including the entries and labels of its table, its children, the tables holding it, and the entries of its side map.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The numerical arguments of each background-job program counter fit below the word bound.
Equations
- OrderMaintenance.Proof.Word.JobPcB K (OrderMaintenance.Model.JobPc.copy j) = (j < 2 ^ K)
- OrderMaintenance.Proof.Word.JobPcB K (OrderMaintenance.Model.JobPc.walk none) = True
- OrderMaintenance.Proof.Word.JobPcB K (OrderMaintenance.Model.JobPc.walk (some v)) = (v < 2 ^ K)
- OrderMaintenance.Proof.Word.JobPcB K (OrderMaintenance.Model.JobPc.afterDrain v up) = (v < 2 ^ K ∧ up < 2 ^ K)
- OrderMaintenance.Proof.Word.JobPcB K (OrderMaintenance.Model.JobPc.fund v up src k) = (v < 2 ^ K ∧ up < 2 ^ K ∧ src < 2 ^ K ∧ k < 2 ^ K)
Instances For
All numerical preparation fields and path entries fit below the word bound.
Equations
Instances For
Every concrete parameter fits below the word bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every value stored in the core is below 2^K, handles excepted.
- prep (p : Model.Prep) : s.prep = some p → PrepB K p
Instances For
The wrapper's values: both cores below 2^K; element indices below 2^K; the handle
of every element, the live count, the handle counter and the rebuild counter at most the number
of operations n (the handle map arrays are indexed by handles, so their capacity is
nextHandle plus a core capacity, WEnc.roomC).
- nxt (c : Model.Core) : om.nxt = some c → WB K c
Instances For
Defaults #
The candidate bound #
The candidate word size: 64·L bits.
Equations
- OrderMaintenance.Proof.Word.wK P = 64 * P.L
Instances For
The group-label width: HC ≤ 30L + 64 and groupBits ≤ 31L + 67 ≤ 40L (L ≥ 8).
The proof parameters lie below the candidate bound, with room for the intermediate
values: elementBits + 1, groupBits + 1 and (H + 2)·β (a digit shifted past the top table)
are at most
wK, and 2^UG, 2^HC (the label steps) are below 2^wK.
The parameters themselves are below 2^wK.
The initial core #
The fresh core's lists respect any bound that the parameters and the two centre labels respect.