MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  prmcyg Structured version   Unicode version

Theorem prmcyg 15534
Description: A group with prime order is cyclic. (Contributed by Mario Carneiro, 27-Apr-2016.)
Hypothesis
Ref Expression
cygctb.1  |-  B  =  ( Base `  G
)
Assertion
Ref Expression
prmcyg  |-  ( ( G  e.  Grp  /\  ( # `  B )  e.  Prime )  ->  G  e. CycGrp )

Proof of Theorem prmcyg
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 1nprm 13115 . . . 4  |-  -.  1  e.  Prime
2 simpr 449 . . . . . . . . 9  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  B  C_  { ( 0g `  G ) } )  ->  B  C_ 
{ ( 0g `  G ) } )
3 cygctb.1 . . . . . . . . . . . 12  |-  B  =  ( Base `  G
)
4 eqid 2442 . . . . . . . . . . . 12  |-  ( 0g
`  G )  =  ( 0g `  G
)
53, 4grpidcl 14864 . . . . . . . . . . 11  |-  ( G  e.  Grp  ->  ( 0g `  G )  e.  B )
65snssd 3967 . . . . . . . . . 10  |-  ( G  e.  Grp  ->  { ( 0g `  G ) }  C_  B )
76ad2antrr 708 . . . . . . . . 9  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  B  C_  { ( 0g `  G ) } )  ->  { ( 0g `  G ) }  C_  B )
82, 7eqssd 3351 . . . . . . . 8  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  B  C_  { ( 0g `  G ) } )  ->  B  =  { ( 0g `  G ) } )
98fveq2d 5761 . . . . . . 7  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  B  C_  { ( 0g `  G ) } )  ->  ( # `
 B )  =  ( # `  {
( 0g `  G
) } ) )
10 fvex 5771 . . . . . . . 8  |-  ( 0g
`  G )  e. 
_V
11 hashsng 11678 . . . . . . . 8  |-  ( ( 0g `  G )  e.  _V  ->  ( # `
 { ( 0g
`  G ) } )  =  1 )
1210, 11ax-mp 5 . . . . . . 7  |-  ( # `  { ( 0g `  G ) } )  =  1
139, 12syl6eq 2490 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  B  C_  { ( 0g `  G ) } )  ->  ( # `
 B )  =  1 )
14 simplr 733 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  B  C_  { ( 0g `  G ) } )  ->  ( # `
 B )  e. 
Prime )
1513, 14eqeltrrd 2517 . . . . 5  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  B  C_  { ( 0g `  G ) } )  ->  1  e.  Prime )
1615ex 425 . . . 4  |-  ( ( G  e.  Grp  /\  ( # `  B )  e.  Prime )  ->  ( B  C_  { ( 0g
`  G ) }  ->  1  e.  Prime ) )
171, 16mtoi 172 . . 3  |-  ( ( G  e.  Grp  /\  ( # `  B )  e.  Prime )  ->  -.  B  C_  { ( 0g
`  G ) } )
18 nss 3392 . . 3  |-  ( -.  B  C_  { ( 0g `  G ) }  <->  E. x ( x  e.  B  /\  -.  x  e.  { ( 0g `  G ) } ) )
1917, 18sylib 190 . 2  |-  ( ( G  e.  Grp  /\  ( # `  B )  e.  Prime )  ->  E. x
( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )
20 eqid 2442 . . 3  |-  ( od
`  G )  =  ( od `  G
)
21 simpll 732 . . 3  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  G  e.  Grp )
22 simprl 734 . . 3  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  x  e.  B
)
23 simprr 735 . . . . 5  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  -.  x  e.  { ( 0g `  G
) } )
2420, 4, 3odeq1 15227 . . . . . . 7  |-  ( ( G  e.  Grp  /\  x  e.  B )  ->  ( ( ( od
`  G ) `  x )  =  1  <-> 
x  =  ( 0g
`  G ) ) )
2521, 22, 24syl2anc 644 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( ( ( od `  G ) `
 x )  =  1  <->  x  =  ( 0g `  G ) ) )
26 elsn 3853 . . . . . 6  |-  ( x  e.  { ( 0g
`  G ) }  <-> 
x  =  ( 0g
`  G ) )
2725, 26syl6bbr 256 . . . . 5  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( ( ( od `  G ) `
 x )  =  1  <->  x  e.  { ( 0g `  G ) } ) )
