-
Notifications
You must be signed in to change notification settings - Fork 373
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] - chore: bump to nightly-2023-08-17 #6019
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked through all the files, basically everything is just removing superfluous simp
-calls, except one deletion marked below.
In my optinion any_goals simp
would be better than _ <;> (try simp)
or all_goals (try simp)
and it's a bit a shame that <;> simp
does not work like any_goals simp
.
One thing I did not check is if this PR really modifies all tactics that rely on simp
making no progress.
9a539d8
to
6b5c3f9
Compare
@@ -295,7 +295,8 @@ syntax (name := whisker_simps) "whisker_simps" : tactic | |||
elab_rules : tactic | |||
| `(tactic| whisker_simps) => do | |||
evalTactic (← `(tactic| | |||
simp only [Category.assoc, Bicategory.comp_whiskerLeft, Bicategory.id_whiskerLeft, | |||
simp (config := {failIfUnchanged := false}) only [Category.assoc, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an explanation of why failIfUnchanged
is helpful here? Should whisker_simps
take it's own config
argument to allow the caller to customize this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It hadn't even occurred to me this counted as a user facing tactic. Mostly it is just used as a component in coherence
. But sure, I'll give it a simp
configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
The major change here is adapting to `simp` failing if it makes no progress. The vast majority of the redundant `simp`s found due to this change were extracted to #6632. Co-authored-by: Scott Morrison <[email protected]> Co-authored-by: Eric Wieser <[email protected]>
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
The major change here is adapting to
simp
failing if it makes no progress.The vast majority of the redundant
simp
s found due to this change were extracted to #6632.