Subgroups #
This file defines multiplicative and additive subgroups as an extension of submonoids, in a bundled
form (unbundled subgroups are in Deprecated/Subgroups.lean
).
We prove subgroups of a group form a complete lattice, and results about images and preimages of subgroups under group homomorphisms. The bundled subgroups use bundled monoid homomorphisms.
There are also theorems about the subgroups generated by an element or a subset of a group, defined both inductively and as the infimum of the set of subgroups containing a given element/subset.
Special thanks goes to Amelia Livingston and Yury Kudryashov for their help and inspiration.
Main definitions #
Notation used here:
-
G N
areGroup
s -
A
is anAddGroup
-
H K
areSubgroup
s ofG
orAddSubgroup
s ofA
-
x
is an element of typeG
or typeA
-
f g : N →* G
are group homomorphisms -
s k
are sets of elements of typeG
Definitions in the file:
-
Subgroup G
: the type of subgroups of a groupG
-
AddSubgroup A
: the type of subgroups of an additive groupA
-
CompleteLattice (Subgroup G)
: the subgroups ofG
form a complete lattice -
Subgroup.closure k
: the minimal subgroup that includes the setk
-
Subgroup.subtype
: the natural group homomorphism from a subgroup of groupG
toG
-
Subgroup.gi
:closure
forms a Galois insertion with the coercion to set -
Subgroup.comap H f
: the preimage of a subgroupH
along the group homomorphismf
is also a subgroup -
Subgroup.map f H
: the image of a subgroupH
along the group homomorphismf
is also a subgroup -
Subgroup.prod H K
: the product of subgroupsH
,K
of groupsG
,N
respectively,H × K
is a subgroup ofG × N
-
MonoidHom.range f
: the range of the group homomorphismf
is a subgroup -
MonoidHom.ker f
: the kernel of a group homomorphismf
is the subgroup of elementsx : G
such thatf x = 1
-
MonoidHom.eq_locus f g
: given group homomorphismsf
,g
, the elements ofG
such thatf x = g x
form a subgroup ofG
Implementation notes #
Subgroup inclusion is denoted ≤
rather than ⊆
, although ∈
is defined as
membership of a subgroup's underlying set.
Tags #
subgroup, subgroups
SubgroupClass S G
states S
is a type of subsets s ⊆ G
that are subgroups of G
.
Instances
AddSubgroupClass S G
states S
is a type of subsets s ⊆ G
that are
additive subgroups of G
.
Instances
Instances For
An additive subgroup of an AddGroup
inherits an inverse.
A subgroup of a group inherits an inverse.
An additive subgroup of an AddGroup
inherits a subtraction.
A subgroup of a group inherits a division
An additive subgroup of an AddGroup
inherits an integer scaling.
A subgroup of a group inherits an integer power.
A subgroup of a group inherits a group structure.
An additive subgroup of an AddCommGroup
is an AddCommGroup
.
An additive subgroup of an AddOrderedCommGroup
is an AddOrderedCommGroup
.
A subgroup of an OrderedCommGroup
is an OrderedCommGroup
.
An additive subgroup of a LinearOrderedAddCommGroup
is a
LinearOrderedAddCommGroup
.
A subgroup of a LinearOrderedCommGroup
is a LinearOrderedCommGroup
.
The natural group hom from an additive subgroup of AddGroup
G
to G
.
Instances For
The natural group hom from a subgroup of group G
to G
.
Instances For
A subgroup of a group G
is a subset containing 1, closed under multiplication
and closed under multiplicative inverse.
Instances For
An additive subgroup of an additive group G
is a subset containing 0, closed
under addition and additive inverse.
Instances For
Conversion to/from Additive
/Multiplicative
#
Subgroups of a group G
are isomorphic to additive subgroups of Additive G
.
Instances For
Additive subgroup of an additive group Additive G
are isomorphic to subgroup of G
.
Instances For
Additive subgroups of an additive group A
are isomorphic to subgroups of Multiplicative A
.
Instances For
Subgroups of an additive group Multiplicative A
are isomorphic to additive subgroups of A
.
Instances For
Copy of an additive subgroup with a new carrier
equal to the old one.
Useful to fix definitional equalities
Instances For
Two AddSubgroup
s are equal if they have the same elements.
An AddSubgroup
contains the group's 0.
An AddSubgroup
is closed under addition.
An AddSubgroup
is closed under inverse.
An AddSubgroup
is closed under subtraction.
Construct a subgroup from a nonempty set that is closed under subtraction
Instances For
Instances For
An AddSubgroup
of an AddGroup
inherits an addition.
An AddSubgroup
of an AddGroup
inherits a zero.
An AddSubgroup
of an AddGroup
inherits an inverse.
An AddSubgroup
of an AddGroup
inherits a subtraction.
An AddSubgroup
of an AddGroup
inherits a natural scaling.
An AddSubgroup
of an AddGroup
inherits an integer scaling.
An AddSubgroup
of an AddGroup
inherits an AddGroup
structure.
An AddSubgroup
of an AddCommGroup
is an AddCommGroup
.
An AddSubgroup
of an AddOrderedCommGroup
is an AddOrderedCommGroup
.
A subgroup of an OrderedCommGroup
is an OrderedCommGroup
.
An AddSubgroup
of a LinearOrderedAddCommGroup
is a
LinearOrderedAddCommGroup
.
A subgroup of a LinearOrderedCommGroup
is a LinearOrderedCommGroup
.
The natural group hom from an AddSubgroup
of AddGroup
G
to G
.
Instances For
The inclusion homomorphism from an additive subgroup H
contained in K
to K
.
Instances For
The AddSubgroup G
of the AddGroup G
.
The top additive subgroup is isomorphic to the additive group.
This is the additive group version of AddSubmonoid.topEquiv
.
Instances For
The top subgroup is isomorphic to the group.
This is the group version of Submonoid.topEquiv
.
Instances For
The trivial AddSubgroup
{0}
of an AddGroup
G
.
Instances For
A subgroup is either the trivial subgroup or nontrivial.
A subgroup is either the trivial subgroup or nontrivial.
The inf of two AddSubgroup
s is their intersection.
Instances For
The AddSubgroup
s of an AddGroup
form a complete lattice.
Subgroups of a group form a complete lattice.
The AddSubgroup
generated by a set
Instances For
The AddSubgroup
generated by a set includes the set.
The subgroup generated by a set includes the set.
An additive subgroup K
includes closure k
if and only if it includes k
An induction principle for additive closure membership. If p
holds for 0
and all elements of k
, and is preserved under addition and inverses, then p
holds for all elements of the additive closure of k
.
An induction principle for closure membership. If p
holds for 1
and all elements of k
, and
is preserved under multiplication and inverse, then p
holds for all elements of the closure
of k
.
A dependent version of AddSubgroup.closure_induction
.
Instances For
A dependent version of Subgroup.closure_induction
.
An induction principle for additive closure membership, for predicates with two arguments.
An induction principle for closure membership for predicates with two arguments.
If all the elements of a set s
commute, then closure s
is an additive
commutative group.
Instances For
closure
forms a Galois insertion with the coercion to set.
Instances For
closure
forms a Galois insertion with the coercion to set.
Instances For
Additive closure of an additive subgroup K
equals K