Repository navigation
Formalize the overcomplete rank and one-extra coupling interface - #2694
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.
PR2277 explicitly leaves the rank statements and one-extra consequence of Lemma OC as written proofs. This package completes those forward obligations in Lean: from actual XY^T=I, derive rank(Y^T X)=T, complementary rank m-T, and for m=T+1 a normalized outer product I-Y^T X=ab^T with b^T a=1 and the exact entry formulas. It works over arbitrary fields and does not infer rank from trace.
The exact predecessor README/formal/environment files are retained with Git blob and SHA256 pins; DreamingOfClouds retains credit for Lemma OC. The converse, prescribed-direction criterion, geometry tables and physical cost/supplier claims remain outside scope.
Validation: pinned Lean4.33.0-rc1 / Mathlib55b791 compiled six audited roots using only propext, Classical.choice and Quot.sound; four altered contracts failed elaboration. Separate registered Python3.12 replay passed448 exact Q/F2/F3/F5 fixtures,112 one-extra cases, semantic boundary controls and optimized Git-free read-only/source-corruption/output controls. Generic Python replay does not claim to invoke Lean; the README gives the explicit pinned formal replay. No hosted CI run is claimed.
Task selection: priority-five P104 picker nonce ad89b619e94d237299b77316f1d1a534, baseline passed, changed to the named unformalized coupling obligation. Branch started from canonical main1884c509; pre-submission mainb5ea56e0 leaves guidance and pinned sources unchanged. Overlap used the bounded complete PR/Discussion cache plus fresh recent PRs and source head. Prepared for ywz65 with substantial OpenAI Codex assistance. Apache-2.0.