Power operations on monoids and groups #
The power operation on monoids and groups.
We separate this from group, because it depends on ℕ
,
which in turn depends on other parts of algebra.
This module contains lemmas about a ^ n
and n • a
, where n : ℕ
or n : ℤ
.
Further lemmas can be found in Algebra.GroupPower.Ring
.
The analogous results for groups with zero can be found in Algebra.GroupWithZero.Power
.
Notation #
a ^ n
is used as notation forPow.pow a n
; in this filen : ℕ
orn : ℤ
.n • a
is used as notation forSMul.smul n a
; in this filen : ℕ
orn : ℤ
.
Implementation details #
We adopt the convention that 0^0 = 1
.
Commutativity #
First we prove some facts about SemiconjBy
and Commute
. They do not require any theory about
pow
and/or nsmul
and will be useful later in this file.
Monoids #
Commutative (additive) monoid #
Equations
- (_ : motive x) = (_ : motive x)
Instances For
Equations
- (_ : motive x✝ x) = (_ : motive x✝ x)
Instances For
Equations
- (_ : motive x) = (_ : motive x)
Instances For
To show a property of all multiples of g
it suffices to show it is closed under
addition by g
and -g
on the left. For additive subgroups generated by more than one element, see
AddSubgroup.closure_induction_left
.
To show a property of all powers of g
it suffices to show it is closed under multiplication
by g
and g⁻¹
on the left. For subgroups generated by more than one element, see
Subgroup.closure_induction_left
.
To show a property of all multiples of g
it suffices to show it is closed under
addition by g
and -g
on the right. For additive subgroups generated by more than one element,
see AddSubgroup.closure_induction_right
.
To show a property of all powers of g
it suffices to show it is closed under multiplication
by g
and g⁻¹
on the right. For subgroups generated by more than one element, see
Subgroup.closure_induction_right
.