[Merged by Bors] - chore: ofNat lemmas for Complex.normSq and abs#7975
[Merged by Bors] - chore: ofNat lemmas for Complex.normSq and abs#7975
Conversation
626ecf7 to
45f9120
Compare
eric-wieser
left a comment
There was a problem hiding this comment.
bors d+
Just the long line to fix.
|
✌️ timotree3 can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
Having `_ofNat` lemmas is important for confluence given that for both `normSq` and `abs`, the `_ofReal` lemma is `@[simp]` and so is `ofReal_ofNat`. We already have lemmas for 0 and 1 from the bundled classes for both functions, so I'm only adding lemmas for the `AtLeastTwo` case here.
|
Build failed (retrying...): |
Having `_ofNat` lemmas is important for confluence given that for both `normSq` and `abs`, the `_ofReal` lemma is `@[simp]` and so is `ofReal_ofNat`. We already have lemmas for 0 and 1 from the bundled classes for both functions, so I'm only adding lemmas for the `AtLeastTwo` case here.
|
Build failed (retrying...): |
|
bors r- bors d+ |
|
✌️ timotree3 can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Canceled. |
|
bors r+ Sorry for causing bors to repeatedly retry. I thought it was safe to |
Having `_ofNat` lemmas is important for confluence given that for both `normSq` and `abs`, the `_ofReal` lemma is `@[simp]` and so is `ofReal_ofNat`. We already have lemmas for 0 and 1 from the bundled classes for both functions, so I'm only adding lemmas for the `AtLeastTwo` case here.
|
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. |
Having `_ofNat` lemmas is important for confluence given that for both `normSq` and `abs`, the `_ofReal` lemma is `@[simp]` and so is `ofReal_ofNat`. We already have lemmas for 0 and 1 from the bundled classes for both functions, so I'm only adding lemmas for the `AtLeastTwo` case here.
Having
_ofNatlemmas is important for confluence given that for bothnormSqandabs, the_ofReallemma is@[simp]and so isofReal_ofNat. We already have lemmas for 0 and 1 from the bundled classes for both functions, so I'm only adding lemmas for theAtLeastTwocase here.