Repository navigation
Prove exact mixed GL2 tariffs for disjoint address blocks - #5031
Merged
Mister-Meeseeks merged 1 commit intoOct 23, 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.
Result and exact scope
Proves an exact additive tariff for heterogeneous
GL2targets on disjoint address-coordinate pairs. The six block labelse,a,b,ab,ba,abacost0,1,1,2,2,3calls. Sum these costs over all blocks and target registers. The formula remains exact in every containingGL_n(F2), with arbitrary cross-pair coordinate CNOTs, free scalar register mixing and any finite number of restored dirty registers.Proof and scope, exact receipt, checker, and source pins.
This is a scoped formal-model theorem. Each paid call has a scalar rank-one idempotent and costs one. The complete arbitrary-input endpoint must restore every unused register. The selected kappa stays
60403/20000000. There is no native supplier or complete multiplication-exponent improvement.Method, novelty and credit
The mixed tariff at address dimension two already follows from Ross Richardson's PR #1989 and GL2 bridge in PR #2415; see the inversion-sum proof and bridge source. This PR does not claim that dimension-two result as new.
The extension uses James Reed's averaged row-order method in PR #4950, with its retained proof. One coordinate CNOT charges only the cut of its written pair. Its averaged charge is at most one unit, including cross-pair reads. The six target charges are exactly the listed tariffs. Summing disjoint cuts gives the lower bound; direct diagonal formal words attain it.
Cinna Davis's fixed-three-register heterogeneous target and question supplies another predecessor. The target
diag(a,b,aba)costs five even with larger address spaces. The source notices also retain the earlier register/cut lineage. Prepared for Ali Romman with substantial OpenAI Codex assistance; Apache-2.0. No predecessor executable is imported.Base:
f259dabc7d70e0db8d6d36bfda888f008bbfecc1, priority revision 7. The changed task premise is the ambient coordinate alphabet and disjoint-block sum, not another fixed-register census. A final overlap refresh covered 318 open PRs, 4,130 Discussion records and 83 of 6,710 local notes. Its focused matches were this claim and package; sparse omitted notes, arbitrary diffs and unpublished work remain limits.Verification
CPython 3.12, standard library:
Expected markers:
Normal and optimized replay passed. The checker compares all six cut counts with independent group word lengths, checks 80 actual coordinate-CNOT cases over 31,992 relative orders, and verifies 7,128 complete diagonal formal endpoints and 39,852 call omissions. Nine boundary controls include a literal overlapping-pair product that drops from nine separate calls to three. Four actual code mutations are rejected with assertions disabled.
Exact source pins, base ancestry, committed bytes and a Git-free read-only optimized export replay passed. The full-history wrapper was not run in this shallow checkout. No independent human or proof-kernel review, native/compiler admission, selected cold replay or archive-wide sweep ran.
Open next questions
Overlapping coordinate blocks need a different cost law: a list of their separate tariffs need not add. Unequal prices, rank-two calls charged as one, free address maps and restricted clean-input endpoints are outside this theorem.