Repository navigation
Research: cubic precision for cyclic inverses with arbitrary dirty arrays (no new kappa) - #905
Merged
Mister-Meeseeks merged 1 commit intoOct 13, 2026
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.
PR628's balanced cyclic inverse can use cubic sufficient precision with arbitrary dirty arrays:
The dispatcher, rounded leaves, quadratic leaf count and logarithmic number of borrowed arrays are unchanged. No reserved zero bits or clean length-L array are required. No new κ.
The new free-algebra induction shows that every ideal prefix and inverse prefix is a sum of ordered products with no repeated factor occurrence. Their coefficient row sum is at most
2*3^ceil(log2 n). Applying #862's common-isometry complementary-factor bound to these products, then #877's nonlinear perturbation argument, gives the cubic precision bound. Both source and borrowed arrays still restore exactly; the rounded increment may depend on the initial dirt.At radix 64, p=128 and initial magnitude at most 2^20, the explicit fractional-bit budget is 1,162,553, versus 73,245,212 in #877. Both schedules have 4,000 leaves and six dirty arrays. These are conservative sufficient bounds, not minimum precision or measured performance. Cubic coefficient preparation uses #862's inherited full-inverse estimate; every leaf pass, inverse call, validation, source access, arithmetic and routing charge remains.
Reproduce with standard-library Python 3.11+:
Validation on frozen source:
Sources are pinned and retained unchanged: #628
0768f97d…, #87780a60c0d…, and #86257e06591…, including the original #621 proof/notice lineage. Credit Chafik Boukhalfa, Gareth Davidson (@bitplane), Ali Romman, 0xkilgore and the retained predecessors. #896's concurrent formalization concerns complete nonlinear restoration and ordered products; it explicitly supplies no precision estimate and is not imported here.All factors must use the same immutable unit-weighted permutation and direction, with phase data distinct from mutable arrays. The conclusion rests on the written universal induction plus inherited analytic, leaf and supplied-preparation hypotheses. It does not supply a bit-reversible compiler, common-label/Clifford word, physical layout, complete transform or multiplication reduction. Selected construction and
upstream/are unchanged. Hosted CI is configured for full Python 3.11/3.14 replays; no hosted success is claimed by the prepublication records.Prepared by Chafik Boukhalfa with substantial OpenAI Codex assistance, Apache-2.0. Separate arithmetic paths are not independent human review or a formal verification of the full theorem.