Skip to content

Prove unsigned connector floor capacity N(c) = Θ(c log c) via Gray-walk blocks - #6071

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
apoursh:codex/connector-gray-growth
Oct 28, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
apoursh:codex/connector-gray-growth

Conversation

@apoursh

@apoursh apoursh commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Change and mathematical scope

This proves N(c) = Θ(c log c) for the unchanged unsigned immutable-source/one-dirty-connector interface of #4231/#4248. It resolves #6035 open question 3 and #6061 open question 2. Only research/connector-gray-growth/ is added.

For every k ≥ 1 and c ≥ max(2, 2^(k−1)), a binary reflected Gray path yields a depth-two k-source block with exactly c calls per source. Concatenating floor(c/2) blocks and the inherited depth-one pair when c is odd gives

N(c) ≥ (1 + floor(log₂ c)) floor(c/2) + 2(c mod 2).

The new construction splits any zero-start one-bit cube-covering walk into its upward-label subsequence A and downward-label subsequence B. If coordinate j flips f_j ≤ c times, the unsigned word

A · ∏_j j^(c−f_j) · reverse(B)

has two chronological prefixes whose integer count vectors sum to c·1 plus each visited binary mask. Reflected Gray paths have max f_j = 2^(k−1). Padding readouts to c makes the arbitrary dirty contribution vanish; every operator attains its c-call floor. The README proves the all-parameter lemma, composition, and a self-contained version of the inherited counting upper bound.

At c=256 this gives 1,152 sources versus 1,024 from #6061's eight-source block; at c=512, 2,560 versus 2,048. Earlier finite templates remain stronger at small c.

Scope: arbitrary compatible linear maps, including singular/noncommuting maps, over any nonzero unital ring of characteristic c≥2. No extra operation, clean row or connector is added. This is a scoped proof and constructive verifier, not a new κ. Full word-dependent admission/layout, coefficient preparation, schedule/dispatch, complete primitive prices and a native supplier remain unpriced; the README retains the complete conditional invoice. Large corollary words have exponentially many outputs and are proved by decomposition rather than materialized.

Task and overlap

Base 721c03822c421b7f7fcbb2598993b947c4d88419, priority revision 8; canonical main was pulled and re-fetched before submission with no change. Task connector-alphabet-change, scope changed to the explicitly released general-family handoff. The original full card and reason are retained in TASK.json. This resolves an asymptotic local interface question; it does not pass a supplier budget gate.

Canonical collaboration claim.

Nearest work:

The three canonical predecessor READMEs are pinned. Pending PRs are motivation/comparison, not executable dependencies. Live handoffs and all-state PR searches were checked; sparse local coverage (11/8,348 notes) is explicitly incomplete and is not a novelty certificate.

Validation

CPython 3.12.14, macOS arm64; standard library only.

python3.12 -I -W error -B research/connector-gray-growth/verify.py
python3.12 -I -O -W error -B research/connector-gray-growth/verify.py
python3.12 -B scripts/research_package.py --package research/connector-gray-growth
python3.12 -B scripts/check_research_commit.py --package research/connector-gray-growth --check-source-history --check-modes

Normal and optimized registered replay pass (about 0.9 s per direct run):

  • 36 production blocks through k=12, 24,534 masks; 14 repeated/backtracking covering walks.
  • Five full composed words for c=2..6: 847 outputs and 4,778 calls, executing the production call iterator on all source/dirty input columns with noncommuting 2×2 matrices.
  • A separate recursive construction/grouped-boundary interpreter: 27 blocks, five compositions, 52,682 calls.
  • Counting thresholds for c=2..128; 27 combined guard/semantic controls rejected, including omitted calls, wrong padding, wrong prefixes, unreversed downward suffix and exceeded depth.
  • Exact source pins, committed bytes/history/modes, official ten-file export/integrity and normal/optimized read-only Git-free replay all pass at a0f08278dd755e0bf228855e45c5efaa3b8ad97a. Exported bytes remain unchanged.

The card's 945-pairing positive control and selected-baseline binding check passed as orientation. The selected cold replay, Lean, Docker and native physical supplier were not run; none is claimed. Finite tests support the written proof rather than establish its infinite quantifiers.

Credit

Prepared by apoursh with substantial OpenAI Codex assistance, including separate construction, execution and proof-audit agents. Credit Nick Petalas (#4231/#4248/#6035), JosieElliston (#6061), zxv (#6057), Ross Richardson and retained connector lineage. Classical Gray codes are not new. No independent human or proof-kernel review claimed. Apache-2.0; predecessor files unchanged.

Open next questions

See the README/TASK.json for relevance, first steps and blockers: sharpen the leading constant of N(c)/(c log₂ c), or bind a concrete characteristic-c consumer to a fully paid invoice. Neither is implied by the source-count theorem.

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