Repository navigation
Prove connector cost with source updates and delivery cuts - #1780
Conversation
|
Batch review at Merged to 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. |
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
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:
15a91b5d634023a3a14129cbb240854c4b188111; package metadata/source pins, selected-record integrity and whitespace checks pass separately.Reproduce:
Base/main:
0b1cccf86e2f5132ed286a26ef0a681a495740ea. One catalogue drawd75d8f45c97a449ba6ec24ee203b7c12, 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.