Theorems about invertible elements in a GroupWithZero #
We intentionally keep imports minimal here as this file is used by Mathlib/Tactic/NormNum.lean.
theorem
Invertible.ne_zero
{α : Type u}
[MulZeroOneClass α]
(a : α)
[Nontrivial α]
[Invertible a]
:
a ≠ 0
@[instance 100]
instance
Invertible.toNeZero
{α : Type u}
[MulZeroOneClass α]
[Nontrivial α]
(a : α)
[Invertible a]
:
NeZero a
@[simp]
A variant of Ring.inverse_unit.
@[implicit_reducible]
a⁻¹ is an inverse of a if a ≠ 0
Instances For
@[simp]
@[simp]
theorem
inv_mul_cancel_of_invertible
{α : Type u}
[GroupWithZero α]
(a : α)
[Invertible a]
:
a⁻¹ * a = 1
@[simp]
theorem
mul_inv_cancel_of_invertible
{α : Type u}
[GroupWithZero α]
(a : α)
[Invertible a]
:
a * a⁻¹ = 1
@[implicit_reducible]
a is the inverse of a⁻¹
@[simp]
theorem
div_mul_cancel_of_invertible
{α : Type u}
[GroupWithZero α]
(a b : α)
[Invertible b]
:
a / b * b = a
@[simp]
theorem
mul_div_cancel_of_invertible
{α : Type u}
[GroupWithZero α]
(a b : α)
[Invertible b]
:
a * b / b = a
@[simp]
@[implicit_reducible]
def
invertibleDiv
{α : Type u}
[GroupWithZero α]
(a b : α)
[Invertible a]
[Invertible b]
:
Invertible (a / b)
b / a is the inverse of a / b
Instances For
theorem
invOf_div
{α : Type u}
[GroupWithZero α]
(a b : α)
[Invertible a]
[Invertible b]
[Invertible (a / b)]
:
⅟(a / b) = b / a