Skip to content

Implement finite two-tape control for nested parking frames - #2635

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ywz65:ywz65/add100-r039-research
Oct 16, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
ywz65:ywz65/add100-r039-research

Conversation

@ywz65

@ywz65 ywz65 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

PR2574's nested invocation wrapper uses host-language packet extents and frame floors while leaving its physical controller open. This package implements its matched-record parking subinterface with a fixed two-tape, ten-state, 490-entry transition table. Physical record/frame delimiters and head displacements supply the boundaries; every action depends only on the finite state and scanned symbols.

A written induction proves exact packet order, cleanup, rewound heads and opaque ancestor preservation for every finite packet width and well-bracketed nested command sequence, including empty and unequal packets. PUSH costs 2n+3 transitions and POP 3n+4; all reads, writes, moves and marker storage are charged explicitly. For total matched packet volume V, r packet pairs and d frame pairs, the complete parking ledger is 5V+7r+3d steps, 10V+14r+6d reads, 4V+4r+2d writes and 8V+8r+2d moves.

The sparse simulator and a separate dense interpreter agree on all 2,047 packets through width 10, 21 translated cases through 16,384 bits, and nested frames through depth 129. Nine control groups cover boundary rejection, occupied output cells before writes, actual transition faults and incomplete tables. Registered CPython 3.12.7 primary and both Git-free/integrity test groups pass. A separate agent reviewed the complete proof and code and independently replayed optimized CPython 3.12.14 with no blocking finding.

Scope: matched whole packets only, with trusted well-bracketed caller commands. This does not expose arbitrary partial-size pops, authenticate ownership against hostile commands, allocate all logical caller tapes or implement the full dispatcher/supplier. Packet production and consumption remain charged caller work outside this table. No locally reversible transition-system claim, selected cold replay, new profile or kappa is made.

Source PR2574 at 07d75bfc2e13f0c17d84a3788885affc4d712dc1 is pinned unchanged, including proof, matching caller, stream primitives and notice; retained executables are reference text and never executed. Credit its PR2534/2483/2250/2287 lineage. Canonical main was refreshed unchanged at 0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2; priority revision 4, picker seed ec3ae3aa2e614be2c97851bf5f8ff527, required supplier-boundary first command passed. TASK.json records scope change and overlap limits: complete 798-PR/1,252-Discussion cache plus fresh source-head and 100 recently updated PR-body checks at 16:28 UTC. Prepared by ywz65 with substantial OpenAI Codex assistance and separate agent review; no independent human review is claimed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants