8000 fix: More stuck definitional equalities involving smart unfoldings (#8766) by sgraf812 · Pull Request #9015 · leanprover/lean4 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: More stuck definitional equalities involving smart unfoldings (#8766) #9015

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sgraf812
Copy link
Contributor
@sgraf812 sgraf812 commented Jun 26, 2025

This PR makes isDefEq detect more stuck definitional equalities involving smart unfoldings. Specifically, if t =?= defn ?m and defn matches on its argument, then this equality is stuck on ?m. Prior to this change, we would not see this dependency and simply return false.

Fixes #8766.

@sgraf812 sgraf812 added the changelog-language Language features, tactics, and metaprograms label Jun 26, 2025
@sgraf812 sgraf812 force-pushed the sg/def-eq-stuck-on-unfolding branch 2 times, most recently from c95d1b6 to aa4c0ec Compare June 26, 2025 15:20
@sgraf812 sgraf812 marked this pull request as ready for review June 26, 2025 15:27
@sgraf812 sgraf812 force-pushed the sg/def-eq-stuck-on-unfolding branch from aa4c0ec to 280fa92 Compare June 26, 2025 15:48
@sgraf812
Copy link
Contributor Author

Well, heartbeat issues. Bummer... Will investigate tomorrow

@sgraf812
Copy link
Contributor Author

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 280fa92.
The entire run failed.
Found no significant differences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-language Language features, tactics, and metaprograms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Turning abbrev into def defeats type inference
2 participants
0