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

Theorem mumul 20435
Description: The Möbius function is a multiplicative function. This is one of the primary interests of the Möbius function as an arithmetic function. (Contributed by Mario Carneiro, 3-Oct-2014.)
Assertion
Ref Expression
mumul  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  (
mmu `  ( A  x.  B ) )  =  ( ( mmu `  A )  x.  (
mmu `  B )
) )

Proof of Theorem mumul
Dummy variable  p is distinct from all other variables.
StepHypRef Expression
1 simpl2 959 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  ->  B  e.  NN )
2 mucl 20395 . . . . . 6  |-  ( B  e.  NN  ->  (
mmu `  B )  e.  ZZ )
31, 2syl 15 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  -> 
( mmu `  B
)  e.  ZZ )
43zcnd 10134 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  -> 
( mmu `  B
)  e.  CC )
54mul02d 9026 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  -> 
( 0  x.  (
mmu `  B )
)  =  0 )
6 simpr 447 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  -> 
( mmu `  A
)  =  0 )
76oveq1d 5889 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  -> 
( ( mmu `  A )  x.  (
mmu `  B )
)  =  ( 0  x.  ( mmu `  B ) ) )
8 mumullem1 20433 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN )  /\  ( mmu `  A )  =  0 )  ->  ( mmu `  ( A  x.  B
) )  =  0 )
983adantl3 1113 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  -> 
( mmu `  ( A  x.  B )
)  =  0 )
105, 7, 93eqtr4rd 2339 . 2  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  A )  =  0 )  -> 
( mmu `  ( A  x.  B )
)  =  ( ( mmu `  A )  x.  ( mmu `  B ) ) )
11 simpl1 958 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  ->  A  e.  NN )
12 mucl 20395 . . . . . 6  |-  ( A  e.  NN  ->  (
mmu `  A )  e.  ZZ )
1311, 12syl 15 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  -> 
( mmu `  A
)  e.  ZZ )
1413zcnd 10134 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  -> 
( mmu `  A
)  e.  CC )
1514mul01d 9027 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  -> 
( ( mmu `  A )  x.  0 )  =  0 )
16 simpr 447 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  -> 
( mmu `  B
)  =  0 )
1716oveq2d 5890 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  -> 
( ( mmu `  A )  x.  (
mmu `  B )
)  =  ( ( mmu `  A )  x.  0 ) )
18 nncn 9770 . . . . . . . 8  |-  ( A  e.  NN  ->  A  e.  CC )
19 nncn 9770 . . . . . . . 8  |-  ( B  e.  NN  ->  B  e.  CC )
20 mulcom 8839 . . . . . . . 8  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  x.  B
)  =  ( B  x.  A ) )
2118, 19, 20syl2an 463 . . . . . . 7  |-  ( ( A  e.  NN  /\  B  e.  NN )  ->  ( A  x.  B
)  =  ( B  x.  A ) )
2221fveq2d 5545 . . . . . 6  |-  ( ( A  e.  NN  /\  B  e.  NN )  ->  ( mmu `  ( A  x.  B )
)  =  ( mmu `  ( B  x.  A
) ) )
2322adantr 451 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN )  /\  ( mmu `  B )  =  0 )  ->  ( mmu `  ( A  x.  B
) )  =  ( mmu `  ( B  x.  A ) ) )
24 mumullem1 20433 . . . . . 6  |-  ( ( ( B  e.  NN  /\  A  e.  NN )  /\  ( mmu `  B )  =  0 )  ->  ( mmu `  ( B  x.  A
) )  =  0 )
2524ancom1s 780 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN )  /\  ( mmu `  B )  =  0 )  ->  ( mmu `  ( B  x.  A
) )  =  0 )
2623, 25eqtrd 2328 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN )  /\  ( mmu `  B )  =  0 )  ->  ( mmu `  ( A  x.  B
) )  =  0 )
27263adantl3 1113 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  -> 
( mmu `  ( A  x.  B )
)  =  0 )
2815, 17, 273eqtr4rd 2339 . 2  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( mmu `  B )  =  0 )  -> 
( mmu `  ( A  x.  B )
)  =  ( ( mmu `  A )  x.  ( mmu `  B ) ) )
29 simpl1 958 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  A  e.  NN )
30 simpl2 959 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  B  e.  NN )
3129, 30nnmulcld 9809 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( A  x.  B )  e.  NN )
32 mumullem2 20434 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  ( A  x.  B
) )  =/=  0
)
33 muval2 20388 . . . 4  |-  ( ( ( A  x.  B
)  e.  NN  /\  ( mmu `  ( A  x.  B ) )  =/=  0 )  -> 
( mmu `  ( A  x.  B )
)  =  ( -u
1 ^ ( # `  { p  e.  Prime  |  p  ||  ( A  x.  B ) } ) ) )
3431, 32, 33syl2anc 642 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  ( A  x.  B
) )  =  (
-u 1 ^ ( # `
 { p  e. 
Prime  |  p  ||  ( A  x.  B ) } ) ) )
35 neg1cn 9829 . . . . . 6  |-  -u 1  e.  CC
3635a1i 10 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  -u 1  e.  CC )
37 fzfi 11050 . . . . . . 7  |-  ( 1 ... B )  e. 
Fin
38 prmnn 12777 . . . . . . . . . 10  |-  ( p  e.  Prime  ->  p  e.  NN )
3938ssriv 3197 . . . . . . . . 9  |-  Prime  C_  NN
40 rabss2 3269 . . . . . . . . 9  |-  ( Prime  C_  NN  ->  { p  e.  Prime  |  p  ||  B }  C_  { p  e.  NN  |  p  ||  B } )
4139, 40ax-mp 8 . . . . . . . 8  |-  { p  e.  Prime  |  p  ||  B }  C_  { p  e.  NN  |  p  ||  B }
42 sgmss 20360 . . . . . . . . 9  |-  ( B  e.  NN  ->  { p  e.  NN  |  p  ||  B }  C_  ( 1 ... B ) )
4330, 42syl 15 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  NN  |  p  ||  B }  C_  ( 1 ... B ) )
4441, 43syl5ss 3203 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  Prime  |  p  ||  B }  C_  ( 1 ... B ) )
45 ssfi 7099 . . . . . . 7  |-  ( ( ( 1 ... B
)  e.  Fin  /\  { p  e.  Prime  |  p 
||  B }  C_  ( 1 ... B
) )  ->  { p  e.  Prime  |  p  ||  B }  e.  Fin )
4637, 44, 45sylancr 644 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  Prime  |  p  ||  B }  e.  Fin )
47 hashcl 11366 . . . . . 6  |-  ( { p  e.  Prime  |  p 
||  B }  e.  Fin  ->  ( # `  {
p  e.  Prime  |  p 
||  B } )  e.  NN0 )
4846, 47syl 15 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( # `  {
p  e.  Prime  |  p 
||  B } )  e.  NN0 )
49 fzfi 11050 . . . . . . 7  |-  ( 1 ... A )  e. 
Fin
50 rabss2 3269 . . . . . . . . 9  |-  ( Prime  C_  NN  ->  { p  e.  Prime  |  p  ||  A }  C_  { p  e.  NN  |  p  ||  A } )
5139, 50ax-mp 8 . . . . . . . 8  |-  { p  e.  Prime  |  p  ||  A }  C_  { p  e.  NN  |  p  ||  A }
52 sgmss 20360 . . . . . . . . 9  |-  ( A  e.  NN  ->  { p  e.  NN  |  p  ||  A }  C_  ( 1 ... A ) )
5329, 52syl 15 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  NN  |  p  ||  A }  C_  ( 1 ... A ) )
5451, 53syl5ss 3203 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  Prime  |  p  ||  A }  C_  ( 1 ... A ) )
55 ssfi 7099 . . . . . . 7  |-  ( ( ( 1 ... A
)  e.  Fin  /\  { p  e.  Prime  |  p 
||  A }  C_  ( 1 ... A
) )  ->  { p  e.  Prime  |  p  ||  A }  e.  Fin )
5649, 54, 55sylancr 644 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  Prime  |  p  ||  A }  e.  Fin )
57 hashcl 11366 . . . . . 6  |-  ( { p  e.  Prime  |  p 
||  A }  e.  Fin  ->  ( # `  {
p  e.  Prime  |  p 
||  A } )  e.  NN0 )
5856, 57syl 15 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( # `  {
p  e.  Prime  |  p 
||  A } )  e.  NN0 )
5936, 48, 58expaddd 11263 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( -u 1 ^ ( ( # `  { p  e.  Prime  |  p  ||  A }
)  +  ( # `  { p  e.  Prime  |  p  ||  B }
) ) )  =  ( ( -u 1 ^ ( # `  {
p  e.  Prime  |  p 
||  A } ) )  x.  ( -u
1 ^ ( # `  { p  e.  Prime  |  p  ||  B }
) ) ) )
60 simpr 447 . . . . . . . . . 10  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  p  e. 
Prime )
61 simpl1 958 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  A  e.  NN )
6261nnzd 10132 . . . . . . . . . . 11  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  A  e.  ZZ )
6362adantlr 695 . . . . . . . . . 10  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  A  e.  ZZ )
64 simpl2 959 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  B  e.  NN )
6564nnzd 10132 . . . . . . . . . . 11  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  p  e.  Prime )  ->  B  e.  ZZ )
6665adantlr 695 . . . . . . . . . 10  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  B  e.  ZZ )
67 euclemma 12803 . . . . . . . . . 10  |-  ( ( p  e.  Prime  /\  A  e.  ZZ  /\  B  e.  ZZ )  ->  (
p  ||  ( A  x.  B )  <->  ( p  ||  A  \/  p  ||  B ) ) )
6860, 63, 66, 67syl3anc 1182 . . . . . . . . 9  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  ( p 
||  ( A  x.  B )  <->  ( p  ||  A  \/  p  ||  B ) ) )
6968rabbidva 2792 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  Prime  |  p  ||  ( A  x.  B
) }  =  {
p  e.  Prime  |  ( p  ||  A  \/  p  ||  B ) } )
70 unrab 3452 . . . . . . . 8  |-  ( { p  e.  Prime  |  p 
||  A }  u.  { p  e.  Prime  |  p 
||  B } )  =  { p  e. 
Prime  |  ( p  ||  A  \/  p  ||  B ) }
7169, 70syl6eqr 2346 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  Prime  |  p  ||  ( A  x.  B
) }  =  ( { p  e.  Prime  |  p  ||  A }  u.  { p  e.  Prime  |  p  ||  B }
) )
7271fveq2d 5545 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( # `  {
p  e.  Prime  |  p 
||  ( A  x.  B ) } )  =  ( # `  ( { p  e.  Prime  |  p  ||  A }  u.  { p  e.  Prime  |  p  ||  B }
) ) )
73 inrab 3453 . . . . . . . 8  |-  ( { p  e.  Prime  |  p 
||  A }  i^i  { p  e.  Prime  |  p 
||  B } )  =  { p  e. 
Prime  |  ( p  ||  A  /\  p  ||  B ) }
74 nprmdvds1 12806 . . . . . . . . . . . 12  |-  ( p  e.  Prime  ->  -.  p  ||  1 )
7574adantl 452 . . . . . . . . . . 11  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  -.  p  ||  1 )
76 prmz 12778 . . . . . . . . . . . . . 14  |-  ( p  e.  Prime  ->  p  e.  ZZ )
7776adantl 452 . . . . . . . . . . . . 13  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  p  e.  ZZ )
78 dvdsgcd 12738 . . . . . . . . . . . . 13  |-  ( ( p  e.  ZZ  /\  A  e.  ZZ  /\  B  e.  ZZ )  ->  (
( p  ||  A  /\  p  ||  B )  ->  p  ||  ( A  gcd  B ) ) )
7977, 63, 66, 78syl3anc 1182 . . . . . . . . . . . 12  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  ( ( p  ||  A  /\  p  ||  B )  ->  p  ||  ( A  gcd  B ) ) )
80 simpll3 996 . . . . . . . . . . . . 13  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  ( A  gcd  B )  =  1 )
8180breq2d 4051 . . . . . . . . . . . 12  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  ( p 
||  ( A  gcd  B )  <->  p  ||  1 ) )
8279, 81sylibd 205 . . . . . . . . . . 11  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  ( ( p  ||  A  /\  p  ||  B )  ->  p  ||  1 ) )
8375, 82mtod 168 . . . . . . . . . 10  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  (
( mmu `  A
)  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  /\  p  e. 
Prime )  ->  -.  (
p  ||  A  /\  p  ||  B ) )
8483ralrimiva 2639 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  A. p  e.  Prime  -.  ( p  ||  A  /\  p  ||  B ) )
85 rabeq0 3489 . . . . . . . . 9  |-  ( { p  e.  Prime  |  ( p  ||  A  /\  p  ||  B ) }  =  (/)  <->  A. p  e.  Prime  -.  ( p  ||  A  /\  p  ||  B ) )
8684, 85sylibr 203 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  { p  e.  Prime  |  ( p 
||  A  /\  p  ||  B ) }  =  (/) )
8773, 86syl5eq 2340 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( {
p  e.  Prime  |  p 
||  A }  i^i  { p  e.  Prime  |  p 
||  B } )  =  (/) )
88 hashun 11380 . . . . . . 7  |-  ( ( { p  e.  Prime  |  p  ||  A }  e.  Fin  /\  { p  e.  Prime  |  p  ||  B }  e.  Fin  /\  ( { p  e. 
Prime  |  p  ||  A }  i^i  { p  e. 
Prime  |  p  ||  B } )  =  (/) )  ->  ( # `  ( { p  e.  Prime  |  p  ||  A }  u.  { p  e.  Prime  |  p  ||  B }
) )  =  ( ( # `  {
p  e.  Prime  |  p 
||  A } )  +  ( # `  {
p  e.  Prime  |  p 
||  B } ) ) )
8956, 46, 87, 88syl3anc 1182 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( # `  ( { p  e.  Prime  |  p  ||  A }  u.  { p  e.  Prime  |  p  ||  B }
) )  =  ( ( # `  {
p  e.  Prime  |  p 
||  A } )  +  ( # `  {
p  e.  Prime  |  p 
||  B } ) ) )
9072, 89eqtrd 2328 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( # `  {
p  e.  Prime  |  p 
||  ( A  x.  B ) } )  =  ( ( # `  { p  e.  Prime  |  p  ||  A }
)  +  ( # `  { p  e.  Prime  |  p  ||  B }
) ) )
9190oveq2d 5890 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( -u 1 ^ ( # `  {
p  e.  Prime  |  p 
||  ( A  x.  B ) } ) )  =  ( -u
1 ^ ( (
# `  { p  e.  Prime  |  p  ||  A } )  +  (
# `  { p  e.  Prime  |  p  ||  B } ) ) ) )
92 simprl 732 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  A )  =/=  0
)
93 muval2 20388 . . . . . 6  |-  ( ( A  e.  NN  /\  ( mmu `  A )  =/=  0 )  -> 
( mmu `  A
)  =  ( -u
1 ^ ( # `  { p  e.  Prime  |  p  ||  A }
) ) )
9429, 92, 93syl2anc 642 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  A )  =  (
-u 1 ^ ( # `
 { p  e. 
Prime  |  p  ||  A } ) ) )
95 simprr 733 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  B )  =/=  0
)
96 muval2 20388 . . . . . 6  |-  ( ( B  e.  NN  /\  ( mmu `  B )  =/=  0 )  -> 
( mmu `  B
)  =  ( -u
1 ^ ( # `  { p  e.  Prime  |  p  ||  B }
) ) )
9730, 95, 96syl2anc 642 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  B )  =  (
-u 1 ^ ( # `
 { p  e. 
Prime  |  p  ||  B } ) ) )
9894, 97oveq12d 5892 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( (
mmu `  A )  x.  ( mmu `  B
) )  =  ( ( -u 1 ^ ( # `  {
p  e.  Prime  |  p 
||  A } ) )  x.  ( -u
1 ^ ( # `  { p  e.  Prime  |  p  ||  B }
) ) ) )
9959, 91, 983eqtr4rd 2339 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( (
mmu `  A )  x.  ( mmu `  B
) )  =  (
-u 1 ^ ( # `
 { p  e. 
Prime  |  p  ||  ( A  x.  B ) } ) ) )
10034, 99eqtr4d 2331 . 2  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  /\  ( ( mmu `  A )  =/=  0  /\  ( mmu `  B
)  =/=  0 ) )  ->  ( mmu `  ( A  x.  B
) )  =  ( ( mmu `  A
)  x.  ( mmu `  B ) ) )
10110, 28, 100pm2.61da2ne 2538 1  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  ( A  gcd  B )  =  1 )  ->  (
mmu `  ( A  x.  B ) )  =  ( ( mmu `  A )  x.  (
mmu `  B )
) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696    =/= wne 2459   A.wral 2556   {crab 2560    u. cun 3163    i^i cin 3164    C_ wss 3165   (/)c0 3468   class class class wbr 4039   ` cfv 5271  (class class class)co 5874   Fincfn 6879   CCcc 8751   0cc0 8753   1c1 8754    + caddc 8756    x. cmul 8758   -ucneg 9054   NNcn 9762   NN0cn0 9981   ZZcz 10040   ...cfz 10798   ^cexp 11120   #chash 11353    || cdivides 12547    gcd cgcd 12701   Primecprime 12774   mmucmu 20348
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-rep 4147  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-cda 7810  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