Repository navigation
Research: prove exact fixed-reader typed-window fusion costs - #2626
Merged
Mister-Meeseeks merged 1 commit intoOct 16, 2026
Merged
Mister-Meeseeks merged 1 commit into
Mister-Meeseeks merged 1 commit into
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
Prove the exact fixed-reader typed-window fusion tariff for arbitrary finite call words. PR2595's gross 48-record window saving does not give the same net saving under both reader contracts.
The formula charges the extra cross-boundary frame alignment. It agrees with PR2595's pinned machine receipt, preserves its valid legal per-call k=2 schedules, and states the missing native and recursive interfaces explicitly. Credit Aaron Wang's PR2595/2464, Cinna Davis's PR1391/1410 and phase-indexed family, Ross Richardson's PR1287/2500, and Sagar Thakrar's PR1227.
Canonical investigation and handoff: #2610. Base canonical main
0fdd7d82, priority revision 4. Onlyresearch/typed-window-fusion-audit/changes.Evidence
saving = 16*shared_octets - 2*cross_boundary_alignment. A separate four-state DP checks 3,279 words, the fusion identity checks 14,400 ordered pairs, and a code-disjoint integer interpreter reproduces seven complete invoices on all 56 dirty columns with per-call boundaries and literal inverses. Seven behavioral groups include semantic corruption and invalid-mode controls.python3.12 -B scripts/research_package.py --package research/typed-window-fusion-audit.Merge Danger
Door: two-way.
Blast Radius: research.
Scoped to the declared literal canonical macro tariff. No native embedding, supplier admission, physical-cost optimum or new kappa is claimed. Selected frontier, frozen predecessors and upstream sources are unchanged; their cold replay was not run.