Zulip Chat Archive
Stream: Is there code for X?
Topic: index of subgroup
Thomas Browning (Sep 01 2021 at 04:19):
Does mathlib know this:
import group_theory.quotient_group
lemma quotient_group.card_dvd_of_le {G : Type*} [group G] {H K : subgroup G} (h : H ≤ K)
[fintype (quotient_group.quotient H)] [fintype (quotient_group.quotient K)] :
fintype.card (quotient_group.quotient K) ∣ fintype.card (quotient_group.quotient H) :=
begin
sorry,
end
Johan Commelin (Sep 01 2021 at 04:56):
I'm not aware of it. Relatedly, should we define subgroup.index
just to make talking about indices less verbose?
I imagine something like
def subgroup.index (G : Type*) [group G] (H : subgroup G) : nat :=
if nonempty (fintype (quotient_group.quotient H)) then ... else 0
But there might be a smoother definition
Thomas Browning (Sep 01 2021 at 05:16):
Oh, making it 0 for infinite is a nice touch. Then you can get rid of the fintype assumption on the lemma.
Thomas Browning (Sep 01 2021 at 06:37):
Trying to resist the urge to call it subgroup.findex
Mario Carneiro (Sep 01 2021 at 06:38):
what's wrong with just subgroup.index
like in Johan's comment?
Thomas Browning (Sep 01 2021 at 06:39):
It's fine, but we have findim
and finrank
for this sort of "0 if infinite" thing
Mario Carneiro (Sep 01 2021 at 06:40):
those seem more likely to be useful when infinite though - I haven't heard of using cardinals for subgroup indexes before
Thomas Browning (Sep 01 2021 at 06:42):
That's true. We probably wouldn't want to have a separate cardinal-valued subgroup.index
Last updated: Dec 20 2023 at 11:08 UTC