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.Lemmas
.
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 #
Multiplication by a natural n
on a commutative additive
monoid, considered as a morphism of additive monoids.
Equations
Instances For
The n
th power map on a commutative monoid for a natural n
, considered as a morphism of
monoids.
Equations
Instances For
Equations
- neg_nsmul.match_1 motive x h_1 h_2 = Nat.casesOn x (h_1 ()) fun n => h_2 n
Instances For
Equations
- zsmul_zero.match_1 motive x h_1 h_2 = Int.casesOn x (fun a => h_1 a) fun a => h_2 a
Instances For
Equations
- neg_zsmul.match_1 motive x h_1 h_2 h_3 = Int.casesOn x (fun a => Nat.casesOn a (h_2 ()) fun n => h_1 n) fun a => h_3 a
Instances For
Multiplication by an integer n
on a commutative additive group, considered as an
additive group homomorphism.
Equations
Instances For
The n
-th power map (for an integer n
) on a commutative group, considered as a group
homomorphism.