Skip to content

Prove minimum-query endpoint for the mutable-source connector - #1898

Merged
Mister-Meeseeks merged 3 commits into
CrocSwap:mainfrom
Arham-Tahir64:codex/mutable-source-minimum-queries
Oct 14, 2026
Merged

Mister-Meeseeks merged 3 commits into
CrocSwap:mainfrom
Arham-Tahir64:codex/mutable-source-minimum-queries

Conversation

@Arham-Tahir64

Copy link
Copy Markdown
Contributor

The common-B mutable-source connector's paired-readout query minimum and equal-price tariff are known, but the unequal query/readout tradeoff remains open. This package proves its minimum-query endpoint for every n>=1: n+1 queries, and at that minimum exactly *(n+1)2^(n-1) readouts are necessary and attainable. The explicit word uses 2(n-1) paid source XORs; that XOR count is attained, not claimed optimal.

For five sources the word is 6 Q / 96 R / 8 X. With a five-factor B and single-factor A_m, its fully counted abstract tariff is 436, versus 508 for the least costly displayed predecessor (and 512 for PR1370's four-X word). Every inverse leaf, internal node, source XOR and root dispatch is charged. The old equal-Q/R tariff is also checked and gives no improvement.

Only research/mutable-source-minimum-queries/ is added. Start with README.md for the exact common-B, arbitrary-dirty, temporarily unobserved-source contract and the all-n rank/even-subset proof. CERTIFICATE.json records the complete words; TASK/SOURCES/PREDECESSORS record the scope and pins. No pending executable is imported.

Validation on Windows / CPython 3.12.14, standard library:

python3 -B scripts/research_package.py --package research/mutable-source-minimum-queries
python3 -B scripts/verify_selected_result.py

The registered replay passes: symbolic dirty root/expanded/inverse checks, n=1..9 fixtures, all 168 GL3 prefix bases and 168 full-span circuits, 12 semantic controls, a second matrix oracle's 7,360 executions plus two concrete controls, and seven CLI/corruption/relocation/regeneration test groups. Source pins and selected-record verification pass. Default checks are read-only. The two implementations are by the same assisted author; no independent human review or hosted-CI success is claimed.

Scope selection: main 680967accfd4311f3241dc154e1f434869747b43; initial staging base 1f327c6f3e3a35271c5c141d381b540bab8ad005; after resumption, current main 0b1cccf86e2f5132ed286a26ef0a681a495740ea was merged. Revision-3 guidance was read, the existing assigned task retained per AGENTS.md, and all mathematical inputs and selected-record bytes are unchanged. Chooser nonce edb6b50cf28c576de3f77fc578cfdfb4, revision-2 recursive-interfaces, refined connector-alphabet-change. Claim #1579. Final resumption overlap covers 542 open PRs including drafts and 528 Discussion/comment/reply records, with complete pagination; exact predecessor heads are rechecked. This follows PR1524's unequal-price handoff and differs from DUO/TRIO, two-root proposals, PR1770's read-only unequal-source tariff and PR1811's hyperplane-output families; no novelty guarantee follows from search absence.

Credit Arham Tahir / PR1340 f1dcab36fa63f8226f70dd07e26f44afb9d39b51 for the paid source-shear alphabet/paired-readout obstruction, PR1370 8a9b633879b5bfe03400a6c09c31bae7568e6261 for the four-X word/fixed-count bound; TennisBowling / PR1524 5c1f39788a0fc669b7e37e27785c63e85788c350 for the arbitrary-count equal-price theorem and handoff; Ross Richardson / PR943/934 for the prefix framework/repairs/dirty lowering; shhxera/CubeJerry / PR889 and Chafik Boukhalfa / PR628 for retained batching/commutator lineage. The affine-basis technique itself is classical.

Open obligations: global unequal-price optimum (intermediate query counts may undercut this endpoint), minimum X count at six queries, and actual hosted physical prices/ownership/frame/precision/tape/outer-interface admission. No selected cold replay, supplier adoption, new moment/kappa, selected-frontier edit, full multiplication theorem, merge or closure is requested.

Prepared by Arham Tahir with substantial OpenAI Codex assistance in proof, code, checking and writing; no subagents. Apache-2.0, with predecessor attribution retained.

PR1340 and PR1370 have since merged unchanged; PR1524 remains open. Their exact head and publication states are recorded separately. The updated main replay hook also passes.

Contribution head: 5eb741129477f627f79ca5dc7d7d9eeabded1bed.

@Mister-Meeseeks
Mister-Meeseeks merged commit 03052f2 into CrocSwap:main Oct 14, 2026
8 of 61 checks passed
@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

Batch review at 5eb741129477f627f79ca5dc7d7d9eeabded1bed.

Merged to main, preserving the original contributor commits and package attribution.

Reviewed scope: Written all-n rank/even-subset proof establishes n+1 minimum queries and(n+1)2^(n-1) minimum readouts there; construction restores arbitrary dirt. Formal and7360 dense executions plus7 corruption/relocation test groups pass.436-vs508 is an abstract complete-price example, not physical performance or globally optimal unequal pricing.

The pinned scoped command passed; the batch ledger contains its command, input hashes, environment and log. This incorporates the research/tooling contribution and does not change the selected κ or discharge the inherited multiplication-theorem assumptions.

Batch review, attribution and evidence. Thank you for the contribution.

This was referenced Oct 15, 2026
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