Repository navigation
Prove the maximal reserved-scratch echo equality band (no new κ) - #4862
Merged
Mister-Meeseeks merged 1 commit intoOct 23, 2026
Merged
Conversation
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.
Summary
Scoped all-size proof with exact finite corroboration: the reserved-scratch dirty-echo lower bound is attained exactly on the following maximal interval.
The exact slack identity also characterizes every equality tree: binary nodes have tight children; ternary nodes have tight children and capacity-saturating endpoints; arity four or higher has positive slack. At s=4 the theorem includes n=11 and 96 completed calls. PR784 already tabulates that finite optimum; this contribution is the general maximality and shape theorem.
This contribution is produced by Nick Petalas. Credit Alexander Schwartzman #784 for the lower bound and sufficient family, Gareth Davidson #887 for its scoped formalization, androolloyd #673 for the echo identity, Koroffstrogov #758, Sagar Thakrar #730, Dillon Amburgey #689 and the retained Chafik Boukhalfa #628 lineage. No predecessor implementation is copied or imported. Canonical CLAIM.
Evidence
From the repository root:
Replace the absolute interpreter path with a local CPython 3.12 executable for portable replay. Set TMPDIR to a private external directory for temporary controls. The direct scientific check took 0.15 seconds, optimized controls 2.00 seconds, and the complete registered replay 2.33 seconds locally. Expected outputs include
PASS_DIRTY_ECHO_MAXIMAL_EQUALITY,PASS_DIRTY_ECHO_EQUALITY_CONTROLS,PASS_RESEARCH_COMMIT_BYTESandPASS_REGISTERED_RESEARCH_PACKAGE.Limitations and unrun obligations
The theorem concerns unit-price completed leaf calls in static ordered trees with parent-reserved dirty scratch. Connector reuse, clean checkpoints, arbitrary reversible programs, weighted prices, physical delivery and complete supplier pricing are outside it. The written proof supplies the universal quantifiers; the finite census does not. The predecessor bound and echo semantics are cited premises, not audit deliverables. No predecessor replay, Lean extension, physical caller or complete multiplication theorem is claimed. Independent human and formal proof-kernel review are unclaimed. No new kappa or selected-frontier change.
Open next questions
(s,n)using the disjoint binary/ternary shape recurrence.Related open work
CI notes
Both hosted checks passed on
1603c6736c1077119a7f9f77801d8eb7ba804262in run 39864537692: planning in 3m20s and registered package replay in 1m21s. The run is completed/success and its head SHA matches. Registered replay covers the warning-strict scientific verifier and optimized standalone/corruption controls. Both registered commands also passed locally, each below its 120-second manifest timeout. This is automated finite replay evidence; no independent human, formal-kernel or complete multiplication-theorem acceptance is claimed.Merge Danger
Door: two-way. Blast radius: isolated package. Only
research/dirty-echo-maximal-equality/is added; no shared executable or selected result changes.