Commit fff759c
committed
refactor(NumberTheory): golf
- simplifies the `a = 1` case in `eq_pow_of_nonneg` by using `eq_one_or_neg_one_iff_y_eq_zero` instead of a manual contradiction argument
Extracted from leanprover-community#38144
[](https://gitpod.io/from-referrer/)Mathlib/NumberTheory/Pell (leanprover-community#39378)1 parent f50a2d4 commit fff759c
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
606 | 600 | | |
607 | 601 | | |
608 | 602 | | |
| |||
0 commit comments