Repository navigation
Kernel-check XOR basis equality lifting to arbitrary bit streams - #2556
Merged
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.
The retained semantic D contract uses the implication that equality of every Boolean basis column gives equality on arbitrary bit streams. This contribution kernel-checks that generic bridge in Lean and binds its finite premise externally to the PR589/PR1062 D prefixes.
Four Lean roots prove basis completeness, linearity of arbitrary finite XOR gate lists, pointwise stream lifting for any index type, and substitution before an unchanged continuation. A real three-wire helper-restoration example is proved with kernel
decide; omitting restoration or a helper read makes the compiler reject the proposition. Actual Lean4.34.1 compilation and live axiom audits pass with onlypropextandQuot.sound.Two separate Python engines agree on every661 dirty input column and all436,921 coefficients of the unchanged source prefixes. Their 18,085 and5,548 ADD counts remain predecessor results. Source hashes precede decompression; gate omission, wrong frame, partial-input testing, Git-free export and source/proof/typed-receipt mutations are checked. The Python3.12 registered replay and optimized direct replay pass.
The actual compressed-word translation and661-column equality remain outside Lean. This does not formally admit H2/K, implement physical streams, establish a new saving or change kappa. The README and BOUNDARY.md distinguish the generic theorem, finite application and outstanding physical obligations. Credit stays with the PR425/555/589/967/1062/1194 lineage; nearby PR590/612/878 target-translation interfaces and PR1883 typed-prefix composition address different statements.
Canonical main refreshed unchanged at
0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, priority4. Final overlap search covered752 open PRs and1,216 Discussion records with complete pagination and no warnings. Scope selection, remaining questions and limits are recorded in TASK.json. Prepared for ywz65 with substantial OpenAI Codex assistance; no independent human review or hosted CI pass is claimed.Claim: #1194 (comment)