-
Notifications
You must be signed in to change notification settings - Fork 733
feat: re-integrate lean4checker as leanchecker
#11887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
This PR adds the missing leanmake rule for building libLeanChecker.a when USE_LAKE=OFF. The secondary CI builds (Linux release and macOS aarch64) use this mode and were failing because the leanchecker binary target expected libLeanChecker.a to exist but there was no rule to build it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
leanprover-community-mathlib4-bot
added a commit
to leanprover-community/batteries
that referenced
this pull request
Jan 5, 2026
leanprover-community-mathlib4-bot
added a commit
to leanprover-community/mathlib4-nightly-testing
that referenced
this pull request
Jan 5, 2026
leanprover-bot
added a commit
to leanprover/reference-manual
that referenced
this pull request
Jan 5, 2026
Collaborator
|
Reference manual CI status:
|
Collaborator
|
Mathlib CI status (docs):
|
This PR adds tests for the `leanchecker` binary, ported from the lean4checker repository. Tests include: - Environment hacking detection (AddFalse, AddFalseConstructor, ReplaceAxiom) - Private import conflict detection in --fresh mode (PrivateConflictC) - Quot/Eq dependency ordering (QuotEq) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
leanprover-community-mathlib4-bot
added a commit
to leanprover-community/batteries
that referenced
this pull request
Jan 6, 2026
leanprover-community-mathlib4-bot
added a commit
to leanprover-community/mathlib4-nightly-testing
that referenced
this pull request
Jan 6, 2026
leanprover-bot
added a commit
to leanprover/reference-manual
that referenced
this pull request
Jan 6, 2026
…rent re-relaboration
This reverts commit 7ba979c.
Kha
commented
Jan 7, 2026
| for path in (← SearchPath.findAllWithExt sp "olean") do | ||
| if let some m := (← searchModuleNameOfFileName path sp) then | ||
| if target.isPrefixOf m then | ||
| if !fresh && target.isPrefixOf m || target == m then |
Member
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@digama0 Note this fix in --fresh's behavior
leanprover-community-mathlib4-bot
added a commit
to leanprover-community/batteries
that referenced
this pull request
Jan 8, 2026
leanprover-community-mathlib4-bot
added a commit
to leanprover-community/mathlib4-nightly-testing
that referenced
this pull request
Jan 8, 2026
leanprover-bot
added a commit
to leanprover/reference-manual
that referenced
this pull request
Jan 8, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
builds-manual
CI has verified that the Lean Language Reference builds against this PR
builds-mathlib
CI has verified that Mathlib builds against this PR
changelog-other
mathlib4-nightly-available
A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN
merge-ci
Enable merge queue CI checks for PR. In particular, produce artifacts for all major platforms.
toolchain-available
A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
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.
This PR makes the external checker lean4checker available as the existing
leancheckerbinary already known to elan, allowing for out-of-the-box access to it.