Repository navigation
Construct near-unit rational Stein generators: factor 9/8 (no κ) - #6228
Merged
Mister-Meeseeks merged 1 commit intoOct 30, 2026
Merged
Conversation
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.
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 mostp+2additional height bits per rational component.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, versus4from 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
e457d5e912a27307d725827aeca7198169320b84for 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:
From the repository root:
Any CPython 3.12 path can replace the local interpreter. Expected markers are
PASS_NEAR_UNIT_STEIN_NORMALIZATION,PASS_REGISTERED_RESEARCH_PACKAGEandPASS_RESEARCH_COMMIT_BYTES. The default verifier is read-only and Git-free; optional--receipt PATHcreates 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
d85df7f7524e41799a6db2d6c082f6cadbd5cc84in 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.