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

Theorem oddvds 15177
Description: The only multiples of  A that are equal to the identity are the multiples of the order of  A. (Contributed by Mario Carneiro, 14-Jan-2015.) (Revised by Mario Carneiro, 23-Sep-2015.)
Hypotheses
Ref Expression
odcl.1  |-  X  =  ( Base `  G
)
odcl.2  |-  O  =  ( od `  G
)
odid.3  |-  .x.  =  (.g
`  G )
odid.4  |-  .0.  =  ( 0g `  G )
Assertion
Ref Expression
oddvds  |-  ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  ->  ( ( O `  A )  ||  N  <->  ( N  .x.  A )  =  .0.  ) )

Proof of Theorem oddvds
StepHypRef Expression
1 simpr 448 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( O `  A )  e.  NN )
2 simpl3 962 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  N  e.  ZZ )
3 dvdsval3 12848 . . . 4  |-  ( ( ( O `  A
)  e.  NN  /\  N  e.  ZZ )  ->  ( ( O `  A )  ||  N  <->  ( N  mod  ( O `
 A ) )  =  0 ) )
41, 2, 3syl2anc 643 . . 3  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( O `
 A )  ||  N 
<->  ( N  mod  ( O `  A )
)  =  0 ) )
5 simpl2 961 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  A  e.  X
)
6 odcl.1 . . . . . . 7  |-  X  =  ( Base `  G
)
7 odid.4 . . . . . . 7  |-  .0.  =  ( 0g `  G )
8 odid.3 . . . . . . 7  |-  .x.  =  (.g
`  G )
96, 7, 8mulg0 14887 . . . . . 6  |-  ( A  e.  X  ->  (
0  .x.  A )  =  .0.  )
105, 9syl 16 . . . . 5  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( 0  .x. 
A )  =  .0.  )
11 oveq1 6080 . . . . . 6  |-  ( ( N  mod  ( O `
 A ) )  =  0  ->  (
( N  mod  ( O `  A )
)  .x.  A )  =  ( 0  .x. 
A ) )
1211eqeq1d 2443 . . . . 5  |-  ( ( N  mod  ( O `
 A ) )  =  0  ->  (
( ( N  mod  ( O `  A ) )  .x.  A )  =  .0.  <->  ( 0 
.x.  A )  =  .0.  ) )
1310, 12syl5ibrcom 214 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( N  mod  ( O `  A ) )  =  0  ->  ( ( N  mod  ( O `  A ) )  .x.  A )  =  .0.  ) )
142zred 10367 . . . . . . . 8  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  N  e.  RR )
151nnrpd 10639 . . . . . . . 8  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( O `  A )  e.  RR+ )
16 modlt 11250 . . . . . . . 8  |-  ( ( N  e.  RR  /\  ( O `  A )  e.  RR+ )  ->  ( N  mod  ( O `  A ) )  < 
( O `  A
) )
1714, 15, 16syl2anc 643 . . . . . . 7  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( N  mod  ( O `  A ) )  <  ( O `
 A ) )
