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: reorder goals after specialize #1796

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

kim-em
Copy link
Collaborator

@kim-em kim-em commented Nov 3, 2022

We made the corresponding change in Lean3 some time ago, at leanprover-community/lean#530, following some zulip discussion. We'd like to preserve this behaviour, so hopefully it can be changed in core rather than requiring a mathlib4 shim.

It's nice to be able to write something like:

specialize x ?_ h ?_
· annoying subgoal
· another
back to the main proof

@leodemoura leodemoura merged commit d0dc9a2 into leanprover:master Nov 3, 2022
AdrienChampion pushed a commit to AdrienChampion/lean4 that referenced this pull request Nov 8, 2022
* fix: reorder goals after specialize

* fix test
digama0 pushed a commit to digama0/lean4 that referenced this pull request Nov 30, 2022
* fix: reorder goals after specialize

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants