A theorem about an empty module may not multiply - #2749
Closed
gHashTag wants to merge 2 commits into
Closed
Conversation
`model_empty` marks a Lean module with no functions, no globals and no tests: `native_decide` proved the EMPTY module lowerable, which is true, and true of nothing in the spec the theorem is named after. Forty of the seventy-three recorded disagreements are that. The ledger gains `max_vacuous`, held by a second ratchet in both directions -- it may not rise, and it may not be left above the real count, or the next one hides in the slack. Both were checked by breaking them. What is held is the SHAPE of the model, read from the source, not the proof. Nothing in this repository runs Lean: proofs/lean4 has a lakefile and none of the 45 workflows builds it. Filed as #2747, with the job ready to paste and the reason it is not landed here -- Lean is not installed on this machine, so whether the 250 theorems still compile is unknown, and a gate that may be red on master should not land unrun. Refs #2747 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Refs #2747 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
PR DashboardGenerated at: 2026-08-28 00:54:01 UTC
Summary
Seal Status
|
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Owner
Author
|
Rebased onto the ordering fix in #2750; reopened as a fresh branch rather than force-pushing this one. |
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.
Refs #2747
Forty of the seventy-three recorded Rust/Lean disagreements are theorems about a module with no functions, no globals and no tests.
native_decideproves the empty module lowerable — true, and true of nothing in the spec the theorem is named after.The ledger gains
max_vacuous, held by a ratchet in both directions:Both checked by breaking them:
What this does not do
It does not verify a single proof. What it holds is the shape of the model, read from the Lean source — because nothing in this repository runs Lean.
proofs/lean4/has alakefile.leanand 250 theorems, and across 45 workflow files not one runslake build, installselan, or mentionsproofs/lean4.That is filed separately as #2747, with the job ready to paste and the reason it is not landed here: Lean is not installed on the machine this was found on, so whether the 250 theorems still compile is unknown, and a gate that may be red on
mastershould not land unrun.Rebased onto #2746; on the rebased tree the seal gate exits 0 and the suite is 2424 passed / 0 failed.
🤖 Generated with Claude Code