Skip to content

Commit

Permalink
feat(group_theory/index): card_mul_index (#10228)
Browse files Browse the repository at this point in the history
Proves `nat.card H * H.index = nat.card G` as the special case of `K.relindex H * H.index = K.index` when `K = ⊥`.
 


Co-authored-by: tb65536 <tb65536@users.noreply.github.com>
  • Loading branch information
tb65536 and tb65536 committed Nov 10, 2021
1 parent 2b57ee7 commit eadd440
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/group_theory/index.lean
Expand Up @@ -147,6 +147,10 @@ by rw [relindex, subgroup_of_bot_eq_top, index_top]
@[simp, to_additive] lemma relindex_self : H.relindex H = 1 :=
by rw [relindex, subgroup_of_self, index_top]

@[simp, to_additive card_mul_index]
lemma card_mul_index : nat.card H * H.index = nat.card G :=
by { rw [←relindex_bot_left, ←index_bot], exact relindex_mul_index bot_le }

@[to_additive] lemma index_eq_card [fintype (quotient_group.quotient H)] :
H.index = fintype.card (quotient_group.quotient H) :=
nat.card_eq_fintype_card
Expand Down

0 comments on commit eadd440

Please sign in to comment.