Power operations on monoids with zero, semirings, and rings #
This file provides additional lemmas about the natural power operator on rings and semirings.
Further lemmas about ordered semirings and rings can be found in Algebra.GroupPower.Order
.
theorem
Ring.inverse_pow
{M : Type u_3}
[MonoidWithZero M]
(r : M)
(n : ℕ)
:
Ring.inverse r ^ n = Ring.inverse (r ^ n)
We define x ↦ x^n
(for positive n : ℕ
) as a MonoidWithZeroHom
Equations
- powMonoidWithZeroHom hn = let __src := powMonoidHom n; { toZeroHom := { toFun := __src.toFun, map_zero' := ⋯ }, map_one' := ⋯, map_mul' := ⋯ }
Instances For
@[simp]
theorem
coe_powMonoidWithZeroHom
{M : Type u_3}
[CommMonoidWithZero M]
{n : ℕ}
(hn : n ≠ 0)
:
⇑(powMonoidWithZeroHom hn) = fun (x : M) => x ^ n
@[simp]
theorem
powMonoidWithZeroHom_apply
{M : Type u_3}
[CommMonoidWithZero M]
{n : ℕ}
(hn : n ≠ 0)
(a : M)
:
(powMonoidWithZeroHom hn) a = a ^ n
Alias of neg_sq
.
Alias of neg_one_sq
.
@[simp]