Skip to content

Reorganize the paper around the evidence and the stock-kernel contract - #21

Merged
SamMausberg merged 3 commits into
mainfrom
paper/revision
Sep 30, 2026
Merged

SamMausberg merged 3 commits into
mainfrom
paper/revision

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Milestone 1 of the paper revision. The manuscript was a research design centred on transport, with CPU evidence only. It is now reorganized around the evidence the team is gathering on SGLang, Qwen3.5-4B and one GH200.

It keeps the question (what work does a verifier actually need?). It states exactness against the stock kernel and integrates the merged theory (PR #7) with written proofs. It switches to the merged BibTeX bibliography (PR #6) and applies the citation audit. Every GPU result that has not merged appears as a marked pending item, not a number.

Structure

paper/paper.tex holds the preamble and front matter. Each section is its own file under paper/sections/, so workstream drafts can be integrated one section at a time.

# Section What it holds
1 The question The question itself; derived byte counts (head is 15.1% of plain-step weight bytes and 84.1% of an MTP draft step's); the hypotheses table (H1-H7, P1-P5); contributions at their current strength
2 Prior work Rewritten from the literature review, ending in the narrowed novelty claim
3 Exactness in a real engine See below
4 Where the time goes Profile section, pending
5 Transport The original theorems with their hypotheses made explicit; the crossover with self-evidence, with the drift ratio defined exactly; the weight-only constants
6 Self-evidence Envelope theory; kernel and runtime pending; the certified-tail hypothesis
7 Exact sampling and speculative decisions Certified races, fixed-noise verification, guards, residual races, the synthetic-drift result, adaptive depth
8-11 Drafting, repair, stacking every axis, serving Methods, analysis and pending placeholders
12 What did not work and scope The earlier revision's overturned claims and the failure criteria with their status

The appendices hold:

  • engine integration notes;
  • the untested mechanisms, condensed (DFlash2 selector, prefix value, compiler interface, scheduling, GPU execution families);
  • mathematical extensions;
  • the inherited CPU evidence;
  • reproduction steps;
  • a claim ledger;
  • attribution.

Section 3 (exactness) contains:

  • the three contracts (P1);
  • what the stock engine computes, from code reading at the pin;
  • the commit rule and the directional margin;
  • R-real, R-bf16, R-stock and S-race;
  • the BF16 separation lemma and the gap condition. The contract adopted is R-stock at the same batch shape, with fallback to the stock kernel. R-bf16 is shown not to be the contract using the test_bf16_contract_is_not_stock witness. The split-K caveat comes from PR Certified low-precision head: exact reference, envelope, contracts and Lean lemmas #7's final text;
  • the dead/deferred/enclosed accounting;
  • replay of recurrent state, and what an exact recurrent state must retain (P4: the reachable/unobservable quotient and the key-subspace reduction).

Theory added with proofs

These are new here, beyond PR #7 and the earlier revision:

  • the common-mass characterization of how much of an exact sample can be emitted before the scores are known, with the Bernoulli example;
  • the bounded-range sampler and its approximate-mode bound, TV <= 1 - alpha;
  • KL <= eps^2/2, and sequence TV <= (1/2) sqrt(sum eps_t^2);
  • the directional margin certificate;
  • Proposition prop:minimal-state (what an exact state must retain);
  • the fixed-key-subspace reduction.

Known principles are attributed in the text: Gumbel-max, A* Sampling, lazy Gumbels, maximal coupling, and Daliri et al. for fixed-noise verification. I checked each proof by hand. They are not machine-checked beyond what formal/ covers.

Citations

  • natbib with plainnat, using paper/references.bib from PR Literature review, citation audit and verified bibliography #6. The existing keys are unchanged.
  • In the bib, \allowbreak was added inside five long \texttt code paths, which previously ran up to 108 pt into the margin.
  • The audit's corrections are applied:
    • DSpark and D-cut are cited for the sampled-depth counterexample, which is now an illustration;
    • the prior art for the certified greedy head is cited (sparkpipe, dgpp, Laguna, knlp, VA-file, FEXIPRO, EAHR);
    • CSV-Decode is cited for the static screen;
    • MicroSpec is written as NanoSpec (v1 titled MicroSpec);
    • the pinned revisions are used;
    • the public DFlash-4B drafter and the DFlash paper are cited;
    • FlashSampling is cited at v3;
    • ptxisa supports the Hopper and Blackwell statements;
    • Higham, Fasi et al. and Khattak-Mikaitis are cited for the floating-point claims.

Evidence discipline

Figures

TikZ:

  • the two evidence sources;
  • the exactness contract.

PGFPlots:

  • the synthetic-drift work counts, read directly from data/synthetic_drift.csv;
  • the analytic candidate-count bound min(V, e^{4 beta/T});
  • derived bytes per plain decode step against batch;
  • the batch-union model.

Placeholders name the CSVs that bench, profile, geometry, kernel, drafter and moonshot will commit.

README, RUNBOOK, SETUP

  • README and RUNBOOK are rewritten to match the paper and the commands that exist on main: environments, the GPU lock, the baseline launch flags, and an index of evidence directories with their PR status.
  • SETUP no longer quotes the paper's page count.
  • No other open PR touches these files.

Validation

  • latexmk -pdf -interaction=nonstopmode -halt-on-error paper.tex builds with no LaTeX or BibTeX warnings and no overfull boxes. The PDF is 49 pages.
  • I rendered every page at 60 dpi and checked the layout: the title page fits, floats are not deferred to the end, and the figures are legible.
  • pre-commit run --files passes on the changed files. The hooks exclude paper/.
  • Numbers checked against their sources:
    • the byte counts, from the checkpoint's safetensors headers and config.json (read directly);
    • the head constants and thresholds, from evidence/precision/head_constants.json;
    • the inherited test counts, from evidence/*_tests.json;
    • the synthetic-drift figures, from the CSV;
    • the engine behaviour, from reading SGLang at the pin (logits_processor.py, sampler.py, qwen3_5_mtp.py).

Not done in this milestone

  • The workstream drafts are not integrated yet: profile, kernel, geometry, bench, drafter, moonshot and repair. Those sections are method-plus-pending skeletons, and each will be merged as its evidence PR lands.
  • The abstract and the contribution list will be revised once measured results exist.

The manuscript was a research design centred on transport, with CPU
evidence only. This revision keeps the question (what work does a
verifier need?) and reorganizes the paper around what the team is
testing on SGLang, Qwen3.5-4B and one GH200.

- Structure: one file per section under paper/sections/. Transport is
  presented as the tested hypothesis and self-evidence (a certified
  low-precision head) as the alternative, followed by exact sampling and
  speculative decisions, drafting, repair, the stack on every axis and
  the serving frontiers. The compiler, selector, scheduling and GPU
  tiling material is condensed into an appendix of untested mechanisms.
- Exactness: the contract is the stock head kernel's decision at the
  same batch shape, certified through the gap condition with fallback to
  that kernel. R-bf16 is shown not to be the contract with the witness
  from tests/test_precision.py. Adds the three contracts, the commit
  rule, the directional margin and the dead/deferred/enclosed accounting
  (P1), and what an exact recurrent state must retain (P4).
- Theory from PR #7 with proofs: accumulation trees, the envelope, the
  integer pass, outward rounding, the refinement ladder, candidate
  counts, certified races, fixed-noise verification, guards with
  enclosures, residual races, and the transport-versus-self-evidence
  crossover with the drift ratio defined exactly. New with proofs: the
  common-mass characterization, the bounded-range sampler, and the KL
  and sequence total-variation bounds for the approximate mode.
- Citations: natbib with paper/references.bib from PR #6, the audit's
  text corrections applied (DSpark and D-cut for the sampled-depth
  counterexample, prior art for the certified greedy head, CSV-Decode,
  NanoSpec, the public DFlash-4B drafter), and a narrowed novelty claim.
  Long code paths in the bibliography may now break across lines.
- Evidence status: \pending, \underreview and \pendingfigure macros;
  every GPU result is a marked pending item; a hypothesis table and a
  claim ledger list each claim with its status and evidence path.
- Figures: TikZ diagrams for the two evidence sources and the contract;
  PGFPlots for the synthetic drift work counts (read from
  data/synthetic_drift.csv), the candidate-count bound, derived bytes
  per step and the batch-union model.
- README and RUNBOOK rewritten to match the paper and the commands on
  main; SETUP no longer quotes a page count.
…witnesses

PR #20 is merged, so the state-structure witnesses are cited as committed
evidence. The Amdahl example for state write avoidance no longer quotes
the unmerged 42% time share; it gives the formula, a byte-derived share
labelled as such, and leaves the measured share pending.

The sampling section states the adopted contract: fixed-noise
verification with the stock seeded sampler's keyed noise, which keeps
point-mass acceptance equal to stock and seeded outputs token-identical
to non-speculative decoding. Top-p falls back, and the partition-bracket
guards are marked as analysis rather than built.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3e6a27b8ab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
```sh
bash scripts/check_lean.sh
python tests/test_precision.py # certified-head reference (about 35 s)
python -m pytest tests/ # every CPU test

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Install pytest before invoking the full suite

On a clean machine following this setup verbatim, the new virtual environment receives only requirements-cpu.txt, which contains NumPy but not pytest; consequently python -m pytest tests/ fails with No module named pytest. Install requirements-dev.txt as well, add pytest to the documented setup, or use a test command supported by the CPU requirements.

Useful? React with 👍 / 👎.

$\delta^\ast$ against int4 per-row & 12.2\% & 15.5\% & 20.8\%\\
Hölder-family threshold on $\norm\Delta_1/\norm h_1$ against int8 per-row & 0.23\% & 0.30\% & 0.40\%\\\bottomrule
\end{tabular}
\caption{Weight-only constants of the Qwen3.5-4B head (float64 on CPU; quantiles over a one-million-row sample; no hidden states). $\delta^\ast_i=\norm{e_i}_2/r^{(2)}_c(i)$ is the drift ratio $\rho$ below which transport's Euclidean envelope for row $i$ is narrower than the Euclidean int8 envelope, with 64-row tiles of contiguous token indices and $\mu_c$ the tile mean (Theorem~\ref{thm:crossover}); the last row is the analogous threshold for the $\ell_\infty$/$\ell_1$ pairing, $s_i\norm h_1/2$ against $r_c\norm\Delta_1$. Widths are compared, not certification rates or runtime. Derived; \nolinkurl{evidence/precision/head_constants.json}.}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Report the actual quantile population

The caption says these quantiles use a one-million-row sample, but head_constants.py::summary receives one value per vocabulary row and slices randperm(x.numel())[:1_000_000]; for this 248,320-row head that selects all 248,320 rows exactly once. The paper therefore overstates the evidence population by roughly fourfold; describe it as quantiles over all 248,320 rows (and correct the matching evidence scope), or change the experiment to produce the claimed sample.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T19:58:53.855945Z 3e6a27b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES

Reviewed at 45f3fef (the branch is current with main): all section files, the preamble, README, RUNBOOK and the SETUP change. I checked every proof by hand, recomputed the numbers from their sources, ran the documented commands and looked at every figure page.

The reorganization works. Most proofs are correct, the narrowed novelty claim is stated consistently, and no number rests on an open PR. Six things block the merge:

  • two proofs are wrong or missing a hypothesis;
  • one procedure does not deliver the contract it claims;
  • one claim goes beyond its theorem;
  • one decision is not reflected;
  • the PDF shows private paths.

What I ran and checked

  • Build. A clean build (latexmk -C, then latexmk -pdf -interaction=nonstopmode -halt-on-error paper.tex) gives 49 pages with no LaTeX or BibTeX warnings. I rendered the title page and every figure page: Figures 1-6 and the pending boxes are legible, and nothing overflows.
  • Commands. From README and RUNBOOK: pytest tests/ gives 63 passed, scripts/check_lean.sh elaborates, and scripts/gpu_lock.sh --status works. requirements-cpu.txt exists.
  • Numbers recomputed from the safetensors headers:
    • decoder 7.140 GB, head 1.271 GB, MTP 0.241 GB, vision 0.667 GB;
    • head share 15.1 % and 84.1 %;
    • the DFlash-4B config: 6 layers, block 16, target layers 1-29 step 4.
  • Numbers against the committed evidence:
    • Table 5 against head_constants.json, including the 0.30 % Hölder median and the 99.9 % diameter share;
    • the synthetic-drift figures (11.4 % and 96.5 %) against the CSV.
  • Derived arithmetic, all correct: 55 / 2,981 / 1.6e5 rows; π ≤ 1.54 %; ε = 6.25e-4; 87.3 %; f ≈ 0.55 giving 1.38x / 2.2x / 1.26x; the 5.71 GiB table; 72 % of batches with a miss; 1.41 GB tail; s = 5.44 and 9.
  • Proofs checked and correct:
    • directional margin; BF16 separation (all cases, including the power-of-two binade); stock agreement;
    • GDN replay; transport; top-k summary; suprema; exclusion conditions; crossover; transport against the static screen;
    • accumulation trees and the Hopper constants (17·2^-25 + 2^-23 gives γ ≈ 1.0e-4); envelope; integer pass; outward rounding (p ≥ 12 is exactly what (1-63u)(1+64u) ≥ 1 needs);
    • refinement ladder; candidate counts, both parts;
    • certified race; common mass and the Bernoulli example; bounded range; KL and sequence TV (the tilting and Popoviciu step, the chain rule, Pinsker);
    • fixed-noise verification, given its stated model; coupling formula and bounds; guards and the P_? tail bound; residual races; demand frontier; the 1/4 versus 3/4 illustration.
  • Claims against the decisions:
    • the narrowed novelty claim (greedy certified head is prior art; DSpark and D-cut for the sampled-depth counterexample; drafter-invariant decoding for fixed-noise verification) is stated consistently in Sections 1, 2, 7 and 12;
    • R-stock is the only contract, and R-bf16 is shown not to be it with the witness;
    • P3 is an open hypothesis with the critique as analysis; P5 is rejected in analysis with its measured share pending.
  • Evidence discipline. No \underreview remains, and no number cites an open PR. PR Profile SGLang decode and MTP on GH200: attribution, head baseline, bytes per step #13, Real-head replay: head-input capture, transport and self-evidence bounds #16 and Add serving benchmark harness, frozen workload and GSM8K quality check #17 appear only inside pending items.
  • Hygiene. Nothing from the take-home is quoted, and no hype words.

Blocking

1. Private paths appear in the PDF.

  • Where. Six rendered \pending{...} items cite ~/vp-coord/drafts/*.tex: Sections 3.5, 4.1, 6.6, 10 (stack), 11.2 and 9 (repair). For example, page 12 shows draft in ~/vp-coord/drafts/kernel.tex. The preamble comment (paper.tex l. 67) and several section header comments also cite ~/vp-coord/PAPER_PLAN.md, notes/theory_latex.tex and PROPOSALS.md.
  • The rule. No committed file may cite ~/vp-coord, and these paths are also printed in the public PDF.
  • Fix. Drop the draft paths from the pending text (the owning workstream and the evidence path suffice) and from the comments.

2. Lemma 6.4 (lem:norms, Section 6.2) is wrong for N1 at depth 2^14.

  • The problem. The lemma claims N_1 ≥ ||h||_1 under the same hypothesis as N2 (depth ≤ 2^14). Under the standard model a depth-d sum of nonnegative terms can undercount by (1-u)^d. At d = 2^14, (1-u)^d (1+2^-10)(1-u)^2 = 1 - 6.0e-7 < 1, so N1 is not established. This is the error PR Certified low-precision head: exact reference, envelope, contracts and Lean lemmas #7 corrected (token_norms in src/precision_reference.py now states depth ≤ 2^13 for N1). N2 is fine because the square root halves the relative error.
  • Fix. State depth ≤ 2^13 for N1, or inflate N1 by 1+2^-9.
  • Also. In the N2 proof, the squares fl(h_j^2) add one more rounding: ||h||_2^2 ≤ (1-u)^{-(d+1)} σ̂ + .... The margin still holds.

3. The R-stock procedure does not guarantee R-stock.

  • Where. Figure 2, "The contract used in this paper" (Section 3.4) and the paragraph after Theorem 6.6 (the ladder).

  • The problem. Theorem 3.5 needs z_a - z_b > δ_ab for every b ≠ a. The procedure filters candidates at hi_i ≥ max_j lo_j and applies the gap condition after re-scoring. A row b excluded at level 0 is only known to satisfy z_b < z_a, not z_a - z_b > δ_ab. So a competitor excluded with a margin below about one BF16 spacing can round to the same BF16 value in the stock kernel, and the certified token then differs from stock.

  • Fix.

    • Under R-stock, filter at hi_i ≥ max_j lo_j - δ_max, with δ_max = 2 G_max + ulp_B(max_i |hi_i| + G_max).
    • Evaluate the gap condition on enclosures, lo_a - hi_b > G_a + G_b + ulp_B(max(|lo_a|, |hi_a|, |lo_b|, |hi_b|) + max(G_a, G_b)), against every kept row.
    • Show the widened filter in Figure 2.

    The PR Real-head replay: head-input capture, transport and self-evidence bounds #16 evidence (its new R-stock section) uses the stock gap on exact margins, which is consistent with this.

4. Proposition 3.7 (prop:minimal-state) has a gap in the lower bound.

  • The problem. R is the span of the reachable states, and the proof asks a linear representation to be injective on R/(R ∩ N). But exactness constrains only pairs of reachable states. Counterexample: if only one state is reachable, dim R = 1 while a 0-dimensional representation is exact. More generally, the relevant space is the span of differences of reachable states, and separating reachable pairs implies injectivity on that span only under an extra hypothesis. For example, the reachable set contains a relatively open subset of its affine hull; then small multiples of any direction are differences, and N is a subspace.
  • Fix.
    • State the bound with D = span{S - S'} over reachable pairs: dimension ≥ dim D - dim(D ∩ N).
    • Add that hypothesis, or state the result for representations that must be exact on all of span D.
    • The "if and only if" characterization of equivalent reachable states is correct as it stands.

5. The fixed-noise contract claims more than Theorem 7.6 gives.

  • Where. The "sampling contract adopted here" paragraph ("the output is token-identical to stock seeded decoding without speculation"), the remark after Theorem 7.6 ("would reproduce seeded plain decoding token for token, up to the stock rounding of log softmax at near-ties") and the claim-ledger row.
  • The problem. Theorem 7.6 treats z_t as a function of the prefix only. In the engine, the verify pass computes the logits at a different batch shape (M = B × draft tokens) from plain decoding. Section 3.6 itself says stock plain and MTP greedy decoding already diverge at that noise floor. What follows is token identity with the stock seeded sampler applied to the verify pass's own stock logits (R-stock at the verify shape).
  • Fix. Scope the claim to that. Otherwise, add the extra condition (verify-shape and plain-decode logits agree, for example under batch-invariant kernels) and point to Section 3.6 for why the stock engine does not guarantee it.

6. P1 is not stated as rejected.

  • Where. Table 2 ("Hypothesis; kill test pending"), Section 6.7 ("kill test ... evidence path to be assigned") and the ledger ("Hypotheses; kill tests pending").
  • The problem. The decision on main (TASKS.md) is that the tail oracle is rejected. The kill test described in Section 6.7 is the one PR Real-head replay: head-input capture, transport and self-evidence bounds #16 ran (about 2,000 positions from 16 prompts).
  • Fix. Say "rejected by its kill test; evidence pending in the geometry PR (evidence/head_geometry/tail_killtest.json)" in all three places, without numbers until it merges. This matches how P5 is handled.

Suggestions (non-blocking)

  1. Key-subspace storage (Section 3.9). "Factored storage d_v r + r d_k beats the dense d_v d_k only below r = 64" assumes U is stored per request. The reduction takes a fixed U. If U is shared per layer and head, per-request storage is d_v r, which beats dense for every r < d_k. Say which case is meant.
  2. Repair section. In "C_R^lower/(B+1) ≥ C_0/μ_0", B is not defined.
  3. RUNBOOK §4. SGLang does not "silently" cap speculative runs at 48: it logs "Max running requests is reset to 48 for speculative decoding" (speculative_hook.py:403).
  4. Attribution (Appendix G and README). "each agent's work was reviewed by an independent reviewing agent before it was merged" is true of the work this paper cites (PRs Literature review, citation audit and verified bibliography #6, Certified low-precision head: exact reference, envelope, contracts and Lean lemmas #7 and Exact witnesses for the P4 and P5 state-structure analyses #20) but not of every merged PR; the infra and TASKS PRs were not reviewed that way. Scope it to the cited work.
  5. Directional margin. The remark that it is useful "after a box screen" is right. Also note that Theorem 3.5 then applies on top, as for the ladder.

- Remove private coordination paths from pending items and comments.
- Computed norms: the N2 proof now counts the rounding of the squares,
  and N1 is stated for summation depth 2^13 (the margin is negative at
  2^14), as in PR #7's reference.
- R-stock: a competitor is excluded only when hi_j < lo_a - delta_aj,
  with delta_aj from enclosures; the level-0 filter is widened by
  delta_max so that dropped rows meet the gap; Figure 2 shows both.
- Minimal state: the bound uses the span of differences of reachable
  states and needs the reachable set to contain a relatively open subset
  of its affine hull; the one-state counterexample is noted. Storage is
  d_v r per request when the key subspace is shared.
- Fixed-noise verification: equal in law, drafter-invariant, and
  token-identical to the seeded sampler on the verify pass's own logits;
  equality with plain seeded decoding needs verify and plain logits to
  agree, which the engine does not guarantee.
- P1 is stated as rejected by its kill test, with the evidence pending
  in the geometry pull request.
- Define the repair gate's symbols, note that the directional margin is
  followed by the gap condition, say that SGLang logs the reset to 48,
  and scope the independent-review statement to the cited work.
@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Re-reviewed at d6f2457. All six blocking items are resolved, and I checked each fix.

  1. Private paths. No ~/vp-coord, notes or PROPOSALS paths remain in the sources or the rendered PDF. The pending items name the workstream and the evidence path only.
  2. Lemma 6.4. N1 is now stated for depth ≤ 2^13, and the proof records the -6.0e-7 margin at 2^14 and the 1+2^-9 alternative. The N2 proof now includes the rounding of the squares ((1-u)^{-(d+1)}), and the margin holds.
  3. R-stock procedure.
    • The gap is checked on enclosures, hi_j < lo_a - δ̂_aj, with δ̂_aj ≥ δ_aj because ulp_B is monotone and |z| is bounded by the endpoints.
    • The level-0 filter is widened by δ_max, and Figure 2 and its caption show it.
    • The bulk argument holds. The row attaining max lo is itself kept, so a certified a ≠ j* has lo_a > hi_{j*} + δ̂ ≥ max lo; if a = j*, intersection gives the same. Every row dropped below max lo - δ_max then loses by at least δ_max ≥ δ_aj.
  4. Proposition 3.7.
    • The bound now uses D, the span of differences of reachable states, with the relative-interior hypothesis.
    • The proof is correct: S + εd reachable and φ(d) = 0 give εd ∈ N, and N is a subspace.
    • The one-state counterexample is noted.
    • The storage remark now separates a shared U (d_v r per request) from per-request factors.
  5. Fixed-noise verification. Sections 7.3, 2.8 (item 3) and the ledger now state what Theorem 7.6 gives in the engine: equality in law, drafter invariance, and token identity with the seeded sampler on the verify pass's own R-stock logits. Equality with plain seeded decoding is stated as conditional on the two sets of logits agreeing, with Section 3.6 as the measurement.
  6. P1. It is "rejected by its kill test; evidence pending in the geometry pull request (evidence/head_geometry/tail_killtest.json)" in Table 2, Section 6.7 and the ledger, with no numbers until that PR merges.

The optional items are done too: repair symbols defined, the gap applied on top of the directional margin, the RUNBOOK wording on the 48-request cap, and the attribution scoped to the cited work.

A clean rebuild gives 50 pages with no LaTeX or BibTeX warnings and no overfull boxes, and Figure 2 renders correctly. The branch merges into main without conflicts (it is 8 commits behind).

@SamMausberg
SamMausberg merged commit b44fa39 into main Sep 30, 2026
@SamMausberg
SamMausberg deleted the paper/revision branch September 30, 2026 20:18
SamMausberg added a commit that referenced this pull request Sep 30, 2026
…nel contract

The paper now argues in dependency order: setting and what the stock engine
computes, the five contracts and the R-stock gap and interval theorems, the
certified low-precision head with its measured candidate sets and fallback
shares, sampled decisions, transport and its measured failure, exactness under
speculation, the stack, drafting and repair hypotheses, the serving protocol,
related work, and a discussion that merges the hypothesis and failure tables.
Secondary derivations, untested mechanisms, engine notes, CPU evidence,
reproduction and attribution move to appendices. Evidence paths, pull request
numbers and pending work move to an evidence register and a development record
(Appendix A); the text cites [En] for committed evidence and [pending Dn] for
designed work, with the scientific status in the prose.

Integrates merged evidence: H2 on DFlash-4B (#35) and MTP-4B (#47), the
overlapped roofline (#44), the frontend diagnosis (#46), the fifth contract
witness (#41) and the precision counts after #43. Folds in the Codex items on
#21 (quantiles over all rows), #32 (pooled tau, GSM8K series) and #36.

Typography: Charter text, a plain title block with the repository URL,
greyscale-safe figures, a new mechanism figure (Figure 1) replacing three
overlapping flowcharts, a drift figure and transport table, two-panel
candidate and acceptance figures, and tables reorganized instead of shrunk.
SamMausberg added a commit that referenced this pull request Oct 1, 2026
…eded-rank items

Bounded-range sampling is the paper's Proposition "Bounded logit error"
(app_sampling.tex), so the theory item is done (PR #21, #49, #53; Codex and
the integrator's review). New active items from the integrator: round the
Hopper accumulation constant up to cover its derived value and rerun what used
it, and state that seeded top-k/top-p at the pin keys noise by sorted rank. M1
and P4 record #123's explanation of the 127-request plateau as the status of
an open PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant