Skip to content

Halve sharp two-axis Gaussian rounding error and data additions - #6534

Merged
Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
aliromman:codex/kappa-fourth-ten-07
Nov 10, 2026
Merged

Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
aliromman:codex/kappa-fourth-ten-07

Conversation

@aliromman

Copy link
Copy Markdown
Contributor

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) h to sqrt(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 most ceil(f/2) h sqrt(N/2), compared with the retained stagewise f 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.json and ORIGINS.json. The radix-four identity and lattice-coset method are classical. Apache-2.0.

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