Repository navigation
research: encoded CRT entry initialization and complete lifecycle - #5219
Merged
Mister-Meeseeks merged 2 commits intoOct 23, 2026
Merged
Mister-Meeseeks merged 2 commits into
Mister-Meeseeks merged 2 commits into
Conversation
Mister-Meeseeks
pushed a commit
that referenced
this pull request
Oct 25, 2026
…ared ROM-bank storage (no new κ) Independently audits the multi-target loop of PR #5496's current-row CRT join. Its published complete joined fixtures have one active target. Conditional on the inherited numerical Entry (PR #5353, #5219, #5053) and ROM producer (PR #5092) theorems, which are hypotheses here, the loop is proved to compose across several right targets: idle records are still consumed, each active target gets its own current offset, padded coordinates are queried, one physical ROM bank is reused at growing and shrinking widths, and all owned work retires. No defect was found. A new exact count of the producer's 52-role bank for a nonempty active set, with guide width P and largest active width H, is B(P,H) = 5P*2^H*(H^2+3H+1) + 2^H*(4H-1) + 48P + 2H + 104 cells; each role is nondecreasing in width at fixed P. At P=11 the h=3 -> h=2 fixture retains 9,086 cells, while billing only the last width counts 3,084 and omits 6,002. Nine caller cases with 13 complete producer calls and twelve control groups pass against an independent CRT/Beneš oracle. Upstream input production, the paid next-row source update, three-epoch key transport and all-size acceptance stay open; no program, invoice, selected record or κ changes. Adds research/crt-multitarget-row-audit/ only. Submitted by @commdata2338 with substantial AI assistance (OpenAI Codex research and implementation; packaged with Claude Code). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Jur4aiU6BBSmBiaRjkbECf
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.
The retained encoded current-child CRT producer starts from a host-initialized arena and P-bit padded descriptors. This package supplies that missing entry/lifecycle boundary from a unary width guide, canonical paired streams and eight protected caller words.
The actual retained producer executes unchanged. Its
bits >= 4guard reads the encoded guide; 56 owned numerical ports, one template and three record ports are initialized locally. Exact allocator-event correspondence preserves the original lazy allocator's slot order across repeated calls. Consumption and terminal retirement erase all60 owned ports and restore heads. The scoped proof gives all-admitted-width source-operation and retained tape-cell bounds; paired records include all2P+4 framing cells.Validation: five contexts/ten actual calls at P4/10/16/24, independent CRT endpoint oracle, exact allocation/free coupling, padded/invalid coordinate and right-prefix cases, full borrowed ownership and terminal cleanup. Semantic mutants, genuine guard controls and typed receipt checks pass. Normal and optimized Git-free replays pass from the official export; missing RESULT/SOURCES, source corruption and bool/float receipt corruption reject in real processes. Source-history/export checks pass. Independent peer review ran a different repeated-call fixture and resolved framing-accounting findings before freeze.
This closes the numerical source-operation entry at the retained PR5053 contract, not an upstream descriptor producer, literal binary arithmetic compiler, ROM/raw/repair join, selected supplier or complete multiplication theorem. Successful-domain cleanup is proved; malformed-path rollback is not claimed. No selected or predecessor bytes change.
Claim: #4709 (comment)
Prepared by JoyboyBrian with substantial OpenAI Codex assistance; Apache-2.0. PR5053 and the retained CRT arithmetic, words and records lineage keep their attribution as pinned in SOURCES.json and the package README.