Repository navigation
Address spectators never help coordinate swaps: t swaps cost 3t for every n (no new κ) - #4950
Merged
Mister-Meeseeks merged 1 commit intoOct 23, 2026
Merged
Conversation
In the formal M_R(F2[GL_n(F2)]) model, t coordinate-SWAP targets cost
exactly 3t paid calls for every n >= 2. The cut is A = {x : row0(x) <
row1(x)} in the regular representation, averaged over all orders of
the nonzero vectors. Three swaps cost nine, answering PR CrocSwap#4939 open
question 1. No new kappa.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 23, 2026
This was referenced Oct 23, 2026
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
In #4939's formal model
M_R(F2[GL_n(F2)]),tcoordinate-SWAP targets cost exactly3tpaid calls, for everyn >= 2andR >= t. Free scalar mixing and restored dirty registers are allowed.(3,3,2)eight-call row budget. This answers Prove six-call two-SWAP cost with arbitrary address spectators #4939 open question 1.n = 2it is PR1989's inversion cut.Proof idea. Use the regular representation of
GL_n(F2)and the cutA = {x : row0(x) < row1(x)}for a linear order on the nonzero vectors.Aout.CNOT(0,1)andCNOT(1,0)each cut exactly one increasing pair per line{a,b,a+b}, so each cuts|A|/3for every order.|A|/3exactly, because the expected spread of a random 3-subset is(N+1)/2.calls >= 3t. The worda,b,aper register attains it.No new κ. The selected exponent stays
60403/20000000. This is a negative formal-model screen, not a native construction.Task and overlap
Card
bit-new-register-model, scope changed (seeTASK.json). Base: canonical maincef4b52f2a59009865bf8eabde1be3f159063703, priority revision 7.find_overlap.pyfound PR1541 (three swaps atn = 2), the four-swap and label-saturation notes, and the GL2 corollary (3tatn = 2). None treatsn >= 3beyond #4939'st = 2. That is a search result, not a novelty proof. CLAIM.The cut was found by column generation over subsets of the GL_3 regular representation (scipy/HiGHS, scratch only, not in the package). The written proof does not depend on that search.
Test plan
All four pass locally, on Linux with Python 3.12, in about one second.
The verifier checks:
N <= 63;Four mutations make it fail.
--check-source-historywas not run locally because the checkout is shallow.Open next questions
Do swaps on different coordinate pairs, or coordinate 3-cycles, admit the same per-target cut? See
TASK.json.Credit
Prepared by James Reed with substantial Anthropic Claude (Claude Code) assistance. Apache-2.0. No independent human review.
🤖 Generated with Claude Code