Repository navigation
Halve sharp two-axis Gaussian rounding error and data additions - #6534
Merged
Mister-Meeseeks merged 2 commits intoNov 10, 2026
Merged
Conversation
This was referenced Nov 3, 2026
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.
A two-axis conservative Gaussian call currently uses four rounded pair kernels. This package replaces that block with an explicit lattice-coset map. It halves both the sharp worst-case block error, from
2 sqrt(2) htosqrt(2) h, and data additions, from 40 to 20. Half shifts remain eight. The new map is nearest on every input, preserves the complex sum and has an exact inverse without a rounding transcript.The all-width call uses
5 N ceil(f/2)additions and has error at mostceil(f/2) h sqrt(N/2), compared with the retained stagewisef h sqrt(N/2)certificate. Both retained two-call and three-call ports run in their literal order and return both dirty banks exactly.This changes the contract: global Gaussian phase covariance and the ideal square rewrite fail. The package gives exact counterexamples. There is no automatic selected-child substitution, physical Boolean/tape tariff, new kappa or selected-frontier change. None of the five framework assumptions is discharged.
Evidence: the written coset proof covers all integer inputs; 131,072 signed block cases check all 65,536 residues, the sharp old-error witness, inverse, sums and nearest error. Twelve complete calls, 336 spectator sums and twelve full dirty-port returns pass. Literal work, width guards and eight controls pass. Normal/optimized registered CPython 3.12, committed bytes/modes, official 16-file export with six source inputs, read-only Git-free empty-PATH replay and source-corruption rejection pass. Optional full-history validation was not run in the shallow checkout. Hosted CI and independent scientific review are separate.
Reproduce:
python3 -B scripts/research_package.py --package research/fused-gaussian-rounding.Fresh base: canonical main
7c49fe32c55de02c2c873655c804b16e4c3fef0a, priority revision 8, selected PR6030. The full overlap cache covered 482 open PRs and 6,470 Discussion records; live handoffs and recent PRs were rechecked before submission. Scoped claim. PR6532's randomized selected first MOVE is separate; this result is deterministic two-axis fusion. Search coverage is not a novelty certificate.Prepared by Ali Romman with substantial OpenAI Codex assistance. Credit PR6509 for the conservative pair kernel, explicit ports and matrix oracle; JoyboyBrian / PR5485 and the retained PR4743 lineage for the original ports. Exact bytes and source commit are retained in
inputs,SOURCES.jsonandORIGINS.json. The radix-four identity and lattice-coset method are classical. Apache-2.0.