Skip to content

Implement encoded one-pass Gaussian normalization - #3127

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
tekuuu:research/seed34-complex-round61
Oct 17, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
tekuuu:research/seed34-complex-round61

Conversation

@tekuuu

@tekuuu tekuuu commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

PR2287 specifies linear-time Gaussian normalization, but its rank is a host integer and its arithmetic uses word arrays. This implements z -> ((1-i)/2)^D z on the physical tape framework from PR3091/3087, with encoded Counts, exact division checks, ten fixed scratch roles, preserved borrowed inputs, and complete scratch/output cleanup.

For h>=2, N>=1, 0<=D<=h and V=2hN, the scoped written argument gives O(V) time and O(h+log(N+1)) local scratch, with protected output paid separately. It covers encoded setup, input access, signed carry, variable shift, head return, rejection and nested caller handoff. The identity and O(V) specification are credited prior work; this is their physical implementation, not a new exponent or a complete recursive supplier.

The independent Gaussian-integer oracle checks 7,728 exhaustive small cases and 1,022 larger boundary/sample cases. Controls cover late rejection/reuse, parent ownership, four arithmetic mutations, source drift and typed-receipt corruption. A same-input physical comparator repeats the degree-one kernel D times: at h=96, N=4, D=34 it uses 2,584,607 tape events versus 66,930 for the fused implementation (38.62x). This is a controlled D-pass baseline, not an end-to-end multiplication speedup or a comparison against PR2287's already fused recipe.

Validation passed on Python 3.12.14/Linux:

python3.12 scripts/research_package.py --package research/gaussian-normalization-stream
python3.12 scripts/check_research_commit.py --package research/gaussian-normalization-stream

The registered checks include an optimized, read-only Git-free replay. Publication-byte checks passed for all 37 package/input files. Base: 997e6a9ca7b4f95d50e366f61412fd640d72a88a; exact dependency pins, proof and receipts are in the package. Hosted CI and independent review remain pending.

Prepared by Tekalign with substantial OpenAI Codex assistance; Apache-2.0. Credit Jose Manuel (jmbarrancoml) for PR2287, PR3091/3087 and related PR3098 scalar work, Alejandro Zarzuelo Urdiales for Gaussian parity/grid results, James Chang for the PR1869 ripple-addition lineage, and the preserved source-chain contributors. The remaining work is composition with phase sweeps and the fast recursive C child, caller grid admission, restoration and final truncation. The selected frontier and existing source packages are unchanged.

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