Repository navigation
Audit typed-echo to selected-centre recursive cost transfer - #2500
Merged
Mister-Meeseeks merged 2 commits intoOct 16, 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.
PR2464’s 112-primitive typed-echo saving is valid, but its proposed deletion of eight rank-eight recursive children per pair is an additional compiler premise. This audit separates the two: 48 saved primitives are source shears, 64 are frame boundaries, and both schedules retain the same forward/inverse typed children.
The written proof shows equal recursive histograms under every fixed additive nonnegative tariff on those children. A concrete countermodel has 16 rank-eight calls before and after fusion while retaining the exact scalar saving. This disproves inference from the typed contract alone; it is neither a native impossibility result nor a counterexample to the echo. PR2464’s explicit no-admission/no-new-kappa disclaimer remains appropriate. The package specifies the missing native source/sink, child, restoration, and complete-cost correspondence.
Sources: PR2464 at
f364b97ff4700147fc06e622b79952b9fe6c4fa8; canonical base0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, priority revision4. Credit Aaron Wang’s conditional-pricing audit, Cinna Davis’s PR1391/1410, Ross Richardson’s PR1287, Sagar Thakrar’s PR1227, PR1708/1748 and the centre-sharing-overhead-budget lineage. Concurrent PR2491 (c25a4ce22a887daf8cba8b3cfad72796752ab2ee, ywz65) addresses a distinct actual-reader unitary embedding; its description was read and credited, not independently replayed here.Validation: registered CPython3.12 replay passes; independent typed/primitive replay covers all56 dirty columns and all20 one/two-child phase paths; seven semantic controls and five behavioral tests pass. The source’s complete51-control canonical JSON payload reproduces as a primary-source positive control. A separate math-recursive-interfaces specialist independently derived the written proof. Optimized Git-free/read-only CPython3.14 replay and selected-record integrity pass. No selected cold replay, native/compiler admission, hosted-CI success, formal-kernel proof or new kappa is claimed.
Reproduce:
python3.12 -B scripts/research_package.py --package research/z4-centre-transfer-audit.Canonical scope and handoff: #2488. Prepared by Ross Richardson with substantial OpenAI Codex assistance; Apache-2.0; no independent human review. Frozen inputs and selected-frontier files are unchanged.