Repository navigation
Prove the exact tariff for one premium adjacent swap - #2577
Merged
Mister-Meeseeks merged 1 commit intoOct 16, 2026
Merged
Conversation
Resolve the weighted S4 handoff with a uniform two-cut bound and simultaneous descent-sorting attainment. Include an exact checker, source pins, scoped limits and predecessor credit. Assisted-by: Hermes Agent:gpt-6-astra-900k Assisted-by: Codex:gpt-6-astra
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
This answers PR1989's S4
(1,2,1)weighted-price handoff and extends it to one premium adjacent generator in everyS_n.In the existing full formal
F2[S_n]model, lets_pcostbetaand every other adjacent label costalpha, with0 <= alpha <= beta. For any heterogeneous diagonal target tuple and any finite restored dirty workspace, the exact minimum isThe inherited ordered-pair cut bounds total calls. A natural-action cut bounds calls to
s_p. Sorting each side internally before each boundary exchange attains both bounds simultaneously, so scalar mixing and dirty helpers cannot improve this tariff.Only
research/symmetric-single-premium-tariff/is added: one proof/README, one standard-library checker, and the repository's three metadata files. Base is canonical main0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, priority revision 4. Claim and scoped discussion.Verification
Local CPython 3.12 registered and optimized replays pass:
Separate read-only proof/specification and standards reviews found no blocking findings. Reviewed proof/checker hashes are in TASK.json. Documentation/link validation, package provenance and selected-record integrity also pass. Hosted CI currently reports
action_required; the registered-package workflow has not started any jobs and requires maintainer action. No hosted pass is claimed.Limits and credit
This is a written formal-model theorem with finite corroboration, not proof-assistant verification. It does not settle arbitrary unequal tariffs, supply native/compiler/hosting/precision admission, or improve kappa. The selected frontier and frozen sources are unchanged; the selected cold replay was not run.
Credit Ross Richardson's PR1989 and its Adam Gall/PR1941 and PR1966 cut-method lineage. Concurrent ywz65 PR2544 (
9fb1552f12ca4777ca660461a8b602e709285f99) already covers the asymmetric coordinate-SWAP special case; that result is not claimed anew. The new scope is arbitraryS_n, cuts and heterogeneous target tuples with one premium label. Discussion2570 is pursuing the complementary two-premium(2,1,2)case.AI assistance
Substantial assistance from Hermes (
gpt-6-astra-900k) for the argument, writing and review, and Codex (gpt-6-astra, max effort) for the verifier and separate reviews. No independent human or formal-kernel review is claimed. Apache-2.0.