Skip to content

Appendices A and B prose: targeted fixes by paragraph, one claim narrowed, terms as in the main text - #198

Merged
SamMausberg merged 2 commits into
mainfrom
writing/a1-app-ab
Oct 2, 2026
Merged

SamMausberg merged 2 commits into
mainfrom
writing/a1-app-ab

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Why

This is the first appendix pass, after the main-text passes (#183, #194, #196). Every paragraph of Appendices A and B is graded strong, uneven or weak; one row per paragraph is at the end. Most of these paragraphs are proofs and precise statements, and they stay as they are. The fixes target an overloaded opening sentence, one claim worded more broadly than its evidence, two pronouns without a noun, and terms that no longer match the main text.

What changed

Appendix A

  • Opening: the 85-word sentence is three. They say what the appendix proves from the main text, what it states and proves in general form, and what else it measures and checks.
  • Constants (after the error-model list): "kernels built on [the Hopper model] were validated against exact arithmetic on adversarial inputs" now reads "the bounds and decisions that use it were checked against exact arithmetic on adversarial synthetic inputs (Appendix A.10)". That is what the exact reference does: it checks bounds and decisions on synthetic heads, not GPU kernels. The claim is narrower and nothing else changes.
  • A.8: the paragraph after Proposition A.x splits where it turns from the bound to the measured bound. "On captured states its median is 1.00 logit" now names its noun ("the bound's median").
  • A.8, "Other copies on plain decoding": the paragraph splits before the re-scoring results.
  • A.8, verification positions: "interval form" becomes "interval condition", and "the only R-stock rule" becomes "Of the two R-stock conditions, only the gap condition was evaluated". The captions of Tables 3 and 4 say "by condition", the names Paper §1-2 prose: targeted fixes by unit, Sam's title, error-model qualifiers, terminology unified #183 and Paper §3-4 prose: the kernel paragraph explains candidate selection, §4 one job per sentence, condition names #194 use.
  • Table A.1, seeded row: "(seed, token position in the sequence, token)", as in the main text (reviewer 2's B2 on Paper §1-2 prose: targeted fixes by unit, Sam's title, error-model qualifiers, terminology unified #183). Only that cell's words change; the table environment is untouched.

Appendix B

  • Theorem B.3 (fixed-noise verification) keys the noise by "token position $t$ in the sequence".
  • B.3 opens "At the pinned commit". "At that commit" pointed back to a different subsection.

Glossary: the keyed-noise-field row uses the same words.

Untouched: theorem statements' mathematics, proofs, every number, every evidence key, and table environments. F1 (#195) holds column specs and fonts in these files, so a conflict, if any, is limited to word changes in one cell and two captions.

Checks

  • Build (build_paper.sh, one core): 0 LaTeX warnings and 0 overfull boxes. The paper is 50 pages and the notes 53. The main text is unchanged and ends on p10. scripts/check_paper_references.py --rev HEAD is clean.
  • numbers and evidence markers: identical per file, old against new; no number added or removed.
Ledger: one row per paragraph
id file:unit grade action one-line reason
AA0 app_proofs: opening ¶ uneven targeted (split into three sentences) one 85-word sentence with a nested relative clause
AA1 app_proofs: A.1 lead strong kept
AA1t app_proofs: Table A.1 strong targeted (one cell) seeded row's key matches the main text
AA1s app_proofs: Table 1 (short form) strong kept
AA2 app_proofs: A.2 proofs (Lemma 2.2, Thm 2.3) strong kept
AA3a app_proofs: A.3 lead, Lemma A.1 and proof strong kept
AA3b app_proofs: "Depths and node units" strong kept
AA3c app_proofs: "The constants used in this paper" strong kept
AA3d app_proofs: conservative-model item strong kept
AA3e app_proofs: Hopper-model item strong kept wgmma statement from #183
AA3f app_proofs: FP8 and IEEE items strong kept
AA3g app_proofs: ¶ after the list uneven targeted (one clause) "kernels ... were validated" overstated what the exact reference checks
AA4 app_proofs: A.4 lead, Thm A.2, proof, midpoint-radius ¶ strong kept
AA5 app_proofs: A.5 integer pass (lead, theorem, proof, ¶) strong kept
AA6 app_proofs: A.6 lead, Lemmas A.3-A.4 with proofs, FP32 ¶ strong kept
AA7 app_proofs: A.7 lead, Thm A.5, Lean sentence, proof strong kept
AA8a app_proofs: A.8 lead, Prop A.6, proof strong kept
AA8b app_proofs: ¶ after Prop A.6 uneven targeted (split; one noun) turns from the bound to the measured bound mid-paragraph; "its median" without a noun
AA8c app_proofs: Tables 6, 4, 3 strong targeted (captions' words) "by condition"
AA8d app_proofs: "Other copies on plain decoding" uneven targeted (split) nine sentences on two subjects
AA8e app_proofs: "Verification and draft positions" uneven targeted (two phrases) "interval form" and "rule" against the paper's condition names
AA9 app_proofs: A.9 the kernel and its checks strong kept
AA10a app_proofs: Machine-checked strong kept
AA10b app_proofs: outside the checker strong kept
AA10c app_proofs: tested against exact arithmetic strong kept
AA10d app_proofs: second exact reference strong kept
AB0 app_sampling: opening ¶ strong kept
AB1a app_sampling: B.1 lead, Def B.1, Thm B.2, proof, A* ¶ strong kept
AB1b app_sampling: Thm B.3 (fixed-noise verification) strong targeted (one phrase) key named as in the main text
AB1c app_sampling: attribution sentence, proof, prefix ¶, keyed-field ¶ strong kept
AB1d app_sampling: "Two further conditions" strong kept
AB1e app_sampling: Truncated sampling (three ¶) strong kept
AB2 app_sampling: B.2 (lead, Prop B.4, proof, ¶) strong kept
AB3a app_sampling: B.3 ¶1 uneven targeted (one phrase) "At that commit" pointed to another subsection
AB3b app_sampling: B.3 eq., Thm B.5, proof, ¶, "The guards decide" ¶ strong kept
AB4 app_sampling: B.4 (two ¶, Thms B.6-B.7, proofs, ¶) strong kept
AB5 app_sampling: B.5 adaptive depth strong kept
AG1 terminology.tex: keyed noise field -- targeted (one phrase) same words as the main text

@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

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-10-02T10:13:53.978082Z 1b28dae Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 88b175da1a

ℹ️ 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".

…owed, terms as in the main text

App A: the opening's 85-word sentence is three; "kernels built on [the
Hopper model] were validated against exact arithmetic" becomes what the
exact reference does ("the bounds and decisions that use it were checked
against exact arithmetic on adversarial synthetic inputs", App A.10); the
candidate-count paragraph splits where it turns from the bound to the
measured bound, and "its median" gets its noun; the long "other copies"
paragraph splits before re-scoring; "interval form" becomes "interval
condition", and the two tables' captions say "by condition"; Table A.1's
seeded row says "token position in the sequence", as the main text does.
App B: the fixed-noise theorem keys the noise by "token position t in the
sequence"; B.3 opens "At the pinned commit" (its "that commit" pointed to
another subsection). Glossary: the keyed noise field uses the same words.
No number, evidence key or theorem statement's mathematics changes.
@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES at b6ee332

Reviewer 2. I read every changed sentence against Appendix A.10, the exact reference and its tests, and built the head. Most of the edits are right. The one meaning change is better than main's sentence but still claims a test the evidence does not contain, so it blocks.

Blocking

  1. app_proofs.tex:87, the Hopper-model validation sentence. The new text reads: "Since the Hopper model is a published measurement-based model and not a documented contract, the bounds and decisions that use it were checked against exact arithmetic on adversarial synthetic inputs (Appendix A.10) \ev{precision}."

    • Whose validation the old sentence described. Main's version ("kernels built on it were validated ... \ev{precision}") cited this repository's evidence key, not \citet{khattak2026}, so it described this repository's tests and not Khattak and Mikaitis's own validation. Narrowing it drops no claim about their work, and the Hopper bullet above still says their model comes from measurements.
    • What \ev{precision} actually tests. The narrowed claim still is not what that evidence tests. tests/test_precision.py instantiates eight accumulators (lines 74-81), the "eight summation models" of A.10: sequential, pairwise, blocked (block 4, and block 4 with 3 splits), round toward zero, flush to zero, and fused multi-term adders over 4 and 8 products at FP32 precision with truncation. None is the Hopper model's adder (16 products plus the accumulator, 25 fractional bits). hopper_wgmma_gamma in src/precision_reference.py is never called by the tests, and the decision tests (lines 398-400 and 476-478) use the same conservative-family accumulators. The exact reference therefore checks the bounds and decisions under the conservative model's family of adders, not under the Hopper model.
    • What does check the Hopper model against exact sums. The crafted-input GPU probes in the Hopper bullet itself (\ev{profile-wgmma}: power-of-two operands whose exact sums are known, on the stock kernels and Triton's wgmma). The only test that touches the Hopper constant, test_hopper_model_is_tighter_but_covers_the_block_model (tests/test_certified_bounds.py:229), checks the constant's arithmetic, not decisions against exact arithmetic.

    Suggested wording: "Since the Hopper model is a published measurement-based model and not a documented contract, it rests on those measurements and on the crafted-input probes above \ev{profile-wgmma}; the exact reference of Appendix A.10 checks the bounds and decisions against exact arithmetic only under the conservative model's adders \ev{precision}." Any wording that keeps the Hopper model out of what \ev{precision} tests will do.

Checked and correct

  • App A's opening: split into three sentences. It still says the appendix lists the assumptions, proves the §2.2 and §3 results whose proofs are not in the main text, states and proves the general error bound and the refinement ladder, and covers the secondary results. Nothing is lost.
  • "(seed, token position in the sequence, token)" in Table A.1, Thm B.3 and the glossary matches the wording settled in Paper §1-2 prose: targeted fixes by unit, Sam's title, error-model qualifiers, terminology unified #183 (multinomial_with_seed keys on positions, sampler.py:878-902).
  • "Measured on captured states, the bound's median is 1.00 logit" now gives "its" a noun. "Of the two R-stock conditions, only the gap condition was evaluated on the speculative captures" keeps the claim. "Interval form" becomes "interval condition", and the captions of Tables 5 and 6 say "by condition", matching M2's terms.
  • "At the pinned commit" in B.3 is correct.
  • Rebase onto F1 (b6ee332): Table A.1 keeps F1's 8 pt layout, and the only cell change is the seeded row's position wording.
  • Build (my own, one core, niced, during an untimed hold): paper 50 pp, notes 53 pp. 0 LaTeX warnings, 0 overfull or underfull boxes. The Conclusion and the References heading are on p10. check_paper_references.py --rev HEAD is clean.
  • numdiff against main 1fefa6a: no numbers lost or added (284 main-text tokens, 2,045 overall).
  • Codex: clean on 88b175d (09:58). It has not run on the rebased b6ee332.

@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

… probes; the exact reference checks only the conservative adders

Reviewer 2 (#198): tests/test_precision.py instantiates the conservative
family of accumulators (fused adders of 4 and 8 products at FP32 with
truncation); none is the Hopper model's 16-product, 25-bit adder. What
checks the Hopper model against exact sums is the crafted-input GPU probes
(profile-wgmma).
@SamMausberg

Copy link
Copy Markdown
Owner Author

Reviewer 2's blocker is fixed in 1b28dae with the suggested wording. The sentence now reads: the Hopper model "rests on those measurements and on the crafted-input probes above \ev{profile-wgmma}; the exact reference of Appendix A.10 checks the bounds and decisions against exact arithmetic only under the conservative model's adders \ev{precision}". Build: 50 pp, 0 warnings, Conclusion and References on p10, checker clean.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 1b28dae43c

ℹ️ 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".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE at 1b28dae

Reviewer 2. A delta review against my comment at b6ee332 (issuecomment-5950040279).

  • The only change since b6ee332 is the blocking sentence (app_proofs.tex:87). It now says the Hopper model "rests on those measurements and on the crafted-input probes above \ev{profile-wgmma}" and that the exact reference of Appendix A.10 "checks the bounds and decisions against exact arithmetic only under the conservative model's adders \ev{precision}". That matches tests/test_precision.py, whose accumulators are all in the conservative family, and the GPU probe evidence. No claim about Khattak and Mikaitis's own work is added or dropped.
  • Build (my own, one core, niced, during an untimed hold): paper 50 pp, notes 53 pp. 0 LaTeX warnings, 0 overfull or underfull boxes. The Conclusion and the References heading are on p10. check_paper_references.py --rev HEAD is clean, so profile-wgmma resolves to its register entry.
  • numdiff against main 1fefa6a: none lost or added.
  • Codex: clean on 1b28dae (10:13).

Merge order: #199 does not touch Appendices A and B, and #200 (A2) covers Appendices C and D. I see no overlap with either.

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