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

Theorem cyggexb 19941
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 19940 . . . 4 ((𝐺 ∈ CycGrp ∧ 𝐵 ∈ Fin) → 𝐸 = (♯‘𝐵))
43expcom 413 . . 3 (𝐵 ∈ Fin → (𝐺 ∈ CycGrp → 𝐸 = (♯‘𝐵)))
54adantl 481 . 2 ((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) → (𝐺 ∈ CycGrp → 𝐸 = (♯‘𝐵)))
6 simpll 766 . . . . 5 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐺 ∈ Abel)
7 ablgrp 19827 . . . . . . 7 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
87ad2antrr 725 . . . . . 6 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐺 ∈ Grp)
9 simplr 768 . . . . . 6 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐵 ∈ Fin)
101, 2gexcl2 19631 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝐵 ∈ Fin) → 𝐸 ∈ ℕ)
118, 9, 10syl2anc 583 . . . . 5 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐸 ∈ ℕ)
12 eqid 2740 . . . . . 6 (od‘𝐺) = (od‘𝐺)
131, 2, 12gexex 19895 . . . . 5 ((𝐺 ∈ Abel ∧ 𝐸 ∈ ℕ) → ∃𝑥𝐵 ((od‘𝐺)‘𝑥) = 𝐸)
146, 11, 13syl2anc 583 . . . 4 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → ∃𝑥𝐵 ((od‘𝐺)‘𝑥) = 𝐸)
15 simplr 768 . . . . . . 7 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥𝐵) → 𝐸 = (♯‘𝐵))
1615eqeq2d 2751 . . . . . 6 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥𝐵) → (((od‘𝐺)‘𝑥) = 𝐸 ↔ ((od‘𝐺)‘𝑥) = (♯‘𝐵)))
17 eqid 2740 . . . . . . . . . 10 (.g𝐺) = (.g𝐺)
18 eqid 2740 . . . . . . . . . 10 {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} = {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵}
191, 17, 18, 12cyggenod 19926 . . . . . . . . 9 ((𝐺 ∈ Grp ∧ 𝐵 ∈ Fin) → (𝑥 ∈ {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} ↔ (𝑥𝐵 ∧ ((od‘𝐺)‘𝑥) = (♯‘𝐵))))
208, 9, 19syl2anc 583 . . . . . . . 8 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (𝑥 ∈ {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} ↔ (𝑥𝐵 ∧ ((od‘𝐺)‘𝑥) = (♯‘𝐵))))
21 ne0i 4364 . . . . . . . . 9 (𝑥 ∈ {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} → {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} ≠ ∅)
221, 17, 18iscyg2 19924 . . . . . . . . . . 11 (𝐺 ∈ CycGrp ↔ (𝐺 ∈ Grp ∧ {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} ≠ ∅))
2322baib 535 . . . . . . . . . 10 (𝐺 ∈ Grp → (𝐺 ∈ CycGrp ↔ {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} ≠ ∅))
248, 23syl 17 . . . . . . . . 9 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (𝐺 ∈ CycGrp ↔ {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} ≠ ∅))
2521, 24imbitrrid 246 . . . . . . . 8 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (𝑥 ∈ {𝑦𝐵 ∣ ran (𝑛 ∈ ℤ ↦ (𝑛(.g𝐺)𝑦)) = 𝐵} → 𝐺 ∈ CycGrp))
2620, 25sylbird 260 . . . . . . 7 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → ((𝑥𝐵 ∧ ((od‘𝐺)‘𝑥) = (♯‘𝐵)) → 𝐺 ∈ CycGrp))
2726expdimp 452 . . . . . 6 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥𝐵) → (((od‘𝐺)‘𝑥) = (♯‘𝐵) → 𝐺 ∈ CycGrp))
2816, 27sylbid 240 . . . . 5 ((((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) ∧ 𝑥𝐵) → (((od‘𝐺)‘𝑥) = 𝐸𝐺 ∈ CycGrp))
2928rexlimdva 3161 . . . 4 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → (∃𝑥𝐵 ((od‘𝐺)‘𝑥) = 𝐸𝐺 ∈ CycGrp))
3014, 29mpd 15 . . 3 (((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) ∧ 𝐸 = (♯‘𝐵)) → 𝐺 ∈ CycGrp)
3130ex 412 . 2 ((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) → (𝐸 = (♯‘𝐵) → 𝐺 ∈ CycGrp))
325, 31impbid 212 1 ((𝐺 ∈ Abel ∧ 𝐵 ∈ Fin) → (𝐺 ∈ CycGrp ↔ 𝐸 = (♯‘𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wcel 2108  wne 2946  wrex 3076  {crab 3443  c0 4352  cmpt 5249  ran crn 5701  cfv 6573  (class class class)co 7448  Fincfn 9003  cn 12293  cz 12639  chash 14379  Basecbs 17258  Grpcgrp 18973  .gcmg 19107  odcod 19566  gExcgex 19567  Abelcabl 19823  CycGrpccyg 19919
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-rep 5303  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-inf2 9710  ax-cnex 11240  ax-resscn 11241  ax-1cn 11242  ax-icn 11243  ax-addcl 11244  ax-addrcl 11245  ax-mulcl 11246  ax-mulrcl 11247  ax-mulcom 11248  ax-addass 11249  ax-mulass 11250  ax-distr 11251  ax-i2m1 11252  ax-1ne0 11253  ax-1rid 11254  ax-rnegex 11255  ax-rrecex 11256  ax-cnre 11257  ax-pre-lttri 11258  ax-pre-lttrn 11259  ax-pre-ltadd 11260  ax-pre-mulgt0 11261  ax-pre-sup 11262
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-nel 3053  df-ral 3068  df-rex 3077  df-rmo 3388  df-reu 3389  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-int 4971  df-iun 5017  df-disj 5134  df-br 5167  df-opab 5229  df-mpt 5250  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-se 5653  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-pred 6332  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-isom 6582  df-riota 7404  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7904  df-1st 8030  df-2nd 8031  df-frecs 8322  df-wrecs 8353  df-recs 8427  df-rdg 8466  df-1o 8522  df-2o 8523  df-oadd 8526  df-omul 8527  df-er 8763  df-ec 8765  df-qs 8769  df-map 8886  df-en 9004  df-dom 9005  df-sdom 9006  df-fin 9007  df-sup 9511  df-inf 9512  df-oi 9579  df-card 10008  df-acn 10011  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11522  df-neg 11523  df-div 11948  df-nn 12294  df-2 12356  df-3 12357  df-n0 12554  df-z 12640  df-uz 12904  df-q 13014  df-rp 13058  df-fz 13568  df-fzo 13712  df-fl 13843  df-mod 13921  df-seq 14053  df-exp 14113  df-fac 14323  df-hash 14380  df-cj 15148  df-re 15149  df-im 15150  df-sqrt 15284  df-abs 15285  df-clim 15534  df-sum 15735  df-dvds 16303  df-gcd 16541  df-prm 16719  df-pc 16884  df-sets 17211  df-slot 17229  df-ndx 17241  df-base 17259  df-ress 17288  df-plusg 17324  df-0g 17501  df-mgm 18678  df-sgrp 18757  df-mnd 18773  df-grp 18976  df-minusg 18977  df-sbg 18978  df-mulg 19108  df-subg 19163  df-eqg 19165  df-od 19570  df-gex 19571  df-cmn 19824  df-abl 19825  df-cyg 19920
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator