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

[Merged by Bors] - feat: port split_ifs tactic #508

Closed
wants to merge 7 commits into from
Closed

Conversation

dwrensha
Copy link
Member

This is intended to be as close as possible of a translation of the mathlib3 version: https://github.com/leanprover-community/mathlib/blob/12a7da107a39ef936c5d4a8cb873018ad05b07a6/src/tactic/split_ifs.lean

@dwrensha
Copy link
Member Author

(See #505 for some initial discussion.)

@semorrison
Copy link
Contributor

@dwrensha, I migrated the tests over from mathlib3, and in fact detected a regression by doing so.

I've left your branch broken with the failing test in place, so you can find it easily. :-) Feel free to either comment out the test explaining what's going on, or fix it, as seems most appropriate!

@semorrison semorrison added the awaiting-author A reviewer has asked the author a question or requested changes label Oct 26, 2022
@dwrensha
Copy link
Member Author

Updated. The tests pass after I map Lean 3 true to Lean 4 True, and Lean 3 false to Lean 4 False. (Props not Bools.)

@dwrensha dwrensha added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Oct 27, 2022
@semorrison
Copy link
Contributor

bors merge

bors bot pushed a commit that referenced this pull request Oct 30, 2022
This is intended to be as close as possible of a translation of the mathlib3 version: https://github.com/leanprover-community/mathlib/blob/12a7da107a39ef936c5d4a8cb873018ad05b07a6/src/tactic/split_ifs.lean

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link

bors bot commented Oct 30, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port split_ifs tactic [Merged by Bors] - feat: port split_ifs tactic Oct 30, 2022
@bors bors bot closed this Oct 30, 2022
@bors bors bot deleted the split-ifs-2 branch October 30, 2022 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review The author would like community review of the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants