[Merged by Bors] - chore: remove some adaptation notes#24492
[Merged by Bors] - chore: remove some adaptation notes#24492Parcly-Taxel wants to merge 8 commits intomasterfrom
Conversation
PR summary 04a76d4aa0Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for Decrease in tech debt: (relative, absolute) = (4.00, 0.03)
Current commit 04a76d4aa0 You can run this locally as
|
grunweg
left a comment
There was a problem hiding this comment.
I gave this a look: half the changes are immediately good, for the others I have a few questions. Perhaps you can convince me that they're also useful.
Mathlib/Algebra/Homology/Single.lean
Outdated
| The following is horrible. -/ | ||
| convert (id_zero (C := V)).symm | ||
| all_goals simp [if_neg h] | ||
| · change OfNat.ofNat 0 = _; dsimp only [id_eq]; rw [if_neg h, id_zero] |
There was a problem hiding this comment.
I'm not so sure about the change; otherwise, I like this one.
There was a problem hiding this comment.
This was the best thing I could find.
There was a problem hiding this comment.
The issue here is that dsimp does not simplify number literals, otherwise this could be done much more nicely.
There was a problem hiding this comment.
I made a thread about it #lean4 > dsimp doesn't visit numerals
There was a problem hiding this comment.
And three weeks later, nothing happened on zulip. I don't think we should paper over that core issue; at the very least, there should be a comment about the core issue (and perhaps a Lean issue filed).
There was a problem hiding this comment.
Thanks! Let's land this PR now, and clean this up when the Lean change lands in mathlib.
|
This pull request has conflicts, please merge |
grunweg
left a comment
There was a problem hiding this comment.
I took another look. For two items, I'd like a second opinion. @jcommelin perhaps?
Mathlib/Algebra/Homology/Single.lean
Outdated
| The following is horrible. -/ | ||
| convert (id_zero (C := V)).symm | ||
| all_goals simp [if_neg h] | ||
| · change OfNat.ofNat 0 = _; dsimp only [id_eq]; rw [if_neg h, id_zero] |
There was a problem hiding this comment.
And three weeks later, nothing happened on zulip. I don't think we should paper over that core issue; at the very least, there should be a comment about the core issue (and perhaps a Lean issue filed).
|
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by grunweg. |
|
Pull request successfully merged into master. Build succeeded: |
No description provided.