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

chore: upstream on_goal / pick_goal / swap #241

Merged
merged 6 commits into from Nov 28, 2023

Conversation

semorrison
Copy link
Collaborator

No description provided.

@semorrison semorrison added the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Sep 6, 2023
@fgdorais
Copy link
Collaborator

fgdorais commented Nov 7, 2023

I think this needs more justification. I can see this is of some use but I'm wondering why structured proofs don't solve most of the use cases. Some parts would be handy for writing basic tactics that need to reorder goals but there are other ways to do that. Bottom line, this looks like legacy Lean 3 code for the most part.

I would like to see a less complicated API and more convincing test cases.

@digama0
Copy link
Member

digama0 commented Nov 7, 2023

I believe the motivation is at least in part so that they can be generated by tools like aesop that generate proof scripts replicating what they did on the goal, which are still largely readable and suitable for inclusion in the source text.

@fgdorais
Copy link
Collaborator

fgdorais commented Nov 7, 2023

I understand now. Also, the tests for #242 are exactly the kind of use cases I was looking for. I approve.

@joehendrix joehendrix added will-merge-soon PR will be merged soon. Any concerns should be raised quickly. and removed awaiting-review This PR is ready for review; the author thinks it is ready to be merged. labels Nov 27, 2023
@digama0 digama0 merged commit c6e0dc3 into leanprover-community:main Nov 28, 2023
1 check passed
mathlib-bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Nov 28, 2023
- [x] depends on: leanprover-community/batteries#241



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
awueth pushed a commit to leanprover-community/mathlib4 that referenced this pull request Dec 19, 2023
- [x] depends on: leanprover-community/batteries#241



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
will-merge-soon PR will be merged soon. Any concerns should be raised quickly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants