[Merged by Bors] - chore: Remove nonterminal simp at#7795
[Merged by Bors] - chore: Remove nonterminal simp at#7795BoltonBailey wants to merge 34 commits intomasterfrom
simp at#7795Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Note: I have pushed an update to the lean toolchain because this PR was on a buggy version of the toolchain. WARNING: checking out old commits of this PR using v4.2.0-rc2 or v4.2.0-rc3 can cause |
There was a problem hiding this comment.
I'm not sure what the value of such a PR is. On one hand, you make the proofs less likely to break due to the addition of a lemma in the simp set. On the other hand, proofs now refer explicitly to more lemmas that are susceptible to change in ways that a fancy tactic call wouldn't have noticed.
…s://github.com/leanprover-community/mathlib4 into BoltonBailey/nonterminal-simp-at-removal-squad
I am sympathetic to this argument. However, I think most maintainers are on the side of "nonterminal simps are bad". I have gotten reviews before telling me to remove nonterminal simps. The point of this PR is to make way for #7496 so that reviewers hopefully don't have to do this as often. I will revert the things you suggest and also make the style PR more lax so that they don't conflict. |
simp at
|
Not sure what this error means. What I currently have is Annoyingly, my file builds this just fine in the IDE, but CI is saying it's broken. If I delete what's after the says Then the IDE gives the suggestion, but also the same error as CI. Is fine, but not what I am trying to do. |
…minal-simp-at-removal-squad
|
You should be able to reproduce the additional testing that I've improved the error message in CI in #9061. |
|
I merged master, and then looked at the first two errors: both were resolved by replacing the current RHS with what I'll hand it back over to you to look at the remainder? |
|
Thanks! bors merge |
|
Pull request successfully merged into master. Build succeeded: |
simp atsimp at
Removes nonterminal uses of
simp at. Replaces most of these with instances ofsimp? ... says.