Repository navigation
Formalize the P104 affine-complement endpoint lemma in Lean - #2922
Merged
Mister-Meeseeks merged 1 commit intoOct 16, 2026
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.
Summary
Formalize PR #2920's geometric implication, without changing its mathematics or price claim.
Adds
research/p104-affine-complement-lean/and one scoped formal-check workflow. Eight named Lean statements include finite cardinalities and counterexamples to weakened premises. A separate source-bound checker reconstructs all 208 actual P104 endpoint hypotheses.Credit Nick Petalas/#2920/#2909/#2896, Hiroki Kumazaki/#2889/#2353, Arham Tahir/#2675/#2682, ywz65/#2614, Sagar Thakrar, Philippe Van Velzen and the retained geometry/native lineage. The dependency-audit pattern comes from Ali Romman's cyclic-Schur package. Exact source heads, full credit and substantial-assistance disclosure are in TASK.json and README.
Canonical claim and handoff. Publication commit
2291714c9c87de6bec3dd94d7744a0594cb565a8.Evidence
The second command requires the existing pinned
formal/leanenvironment. The generic registered replay checks finite premises, not Lean; the dedicated workflow checks the proof and its controls. Hosted CI is separate from local evidence.Started from canonical main
90a72fb37; refreshed maina7482490bhas unchanged relevant guidance, selected record, scientific inputs and formal environment. Read-only merge-tree compatibility passes. Final overlap covers 496 open PRs, 2,119 closed PR bodies and 1,597 Discussion records with complete pagination and no warnings. Arbitrary diffs and unpublished work remain outside coverage. Pending #2920 is pinned atb9ea9def949f9d71d59e21294d0e6cfbe0692a73.Merge Danger
Door: two-way. One new opt-in package and workflow; frozen evidence and the selected frontier are unchanged.
Blast Radius: scoped. Python extraction and its correspondence to the Lean model are not themselves formalized. Compiled Mathlib caches and the compiler remain trusted. This does not formalize the price optimization, joint source acquisition, coefficients, chronology, dirty restoration, hosting, precision, all-size admission or the full multiplication theorem. No new supplier or kappa is claimed. The family decision is to finish this audit and stop, not expand a construction campaign.