Skip to content
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

fix: make sure #guard_* uses syntactic equality #6483

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kmill
Copy link
Collaborator

@kmill kmill commented Dec 31, 2024

This PR fixes the syntactic mode for the #guard_* commands to actually use syntactic equality, to differentiate it from alphaEq mode. In particular, previously both were using Expr.eqv, but now syntactic uses Expr.equal.

This PR fixes the `syntactic` option for the `#guard_*` commands to actually use syntactic equality, to differentiate it from `alphaEq` mode. In particular, previously both were using `Expr.eqv`, but now `syntactic` uses `Expr.equal`.
@kmill kmill added the changelog-language Language features, tactics, and metaprograms label Dec 31, 2024
@kmill kmill requested a review from digama0 as a code owner December 31, 2024 15:28
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Dec 31, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Dec 31, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Dec 31, 2024
@leanprover-community-bot leanprover-community-bot added the breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan label Dec 31, 2024
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Dec 31, 2024

Mathlib CI status (docs):

leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Dec 31, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan changelog-language Language features, tactics, and metaprograms toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants