Repository navigation
Prove sharp one-pass child batching storage (no new κ) - #5905
Merged
Mister-Meeseeks merged 1 commit intoOct 27, 2026
Merged
Mister-Meeseeks merged 1 commit into
Mister-Meeseeks merged 1 commit into
Conversation
This was referenced Oct 27, 2026
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 sharp retained-payload storage required by one forward parent-input pass that emits complete low-type child batches sequentially. For n repeated cycles, L low types and s symbols per chunk, the exact capacity is
(n-1)(L-1)salphabet-symbol equivalents. The proof permits arbitrary lossless encodings and charges payload-dependent controller state. A literal-symbol schedule attains the bound and empties its buffer.Claim type: scoped written proof with finite corroboration. This takes the physical-dispatcher question in Ali Romman's #5829 at
f1e522fc26371617ed60dea3c4609d422d491d2e. Its declared whole-high address contract givesn_j=T*(L*H)^(D-j-1),s_j=H^(j+1)*R, and the new necessary term((L-1)/L)*(1-1/n_j)*V_j. The sixteen-symbol cover fixture needs exactly six retained symbols.The address contract and its open dispatcher question retain Ali Romman's credit, with Mason Hale and the BIT/compiler/cover predecessors credited there. Streaming permutation cuts and information counting are classical. The new scoped proof, attaining schedule and checker were produced by Nick Petalas. No new kappa or selected-frontier change is claimed.
Evidence
Before, the cited address map left the physical dispatcher and local-space bill open. After, this restricted one-pass interface has a sharp storage term with a matching schedule.
Local CPython 3.12.15 on macOS 27.0.1 arm64 passes all 512 batch shapes, 5,914 permutations through length seven including the empty case, 31,990 binary payloads, 2,262 distinct cut states across 20 families, 11,520 algebraic cover substitutions, 392 subcritical-capacity rejections and 14 malformed-input controls. Independent prefix-cut and full read/emit minimax oracles agree with literal output execution. Internal review caught an omitted dominated read/store alternative in the scheduling oracle; that alternative is now included, and all checks pass with unchanged outputs.
Exact reproduction from the repository root:
Any CPython 3.12 path can replace the local interpreter path. Each registered command was timed locally at 0.21 seconds, below its 120-second timeout. Outputs include
PASS_LOW_TYPE_STREAM_BUFFER,PASS_REGISTERED_RESEARCH_PACKAGEandPASS_RESEARCH_COMMIT_BYTES. Warning-strict AST compilation and function-size inspection pass. Committed bytes/modes and declared source history pass at61dac6c54e2be2e486a61da40ffeb0d2db743773. The official export passes integrity validation and an optimized read-only Git-free replay with identical generated receipts. Generated local receipts bound all six package files; the verifier can regenerate them outside the checkout.The predecessor contract is cited with exact head, paths and SHA256 values, separately from runtime inputs. The standalone verifier imports no pending predecessor code. The source-history check authenticates the declared main provenance, not external mathematical citations.
Limitations
One read stream, one append-only sequential child-output stream, arbitrary independent finite-alphabet symbols and deterministic exact dispatch are explicit hypotheses. Storage counts retained payload information, including compressed/controller representations; unbounded integer or exact-complex cells do not have unit capacity. The result is compatible with #5829's O(V_j) premise. A different physical traversal may use a different contract.
Physical head movement, fixed-tape implementation, numerical precision, returned ownership and the complete supplier invoice remain unpriced. Independent human and formal proof-kernel review are unclaimed. Lean, Docker and the selected scientific cold replay were not run; no local check of this scoped package was deferred to CI.
Related open work
Completion refresh inspected all nine other account PRs opened since the advance CLAIM: #5897, #5898, #5899, #5900, #5901, #5902, #5903, #5904 and #5906. The storage relationship with #5897 is recorded above. The others study clean bank exchange, tail gates, Newton precision, invoice frontiers, phase witnesses, COPY approximation, dyadic observation acquisition and a two-burst query schedule. None computes the same one-pass buffer quantity or the sixteen-symbol dispatcher fixture. No additional computations were run to validate their mathematical results.
Open next questions
Can multiple independently writable child streams reduce the buffer while preserving complete arbitrary-input return? Start with the sixteen-symbol fixture and price stream count, head placement and return ordering. What literal fixed-tape time and space bill realizes the attaining six-slot schedule? Start with every retained-chunk read and release; source binding and cleanup remain blockers.
CI notes
At commit
61dac6c54e2be2e486a61da40ffeb0d2db743773, CI run 40501344081 finished with plan failed; replay skipped. The only failed step was Onboarding helper tests. All ten failure/error entries are in unchangedtests/test_research_current_assignment.py, endingFAILED (failures=8, errors=2, skipped=22). The two errors are missingfollow_up_stepsandcatalog_first_stepkeys. Assertion failures concern frozen-card/current-route expectations, missing-reference handling and sparse omission lists. All ten failure/error headers and exception/assertion messages match PR #5904's plan log exactly. Maintainers will address this shared main failure; no shared source or tests were changed.Hosted replay has not certified this package; only local scientific and publication checks have run. Local normal, optimized, registered, committed-byte/source-history and read-only export checks pass. The CI result does not establish mathematical acceptance.
Merge Danger
Door: two-way.
Blast Radius: research.
Adds one isolated six-file package and opt-in bounded replay. Shared code, frozen evidence and selected artifacts are unchanged.