-
Notifications
You must be signed in to change notification settings - Fork 297
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
feat(logic/basic): Push forall binders inside implications #4143
Conversation
@eric-wieser I can't put a finger on it, but for what it's worth, my intuition would also simp in the reverse direction of what you do in this PR. |
I think my motivation here was to allow the simplification
I don't have any particular motivation for needing this, but it seemed like it would be a neat thing for |
I agree that it's a nice showcase... maybe it can be made to work? @digama0 @cipher1024 Does |
I tried a similar thing for |
Time to point to https://github.com/johoelzl/lean-simp-loop (which never made it into production, but should be kept in mind for Lean4) |
What you're describing sounds more similar to the already-merged |
Right, you need a combination of both lemmas to simplify more complicated expressions like |
I'm in the process of doing a scattershot cleanup of old PRs, and it looks like this is (1) small and (2) unlikely to be merged, so I'll close. Feel free to reopen if there's more to discuss. |
This causes a deterministic timeout at
mathlib/src/data/set/basic.lean
Lines 454 to 455 in 3419986
It's possible this fails because of the finish approach of
Which seems like the opposite of what this simp rule does.