refactor(library/algebra/group): remove unnecessary symm
This commit is contained in:
parent
b6750e9d29
commit
abc64fbab8
2 changed files with 2 additions and 2 deletions
|
@ -427,7 +427,7 @@ section add_group
|
|||
|
||||
theorem minus_zero (a : A) : a - 0 = a := (neg_zero⁻¹) ▹ !add_right_id
|
||||
|
||||
theorem minus_neg_eq_add (a b : A) : a - (-b) = a + b := !neg_neg⁻¹ ▹ idp
|
||||
theorem minus_neg_eq_add (a b : A) : a - (-b) = a + b := !neg_neg ▹ idp
|
||||
|
||||
theorem neg_minus_eq (a b : A) : -(a - b) = b - a :=
|
||||
neg_unique
|
||||
|
|
|
@ -424,7 +424,7 @@ section add_group
|
|||
|
||||
theorem sub_zero (a : A) : a - 0 = a := subst (eq.symm neg_zero) !add_zero
|
||||
|
||||
theorem sub_neg_eq_add (a b : A) : a - (-b) = a + b := !neg_neg⁻¹ ▸ rfl
|
||||
theorem sub_neg_eq_add (a b : A) : a - (-b) = a + b := !neg_neg ▸ rfl
|
||||
|
||||
theorem neg_sub (a b : A) : -(a - b) = b - a :=
|
||||
neg_eq_of_add_eq_zero
|
||||
|
|
Loading…
Reference in a new issue