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

Theorem mumullem2 20434
Description: Lemma for mumul 20435. The product of two coprime squarefree numbers is squarefree. (Contributed by Mario Carneiro, 3-Oct-2014.)
Assertion
Ref Expression
mumullem2  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  ( A  x.  B
) )  =/=  0
)

Proof of Theorem mumullem2
Dummy variable  p is distinct from all other variables.
StepHypRef Expression
1 r19.26 2688 . . . 4  |-  ( A. p  e.  Prime  ( ( p  pCnt  A )  <_  1  /\  ( p 
pCnt  B )  <_  1
)  <->  ( A. p  e.  Prime  ( p  pCnt  A )  <_  1  /\  A. p  e.  Prime  (
p  pCnt  B )  <_  1 ) )
2 simpr 447 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  p  e.  Prime )
3 simpl1 958 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  A  e.  NN )
42, 3pccld 12919 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  A
)  e.  NN0 )
54nn0red 10035 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  A
)  e.  RR )
6 simpl2 959 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  B  e.  NN )
72, 6pccld 12919 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  B
)  e.  NN0 )
87nn0red 10035 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  B
)  e.  RR )
9 1re 8853 . . . . . . . . 9  |-  1  e.  RR
109a1i 10 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
1  e.  RR )
11 le2add 9272 . . . . . . . 8  |-  ( ( ( ( p  pCnt  A )  e.  RR  /\  ( p  pCnt  B )  e.  RR )  /\  ( 1  e.  RR  /\  1  e.  RR ) )  ->  ( (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 )  -> 
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  <_ 
( 1  +  1 ) ) )
125, 8, 10, 10, 11syl22anc 1183 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  <_  1  /\  ( p  pCnt  B
)  <_  1 )  ->  ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  <_  ( 1  +  1 ) ) )
13 ax-1ne0 8822 . . . . . . . . . . . 12  |-  1  =/=  0
14 simpl3 960 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( A  gcd  B
)  =  1 )
1514oveq2d 5890 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  ( A  gcd  B ) )  =  ( p  pCnt  1 ) )
163nnzd 10132 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  A  e.  ZZ )
176nnzd 10132 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  B  e.  ZZ )
18 pcgcd 12946 . . . . . . . . . . . . . . . 16  |-  ( ( p  e.  Prime  /\  A  e.  ZZ  /\  B  e.  ZZ )  ->  (
p  pCnt  ( A  gcd  B ) )  =  if ( ( p 
pCnt  A )  <_  (
p  pCnt  B ) ,  ( p  pCnt  A ) ,  ( p 
pCnt  B ) ) )
192, 16, 17, 18syl3anc 1182 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  ( A  gcd  B ) )  =  if ( ( p  pCnt  A )  <_  ( p  pCnt  B
) ,  ( p 
pCnt  A ) ,  ( p  pCnt  B )
) )
20 pc1 12924 . . . . . . . . . . . . . . . 16  |-  ( p  e.  Prime  ->  ( p 
pCnt  1 )  =  0 )
2120adantl 452 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  1
)  =  0 )
2215, 19, 213eqtr3d 2336 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  if ( ( p  pCnt  A )  <_  ( p  pCnt  B ) ,  ( p  pCnt  A ) ,  ( p  pCnt  B ) )  =  0 )
23 ifid 3610 . . . . . . . . . . . . . . . 16  |-  if ( ( p  pCnt  A
)  <_  ( p  pCnt  B ) ,  1 ,  1 )  =  1
24 ifeq12 3591 . . . . . . . . . . . . . . . 16  |-  ( ( 1  =  ( p 
pCnt  A )  /\  1  =  ( p  pCnt  B ) )  ->  if ( ( p  pCnt  A )  <_  ( p  pCnt  B ) ,  1 ,  1 )  =  if ( ( p 
pCnt  A )  <_  (
p  pCnt  B ) ,  ( p  pCnt  A ) ,  ( p 
pCnt  B ) ) )
2523, 24syl5eqr 2342 . . . . . . . . . . . . . . 15  |-  ( ( 1  =  ( p 
pCnt  A )  /\  1  =  ( p  pCnt  B ) )  ->  1  =  if ( ( p 
pCnt  A )  <_  (
p  pCnt  B ) ,  ( p  pCnt  A ) ,  ( p 
pCnt  B ) ) )
2625eqeq1d 2304 . . . . . . . . . . . . . 14  |-  ( ( 1  =  ( p 
pCnt  A )  /\  1  =  ( p  pCnt  B ) )  ->  (
1  =  0  <->  if ( ( p  pCnt  A )  <_  ( p  pCnt  B ) ,  ( p  pCnt  A ) ,  ( p  pCnt  B ) )  =  0 ) )
2722, 26syl5ibrcom 213 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( 1  =  ( p  pCnt  A
)  /\  1  =  ( p  pCnt  B ) )  ->  1  = 
0 ) )
2827necon3ad 2495 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( 1  =/=  0  ->  -.  ( 1  =  ( p  pCnt  A
)  /\  1  =  ( p  pCnt  B ) ) ) )
2913, 28mpi 16 . . . . . . . . . . 11  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  -.  ( 1  =  ( p  pCnt  A )  /\  1  =  (
p  pCnt  B )
) )
30 ax-1cn 8811 . . . . . . . . . . . . 13  |-  1  e.  CC
315recnd 8877 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  A
)  e.  CC )
32 subeq0 9089 . . . . . . . . . . . . 13  |-  ( ( 1  e.  CC  /\  ( p  pCnt  A )  e.  CC )  -> 
( ( 1  -  ( p  pCnt  A
) )  =  0  <->  1  =  ( p 
pCnt  A ) ) )
3330, 31, 32sylancr 644 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( 1  -  ( p  pCnt  A
) )  =  0  <->  1  =  ( p 
pCnt  A ) ) )
348recnd 8877 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  B
)  e.  CC )
35 subeq0 9089 . . . . . . . . . . . . 13  |-  ( ( 1  e.  CC  /\  ( p  pCnt  B )  e.  CC )  -> 
( ( 1  -  ( p  pCnt  B
) )  =  0  <->  1  =  ( p 
pCnt  B ) ) )
3630, 34, 35sylancr 644 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( 1  -  ( p  pCnt  B
) )  =  0  <->  1  =  ( p 
pCnt  B ) ) )
3733, 36anbi12d 691 . . . . . . . . . . 11  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( 1  -  ( p  pCnt  A ) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 )  <->  ( 1  =  ( p  pCnt  A
)  /\  1  =  ( p  pCnt  B ) ) ) )
3829, 37mtbird 292 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  -.  ( ( 1  -  ( p  pCnt  A
) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 ) )
3938adantr 451 . . . . . . . . 9  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  /\  (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 ) )  ->  -.  ( (
1  -  ( p 
pCnt  A ) )  =  0  /\  ( 1  -  ( p  pCnt  B ) )  =  0 ) )
40 eqcom 2298 . . . . . . . . . . 11  |-  ( ( 1  +  1 )  =  ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  <->  ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  =  ( 1  +  1 ) )
419, 9readdcli 8866 . . . . . . . . . . . . . . . . 17  |-  ( 1  +  1 )  e.  RR
4241recni 8865 . . . . . . . . . . . . . . . 16  |-  ( 1  +  1 )  e.  CC
434, 7nn0addcld 10038 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e. 
NN0 )
4443nn0red 10035 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e.  RR )
4544recnd 8877 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e.  CC )
46 subeq0 9089 . . . . . . . . . . . . . . . 16  |-  ( ( ( 1  +  1 )  e.  CC  /\  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e.  CC )  ->  (
( ( 1  +  1 )  -  (
( p  pCnt  A
)  +  ( p 
pCnt  B ) ) )  =  0  <->  ( 1  +  1 )  =  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) ) ) )
4742, 45, 46sylancr 644 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( 1  +  1 )  -  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) ) )  =  0  <->  ( 1  +  1 )  =  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) ) ) )
4847, 40syl6bb 252 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( 1  +  1 )  -  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) ) )  =  0  <->  ( (
p  pCnt  A )  +  ( p  pCnt  B ) )  =  ( 1  +  1 ) ) )
4910recnd 8877 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
1  e.  CC )
5049, 49, 31, 34addsub4d 9220 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( 1  +  1 )  -  (
( p  pCnt  A
)  +  ( p 
pCnt  B ) ) )  =  ( ( 1  -  ( p  pCnt  A ) )  +  ( 1  -  ( p 
pCnt  B ) ) ) )
5150eqeq1d 2304 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( 1  +  1 )  -  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) ) )  =  0  <->  ( (
1  -  ( p 
pCnt  A ) )  +  ( 1  -  (
p  pCnt  B )
) )  =  0 ) )
5248, 51bitr3d 246 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  =  ( 1  +  1 )  <->  ( (
1  -  ( p 
pCnt  A ) )  +  ( 1  -  (
p  pCnt  B )
) )  =  0 ) )
5352adantr 451 . . . . . . . . . . . 12  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  /\  (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 ) )  ->  ( ( ( p  pCnt  A )  +  ( p  pCnt  B ) )  =  ( 1  +  1 )  <-> 
( ( 1  -  ( p  pCnt  A
) )  +  ( 1  -  ( p 
pCnt  B ) ) )  =  0 ) )
54 subge0 9303 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  A )  e.  RR )  -> 
( 0  <_  (
1  -  ( p 
pCnt  A ) )  <->  ( p  pCnt  A )  <_  1
) )
559, 5, 54sylancr 644 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( 0  <_  (
1  -  ( p 
pCnt  A ) )  <->  ( p  pCnt  A )  <_  1
) )
56 subge0 9303 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  B )  e.  RR )  -> 
( 0  <_  (
1  -  ( p 
pCnt  B ) )  <->  ( p  pCnt  B )  <_  1
) )
579, 8, 56sylancr 644 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( 0  <_  (
1  -  ( p 
pCnt  B ) )  <->  ( p  pCnt  B )  <_  1
) )
5855, 57anbi12d 691 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( 0  <_ 
( 1  -  (
p  pCnt  A )
)  /\  0  <_  ( 1  -  ( p 
pCnt  B ) ) )  <-> 
( ( p  pCnt  A )  <_  1  /\  ( p  pCnt  B )  <_  1 ) ) )
59 resubcl 9127 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  A )  e.  RR )  -> 
( 1  -  (
p  pCnt  A )
)  e.  RR )
609, 5, 59sylancr 644 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( 1  -  (
p  pCnt  A )
)  e.  RR )
61 resubcl 9127 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  B )  e.  RR )  -> 
( 1  -  (
p  pCnt  B )
)  e.  RR )
629, 8, 61sylancr 644 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( 1  -  (
p  pCnt  B )
)  e.  RR )
63 add20 9302 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( 1  -  ( p  pCnt  A
) )  e.  RR  /\  0  <_  ( 1  -  ( p  pCnt  A ) ) )  /\  ( ( 1  -  ( p  pCnt  B
) )  e.  RR  /\  0  <_  ( 1  -  ( p  pCnt  B ) ) ) )  ->  ( ( ( 1  -  ( p 
pCnt  A ) )  +  ( 1  -  (
p  pCnt  B )
) )  =  0  <-> 
( ( 1  -  ( p  pCnt  A
) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 ) ) )
6463an4s 799 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( 1  -  ( p  pCnt  A
) )  e.  RR  /\  ( 1  -  (
p  pCnt  B )
)  e.  RR )  /\  ( 0  <_ 
( 1  -  (
p  pCnt  A )
)  /\  0  <_  ( 1  -  ( p 
pCnt  B ) ) ) )  ->  ( (
( 1  -  (
p  pCnt  A )
)  +  ( 1  -  ( p  pCnt  B ) ) )  =  0  <->  ( ( 1  -  ( p  pCnt  A ) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 ) ) )
6564ex 423 . . . . . . . . . . . . . . 15  |-  ( ( ( 1  -  (
p  pCnt  A )
)  e.  RR  /\  ( 1  -  (
p  pCnt  B )
)  e.  RR )  ->  ( ( 0  <_  ( 1  -  ( p  pCnt  A
) )  /\  0  <_  ( 1  -  (
p  pCnt  B )
) )  ->  (
( ( 1  -  ( p  pCnt  A
) )  +  ( 1  -  ( p 
pCnt  B ) ) )  =  0  <->  ( (
1  -  ( p 
pCnt  A ) )  =  0  /\  ( 1  -  ( p  pCnt  B ) )  =  0 ) ) ) )
6660, 62, 65syl2anc 642 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( 0  <_ 
( 1  -  (
p  pCnt  A )
)  /\  0  <_  ( 1  -  ( p 
pCnt  B ) ) )  ->  ( ( ( 1  -  ( p 
pCnt  A ) )  +  ( 1  -  (
p  pCnt  B )
) )  =  0  <-> 
( ( 1  -  ( p  pCnt  A
) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 ) ) ) )
6758, 66sylbird 226 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  <_  1  /\  ( p  pCnt  B
)  <_  1 )  ->  ( ( ( 1  -  ( p 
pCnt  A ) )  +  ( 1  -  (
p  pCnt  B )
) )  =  0  <-> 
( ( 1  -  ( p  pCnt  A
) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 ) ) ) )
6867imp 418 . . . . . . . . . . . 12  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  /\  (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 ) )  ->  ( ( ( 1  -  ( p 
pCnt  A ) )  +  ( 1  -  (
p  pCnt  B )
) )  =  0  <-> 
( ( 1  -  ( p  pCnt  A
) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 ) ) )
6953, 68bitrd 244 . . . . . . . . . . 11  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  /\  (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 ) )  ->  ( ( ( p  pCnt  A )  +  ( p  pCnt  B ) )  =  ( 1  +  1 )  <-> 
( ( 1  -  ( p  pCnt  A
) )  =  0  /\  ( 1  -  ( p  pCnt  B
) )  =  0 ) ) )
7040, 69syl5bb 248 . . . . . . . . . 10  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  /\  (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 ) )  ->  ( ( 1  +  1 )  =  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  <->  ( (
1  -  ( p 
pCnt  A ) )  =  0  /\  ( 1  -  ( p  pCnt  B ) )  =  0 ) ) )
7170necon3abid 2492 . . . . . . . . 9  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  /\  (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 ) )  ->  ( ( 1  +  1 )  =/=  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  <->  -.  (
( 1  -  (
p  pCnt  A )
)  =  0  /\  ( 1  -  (
p  pCnt  B )
)  =  0 ) ) )
7239, 71mpbird 223 . . . . . . . 8  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  /\  (
( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 ) )  ->  ( 1  +  1 )  =/=  (
( p  pCnt  A
)  +  ( p 
pCnt  B ) ) )
7372ex 423 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  <_  1  /\  ( p  pCnt  B
)  <_  1 )  ->  ( 1  +  1 )  =/=  (
( p  pCnt  A
)  +  ( p 
pCnt  B ) ) ) )
7412, 73jcad 519 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  <_  1  /\  ( p  pCnt  B
)  <_  1 )  ->  ( ( ( p  pCnt  A )  +  ( p  pCnt  B ) )  <_  (
1  +  1 )  /\  ( 1  +  1 )  =/=  (
( p  pCnt  A
)  +  ( p 
pCnt  B ) ) ) ) )
75 nnz 10061 . . . . . . . . . . 11  |-  ( A  e.  NN  ->  A  e.  ZZ )
76 nnne0 9794 . . . . . . . . . . 11  |-  ( A  e.  NN  ->  A  =/=  0 )
7775, 76jca 518 . . . . . . . . . 10  |-  ( A  e.  NN  ->  ( A  e.  ZZ  /\  A  =/=  0 ) )
783, 77syl 15 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( A  e.  ZZ  /\  A  =/=  0 ) )
79 nnz 10061 . . . . . . . . . . 11  |-  ( B  e.  NN  ->  B  e.  ZZ )
80 nnne0 9794 . . . . . . . . . . 11  |-  ( B  e.  NN  ->  B  =/=  0 )
8179, 80jca 518 . . . . . . . . . 10  |-  ( B  e.  NN  ->  ( B  e.  ZZ  /\  B  =/=  0 ) )
826, 81syl 15 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( B  e.  ZZ  /\  B  =/=  0 ) )
83 pcmul 12920 . . . . . . . . 9  |-  ( ( p  e.  Prime  /\  ( A  e.  ZZ  /\  A  =/=  0 )  /\  ( B  e.  ZZ  /\  B  =/=  0 ) )  -> 
( p  pCnt  ( A  x.  B )
)  =  ( ( p  pCnt  A )  +  ( p  pCnt  B ) ) )
842, 78, 82, 83syl3anc 1182 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  ( A  x.  B )
)  =  ( ( p  pCnt  A )  +  ( p  pCnt  B ) ) )
8584breq1d 4049 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  ( A  x.  B ) )  <_  1  <->  ( (
p  pCnt  A )  +  ( p  pCnt  B ) )  <_  1
) )
86 1nn0 9997 . . . . . . . 8  |-  1  e.  NN0
87 nn0leltp1 10091 . . . . . . . 8  |-  ( ( ( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e. 
NN0  /\  1  e.  NN0 )  ->  ( (
( p  pCnt  A
)  +  ( p 
pCnt  B ) )  <_ 
1  <->  ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  <  ( 1  +  1 ) ) )
8843, 86, 87sylancl 643 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  <_  1  <->  ( (
p  pCnt  A )  +  ( p  pCnt  B ) )  <  (
1  +  1 ) ) )
89 ltlen 8938 . . . . . . . 8  |-  ( ( ( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e.  RR  /\  ( 1  +  1 )  e.  RR )  ->  (
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  < 
( 1  +  1 )  <->  ( ( ( p  pCnt  A )  +  ( p  pCnt  B ) )  <_  (
1  +  1 )  /\  ( 1  +  1 )  =/=  (
( p  pCnt  A
)  +  ( p 
pCnt  B ) ) ) ) )
9044, 41, 89sylancl 643 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  <  ( 1  +  1 )  <->  ( (
( p  pCnt  A
)  +  ( p 
pCnt  B ) )  <_ 
( 1  +  1 )  /\  ( 1  +  1 )  =/=  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) ) ) ) )
9185, 88, 903bitrd 270 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  ( A  x.  B ) )  <_  1  <->  ( (
( p  pCnt  A
)  +  ( p 
pCnt  B ) )  <_ 
( 1  +  1 )  /\  ( 1  +  1 )  =/=  ( ( p  pCnt  A )  +  ( p 
pCnt  B ) ) ) ) )
9274, 91sylibrd 225 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( ( p 
pCnt  A )  <_  1  /\  ( p  pCnt  B
)  <_  1 )  ->  ( p  pCnt  ( A  x.  B ) )  <_  1 ) )
9392ralimdva 2634 . . . 4  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  ( A. p  e.  Prime  ( ( p  pCnt  A
)  <_  1  /\  ( p  pCnt  B )  <_  1 )  ->  A. p  e.  Prime  ( p  pCnt  ( A  x.  B ) )  <_ 
1 ) )
941, 93syl5bir 209 . . 3  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  (
( A. p  e. 
Prime  ( p  pCnt  A
)  <_  1  /\  A. p  e.  Prime  (
p  pCnt  B )  <_  1 )  ->  A. p  e.  Prime  ( p  pCnt  ( A  x.  B ) )  <_  1 ) )
95 issqf 20390 . . . . 5  |-  ( A  e.  NN  ->  (
( mmu `  A
)  =/=  0  <->  A. p  e.  Prime  ( p 
pCnt  A )  <_  1
) )
96 issqf 20390 . . . . 5  |-  ( B  e.  NN  ->  (
( mmu `  B
)  =/=  0  <->  A. p  e.  Prime  ( p 
pCnt  B )  <_  1
) )
9795, 96bi2anan9 843 . . . 4  |-  ( ( A  e.  NN  /\  B  e.  NN )  ->  ( ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 )  <-> 
( A. p  e. 
Prime  ( p  pCnt  A
)  <_  1  /\  A. p  e.  Prime  (
p  pCnt  B )  <_  1 ) ) )
98973adant3 975 . . 3  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  (
( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 )  <-> 
( A. p  e. 
Prime  ( p  pCnt  A
)  <_  1  /\  A. p  e.  Prime  (
p  pCnt  B )  <_  1 ) ) )
99 nnmulcl 9785 . . . . 5  |-  ( ( A  e.  NN  /\  B  e.  NN )  ->  ( A  x.  B
)  e.  NN )
100993adant3 975 . . . 4  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  ( A  x.  B )  e.  NN )
101 issqf 20390 . . . 4  |-  ( ( A  x.  B )  e.  NN  ->  (
( mmu `  ( A  x.  B )
)  =/=  0  <->  A. p  e.  Prime  ( p 
pCnt  ( A  x.  B ) )  <_ 
1 ) )
102100, 101syl 15 . . 3  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  (
( mmu `  ( A  x.  B )
)  =/=  0  <->  A. p  e.  Prime  ( p 
pCnt  ( A  x.  B ) )  <_ 
1 ) )
10394, 98, 1023imtr4d 259 . 2  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  (
( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 )  ->  ( mmu `  ( A  x.  B
) )  =/=  0
) )
104103imp 418 1  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  ( A  x.  B
) )  =/=  0
)
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696    =/= wne 2459   A.wral 2556   ifcif 3578   class class class wbr 4039   ` cfv 5271  (class class class)co 5874   CCcc 8751   RRcr 8752   0cc0 8753   1c1 8754    + caddc 8756    x. cmul 8758    < clt 8883    <_ cle 8884    - cmin 9053   NNcn 9762   NN0cn0 9981   ZZcz 10040    gcd cgcd 12701   Primecprime 12774    pCnt cpc 12905   mmucmu 20348
This theorem is referenced by:  mumul  20435
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830  ax-pre-sup 8831
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-2o 6496  df-oadd 6499  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-sup 7210  df-card 7588  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-div 9440  df-nn 9763  df-2 9820  df-3 9821  df-n0 9982  df-z 10041  df-uz 10247  df-q 10333  df-rp 10371  df-fz 10799  df-fl 10941  df-mod 10990  df-seq 11063  df-exp 11121  df-hash 11354  df-cj 11600  df-re 11601  df-im 11602  df-sqr 11736  df-abs 11737  df-dvds 12548  df-gcd 12702  df-prm 12775  df-pc 12906  df-mu 20354
  Copyright terms: Public domain W3C validator