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

Theorem ablfacrplem 15248
Description: Lemma for ablfacrp2 15250. (Contributed by Mario Carneiro, 19-Apr-2016.)
Hypotheses
Ref Expression
ablfacrp.b  |-  B  =  ( Base `  G
)
ablfacrp.o  |-  O  =  ( od `  G
)
ablfacrp.k  |-  K  =  { x  e.  B  |  ( O `  x )  ||  M }
ablfacrp.l  |-  L  =  { x  e.  B  |  ( O `  x )  ||  N }
ablfacrp.g  |-  ( ph  ->  G  e.  Abel )
ablfacrp.m  |-  ( ph  ->  M  e.  NN )
ablfacrp.n  |-  ( ph  ->  N  e.  NN )
ablfacrp.1  |-  ( ph  ->  ( M  gcd  N
)  =  1 )
ablfacrp.2  |-  ( ph  ->  ( # `  B
)  =  ( M  x.  N ) )
Assertion
Ref Expression
ablfacrplem  |-  ( ph  ->  ( ( # `  K
)  gcd  N )  =  1 )
Distinct variable groups:    x, B    x, G    x, O    x, M    x, N    ph, x
Allowed substitution hints:    K( x)    L( x)

Proof of Theorem ablfacrplem
StepHypRef Expression
1 nprmdvds1 12738 . . . . . . 7  |-  ( p  e.  Prime  ->  -.  p  ||  1 )
21adantl 454 . . . . . 6  |-  ( (
ph  /\  p  e.  Prime )  ->  -.  p  ||  1 )
3 ablfacrp.1 . . . . . . . 8  |-  ( ph  ->  ( M  gcd  N
)  =  1 )
43adantr 453 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  ( M  gcd  N )  =  1 )
54breq2d 3995 . . . . . 6  |-  ( (
ph  /\  p  e.  Prime )  ->  ( p  ||  ( M  gcd  N
)  <->  p  ||  1 ) )
62, 5mtbird 294 . . . . 5  |-  ( (
ph  /\  p  e.  Prime )  ->  -.  p  ||  ( M  gcd  N
) )
7 ablfacrp.k . . . . . . . . . . . . . 14  |-  K  =  { x  e.  B  |  ( O `  x )  ||  M }
8 ablfacrp.g . . . . . . . . . . . . . . 15  |-  ( ph  ->  G  e.  Abel )
9 ablfacrp.m . . . . . . . . . . . . . . . 16  |-  ( ph  ->  M  e.  NN )
109nnzd 10069 . . . . . . . . . . . . . . 15  |-  ( ph  ->  M  e.  ZZ )
11 ablfacrp.o . . . . . . . . . . . . . . . 16  |-  O  =  ( od `  G
)
12 ablfacrp.b . . . . . . . . . . . . . . . 16  |-  B  =  ( Base `  G
)
1311, 12oddvdssubg 15095 . . . . . . . . . . . . . . 15  |-  ( ( G  e.  Abel  /\  M  e.  ZZ )  ->  { x  e.  B  |  ( O `  x )  ||  M }  e.  (SubGrp `  G ) )
148, 10, 13syl2anc 645 . . . . . . . . . . . . . 14  |-  ( ph  ->  { x  e.  B  |  ( O `  x )  ||  M }  e.  (SubGrp `  G
) )
157, 14syl5eqel 2340 . . . . . . . . . . . . 13  |-  ( ph  ->  K  e.  (SubGrp `  G ) )
1615ad2antrr 709 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  K  e.  (SubGrp `  G )
)
17 eqid 2256 . . . . . . . . . . . . 13  |-  ( Gs  K )  =  ( Gs  K )
1817subggrp 14572 . . . . . . . . . . . 12  |-  ( K  e.  (SubGrp `  G
)  ->  ( Gs  K
)  e.  Grp )
1916, 18syl 17 . . . . . . . . . . 11  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  ( Gs  K )  e.  Grp )
2017subgbas 14573 . . . . . . . . . . . . 13  |-  ( K  e.  (SubGrp `  G
)  ->  K  =  ( Base `  ( Gs  K
) ) )
2116, 20syl 17 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  K  =  ( Base `  ( Gs  K ) ) )
22 ablfacrp.2 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( # `  B
)  =  ( M  x.  N ) )
239nnnn0d 9971 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  M  e.  NN0 )
24 ablfacrp.n . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  N  e.  NN )
2524nnnn0d 9971 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  N  e.  NN0 )
2623, 25nn0mulcld 9976 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( M  x.  N
)  e.  NN0 )
2722, 26eqeltrd 2330 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( # `  B
)  e.  NN0 )
28 fvex 5458 . . . . . . . . . . . . . . . . 17  |-  ( Base `  G )  e.  _V
2912, 28eqeltri 2326 . . . . . . . . . . . . . . . 16  |-  B  e. 
_V
30 hashclb 11304 . . . . . . . . . . . . . . . 16  |-  ( B  e.  _V  ->  ( B  e.  Fin  <->  ( # `  B
)  e.  NN0 )
)
3129, 30ax-mp 10 . . . . . . . . . . . . . . 15  |-  ( B  e.  Fin  <->  ( # `  B
)  e.  NN0 )
3227, 31sylibr 205 . . . . . . . . . . . . . 14  |-  ( ph  ->  B  e.  Fin )
33 ssrab2 3219 . . . . . . . . . . . . . . 15  |-  { x  e.  B  |  ( O `  x )  ||  M }  C_  B
347, 33eqsstri 3169 . . . . . . . . . . . . . 14  |-  K  C_  B
35 ssfi 7037 . . . . . . . . . . . . . 14  |-  ( ( B  e.  Fin  /\  K  C_  B )  ->  K  e.  Fin )
3632, 34, 35sylancl 646 . . . . . . . . . . . . 13  |-  ( ph  ->  K  e.  Fin )
3736ad2antrr 709 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  K  e.  Fin )
3821, 37eqeltrrd 2331 . . . . . . . . . . 11  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  ( Base `  ( Gs  K ) )  e.  Fin )
39 simplr 734 . . . . . . . . . . 11  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  p  e.  Prime )
40 simpr 449 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  p  ||  ( # `  K
) )
4121fveq2d 5448 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  ( # `
 K )  =  ( # `  ( Base `  ( Gs  K ) ) ) )
4240, 41breqtrd 4007 . . . . . . . . . . 11  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  p  ||  ( # `  ( Base `  ( Gs  K ) ) ) )
43 eqid 2256 . . . . . . . . . . . 12  |-  ( Base `  ( Gs  K ) )  =  ( Base `  ( Gs  K ) )
44 eqid 2256 . . . . . . . . . . . 12  |-  ( od
`  ( Gs  K ) )  =  ( od
`  ( Gs  K ) )
4543, 44odcau 14863 . . . . . . . . . . 11  |-  ( ( ( ( Gs  K )  e.  Grp  /\  ( Base `  ( Gs  K ) )  e.  Fin  /\  p  e.  Prime )  /\  p  ||  ( # `  ( Base `  ( Gs  K ) ) ) )  ->  E. g  e.  ( Base `  ( Gs  K ) ) ( ( od
`  ( Gs  K ) ) `  g )  =  p )
4619, 38, 39, 42, 45syl31anc 1190 . . . . . . . . . 10  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  E. g  e.  ( Base `  ( Gs  K ) ) ( ( od `  ( Gs  K ) ) `  g )  =  p )
4721rexeqdv 2714 . . . . . . . . . 10  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  ( E. g  e.  K  ( ( od `  ( Gs  K ) ) `  g )  =  p  <->  E. g  e.  ( Base `  ( Gs  K ) ) ( ( od
`  ( Gs  K ) ) `  g )  =  p ) )
4846, 47mpbird 225 . . . . . . . . 9  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  E. g  e.  K  ( ( od `  ( Gs  K ) ) `  g )  =  p )
4917, 11, 44subgod 14829 . . . . . . . . . . . . 13  |-  ( ( K  e.  (SubGrp `  G )  /\  g  e.  K )  ->  ( O `  g )  =  ( ( od
`  ( Gs  K ) ) `  g ) )
5016, 49sylan 459 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  /\  g  e.  K )  ->  ( O `  g )  =  ( ( od
`  ( Gs  K ) ) `  g ) )
51 fveq2 5444 . . . . . . . . . . . . . . . 16  |-  ( x  =  g  ->  ( O `  x )  =  ( O `  g ) )
5251breq1d 3993 . . . . . . . . . . . . . . 15  |-  ( x  =  g  ->  (
( O `  x
)  ||  M  <->  ( O `  g )  ||  M
) )
5352, 7elrab2 2893 . . . . . . . . . . . . . 14  |-  ( g  e.  K  <->  ( g  e.  B  /\  ( O `  g )  ||  M ) )
5453simprbi 452 . . . . . . . . . . . . 13  |-  ( g  e.  K  ->  ( O `  g )  ||  M )
5554adantl 454 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  /\  g  e.  K )  ->  ( O `  g )  ||  M )
5650, 55eqbrtrrd 4005 . . . . . . . . . . 11  |-  ( ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  /\  g  e.  K )  ->  (
( od `  ( Gs  K ) ) `  g )  ||  M
)
57 breq1 3986 . . . . . . . . . . 11  |-  ( ( ( od `  ( Gs  K ) ) `  g )  =  p  ->  ( ( ( od `  ( Gs  K ) ) `  g
)  ||  M  <->  p  ||  M
) )
5856, 57syl5ibcom 213 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  /\  g  e.  K )  ->  (
( ( od `  ( Gs  K ) ) `  g )  =  p  ->  p  ||  M
) )
5958rexlimdva 2640 . . . . . . . . 9  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  ( E. g  e.  K  ( ( od `  ( Gs  K ) ) `  g )  =  p  ->  p  ||  M
) )
6048, 59mpd 16 . . . . . . . 8  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  p  ||  M )
6160ex 425 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  ( p  ||  ( # `  K
)  ->  p  ||  M
) )
6261anim1d 549 . . . . . 6  |-  ( (
ph  /\  p  e.  Prime )  ->  ( (
p  ||  ( # `  K
)  /\  p  ||  N
)  ->  ( p  ||  M  /\  p  ||  N ) ) )
63 prmz 12709 . . . . . . . 8  |-  ( p  e.  Prime  ->  p  e.  ZZ )
6463adantl 454 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  p  e.  ZZ )
65 hashcl 11302 . . . . . . . . . 10  |-  ( K  e.  Fin  ->  ( # `
 K )  e. 
NN0 )
6636, 65syl 17 . . . . . . . . 9  |-  ( ph  ->  ( # `  K
)  e.  NN0 )
6766nn0zd 10068 . . . . . . . 8  |-  ( ph  ->  ( # `  K
)  e.  ZZ )
6867adantr 453 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  ( # `  K
)  e.  ZZ )
6924nnzd 10069 . . . . . . . 8  |-  ( ph  ->  N  e.  ZZ )
7069adantr 453 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  N  e.  ZZ )
71 dvdsgcdb 12671 . . . . . . 7  |-  ( ( p  e.  ZZ  /\  ( # `  K )  e.  ZZ  /\  N  e.  ZZ )  ->  (
( p  ||  ( # `
 K )  /\  p  ||  N )  <->  p  ||  (
( # `  K )  gcd  N ) ) )
7264, 68, 70, 71syl3anc 1187 . . . . . 6  |-  ( (
ph  /\  p  e.  Prime )  ->  ( (
p  ||  ( # `  K
)  /\  p  ||  N
)  <->  p  ||  ( (
# `  K )  gcd  N ) ) )
7310adantr 453 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  M  e.  ZZ )
74 dvdsgcdb 12671 . . . . . . 7  |-  ( ( p  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( p  ||  M  /\  p  ||  N )  <-> 
p  ||  ( M  gcd  N ) ) )
7564, 73, 70, 74syl3anc 1187 . . . . . 6  |-  ( (
ph  /\  p  e.  Prime )  ->  ( (
p  ||  M  /\  p  ||  N )  <->  p  ||  ( M  gcd  N ) ) )
7662, 72, 753imtr3d 260 . . . . 5  |-  ( (
ph  /\  p  e.  Prime )  ->  ( p  ||  ( ( # `  K
)  gcd  N )  ->  p  ||  ( M  gcd  N ) ) )
776, 76mtod 170 . . . 4  |-  ( (
ph  /\  p  e.  Prime )  ->  -.  p  ||  ( ( # `  K
)  gcd  N )
)
7877nrexdv 2619 . . 3  |-  ( ph  ->  -.  E. p  e. 
Prime  p  ||  ( (
# `  K )  gcd  N ) )
79 exprmfct 12737 . . 3  |-  ( ( ( # `  K
)  gcd  N )  e.  ( ZZ>= `  2 )  ->  E. p  e.  Prime  p 
||  ( ( # `  K )  gcd  N
) )
8078, 79nsyl 115 . 2  |-  ( ph  ->  -.  ( ( # `  K )  gcd  N
)  e.  ( ZZ>= ` 
2 ) )
8124nnne0d 9744 . . . . . 6  |-  ( ph  ->  N  =/=  0 )
82 simpr 449 . . . . . . 7  |-  ( ( ( # `  K
)  =  0  /\  N  =  0 )  ->  N  =  0 )
8382necon3ai 2459 . . . . . 6  |-  ( N  =/=  0  ->  -.  ( ( # `  K
)  =  0  /\  N  =  0 ) )
8481, 83syl 17 . . . . 5  |-  ( ph  ->  -.  ( ( # `  K )  =  0  /\  N  =  0 ) )
85 gcdn0cl 12641 . . . . 5  |-  ( ( ( ( # `  K
)  e.  ZZ  /\  N  e.  ZZ )  /\  -.  ( ( # `  K )  =  0  /\  N  =  0 ) )  ->  (
( # `  K )  gcd  N )  e.  NN )
8667, 69, 84, 85syl21anc 1186 . . . 4  |-  ( ph  ->  ( ( # `  K
)  gcd  N )  e.  NN )
87 elnn1uz2 10247 . . . 4  |-  ( ( ( # `  K
)  gcd  N )  e.  NN  <->  ( ( (
# `  K )  gcd  N )  =  1  \/  ( ( # `  K )  gcd  N
)  e.  ( ZZ>= ` 
2 ) ) )
8886, 87sylib 190 . . 3  |-  ( ph  ->  ( ( ( # `  K )  gcd  N
)  =  1  \/  ( ( # `  K
)  gcd  N )  e.  ( ZZ>= `  2 )
) )
8988ord 368 . 2  |-  ( ph  ->  ( -.  ( (
# `  K )  gcd  N )  =  1  ->  ( ( # `  K )  gcd  N
)  e.  ( ZZ>= ` 
2 ) ) )
9080, 89mt3d 119 1  |-  ( ph  ->  ( ( # `  K
)  gcd  N )  =  1 )
Colors of variables: wff set class
Syntax hints:   -. wn 5    -> wi 6    <-> wb 178    \/ wo 359    /\ wa 360    = wceq 1619    e. wcel 1621    =/= wne 2419   E.wrex 2517   {crab 2520   _Vcvv 2757    C_ wss 3113   class class class wbr 3983   ` cfv 4659  (class class class)co 5778   Fincfn 6817   0cc0 8691   1c1 8692    x. cmul 8696   NNcn 9700   2c2 9749   NN0cn0 9918   ZZcz 9977   ZZ>=cuz 10183   #chash 11289    || cdivides 12479    gcd cgcd 12633   Primecprime 12706   Basecbs 13096   ↾s cress 13097   Grpcgrp 14310  SubGrpcsubg 14563   odcod 14788   Abelcabel 15038
This theorem is referenced by:  ablfacrp2  15250
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2237  ax-rep 4091  ax-sep 4101  ax-nul 4109  ax-pow 4146  ax-pr 4172  ax-un 4470  ax-inf2 7296  ax-cnex 8747  ax-resscn 8748  ax-1cn 8749  ax-icn 8750  ax-addcl 8751  ax-addrcl 8752  ax-mulcl 8753  ax-mulrcl 8754  ax-mulcom 8755  ax-addass 8756  ax-mulass 8757  ax-distr 8758  ax-i2m1 8759  ax-1ne0 8760  ax-1rid 8761  ax-rnegex 8762  ax-rrecex 8763  ax-cnre 8764  ax-pre-lttri 8765  ax-pre-lttrn 8766  ax-pre-ltadd 8767  ax-pre-mulgt0 8768  ax-pre-sup 8769
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-nel 2422  df-ral 2521  df-rex 2522  df-reu 2523  df-rmo 2524  df-rab 2525  df-v 2759  df-sbc 2953  df-csb 3043  df-dif 3116  df-un 3118  df-in 3120  df-ss 3127  df-pss 3129  df-nul 3417  df-if 3526  df-pw 3587  df-sn 3606  df-pr 3607  df-tp 3608  df-op 3609  df-uni 3788  df-int 3823  df-iun 3867  df-disj 3954  df-br 3984  df-opab 4038  df-mpt 4039  df-tr 4074  df-eprel 4263  df-id 4267  df-po 4272  df-so 4273  df-fr 4310  df-se 4311  df-we 4312  df-ord 4353  df-on 4354  df-lim 4355  df-suc 4356  df-om 4615  df-xp 4661  df-rel 4662  df-cnv 4663  df-co 4664  df-dm 4665  df-rn 4666  df-res 4667  df-ima 4668  df-fun 4669  df-fn 4670  df-f 4671  df-f1 4672  df-fo 4673  df-f1o 4674  df-fv 4675  df-isom 4676  df-ov 5781  df-oprab 5782  df-mpt2 5783  df-1st 6042  df-2nd 6043  df-iota 6211  df-riota 6258  df-recs 6342  df-rdg 6377  df-1o 6433  df-2o 6434  df-oadd 6437  df-omul 6438  df-er 6614  df-ec 6616  df-qs 6620  df-map 6728  df-en 6818  df-dom 6819  df-sdom 6820  df-fin 6821  df-sup 7148  df-oi 7179  df-card 7526  df-acn 7529  df-cda 7748  df-pnf 8823  df-mnf 8824  df-xr 8825  df-ltxr 8826  df-le 8827  df-sub 8993  df-neg 8994  df-div 9378  df-n 9701  df-2 9758  df-3 9759  df-n0 9919  df-z 9978  df-uz 10184  df-q 10270  df-rp 10308  df-fz 10735  df-fzo 10823  df-fl 10877  df-mod 10926  df-seq 10999  df-exp 11057  df-fac 11241  df-bc 11268  df-hash 11290  df-cj 11535  df-re 11536  df-im 11537  df-sqr 11671  df-abs 11672  df-clim 11913  df-sum 12110  df-divides 12480  df-gcd 12634  df-prime 12707  df-pc 12838  df-ndx 13099  df-slot 13100  df-base 13101  df-sets 13102  df-ress 13103  df-plusg 13169  df-0g 13352  df-mnd 14315  df-submnd 14364  df-grp 14437  df-minusg 14438  df-sbg 14439  df-mulg 14440  df-subg 14566  df-eqg 14568  df-ga 14692  df-od 14792  df-cmn 15039  df-abl 15040
  Copyright terms: Public domain W3C validator