Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: reduce use of Init.Data.Int.CompLemmas (#7142)
`Mathlib.Init.Data.Int.CompLemmas` was ported from core, and was never really intended for outside use. Nevertheless, people started using it. (Surprise!) This PR removes one out of the two uses in Mathlib. If anyone would like to do the other in a separate PR, please do! You would need to reprove ``` theorem natAbs_add_nonneg {a b : ℤ} (wa : 0 ≤ a) (wb : 0 ≤ b) : Int.natAbs (a + b) = Int.natAbs a + Int.natAbs b := sorry theorem natAbs_add_neg {a b : ℤ} (wa : a < 0) (wb : b < 0) : Int.natAbs (a + b) = Int.natAbs a + Int.natAbs b := sorry ``` Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
- Loading branch information