Repository navigation
Audit #6129's nearest-even Walsh-stage bound: no error; independent engines reproduce a_J, the odd-output split and #6119's 3h/4 (no new κ) - #6140
Merged
Conversation
…endent engines reproduce a_J, the odd-output split and CrocSwap#6119's 3h/4 (no new κ) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Result
This is an independent audit of #6129 (Nick Petalas, head
f496734450c3). I found no error. The sharp nearest-even bound for J normalized Walsh stages,h(J/3+(1-(-1/2)^J)/9), is correct. So are its odd-output refinementh a_(J-1)and its all-grid application to #6119 (CubeJerry, headbdfe5a10d488), which gives3h/4, or 3/16 at h=1/4. No new κ, and no change to the selected frontier. The card isuniform-transfer-audit, with its scope changed to an audit of this PR.Package:
research/nearest-even-walsh-error-audit/(base721c03822).Proof review
I checked every step of #6129's PROOF.md:
d_jinduction;2^(J+1);a=4is exact on the grid, and the lower inverse leaves{0, ±h/2}, which rounds to 0.All of them hold. README.md has the table.
Two clarifications. Neither is an error:
One more observation:
2^J a_J = ((3J+1)2^J-(-1)^J)/9is the same sequence as the sharp switch tariff inresearch/dyadic-rotation-switch-tariff, with the same slope recurrence.Evidence
python3.12 -I -W error -B research/nearest-even-walsh-error-audit/verify.pyuses only the stdlib and runs in about 50 s. It imports nothing from #6129 or #6119.scripts/research_package.py --package ...reportsPASS_REGISTERED_RESEARCH_PACKAGE.2^(J+1-k), exact error) from every leaf residue mod2^(J+1). They use onlyR(s+2t)=R(s)+2tand the period lemma, not Prove sharp nearest-even Walsh-stage error (no new kappa) #6129's parity-only shift step. The engine covers every sign pattern for J<=4 and the all-plus pattern up to J=7. The even-output maximum is a_J and the odd-output maximum is a_(J-1) throughout; at J=7 the maximum is 313/128.[-3,0]^8in three stage orders, over all outputs. The maximum is exactly 9/8.forward(rounding=True)on 3,000 random grid inputs.Engine A is complete given the period lemma, which is proved in writing and only sampled in code. The all-J result rests on #6129's written proof, which I found correct.
A read-only OpenAI Codex adversarial review of the proof, the verifier and this README returned no finding in any of the three areas. Its points: engine A's last combination runs at modulus 4, where the residue reduction is still valid; engine C's indexing matches the surrogate. This is AI review only. Hosted CI was not monitored.
Not covered and open next questions
This audit does not cover #6119's arbitrary-defect theorem, bit costs, range guards, reversible history, or any PR6030 child or supplier.
Open next questions:
m=1/2lower inverse?Credit
The theorem, proof and witnesses are Nick Petalas's (#6129). The surrogate is CubeJerry's (#6119, with OpenAI Codex assistance). The deferred-row context comes from Vlado Vojdanovski (PR1673), and #6129 credits the wider lineage. This PR adds only the audit and its engines.
🤖 Generated with Claude Code