Theorems about invertible elements in rings #
def
invertibleNeg
{α : Type u}
[Mul α]
[One α]
[HasDistribNeg α]
(a : α)
[Invertible a]
:
Invertible (-a)
-⅟a
is the inverse of -a
Equations
- invertibleNeg a = { invOf := -⅟a, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
Instances For
@[simp]
theorem
invOf_neg
{α : Type u}
[Monoid α]
[HasDistribNeg α]
(a : α)
[Invertible a]
[Invertible (-a)]
:
@[simp]
theorem
pos_of_invertible_cast
{α : Type u}
[Semiring α]
[Nontrivial α]
(n : ℕ)
[Invertible ↑n]
:
0 < n
A version of inv_sub_inv'
for invOf
.
theorem
Ring.inverse_add_inverse
{α : Type u}
[Semiring α]
{a : α}
{b : α}
(h : IsUnit a ↔ IsUnit b)
:
Ring.inverse a + Ring.inverse b = Ring.inverse a * (a + b) * Ring.inverse b
A version of inv_add_inv'
for Ring.inverse
.
theorem
Ring.inverse_sub_inverse
{α : Type u}
[Ring α]
{a : α}
{b : α}
(h : IsUnit a ↔ IsUnit b)
:
Ring.inverse a - Ring.inverse b = Ring.inverse a * (b - a) * Ring.inverse b
A version of inv_sub_inv'
for Ring.inverse
.