claimroutineinferred_dep
Scoring program assembles short suffix only
Score digits built least-significant first, so records are
gives the short-record bound for the scoring program
Claim·§11.3 Contours and incoming operations·inside lemIncoming k-th largest score with short records
Statement (paper)
The forward terminal program, which first tests the entire class and membership domain at its canonical initiation and sends invalid inputs to failure, has a success configuration with the endpoint in the cursor and in its local state. It assembles the score digits from least to most significant before its final structural motion, so that before the place- digit is queried the accumulated suffix, its carry and a self-delimiting offset from occupy bits. The complete -bit word is then held only through structural motion and local clearing to success, so all its graph-query boundaries satisfy the claimed record bound.
In plain English
The forward terminal program first checks the class and membership domain and fails on invalid inputs; on success it holds the endpoint in the cursor and in local state. It builds the score digits from least to most significant, so before querying the place- digit its stored suffix, carry and offset from take only bits, and the full -bit word is kept only during structural motion and clearing.
Why it's here
This claim establishes the local-record bound of the parent lemma: because digits are produced from the least significant end, the memory at each score-digit query depends on rather than on . The full score word, built from the quantized score of the previous claim, is held only over structural calls, which the lemma accounts for separately. The later contour-tour counting claim can then rely on a program that yields with this bounded record.
Classified routine:
Bookkeeping within the parent lemma: least-significant-first digit assembly of the quantized score from the previous claim, with standard carry and self-delimiting offset encoding, gives the record bound by a direct space accounting.
Uses
Used by
Sources
PaperOpen
- Section
- §11.3 Contours and incoming operations
- Page
- —
- Label
—- Line
sections/implementation.tex:592
Leannot aligned
Phase 2 aligns this node to a Lean declaration.
Friction
- infoinferred_depoutline: "Scoring program assembles short suffix only" rests on claim-lem-ctrl-score-rank-1