2823, 27mtbird 294 . . . 4  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  -.  ( ( od `  G ) `  x )  =  1 )
29 prmnn 13113 . . . . . . . . . 10  |-  ( (
# `  B )  e.  Prime  ->  ( # `  B
)  e.  NN )
3029ad2antlr 709 . . . . . . . . 9  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( # `  B
)  e.  NN )
3130nnnn0d 10305 . . . . . . . 8  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( # `  B
)  e.  NN0 )
32 fvex 5771 . . . . . . . . . 10  |-  ( Base `  G )  e.  _V
333, 32eqeltri 2512 . . . . . . . . 9  |-  B  e. 
_V
34 hashclb 11672 . . . . . . . . 9  |-  ( B  e.  _V  ->  ( B  e.  Fin  <->  ( # `  B
)  e.  NN0 )
)
3533, 34ax-mp 5 . . . . . . . 8  |-  ( B  e.  Fin  <->  ( # `  B
)  e.  NN0 )
3631, 35sylibr 205 . . . . . . 7  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  B  e.  Fin )
373, 20oddvds2 15233 . . . . . . 7  |-  ( ( G  e.  Grp  /\  B  e.  Fin  /\  x  e.  B )  ->  (
( od `  G
) `  x )  ||  ( # `  B
) )
3821, 36, 22, 37syl3anc 1185 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( ( od
`  G ) `  x )  ||  ( # `
 B ) )
39 simplr 733 . . . . . . 7  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( # `  B
)  e.  Prime )
403, 20odcl2 15232 . . . . . . . 8  |-  ( ( G  e.  Grp  /\  B  e.  Fin  /\  x  e.  B )  ->  (
( od `  G
) `  x )  e.  NN )
4121, 36, 22, 40syl3anc 1185 . . . . . . 7  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( ( od
`  G ) `  x )  e.  NN )
42 dvdsprime 13123 . . . . . . 7  |-  ( ( ( # `  B
)  e.  Prime  /\  (
( od `  G
) `  x )  e.  NN )  ->  (
( ( od `  G ) `  x
)  ||  ( # `  B
)  <->  ( ( ( od `  G ) `
 x )  =  ( # `  B
)  \/  ( ( od `  G ) `
 x )  =  1 ) ) )
4339, 41, 42syl2anc 644 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( ( ( od `  G ) `
 x )  ||  ( # `  B )  <-> 
( ( ( od
`  G ) `  x )  =  (
# `  B )  \/  ( ( od `  G ) `  x
)  =  1 ) ) )
4438, 43mpbid 203 . . . . 5  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( ( ( od `  G ) `
 x )  =  ( # `  B
)  \/  ( ( od `  G ) `
 x )  =  1 ) )
4544ord 368 . . . 4  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( -.  (
( od `  G
) `  x )  =  ( # `  B
)  ->  ( ( od `  G ) `  x )  =  1 ) )
4628, 45mt3d 120 . . 3  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  ( ( od
`  G ) `  x )  =  (
# `  B )
)
473, 20, 21, 22, 46iscygodd 15529 . 2  |-  ( ( ( G  e.  Grp  /\  ( # `  B
)  e.  Prime )  /\  ( x  e.  B  /\  -.  x  e.  {
( 0g `  G
) } ) )  ->  G  e. CycGrp )
4819, 47exlimddv 1649 1  |-  ( ( G  e.  Grp  /\  ( # `  B )  e.  Prime )  ->  G  e. CycGrp )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 178    \/ wo 359    /\ wa 360   E.wex 1551    = wceq 1653    e. wcel 1727   _Vcvv 2962    C_ wss 3306   {csn 3838   class class class wbr 4237   ` cfv 5483   Fincfn 7138   1c1 9022   NNcn 10031   NN0cn0 10252   #chash 11649    || cdivides 12883   Primecprime 13110   Basecbs 13500   0gc0g 13754   Grpcgrp 14716   odcod 15194  CycGrpccyg 15518
This theorem is referenced by:  lt6abl  15535
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1668  ax-8 1689  ax-13 1729  ax-14 1731  ax-6 1746  ax-7 1751  ax-11 1763  ax-12 1953  ax-ext 2423  ax-rep 4345  ax-sep 4355  ax-nul 4363  ax-pow 4406  ax-pr 4432  ax-un 4730  ax-inf2 7625  ax-cnex 9077  ax-resscn 9078  ax-1cn 9079  ax-icn 9080  ax-addcl 9081  ax-addrcl 9082  ax-mulcl 9083  ax-mulrcl 9084  ax-mulcom 9085  ax-addass 9086  ax-mulass 9087  ax-distr 9088  ax-i2m1 9089  ax-1ne0 9090  ax-1rid 9091  ax-rnegex 9092  ax-rrecex 9093  ax-cnre 9094  ax-pre-lttri 9095  ax-pre-lttrn 9096  ax-pre-ltadd 9097  ax-pre-mulgt0 9098  ax-pre-sup 9099
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2291  df-mo 2292  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2567  df-ne 2607  df-nel 2608  df-ral 2716  df-rex 2717  df-reu 2718  df-rmo 2719  df-rab 2720  df-v 2964  df-sbc 3168  df-csb 3268  df-dif 3309  df-un 3311  df-in 3313  df-ss 3320  df-pss 3322  df-nul 3614  df-if 3764  df-pw 3825  df-sn 3844  df-pr 3845  df-tp 3846  df-op 3847  df-uni 4040  df-int 4075  df-iun 4119  df-disj 4208  df-br 4238  df-opab 4292  df-mpt 4293  df-tr 4328  df-eprel 4523  df-id 4527  df-po 4532  df-so 4533  df-fr 4570  df-se 4571  df-we 4572  df-ord 4613  df-on 4614  df-lim 4615  df-suc 4616  df-om 4875  df-xp 4913  df-rel 4914  df-cnv 4915  df-co 4916  df-dm 4917  df-rn 4918  df-res 4919  df-ima 4920  df-iota 5447  df-fun 5485  df-fn 5486  df-f 5487  df-f1 5488  df-fo 5489  df-f1o 5490  df-fv 5491  df-isom 5492  df-ov 6113  df-oprab 6114  df-mpt2 6115  df-1st 6378  df-2nd 6379  df-riota 6578  df-recs 6662  df-rdg 6697  df-1o 6753  df-2o 6754  df-oadd 6757  df-omul 6758  df-er 6934  df-ec 6936  df-qs 6940  df-map 7049  df-en 7139  df-dom 7140  df-sdom 7141  df-fin 7142  df-sup 7475  df-oi 7508  df-card 7857  df-acn 7860  df-pnf 9153  df-mnf 9154  df-xr 9155  df-ltxr 9156  df-le 9157  df-sub 9324  df-neg 9325  df-div 9709  df-nn 10032  df-2 10089  df-3 10090  df-n0 10253  df-z 10314  df-uz 10520  df-rp 10644  df-fz 11075  df-fzo 11167  df-fl 11233  df-mod 11282  df-seq 11355  df-exp 11414  df-hash 11650  df-cj 11935  df-re 11936  df-im 11937  df-sqr 12071  df-abs 12072  df-clim 12313  df-sum 12511  df-dvds 12884  df-prm 13111  df-ndx 13503  df-slot 13504  df-base 13505  df-sets 13506  df-ress 13507  df-plusg 13573  df-0g 13758  df-mnd 14721  df-grp 14843  df-minusg 14844  df-sbg 14845  df-mulg 14846  df-subg 14972  df-eqg 14974  df-od 15198  df-cyg 15519
  Copyright terms: Public domain W3C validator