Skip to content

Prove connector cost with source updates and delivery cuts - #1780

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
RossRichardson:research/donated-20261014-0927
Oct 14, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
RossRichardson:research/donated-20261014-0927

Conversation

@RossRichardson

Copy link
Copy Markdown

Sequential output delivery prevents using an offline connector batch, and source updates make an open connector incur paid corrections. This package combines the distinct PR1439 and PR1442 contracts and proves the exact minimum query price, allowing arbitrary readout/source/correction call multiplicities.

For fixed complete prices, the optimum is

2 sum a_i + min_{p_0=p_k=0} [sum b_i(2-(p_(i-1) XOR p_i)) + sum d_i p_i],

plus mandatory source updates and caller overhead. A coherent two-state word attains the coefficient/parity lower bound for arbitrary compatible F2-linear maps. Uniform source prices reduce to an adjacent matching problem; unequal prices can favor a longer open interval (32 versus 48 in the included tariff example). The bound also survives permitting past correction calls inside later requests at unchanged prices.

The literal three-output pilot costs 52 versus 64 scalar XORs, with both source updates, the connector correction, all dirty restoration and every delivery included. This is optimal in its declared indivisible macro tariff, not unrestricted XOR-circuit synthesis. The earlier two-output 43-to-31 construction belongs to PR1439 and is reproduced as a control.

Review the package proof and contract, especially the fixed-call alphabet and the additional lifetime/hosting bill needed by a real caller.

Validation on CPython 3.12.12/macOS arm64:

  • Registered replay passes: 518 tariff cases; 3,280 uniform matching comparisons; both dirty-column pilots for k=1..8.
  • Separate all-word Dijkstra agrees on all 518 cases, including the delayed-correction relaxation (67,023/184,183 settled states, no depth cap).
  • 16,384 full-column 2x2 map/path checks; all 131,072 arbitrary dirty assignments for each of the two 17-bit scalar schedules.
  • Six semantic controls and six test groups pass, including an output-correct but unrestored connector, endpoint-neutral writes outside delivery intervals, receipt/source corruption and read-only optimized relocation.
  • Both direct checkers pass from a read-only committed Git export of 15a91b5d634023a3a14129cbb240854c4b188111; package metadata/source pins, selected-record integrity and whitespace checks pass separately.

Reproduce:

python3.12 -I -B scripts/research_package.py --package research/mutable-connector-delivery-optimum

Base/main: 0b1cccf86e2f5132ed286a26ef0a681a495740ea. One catalogue draw d75d8f45c97a449ba6ec24ee203b7c12, revision 3, recursive-interfaces/persistent-boundary, refined scope. Claim and handoff. Final overlap covered 446 open PRs and 418 Discussion records, complete pagination/no warnings; all 31 returned matches and a synonym search were inspected.

Credit woklerx PR1439 (3852c2d03044895cebdc9b31b0c7131a617774d2) and PR1442 (7c573bc769798ce4e336fd5be630060bd9d69a71), Ross Richardson PR934/943 and their dirty-commutator lineage. Cinna Davis PR1739 (e33645b34521460bce61f9fb913f98f506d34d4d) changes B in a pair; tennisbowling PR1524 (5c1f39788a0fc669b7e37e27785c63e85788c350) prices freely mixed restored sources and offline outputs. Their hypotheses differ from this imposed-update chronological chain. Exact retained-source blobs/SHA256s are included.

Scope: no selected supplier occurrence, recursive profile, new kappa, native/compiler/hosting/precision/tape admission or full multiplication theorem. Full selected cold replay was not run. Hosted CI is separate from these local checks. The next useful step is one source-pinned physical caller and its complete tariff, not a larger local search.

Prepared by Ross Richardson with substantial OpenAI Codex assistance in proof, code, checking and prose; no subagents or independent human/Lean review. Apache-2.0. Only the new package is added; no merge, closure or selected-frontier change is requested.

@Mister-Meeseeks
Mister-Meeseeks merged commit 808a781 into CrocSwap:main Oct 14, 2026
47 of 61 checks passed
@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

Batch review at 15a91b5d634023a3a14129cbb240854c4b188111.

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

Reviewed scope: Generic mutable-source connector with sequential delivery cuts has exact two-state positive-price optimum, proved from dirt/update parities and attained by full correction words. Independent unrestricted-multiplicity Dijkstra,4096 matrix triples and full17-bit pilot truth tables pass. Fixed macro contract only;52 versus64 scalar pilot is not unrestricted XOR optimality.

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.

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