182, 1zmodcld 11259 . . . . . . . . 9  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( N  mod  ( O `  A ) )  e.  NN0 )
1918nn0red 10267 . . . . . . . 8  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( N  mod  ( O `  A ) )  e.  RR )
201nnred 10007 . . . . . . . 8  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( O `  A )  e.  RR )
2119, 20ltnled 9212 . . . . . . 7  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( N  mod  ( O `  A ) )  < 
( O `  A
)  <->  -.  ( O `  A )  <_  ( N  mod  ( O `  A ) ) ) )
2217, 21mpbid 202 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  -.  ( O `  A )  <_  ( N  mod  ( O `  A ) ) )
23 odcl.2 . . . . . . . . . . . 12  |-  O  =  ( od `  G
)
246, 23, 8, 7odlem2 15169 . . . . . . . . . . 11  |-  ( ( A  e.  X  /\  ( N  mod  ( O `
 A ) )  e.  NN  /\  (
( N  mod  ( O `  A )
)  .x.  A )  =  .0.  )  ->  ( O `  A )  e.  ( 1 ... ( N  mod  ( O `  A ) ) ) )
25 elfzle2 11053 . . . . . . . . . . 11  |-  ( ( O `  A )  e.  ( 1 ... ( N  mod  ( O `  A )
) )  ->  ( O `  A )  <_  ( N  mod  ( O `  A )
) )
2624, 25syl 16 . . . . . . . . . 10  |-  ( ( A  e.  X  /\  ( N  mod  ( O `
 A ) )  e.  NN  /\  (
( N  mod  ( O `  A )
)  .x.  A )  =  .0.  )  ->  ( O `  A )  <_  ( N  mod  ( O `  A )
) )
27263com23 1159 . . . . . . . . 9  |-  ( ( A  e.  X  /\  ( ( N  mod  ( O `  A ) )  .x.  A )  =  .0.  /\  ( N  mod  ( O `  A ) )  e.  NN )  ->  ( O `  A )  <_  ( N  mod  ( O `  A )
) )
28273expia 1155 . . . . . . . 8  |-  ( ( A  e.  X  /\  ( ( N  mod  ( O `  A ) )  .x.  A )  =  .0.  )  -> 
( ( N  mod  ( O `  A ) )  e.  NN  ->  ( O `  A )  <_  ( N  mod  ( O `  A ) ) ) )
2928con3d 127 . . . . . . 7  |-  ( ( A  e.  X  /\  ( ( N  mod  ( O `  A ) )  .x.  A )  =  .0.  )  -> 
( -.  ( O `
 A )  <_ 
( N  mod  ( O `  A )
)  ->  -.  ( N  mod  ( O `  A ) )  e.  NN ) )
3029impancom 428 . . . . . 6  |-  ( ( A  e.  X  /\  -.  ( O `  A
)  <_  ( N  mod  ( O `  A
) ) )  -> 
( ( ( N  mod  ( O `  A ) )  .x.  A )  =  .0. 
->  -.  ( N  mod  ( O `  A ) )  e.  NN ) )
315, 22, 30syl2anc 643 . . . . 5  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( ( N  mod  ( O `
 A ) ) 
.x.  A )  =  .0.  ->  -.  ( N  mod  ( O `  A ) )  e.  NN ) )
32 elnn0 10215 . . . . . . 7  |-  ( ( N  mod  ( O `
 A ) )  e.  NN0  <->  ( ( N  mod  ( O `  A ) )  e.  NN  \/  ( N  mod  ( O `  A ) )  =  0 ) )
3318, 32sylib 189 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( N  mod  ( O `  A ) )  e.  NN  \/  ( N  mod  ( O `  A ) )  =  0 ) )
3433ord 367 . . . . 5  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( -.  ( N  mod  ( O `  A ) )  e.  NN  ->  ( N  mod  ( O `  A
) )  =  0 ) )
3531, 34syld 42 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( ( N  mod  ( O `
 A ) ) 
.x.  A )  =  .0.  ->  ( N  mod  ( O `  A
) )  =  0 ) )
3613, 35impbid 184 . . 3  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( N  mod  ( O `  A ) )  =  0  <->  ( ( N  mod  ( O `  A ) )  .x.  A )  =  .0.  ) )
376, 23, 8, 7odmod 15176 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( N  mod  ( O `  A ) )  .x.  A )  =  ( N  .x.  A ) )
3837eqeq1d 2443 . . 3  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( ( N  mod  ( O `
 A ) ) 
.x.  A )  =  .0.  <->  ( N  .x.  A )  =  .0.  ) )
394, 36, 383bitrd 271 . 2  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  e.  NN )  ->  ( ( O `
 A )  ||  N 
<->  ( N  .x.  A
)  =  .0.  )
)
40 simpr 448 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( O `  A )  =  0 )
4140breq1d 4214 . . 3  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( ( O `
 A )  ||  N 
