Metamath Proof Explorer


Theorem lagsubg2

Description: Lagrange's theorem for finite groups. Call the "order" of a group the cardinal number of the basic set of the group, and "index of a subgroup" the cardinal number of the set of left (or right, this is the same) cosets of this subgroup. Then the order of the group is the (cardinal) product of the order of any of its subgroups by the index of this subgroup. (Contributed by Mario Carneiro, 11-Jul-2014) (Revised by Mario Carneiro, 12-Aug-2015)

Ref Expression
Hypotheses lagsubg.1 X = Base G
lagsubg.2 ˙ = G ~ QG Y
lagsubg.3 φ Y SubGrp G
lagsubg.4 φ X Fin
Assertion lagsubg2 φ X = X / ˙ Y

Proof

Step Hyp Ref Expression
1 lagsubg.1 X = Base G
2 lagsubg.2 ˙ = G ~ QG Y
3 lagsubg.3 φ Y SubGrp G
4 lagsubg.4 φ X Fin
5 1 2 eqger Y SubGrp G ˙ Er X
6 3 5 syl φ ˙ Er X
7 6 4 qshash φ X = x X / ˙ x
8 1 2 eqgen Y SubGrp G x X / ˙ Y x
9 3 8 sylan φ x X / ˙ Y x
10 1 subgss Y SubGrp G Y X
11 3 10 syl φ Y X
12 4 11 ssfid φ Y Fin
13 12 adantr φ x X / ˙ Y Fin
14 4 adantr φ x X / ˙ X Fin
15 6 qsss φ X / ˙ 𝒫 X
16 15 sselda φ x X / ˙ x 𝒫 X
17 16 elpwid φ x X / ˙ x X
18 14 17 ssfid φ x X / ˙ x Fin
19 hashen Y Fin x Fin Y = x Y x
20 13 18 19 syl2anc φ x X / ˙ Y = x Y x
21 9 20 mpbird φ x X / ˙ Y = x
22 21 sumeq2dv φ x X / ˙ Y = x X / ˙ x
23 pwfi X Fin 𝒫 X Fin
24 4 23 sylib φ 𝒫 X Fin
25 24 15 ssfid φ X / ˙ Fin
26 hashcl Y Fin Y 0
27 12 26 syl φ Y 0
28 27 nn0cnd φ Y
29 fsumconst X / ˙ Fin Y x X / ˙ Y = X / ˙ Y
30 25 28 29 syl2anc φ x X / ˙ Y = X / ˙ Y
31 7 22 30 3eqtr2d φ X = X / ˙ Y