Skip to content

Audit: quadratic rounding accumulation and linear-error Neumann evaluation (no new kappa) - #1430

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
bbMisk:research/neumann-rounding-audit-seed68
Oct 14, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
bbMisk:research/neumann-rounding-audit-seed68

Conversation

@bbMisk

@bbMisk bbMisk commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

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²/4 allowance 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 same k−1 complete E calls. The written proof assumes p>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/2 does not suffice for the disk invariant.

At p=128 and k=64, the same valid contract fixture gives power-sum error 10528/3 grid units and Horner error 166/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

  • Research base: bce54fb3f895cbe5cd4c0eb477c3afeed100190f; seed 68, adversarial-audit track; card uniform-transfer-audit, scope refined to this rounded precision implication.
  • Submission main checked at 410026dc5513b87db92ae98571d1d5984c69a983: all three consumed source files and selected κ are unchanged. The complete patch applies to that main in a temporary Git index.
  • Exact Git-blob/SHA256 source pins, three candidate tasks, bounded domains, stop rule and next questions are in SOURCES/TASK/VALIDATION. Claim: DONE: rounded Neumann accumulation boundary and disk-safe Horner recurrence #1409.
  • Fresh complete overlap snapshot: 791 open PRs and 148 discussion records. PR684 audits domain/windows, PR902 improves exact-power decay, and PR1243 audits inner packing. This adds rounded-error placement and a source-compatible abstract evaluator. None of those pending implementations is imported. Search coverage is not a novelty proof.

Validation

python3.12 scripts/research_package.py --package research/neumann-rounding-audit

Expected: PASS_NEUMANN_ROUNDING_AUDIT fixtures=648 family=326 controls=6, ten passing tests, then PASS_REGISTERED_RESEARCH_PACKAGE ... outcome=completed.

On macOS arm64 / CPython 3.12.13:

  • 648 fixed matrix/oracle cases, all 35,640 states compared between integer and separate Fraction/block-matrix implementations; dense exact elimination supplies the final inverse oracle.
  • 326 complete adverse-family cases through p=1024; six semantic controls cover wrong sign, missing half, omitted tail premise, overwritten source, weakened contraction margin and an unsupported linear bound for the old evaluator.
  • Ten focused tests pass, including source/receipt corruption rejection, input/domain rejection, occupied-output preservation and optimized read-only relocation without Git.
  • Optimized CPython 3.14.6 produces the identical canonical receipt. Selected-record integrity and all five existing selected-result tests pass. Metadata/source pins and whitespace checks pass.

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.

@Mister-Meeseeks
Mister-Meeseeks merged commit 67628f5 into CrocSwap:main Oct 14, 2026
61 checks passed
@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

100-PR batch review at 1655c721a1c2aa92f584523afc93a192137cf910.

Merged to main, preserving the original contributor commits and package attribution.

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.

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.

2 participants