MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cyggexb Structured version   Visualization version   GIF version

Theorem cyggexb 20175
Description: A finite abelian group is cyclic iff the exponent equals the order of the group. (Contributed by Mario Carneiro, 21-Apr-2016.)
Hypotheses
Ref Expression
cygctb.1 𝐵 = (Base‘𝐺)
cyggex.o 𝐸 = (gEx‘𝐺)
Assertion
Ref Expression
cyggexb ((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) → (𝐺 ∈ CycGrp ↔ 𝐸 = (♯‘𝐵)))

Proof of Theorem cyggexb
Dummy variables 𝑛 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cygctb.1 . . . . 5 𝐵 = (Base‘𝐺)
2 cyggex.o . . . . 5 𝐸 = (gEx‘𝐺)
31, 2cyggex 20174 . . . 4 ((𝐺 ∈ CycGrp ∧ 𝐵 ∈ Fin) → 𝐸 = (♯‘𝐵))
43expcom 419 . . 3 (𝐵 ∈ Fin → (𝐺 ∈ CycGrp → 𝐸 = (♯‘𝐵)))
54adantl 487 . 2 ((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) → (𝐺 ∈ CycGrp → 𝐸 = (♯‘𝐵)))
6 simpll 779 . . . . 5 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐺 ∈ Abel)
7 ablgrp 20061 . . . . . . 7 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
87ad2antrr 739 . . . . . 6 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐺 ∈ Grp)
9 simplr 781 . . . . . 6 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐵 ∈ Fin)
101, 2gexcl2 19865 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝐵 ∈ Fin) → 𝐸 ∈ ℕ)
118, 9, 10syl2anc 596 . . . . 5 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐸 ∈ ℕ)
12 eqid 2769 . . . . . 6 (od‘𝐺) = (od‘𝐺)
131, 2, 12gexex 20129 . . . . 5 ((𝐺 ∈ Abel ∧ 𝐸 ∈ ℕ) → ∃𝑥 ∈ 𝐵 ((od‘𝐺)‘𝑥) = 𝐸)
146, 11, 13syl2anc 596 . . . 4 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → ∃𝑥 ∈ 𝐵 ((od‘𝐺)‘𝑥) = 𝐸)
15 simplr 781 . . . . . . 7 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥 ∈ 𝐵) → 𝐸 = (♯‘𝐵))
1615eqeq2d 2780 . . . . . 6 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥 ∈ 𝐵) → (((od‘𝐺)‘𝑥) = 𝐸 ↔ ((od‘𝐺)‘𝑥) = (♯‘𝐵)))
17 eqid 2769 . . . . . . . . . 10 (.g‘𝐺) = (.g‘𝐺)
18 eqid 2769 . . . . . . . . . 10 {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} = {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵}
191, 17, 18, 12cyggenod 20160 . . . . . . . . 9 ((𝐺 ∈ Grp ∧ 𝐵 ∈ Fin) → (𝑥 ∈ {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} ↔ (𝑥 ∈ 𝐵 ∧ ((od‘𝐺)‘𝑥) = (♯‘𝐵))))
208, 9, 19syl2anc 596 . . . . . . . 8 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (𝑥 ∈ {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} ↔ (𝑥 ∈ 𝐵 ∧ ((od‘𝐺)‘𝑥) = (♯‘𝐵))))
21 ne0i 4292 . . . . . . . . 9 (𝑥 ∈ {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} → {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} ≠ ∅)
221, 17, 18iscyg2 20158 . . . . . . . . . . 11 (𝐺 ∈ CycGrp ↔ (𝐺 ∈ Grp ∧ {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} ≠ ∅))
2322baib 545 . . . . . . . . . 10 (𝐺 ∈ Grp → (𝐺 ∈ CycGrp ↔ {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} ≠ ∅))
248, 23syl 18 . . . . . . . . 9 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (𝐺 ∈ CycGrp ↔ {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} ≠ ∅))
2521, 24imbitrrid 249 . . . . . . . 8 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (𝑥 ∈ {𝑦 ∈ 𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g‘𝐺)𝑦)) = 𝐵} → 𝐺 ∈ CycGrp))
2620, 25sylbird 263 . . . . . . 7 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → ((𝑥 ∈ 𝐵 ∧ ((od‘𝐺)‘𝑥) = (♯‘𝐵)) → 𝐺 ∈ CycGrp))
2726expdimp 458 . . . . . 6 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥 ∈ 𝐵) → (((od‘𝐺)‘𝑥) = (♯‘𝐵) → 𝐺 ∈ CycGrp))
2816, 27sylbid 243 . . . . 5 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥 ∈ 𝐵) → (((od‘𝐺)‘𝑥) = 𝐸 → 𝐺 ∈ CycGrp))
2928rexlimdva 3173 . . . 4 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (∃𝑥 ∈ 𝐵 ((od‘𝐺)‘𝑥) = 𝐸 → 𝐺 ∈ CycGrp))
3014, 29mpd 16 . . 3 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐺 ∈ CycGrp)
3130ex 418 . 2 ((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) → (𝐸 = (♯‘𝐵) → 𝐺 ∈ CycGrp))
325, 31impbid 215 1 ((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) → (𝐺 ∈ CycGrp ↔ 𝐸 = (♯‘𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2151   ≠ wne 2965  ∃wrex 3096  {crab 3418  ∅c0 4283   ↦ cmpt 5195  ran crn 5662  ‘cfv 6570  (class class class)co 7455  Fincfn 9015  ℕcn 12379  ℤcz 12737  ♯chash 14519  Basecbs 17438  Grpcgrp 19205  .gcmg 19338  odcod 19800  gExcgex 19801  Abelcabl 20057  CycGrpccyg 20153
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787  ax-inf2 9683  ax-cnex 11299  ax-resscn 11300  ax-1cn 11301  ax-icn 11302  ax-addcl 11303  ax-addrcl 11304  ax-mulcl 11305  ax-mulrcl 11306  ax-mulcom 11307  ax-addass 11308  ax-mulass 11309  ax-distr 11310  ax-i2m1 11311  ax-1ne0 11312  ax-1rid 11313  ax-rnegex 11314  ax-rrecex 11315  ax-cnre 11316  ax-pre-lttri 11317  ax-pre-lttrn 11318  ax-pre-ltadd 11319  ax-pre-mulgt0 11320  ax-pre-sup 11321
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-int 4916  df-iun 4961  df-disj 5079  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-se 5615  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6334  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-isom 6579  df-riota 7412  df-ov 7458  df-oprab 7459  df-mpo 7460  df-om 7916  df-1st 8039  df-2nd 8040  df-frecs 8341  df-wrecs 8372  df-recs 8421  df-rdg 8460  df-1o 8518  df-2o 8519  df-oadd 8522  df-omul 8523  df-er 8759  df-ec 8761  df-qs 8765  df-map 8891  df-en 9016  df-dom 9017  df-sdom 9018  df-fin 9019  df-sup 9475  df-inf 9476  df-oi 9545  df-card 10061  df-acn 10064  df-pnf 11388  df-mnf 11389  df-xr 11390  df-ltxr 11391  df-le 11392  df-sub 11586  df-neg 11587  df-div 12018  df-nn 12380  df-2 12449  df-3 12450  df-n0 12651  df-z 12738  df-uz 13010  df-q 13120  df-rp 13165  df-fz 13684  df-fzo 13833  df-fl 13976  df-mod 14054  df-seq 14189  df-exp 14249  df-fac 14463  df-hash 14520  df-cj 15313  df-re 15314  df-im 15315  df-sqrt 15449  df-abs 15450  df-clim 15703  df-sum 15902  df-dvds 16470  df-gcd 16712  df-prm 16895  df-pc 17066  df-sets 17393  df-slot 17411  df-ndx 17423  df-base 17439  df-ress 17460  df-plusg 17493  df-0g 17673  df-mgm 18877  df-sgrp 18969  df-mnd 18985  df-grp 19208  df-minusg 19209  df-sbg 19210  df-mulg 19339  df-subg 19394  df-eqg 19396  df-od 19804  df-gex 19805  df-cmn 20058  df-abl 20059  df-cyg 20154
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator