Repository navigation
Audit: quadratic rounding accumulation and linear-error Neumann evaluation (no new kappa) - #1430
Merged
Mister-Meeseeks merged 1 commit intoOct 14, 2026
Conversation
Contributor
|
100-PR batch review at Merged to Reviewed scope: Conditional fixed-source Horner inverse bound and explicit adversarial Neumann error family, with all declared fixtures. Disk invariance and precision premises are explicit; no Gaussian implementation or supplier admission follows. The pinned scoped command passed; the batch ledger contains its command, input hashes, environment and log. This incorporates the research/tooling contribution and does not change the selected κ or discharge the inherited multiplication-theorem assumptions. Batch review, attribution and evidence. Thank you for the contribution. |
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.
Change and mathematical scope
Adversarial audit / conditional precision refinement; no new κ. The retained Gaussian inverse evaluation sums separately rounded powers. Its stated absolute-error interface permits quadratic accumulation even when the exact operator is positive and the approximation is odd and zero-preserving. An all-length exact family establishes that boundary; it does not contradict the existing
3p²/4allowance or claim a defect in actual Gaussian rounding.A fixed-source Horner replacement keeps every intermediate in the disk grid and has error
<p·2^-p, using exactly the samek−1complete E calls. The written proof assumesp>100,||E||≤0.42, oracle error<(p/3)2^-p, and||E^k||≤2^-p. It includes initialization, exact subtraction, residual error, all stream scans and the complete wrapper cost. A separate counterexample shows why merely||E||<1/2does not suffice for the disk invariant.At p=128 and k=64, the same valid contract fixture gives power-sum error
10528/3grid units and Horner error166/3, with 63 calls each. The old error remains within the old allowance.Only
research/neumann-rounding-audit/is added (eight files). The alternative is implemented at its abstract oracle boundary. Actual Gaussian execution, analytic estimates, PR371's separate block-rounding repair, and physical integration remain open or inherited. No selected supplier, source, precision charge or exponent changes. No benchmark or new mathematical-method priority is claimed.Task and overlap
bce54fb3f895cbe5cd4c0eb477c3afeed100190f; seed 68, adversarial-audit track; carduniform-transfer-audit, scope refined to this rounded precision implication.410026dc5513b87db92ae98571d1d5984c69a983: all three consumed source files and selected κ are unchanged. The complete patch applies to that main in a temporary Git index.Validation
Expected:
PASS_NEUMANN_ROUNDING_AUDIT fixtures=648 family=326 controls=6, ten passing tests, thenPASS_REGISTERED_RESEARCH_PACKAGE ... outcome=completed.On macOS arm64 / CPython 3.12.13:
Finite replay is separate from the written universal arguments. No selected cold replay, physical tape compiler execution, full historical suite, hosted-CI success, Lean theorem or independent human review is asserted.
Credit
Credit eumemic's PR5, icekylinx's retained interfaces, and the Harvey–van der Hoeven resampling lineage; Artus Krohn-Grimberghe's PR371, Effy Elden's PR684, Alan Grillo's PR902 and Hanson's PR1243 are distinct predecessor/context audits with exact heads recorded in the package. Ordinary Horner evaluation and contraction error analysis are standard methods.
Prepared by Hanson Sun (@bbMisk), with substantial OpenAI Codex assistance in mathematics, implementation, verification and writing. Apache-2.0; existing sources and notices are preserved.
Open next questions
The README and TASK metadata specify two bounded follow-ups: connect the evaluator to an implemented, corrected Gaussian E routine; or derive a stronger actual-rounding property that excludes the adverse family for the original evaluator. The missing integrated routine/analytic adoption and missing stronger error law are explicit blockers. This PR does not perform either integration.