Skip to content

Construct near-unit rational Stein generators: factor 9/8 (no κ) - #6228

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w8-1029c-frontier-step
Oct 30, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w8-1029c-frontier-step

Conversation

@petalas

@petalas petalas commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Scoped proof and exact coefficient producer. Replace PR4198's factor-two rational Stein-generator normalization by an arbitrary requested factor 1+2^-p, with the same exact rank-many terms and at most p+2 additional height bits per rational component.

 E = sum_j g_j a_j,  ||g_j||_2 <= 1
-||a_j||_2 < 2 ||E||_2
+||a_j||_2 < (1+2^-p) ||E||_2
+p=3 gives the concrete bound 9/8

The normalizer uses integer square root and exact squared comparisons. A rank-one example proves that exact factor one can fail over Q(i) when the term count must remain minimal. On that example the new squared row norm is 49/16, versus 4 from the old power-of-two formula. These are newly computed formula evaluations, not a predecessor replay. No new kappa or selected-frontier change.

Proof and package. This contribution was produced by Nick Petalas. Credit Jose Manuel / jmbarrancoml's PR4198 at e457d5e912a27307d725827aeca7198169320b84 for the rational orthogonal-residual factorization, coefficient-row convention and interface; Vlado Vojdanovski / PR1673 for the dirty-shear compiler; Cinna Davis and the retained caller/phase lineage. Gram-Schmidt, integer square root and the norm obstruction are classical.

Evidence

All checks pass locally on CPython 3.12.15, macOS arm64, using only the standard library:

  • 4,800 independent exponent/mantissa-oracle comparisons on 960 rational squared norms; 84 wide-exponent/precision normalizers.
  • 717 real/complex matrix fixtures, all 2,151 factorizations at p=1,3,9, and 3,645 emitted terms. Separate row elimination checks rank; complete reconstruction, residual orthogonality and exact Hermitian PSD certificates check the row-norm inequality.
  • Eighteen explicit domain/semantic controls. Three disposable mutations, round-down, wrong conjugation and tiny-term deletion, reject. Actual pinned-proof corruption also rejects under optimized execution.
  • Warning-strict normal and optimized direct checks produce identical hash-bound receipts and take 0.519 s and 0.528 s locally. Both registered commands pass, with a 120-second limit each. These durations establish replay budget only.
  • Seven-file committed-byte/mode/source-history preflight and official export integrity pass. Both modes pass with Git absent and exported files read-only; all eight export files retain their bytes and modes.

From the repository root:

/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -W error -B research/near-unit-stein-normalization/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -O -W error -B research/near-unit-stein-normalization/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/research_package.py --package research/near-unit-stein-normalization
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/check_research_commit.py --package research/near-unit-stein-normalization --check-source-history --check-modes

Any CPython 3.12 path can replace the local interpreter. Expected markers are PASS_NEAR_UNIT_STEIN_NORMALIZATION, PASS_REGISTERED_RESEARCH_PACKAGE and PASS_RESEARCH_COMMIT_BYTES. The default verifier is read-only and Git-free; optional --receipt PATH creates a source-hash-bound receipt without overwriting an existing file.

Limitations

The universal theorem is the written proof, not finite extrapolation or proof-kernel acceptance. The supplied producer enforces dimension <=8, input component height <=512, precision 1..128 and a 65,536-bit normalizer capacity, rejecting exhaustion. The mathematical proof has arbitrary finite dimension and precision. The scale is dyadic; the resulting Gaussian-rational coefficients can have odd denominators.

No rounded FFT/triangular child, actual coefficient delivery, physical precision saving, complete dirty-state error ledger, full caller/stock/tape invoice, supplier admission or multiplication theorem is supplied. All five inherited framework assumptions remain. No predecessor executable, historical scientific suite, Lean or selected cold replay was run. Independent human and formal proof-kernel review are unclaimed.

Open next questions

Can one actual rounded Gaussian child exploit the smaller coefficient norms? Bind one emitted row and its normalizer to the literal coefficient/data rounding and allocation contract, then charge delivery and physical costs. Those interfaces remain missing; no implementation expansion is claimed here.

Related open work

No other open PR studying this exact rational Stein normalization was found in the original complete cached open-PR corpus and live list. PR4198 is the merged predecessor.

The completion refresh found two open PRs on this account and none created since the CLAIM at 2026-10-29T22:13:01Z. PR6204 concerns offline export-check runtime; PR3729 concerns an integer idle-histogram ceiling. Neither studies this normalization or computes a competing constant. No extra computations checked another contribution.

CI notes

Both hosted checks passed at exact head d85df7f7524e41799a6db2d6c082f6cadbd5cc84 in run 40965150524: plan in 5m37s and replay (research/near-unit-stein-normalization) in 1m22s. The completed check list was read once; run metadata confirms successful completion and the matching head.

Hosted replay certifies the registered normal and optimized finite checks. The universal claim remains the written proof, with independent human and formal proof-kernel review unclaimed. All registered local checks, committed-byte/mode/source-history checks, export integrity and read-only Git-free replays also passed. No check was left solely to CI. A maintainer has merged the PR; no further code change is included in this completion update.

Merge Danger

Door: two-way. Blast radius: isolated. Six new files in one opt-in package. No shared implementation, frozen source or selected record changes.

@Mister-Meeseeks
Mister-Meeseeks merged commit a615e53 into CrocSwap:main Oct 30, 2026
2 checks passed
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