<->  0  ||  N ) )
42 simpl3 962 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  N  e.  ZZ )
43 0dvds 12862 . . . 4  |-  ( N  e.  ZZ  ->  (
0  ||  N  <->  N  = 
0 ) )
4442, 43syl 16 . . 3  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( 0  ||  N 
<->  N  =  0 ) )
45 simpl2 961 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  A  e.  X
)
4645, 9syl 16 . . . . 5  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( 0  .x. 
A )  =  .0.  )
47 oveq1 6080 . . . . . 6  |-  ( N  =  0  ->  ( N  .x.  A )  =  ( 0  .x.  A
) )
4847eqeq1d 2443 . . . . 5  |-  ( N  =  0  ->  (
( N  .x.  A
)  =  .0.  <->  ( 0 
.x.  A )  =  .0.  ) )
4946, 48syl5ibrcom 214 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( N  =  0  ->  ( N  .x.  A )  =  .0.  ) )
506, 23, 8, 7odnncl 15175 . . . . . . . . 9  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( N  =/=  0  /\  ( N  .x.  A
)  =  .0.  )
)  ->  ( O `  A )  e.  NN )
5150nnne0d 10036 . . . . . . . 8  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( N  =/=  0  /\  ( N  .x.  A
)  =  .0.  )
)  ->  ( O `  A )  =/=  0
)
5251expr 599 . . . . . . 7  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  N  =/=  0
)  ->  ( ( N  .x.  A )  =  .0.  ->  ( O `  A )  =/=  0
) )
5352impancom 428 . . . . . 6  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( N  .x.  A
)  =  .0.  )  ->  ( N  =/=  0  ->  ( O `  A
)  =/=  0 ) )
5453necon4d 2661 . . . . 5  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( N  .x.  A
)  =  .0.  )  ->  ( ( O `  A )  =  0  ->  N  =  0 ) )
5554impancom 428 . . . 4  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( ( N 
.x.  A )  =  .0.  ->  N  = 
0 ) )
5649, 55impbid 184 . . 3  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( N  =  0  <->  ( N  .x.  A )  =  .0.  ) )
5741, 44, 563bitrd 271 . 2  |-  ( ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  /\  ( O `  A
)  =  0 )  ->  ( ( O `
 A )  ||  N 
<->  ( N  .x.  A
)  =  .0.  )
)
586, 23odcl 15166 . . . 4  |-  ( A  e.  X  ->  ( O `  A )  e.  NN0 )
59583ad2ant2 979 . . 3  |-  ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  ->  ( O `  A
)  e.  NN0 )
60 elnn0 10215 . . 3  |-  ( ( O `  A )  e.  NN0  <->  ( ( O `
 A )  e.  NN  \/  ( O `
 A )  =  0 ) )
6159, 60sylib 189 . 2  |-  ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  ->  ( ( O `  A )  e.  NN  \/  ( O `  A
)  =  0 ) )
6239, 57, 61mpjaodan 762 1  |-  ( ( G  e.  Grp  /\  A  e.  X  /\  N  e.  ZZ )  ->  ( ( O `  A )  ||  N  <->  ( N  .x.  A )  =  .0.  ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    \/ wo 358    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725    =/= wne 2598   class class class wbr 4204   ` cfv 5446  (class class class)co 6073   RRcr 8981   0cc0 8982   1c1 8983    < clt 9112    <_ cle 9113   NNcn 9992   NN0cn0 10213   ZZcz 10274   RR+crp 10604   ...cfz 11035    mod cmo 11242    || cdivides 12844   Basecbs 13461   0gc0g 13715   Grpcgrp 14677  .gcmg 14681   odcod 15155
This theorem is referenced by:  oddvdsi  15178  odcong  15179  odeq  15180  odmulgid  15182  odbezout  15186  gexdvds2  15211  gexod  15212  gexcl3  15213  odadd1  15455  odadd2  15456  oddvdssubg  15462  pgpfac1lem3a  15626  chrdvds  16801  dchrfi  21031  dchrabs  21036  dchrptlem2  21041  idomodle  27480
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-inf2 7588  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059  ax-pre-sup 9060
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-er 6897  df-en 7102  df-dom 7103  df-sdom 7104  df-sup 7438  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-div 9670  df-nn 9993  df-2 10050  df-3 10051  df-n0 10214  df-z 10275  df-uz 10481  df-rp 10605  df-fz 11036  df-fl 11194  df-mod 11243  df-seq 11316  df-exp 11375  df-cj 11896  df-re 11897  df-im 11898  df-sqr 12032  df-abs 12033  df-dvds 12845  df-0g 13719  df-mnd 14682  df-grp 14804  df-minusg 14805  df-sbg 14806  df-mulg 14807  df-od 15159
  Copyright terms: Public domain W3C validator