Theorems about invertible elements #
An Invertible
element is a unit.
Equations
- unitOfInvertible a = { val := a, inv := ⅟a, val_inv := ⋯, inv_val := ⋯ }
Instances For
Units are invertible in their associated monoid.
Instances For
Convert IsUnit
to Invertible
using Classical.choice
.
Prefer casesI h.nonempty_invertible
over letI := h.invertible
if you want to avoid choice.
Equations
- h.invertible = Classical.choice ⋯
Instances For
This is the Invertible
version of Units.isUnit_units_mul
Equations
- invertibleOfInvertibleMul a b = { invOf := ⅟(a * b) * a, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
Instances For
This is the Invertible
version of Units.isUnit_mul_units
Equations
- invertibleOfMulInvertible a b = { invOf := b * ⅟(a * b), invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
Instances For
invertibleOfInvertibleMul
and invertibleMul
as an equivalence.
Equations
- x✝.mulLeft b = { toFun := fun (x : Invertible b) => invertibleMul a b, invFun := fun (x : Invertible (a * b)) => invertibleOfInvertibleMul a b, left_inv := ⋯, right_inv := ⋯ }
Instances For
invertibleOfMulInvertible
and invertibleMul
as an equivalence.
Equations
- Invertible.mulRight a x✝ = { toFun := fun (x : Invertible a) => invertibleMul a b, invFun := fun (x : Invertible (a * b)) => invertibleOfMulInvertible a b, left_inv := ⋯, right_inv := ⋯ }
Instances For
Equations
- invertiblePow m n = { invOf := ⅟m ^ n, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
If x ^ n = 1
then x
has an inverse, x^(n - 1)
.
Equations
- invertibleOfPowEqOne x n hx hn = (Units.ofPowEqOne x n hx hn).invertible
Instances For
Monoid homs preserve invertibility.
Equations
- Invertible.map f r = { invOf := f ⅟r, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
Instances For
Note that the Invertible (f r)
argument can be satisfied by using letI := Invertible.map f r
before applying this lemma.
If a function f : R → S
has a left-inverse that is a monoid hom,
then r : R
is invertible if f r
is.
The inverse is computed as g (⅟(f r))
Equations
- Invertible.ofLeftInverse f g r h = (Invertible.map g (f r)).copy r ⋯
Instances For
Invertibility on either side of a monoid hom with a left-inverse is equivalent.
Equations
- One or more equations did not get rendered due to their size.