Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(group_theory/index): define the index of a subgroup (#8971)
Defines `subgroup.index` and proves various divisibility properties. Co-authored-by: tb65536 <tb65536@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
113 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/- | ||
Copyright (c) 2021 Thomas Browning. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Thomas Browning | ||
-/ | ||
|
||
import group_theory.coset | ||
import set_theory.cardinal | ||
|
||
/-! | ||
# Index of a Subgroup | ||
In this file we define the index of a subgroup, and prove several divisibility properties. | ||
## Main definitions | ||
- `H.index` : the index of `H : subgroup G` as a natural number, | ||
and returns 0 if the index is infinite. | ||
# Main results | ||
- `index_mul_card` : `H.index * fintype.card H = fintype.card G` | ||
- `index_dvd_card` : `H.index ∣ fintype.card G` | ||
- `index_eq_mul_of_le` : If `H ≤ K`, then `H.index = K.index * (H.subgroup_of K).index` | ||
- `index_dvd_of_le` : If `H ≤ K`, then `K.index ∣ H.index` | ||
-/ | ||
|
||
namespace subgroup | ||
|
||
variables {G : Type*} [group G] (H : subgroup G) | ||
|
||
/-- The index of a subgroup as a natural number, and returns 0 if the index is infinite. -/ | ||
@[to_additive "The index of a subgroup as a natural number, | ||
and returns 0 if the index is infinite."] | ||
noncomputable def index : ℕ := | ||
(cardinal.mk (quotient_group.quotient H)).to_nat | ||
|
||
@[to_additive] lemma index_eq_card [fintype (quotient_group.quotient H)] : | ||
H.index = fintype.card (quotient_group.quotient H) := | ||
cardinal.mk_to_nat_eq_card | ||
|
||
@[to_additive] lemma index_mul_card [fintype G] [hH : fintype H] : | ||
H.index * fintype.card H = fintype.card G := | ||
begin | ||
classical, | ||
rw H.index_eq_card, | ||
apply H.card_eq_card_quotient_mul_card_subgroup.symm, | ||
end | ||
|
||
@[to_additive] lemma index_dvd_card [fintype G] : H.index ∣ fintype.card G := | ||
begin | ||
classical, | ||
exact ⟨fintype.card H, H.index_mul_card.symm⟩, | ||
end | ||
|
||
variables {H} {K : subgroup G} | ||
|
||
@[to_additive] lemma index_eq_mul_of_le (h : H ≤ K) : | ||
H.index = K.index * (H.subgroup_of K).index := | ||
(congr_arg cardinal.to_nat (by exact cardinal.eq_congr (quotient_equiv_prod_of_le h))).trans | ||
(cardinal.to_nat_mul _ _) | ||
|
||
@[to_additive] lemma index_dvd_of_le (h : H ≤ K) : K.index ∣ H.index := | ||
⟨(H.subgroup_of K).index, index_eq_mul_of_le h⟩ | ||
|
||
end subgroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters