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.
Equations
- Units.invertible u = { invOf := ↑u⁻¹, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
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
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
- One or more equations did not get rendered due to their size.
Instances For
invertibleOfMulInvertible
and invertibleMul
as an equivalence.
Equations
- One or more equations did not get rendered due to their size.
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.invertible (Units.ofPowEqOne x n hx hn)
Instances For
A variant of Ring.inverse_unit
.
b / a
is the inverse of a / b
Equations
- invertibleDiv a b = { invOf := b / a, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
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.copy (Invertible.map g (f r)) 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.