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

Theorem ablfacrplem 15135
Description: Lemma for ablfacrp2 15137. (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 12664 . . . . . . 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 3932 . . . . . 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 9995 . . . . . . . . . . . . . . 15  |-  ( ph  ->  M  e.  ZZ )
11 ablfacrp.o . . . . . . . . . . . . . . . 16  |-  O  =  ( od `  G
)
12 ablfacrp.b . . . . . . . . . . . . . . . 16  |-  B  =  ( Base `  G
)
1311, 12oddvdssubg 14982 . . . . . . . . . . . . . . 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 2337 . . . . . . . . . . . . 13  |-  ( ph  ->  K  e.  (SubGrp `  G ) )
1615ad2antrr 709 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  K  e.  (SubGrp `  G )
)
17 eqid 2253 . . . . . . . . . . . . 13  |-  ( Gs  K )  =  ( Gs  K )
1817subggrp 14459 . . . . . . . . . . . 12  |-  ( K  e.  (SubGrp `  G
)  ->  ( Gs  K
)  e.  Grp )
1916, 18syl 17 . . . . . . . . . . 11  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  ( Gs  K )  e.  Grp )
2017subgbas 14460 . . . . . . . . . . . . 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 9897 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  M  e.  NN0 )
24 ablfacrp.n . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  N  e.  NN )
2524nnnn0d 9897 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  N  e.  NN0 )
2623, 25nn0mulcld 9902 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( M  x.  N
)  e.  NN0 )
2722, 26eqeltrd 2327 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( # `  B
)  e.  NN0 )
28 fvex 5391 . . . . . . . . . . . . . . . . 17  |-  ( Base `  G )  e.  _V
2912, 28eqeltri 2323 . . . . . . . . . . . . . . . 16  |-  B  e. 
_V
30 hashclb 11230 . . . . . . . . . . . . . . . 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 3179 . . . . . . . . . . . . . . 15  |-  { x  e.  B  |  ( O `  x )  ||  M }  C_  B
347, 33eqsstri 3129 . . . . . . . . . . . . . 14  |-  K  C_  B
35 ssfi 6968 . . . . . . . . . . . . . 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 2328 . . . . . . . . . . 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 5381 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  ( # `
 K )  =  ( # `  ( Base `  ( Gs  K ) ) ) )
4240, 41breqtrd 3944 . . . . . . . . . . 11  |-  ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  ->  p  ||  ( # `  ( Base `  ( Gs  K ) ) ) )
43 eqid 2253 . . . . . . . . . . . 12  |-  ( Base `  ( Gs  K ) )  =  ( Base `  ( Gs  K ) )
44 eqid 2253 . . . . . . . . . . . 12  |-  ( od
`  ( Gs  K ) )  =  ( od
`  ( Gs  K ) )
4543, 44odcau 14750 . . . . . . . . . . 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 2695 . . . . . . . . . 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 14716 . . . . . . . . . . . . 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 5377 . . . . . . . . . . . . . . . 16  |-  ( x  =  g  ->  ( O `  x )  =  ( O `  g ) )
5251breq1d 3930 . . . . . . . . . . . . . . 15  |-  ( x  =  g  ->  (
( O `  x
)  ||  M  <->  ( O `  g )  ||  M
) )
5352, 7elrab2 2862 . . . . . . . . . . . . . 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 3942 . . . . . . . . . . 11  |-  ( ( ( ( ph  /\  p  e.  Prime )  /\  p  ||  ( # `  K
) )  /\  g  e.  K )  ->  (
( od `  ( Gs  K ) ) `  g )  ||  M
)
57 breq1 3923 . . . . . . . . . . 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 2629 . . . . . . . . 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 12635 . . . . . . . 8  |-  ( p  e.  Prime  ->  p  e.  ZZ )
6463adantl 454 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  p  e.  ZZ )
65 hashcl 11228 . . . . . . . . . 10  |-  ( K  e.  Fin  ->  ( # `
 K )  e. 
NN0 )
6636, 65syl 17 . . . . . . . . 9  |-  ( ph  ->  ( # `  K
)  e.  NN0 )
6766nn0zd 9994 . . . . . . . 8  |-  ( ph  ->  ( # `  K
)  e.  ZZ )
6867adantr 453 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  ( # `  K
)  e.  ZZ )
6924nnzd 9995 . . . . . . . 8  |-  ( ph  ->  N  e.  ZZ )
7069adantr 453 . . . . . . 7  |-  ( (
ph  /\  p  e.  Prime )  ->  N  e.  ZZ )
71 dvdsgcdb 12597 . . . . . . 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 12597 . . . . . . 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 2608 . . 3  |-  ( ph  ->  -.  E. p  e. 
Prime  p  ||  ( (
# `  K )  gcd  N ) )
79 exprmfct 12663 . . 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 9670 . . . . . 6  |-  ( ph  ->  N  =/=  0 )
82 simpr 449 . . . . . . 7  |-  ( ( ( # `  K
)  =  0  /\  N  =  0 )  ->  N  =  0 )
8382necon3ai 2452 . . . . . 6  |-  ( N  =/=  0  ->  -.  ( ( # `  K
)  =  0  /\  N  =  0 ) )
8481, 83syl 17 . . . . 5  |-  ( ph  ->  -.  ( ( # `  K )  =  0  /\  N  =  0 ) )
85 gcdn0cl 12567 . . . . 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 10173 . . . 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 2412   E.wrex 2510   {crab 2512   _Vcvv 2727    C_ wss 3078   class class class wbr 3920   ` cfv 4592  (class class class)co 5710   Fincfn 6749   0cc0 8617   1c1 8618    x. cmul 8622   NNcn 9626   2c2 9675   NN0cn0 9844   ZZcz 9903   ZZ>=cuz 10109   #chash 11215    || cdivides 12405    gcd cgcd 12559   Primecprime 12632   Basecbs 13022   ↾s cress 13023   Grpcgrp 14197  SubGrpcsubg 14450   odcod 14675   Abelcabel 14925
This theorem is referenced by:  ablfacrp2  15137
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 1926  ax-ext 2234  ax-rep 4028  ax-sep 4038  ax-nul 4046  ax-pow 4082  ax-pr 4108  ax-un 4403  ax-inf2 7226  ax-cnex 8673  ax-resscn 8674  ax-1cn 8675  ax-icn 8676  ax-addcl 8677  ax-addrcl 8678  ax-mulcl 8679  ax-mulrcl 8680  ax-mulcom 8681  ax-addass 8682  ax-mulass 8683  ax-distr 8684  ax-i2m1 8685  ax-1ne0 8686  ax-1rid 8687  ax-rnegex 8688  ax-rrecex 8689  ax-cnre 8690  ax-pre-lttri 8691  ax-pre-lttrn 8692  ax-pre-ltadd 8693  ax-pre-mulgt0 8694  ax-pre-sup 8695
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 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-nel 2415  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-int 3761  df-iun 3805  df-disj 3892  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-se 4246  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-isom 4609  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-1st 5974  df-2nd 5975  df-iota 6143  df-riota 6190  df-recs 6274  df-rdg 6309  df-1o 6365  df-2o 6366  df-oadd 6369  df-omul 6370  df-er 6546  df-ec 6548  df-qs 6552  df-map 6660  df-en 6750  df-dom 6751  df-sdom 6752  df-fin 6753  df-sup 7078  df-oi 7109  df-card 7456  df-acn 7459  df-cda 7678  df-pnf 8749  df-mnf 8750  df-xr 8751  df-ltxr 8752  df-le 8753  df-sub 8919  df-neg 8920  df-div 9304  df-n 9627  df-2 9684  df-3 9685  df-n0 9845  df-z 9904  df-uz 10110  df-q 10196  df-rp 10234  df-fz 10661  df-fzo 10749  df-fl 10803  df-mod 10852  df-seq 10925  df-exp 10983  df-fac 11167  df-bc 11194  df-hash 11216  df-cj 11461  df-re 11462  df-im 11463  df-sqr 11597  df-abs 11598  df-clim 11839  df-sum 12036  df-divides 12406  df-gcd 12560  df-prime 12633  df-pc 12764  df-ndx 13025  df-slot 13026  df-base 13027  df-sets 13028  df-ress 13029  df-plusg 13095  df-0g 13278  df-mnd 14202  df-submnd 14251  df-grp 14324  df-minusg 14325  df-sbg 14326  df-mulg 14327  df-subg 14453  df-eqg 14455  df-ga 14579  df-od 14679  df-cmn 14926  df-abl 14927
  Copyright terms: Public domain W3C validator