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

Theorem mumullem2 20824
Description: Lemma for mumul 20825. 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 2775 . . . 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 448 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  p  e.  Prime )
3 simpl1 960 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  A  e.  NN )
42, 3pccld 13145 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  A
)  e.  NN0 )
54nn0red 10201 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  A
)  e.  RR )
6 simpl2 961 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  B  e.  NN )
72, 6pccld 13145 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  B
)  e.  NN0 )
87nn0red 10201 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  B
)  e.  RR )
9 1re 9017 . . . . . . . . 9  |-  1  e.  RR
109a1i 11 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
1  e.  RR )
11 le2add 9436 . . . . . . . 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 1185 . . . . . . 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 8986 . . . . . . . . . . . 12  |-  1  =/=  0
14 simpl3 962 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( A  gcd  B
)  =  1 )
1514oveq2d 6030 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  ( A  gcd  B ) )  =  ( p  pCnt  1 ) )
163nnzd 10300 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  A  e.  ZZ )
176nnzd 10300 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  B  e.  ZZ )
18 pcgcd 13172 . . . . . . . . . . . . . . . 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 1184 . . . . . . . . . . . . . . 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 13150 . . . . . . . . . . . . . . . 16  |-  ( p  e.  Prime  ->  ( p 
pCnt  1 )  =  0 )
2120adantl 453 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  1
)  =  0 )
2215, 19, 213eqtr3d 2421 . . . . . . . . . . . . . 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 3708 . . . . . . . . . . . . . . . 16  |-  if ( ( p  pCnt  A
)  <_  ( p  pCnt  B ) ,  1 ,  1 )  =  1
24 ifeq12 3689 . . . . . . . . . . . . . . . 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 2427 . . . . . . . . . . . . . . 15  |-  ( ( 1  =  ( p 
pCnt  A )  /\  1  =  ( p  pCnt  B ) )  ->  1  =  if ( ( p 
pCnt  A )  <_  (
p  pCnt  B ) ,  ( p  pCnt  A ) ,  ( p 
pCnt  B ) ) )
2625eqeq1d 2389 . . . . . . . . . . . . . 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 214 . . . . . . . . . . . . 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 2580 . . . . . . . . . . . 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 17 . . . . . . . . . . 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 8975 . . . . . . . . . . . . 13  |-  1  e.  CC
315recnd 9041 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  A
)  e.  CC )
32 subeq0 9253 . . . . . . . . . . . . 13  |-  ( ( 1  e.  CC  /\  ( p  pCnt  A )  e.  CC )  -> 
( ( 1  -  ( p  pCnt  A
) )  =  0  <->  1  =  ( p 
pCnt  A ) ) )
3330, 31, 32sylancr 645 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( 1  -  ( p  pCnt  A
) )  =  0  <->  1  =  ( p 
pCnt  A ) ) )
348recnd 9041 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( p  pCnt  B
)  e.  CC )
35 subeq0 9253 . . . . . . . . . . . . 13  |-  ( ( 1  e.  CC  /\  ( p  pCnt  B )  e.  CC )  -> 
( ( 1  -  ( p  pCnt  B
) )  =  0  <->  1  =  ( p 
pCnt  B ) ) )
3630, 34, 35sylancr 645 . . . . . . . . . . . 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 692 . . . . . . . . . . 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 293 . . . . . . . . . 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 452 . . . . . . . . 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 2383 . . . . . . . . . . 11  |-  ( ( 1  +  1 )  =  ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  <->  ( ( p 
pCnt  A )  +  ( p  pCnt  B )
)  =  ( 1  +  1 ) )
419, 9readdcli 9030 . . . . . . . . . . . . . . . . 17  |-  ( 1  +  1 )  e.  RR
4241recni 9029 . . . . . . . . . . . . . . . 16  |-  ( 1  +  1 )  e.  CC
434, 7nn0addcld 10204 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e. 
NN0 )
4443nn0red 10201 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e.  RR )
4544recnd 9041 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( ( p  pCnt  A )  +  ( p 
pCnt  B ) )  e.  CC )
46 subeq0 9253 . . . . . . . . . . . . . . . 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 645 . . . . . . . . . . . . . . 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 253 . . . . . . . . . . . . . 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 9041 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
1  e.  CC )
5049, 49, 31, 34addsub4d 9384 . . . . . . . . . . . . . . 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 2389 . . . . . . . . . . . . . 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 247 . . . . . . . . . . . . 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 452 . . . . . . . . . . . 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 9467 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  A )  e.  RR )  -> 
( 0  <_  (
1  -  ( p 
pCnt  A ) )  <->  ( p  pCnt  A )  <_  1
) )
559, 5, 54sylancr 645 . . . . . . . . . . . . . . 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 9467 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  B )  e.  RR )  -> 
( 0  <_  (
1  -  ( p 
pCnt  B ) )  <->  ( p  pCnt  B )  <_  1
) )
579, 8, 56sylancr 645 . . . . . . . . . . . . . . 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 692 . . . . . . . . . . . . . 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 9291 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  A )  e.  RR )  -> 
( 1  -  (
p  pCnt  A )
)  e.  RR )
609, 5, 59sylancr 645 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( 1  -  (
p  pCnt  A )
)  e.  RR )
61 resubcl 9291 . . . . . . . . . . . . . . . 16  |-  ( ( 1  e.  RR  /\  ( p  pCnt  B )  e.  RR )  -> 
( 1  -  (
p  pCnt  B )
)  e.  RR )
629, 8, 61sylancr 645 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( 1  -  (
p  pCnt  B )
)  e.  RR )
63 add20 9466 . . . . . . . . . . . . . . . . 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 800 . . . . . . . . . . . . . . . 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 424 . . . . . . . . . . . . . . 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 643 . . . . . . . . . . . . . 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 227 . . . . . . . . . . . . 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 419 . . . . . . . . . . . 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 245 . . . . . . . . . . 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 249 . . . . . . . . . 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 2577 . . . . . . . . 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 224 . . . . . . . 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 424 . . . . . . 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 520 . . . . . 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 10229 . . . . . . . . . . 11  |-  ( A  e.  NN  ->  A  e.  ZZ )
76 nnne0 9958 . . . . . . . . . . 11  |-  ( A  e.  NN  ->  A  =/=  0 )
7775, 76jca 519 . . . . . . . . . 10  |-  ( A  e.  NN  ->  ( A  e.  ZZ  /\  A  =/=  0 ) )
783, 77syl 16 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( A  e.  ZZ  /\  A  =/=  0 ) )
79 nnz 10229 . . . . . . . . . . 11  |-  ( B  e.  NN  ->  B  e.  ZZ )
80 nnne0 9958 . . . . . . . . . . 11  |-  ( B  e.  NN  ->  B  =/=  0 )
8179, 80jca 519 . . . . . . . . . 10  |-  ( B  e.  NN  ->  ( B  e.  ZZ  /\  B  =/=  0 ) )
826, 81syl 16 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  -> 
( B  e.  ZZ  /\  B  =/=  0 ) )
83 pcmul 13146 . . . . . . . . 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 1184 . . . . . . . 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 4157 . . . . . . 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 10163 . . . . . . . 8  |-  1  e.  NN0
87 nn0leltp1 10259 . . . . . . . 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 644 . . . . . . 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 9102 . . . . . . . 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 644 . . . . . . 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 271 . . . . . 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 226 . . . . 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 2721 . . . 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 210 . . 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 20780 . . . . 5  |-  ( A  e.  NN  ->  (
( mmu `  A
)  =/=  0  <->  A. p  e.  Prime  ( p 
pCnt  A )  <_  1
) )
96 issqf 20780 . . . . 5  |-  ( B  e.  NN  ->  (
( mmu `  B
)  =/=  0  <->  A. p  e.  Prime  ( p 
pCnt  B )  <_  1
) )
9795, 96bi2anan9 844 . . . 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 977 . . 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 9949 . . . . 5  |-  ( ( A  e.  NN  /\  B  e.  NN )  ->  ( A  x.  B
)  e.  NN )
100993adant3 977 . . . 4  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  ( A  x.  B )  e.  NN )
101 issqf 20780 . . . 4  |-  ( ( A  x.  B )  e.  NN  ->  (
( mmu `  ( A  x.  B )
)  =/=  0  <->  A. p  e.  Prime  ( p 
pCnt  ( A  x.  B ) )  <_ 
1 ) )
102100, 101syl 16 . . 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 260 . 2  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  (
( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 )  ->  ( mmu `  ( A  x.  B
) )  =/=  0
) )
104103imp 419 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 177    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1717    =/= wne 2544   A.wral 2643   ifcif 3676   class class class wbr 4147   ` cfv 5388  (class class class)co 6014   CCcc 8915   RRcr 8916   0cc0 8917   1c1 8918    + caddc 8920    x. cmul 8922    < clt 9047    <_ cle 9048    - cmin 9217   NNcn 9926   NN0cn0 10147   ZZcz 10208    gcd cgcd 12927   Primecprime 13000    pCnt cpc 13131   mmucmu 20738
This theorem is referenced by:  mumul  20825
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2362  ax-sep 4265  ax-nul 4273  ax-pow 4312  ax-pr 4338  ax-un 4635  ax-cnex 8973  ax-resscn 8974  ax-1cn 8975  ax-icn 8976  ax-addcl 8977  ax-addrcl 8978  ax-mulcl 8979  ax-mulrcl 8980  ax-mulcom 8981  ax-addass 8982  ax-mulass 8983  ax-distr 8984  ax-i2m1 8985  ax-1ne0 8986  ax-1rid 8987  ax-rnegex 8988  ax-rrecex 8989  ax-cnre 8990  ax-pre-lttri 8991  ax-pre-lttrn 8992  ax-pre-ltadd 8993  ax-pre-mulgt0 8994  ax-pre-sup 8995
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2236  df-mo 2237  df-clab 2368  df-cleq 2374  df-clel 2377  df-nfc 2506  df-ne 2546  df-nel 2547  df-ral 2648  df-rex 2649  df-reu 2650  df-rmo 2651  df-rab 2652  df-v 2895  df-sbc 3099  df-csb 3189  df-dif 3260  df-un 3262  df-in 3264  df-ss 3271  df-pss 3273  df-nul 3566  df-if 3677  df-pw 3738  df-sn 3757  df-pr 3758  df-tp 3759  df-op 3760  df-uni 3952  df-int 3987  df-iun 4031  df-br 4148  df-opab 4202  df-mpt 4203  df-tr 4238  df-eprel 4429  df-id 4433  df-po 4438  df-so 4439  df-fr 4476  df-we 4478  df-ord 4519  df-on 4520  df-lim 4521  df-suc 4522  df-om 4780  df-xp 4818  df-rel 4819  df-cnv 4820  df-co 4821  df-dm 4822  df-rn 4823  df-res 4824  df-ima 4825  df-iota 5352  df-fun 5390  df-fn 5391  df-f 5392  df-f1 5393  df-fo 5394  df-f1o 5395  df-fv 5396  df-ov 6017  df-oprab 6018  df-mpt2 6019  df-1st 6282  df-2nd 6283  df-riota 6479  df-recs 6563  df-rdg 6598  df-1o 6654  df-2o 6655  df-oadd 6658  df-er 6835  df-en 7040  df-dom 7041  df-sdom 7042  df-fin 7043  df-sup 7375  df-card 7753  df-pnf 9049  df-mnf 9050  df-xr 9051  df-ltxr 9052  df-le 9053  df-sub 9219  df-neg 9220  df-div 9604  df-nn 9927  df-2 9984  df-3 9985  df-n0 10148  df-z 10209  df-uz 10415  df-q 10501  df-rp 10539  df-fz 10970  df-fl 11123  df-mod 11172  df-seq 11245  df-exp 11304  df-hash 11540  df-cj 11825  df-re 11826  df-im 11827  df-sqr 11961  df-abs 11962  df-dvds 12774  df-gcd 12928  df-prm 13001  df-pc 13132  df-mu 20744
  Copyright terms: Public domain W3C validator