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

Theorem mulgcd 12725
Description: Distribute multiplication by a nonnegative integer over gcd. (Contributed by Paul Chapman, 22-Jun-2011.) (Proof shortened by Mario Carneiro, 30-May-2014.)
Assertion
Ref Expression
mulgcd  |-  ( ( K  e.  NN0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  =  ( K  x.  ( M  gcd  N ) ) )

Proof of Theorem mulgcd
StepHypRef Expression
1 elnn0 9967 . . 3  |-  ( K  e.  NN0  <->  ( K  e.  NN  \/  K  =  0 ) )
2 simp1 955 . . . . . . . . 9  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  e.  NN )
32nnzd 10116 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  e.  ZZ )
4 simp2 956 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  M  e.  ZZ )
53, 4zmulcld 10123 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  M )  e.  ZZ )
6 simp3 957 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  N  e.  ZZ )
73, 6zmulcld 10123 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  N )  e.  ZZ )
85, 7gcdcld 12697 . . . . . 6  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  e. 
NN0 )
92nnnn0d 10018 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  e.  NN0 )
10 gcdcl 12696 . . . . . . . 8  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N
)  e.  NN0 )
11103adant1 973 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N )  e. 
NN0 )
129, 11nn0mulcld 10023 . . . . . 6  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  e. 
NN0 )
138nn0cnd 10020 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  e.  CC )
142nncnd 9762 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  e.  CC )
152nnne0d 9790 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  =/=  0 )
1613, 14, 15divcan2d 9538 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K ) )  =  ( ( K  x.  M )  gcd  ( K  x.  N )
) )
17 gcddvds 12694 . . . . . . . . . . . . 13  |-  ( ( ( K  x.  M
)  e.  ZZ  /\  ( K  x.  N
)  e.  ZZ )  ->  ( ( ( K  x.  M )  gcd  ( K  x.  N ) )  ||  ( K  x.  M
)  /\  ( ( K  x.  M )  gcd  ( K  x.  N
) )  ||  ( K  x.  N )
) )
185, 7, 17syl2anc 642 . . . . . . . . . . . 12  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( K  x.  M )  gcd  ( K  x.  N )
)  ||  ( K  x.  M )  /\  (
( K  x.  M
)  gcd  ( K  x.  N ) )  ||  ( K  x.  N
) ) )
1918simpld 445 . . . . . . . . . . 11  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  ||  ( K  x.  M
) )
2016, 19eqbrtrd 4043 . . . . . . . . . 10  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K ) )  ||  ( K  x.  M
) )
21 dvdsmul1 12550 . . . . . . . . . . . . . 14  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ )  ->  K  ||  ( K  x.  M ) )
223, 4, 21syl2anc 642 . . . . . . . . . . . . 13  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  ||  ( K  x.  M
) )
23 dvdsmul1 12550 . . . . . . . . . . . . . 14  |-  ( ( K  e.  ZZ  /\  N  e.  ZZ )  ->  K  ||  ( K  x.  N ) )
243, 6, 23syl2anc 642 . . . . . . . . . . . . 13  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  ||  ( K  x.  N
) )
25 dvdsgcd 12722 . . . . . . . . . . . . . 14  |-  ( ( K  e.  ZZ  /\  ( K  x.  M
)  e.  ZZ  /\  ( K  x.  N
)  e.  ZZ )  ->  ( ( K 
||  ( K  x.  M )  /\  K  ||  ( K  x.  N
) )  ->  K  ||  ( ( K  x.  M )  gcd  ( K  x.  N )
) ) )
263, 5, 7, 25syl3anc 1182 . . . . . . . . . . . . 13  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  ||  ( K  x.  M )  /\  K  ||  ( K  x.  N ) )  ->  K  ||  (
( K  x.  M
)  gcd  ( K  x.  N ) ) ) )
2722, 24, 26mp2and 660 . . . . . . . . . . . 12  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  ||  ( ( K  x.  M )  gcd  ( K  x.  N )
) )
288nn0zd 10115 . . . . . . . . . . . . 13  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  e.  ZZ )
29 dvdsval2 12534 . . . . . . . . . . . . 13  |-  ( ( K  e.  ZZ  /\  K  =/=  0  /\  (
( K  x.  M
)  gcd  ( K  x.  N ) )  e.  ZZ )  ->  ( K  ||  ( ( K  x.  M )  gcd  ( K  x.  N
) )  <->  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K )  e.  ZZ ) )
303, 15, 28, 29syl3anc 1182 . . . . . . . . . . . 12  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  ||  ( ( K  x.  M )  gcd  ( K  x.  N
) )  <->  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K )  e.  ZZ ) )
3127, 30mpbid 201 . . . . . . . . . . 11  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K )  e.  ZZ )
32 dvdscmulr 12557 . . . . . . . . . . 11  |-  ( ( ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  e.  ZZ  /\  M  e.  ZZ  /\  ( K  e.  ZZ  /\  K  =/=  0 ) )  -> 
( ( K  x.  ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
) )  ||  ( K  x.  M )  <->  ( ( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K ) 
||  M ) )
3331, 4, 3, 15, 32syl112anc 1186 . . . . . . . . . 10  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  (
( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K ) )  ||  ( K  x.  M )  <->  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K )  ||  M
) )
3420, 33mpbid 201 . . . . . . . . 9  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K ) 
||  M )
3518simprd 449 . . . . . . . . . . 11  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  ||  ( K  x.  N
) )
3616, 35eqbrtrd 4043 . . . . . . . . . 10  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K ) )  ||  ( K  x.  N
) )
37 dvdscmulr 12557 . . . . . . . . . . 11  |-  ( ( ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  e.  ZZ  /\  N  e.  ZZ  /\  ( K  e.  ZZ  /\  K  =/=  0 ) )  -> 
( ( K  x.  ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
) )  ||  ( K  x.  N )  <->  ( ( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K ) 
||  N ) )
3831, 6, 3, 15, 37syl112anc 1186 . . . . . . . . . 10  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  (
( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K ) )  ||  ( K  x.  N )  <->  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K )  ||  N
) )
3936, 38mpbid 201 . . . . . . . . 9  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K ) 
||  N )
40 dvdsgcd 12722 . . . . . . . . . 10  |-  ( ( ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( ( ( K  x.  M )  gcd  ( K  x.  N ) )  /  K )  ||  M  /\  ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  ||  N )  ->  ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  ||  ( M  gcd  N ) ) )
4131, 4, 6, 40syl3anc 1182 . . . . . . . . 9  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( ( ( K  x.  M )  gcd  ( K  x.  N ) )  /  K )  ||  M  /\  ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  ||  N )  ->  ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  ||  ( M  gcd  N ) ) )
4234, 39, 41mp2and 660 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( K  x.  M )  gcd  ( K  x.  N )
)  /  K ) 
||  ( M  gcd  N ) )
4311nn0zd 10115 . . . . . . . . 9  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N )  e.  ZZ )
44 dvdscmul 12555 . . . . . . . . 9  |-  ( ( ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  e.  ZZ  /\  ( M  gcd  N )  e.  ZZ  /\  K  e.  ZZ )  ->  (
( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  ||  ( M  gcd  N )  ->  ( K  x.  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K ) )  ||  ( K  x.  ( M  gcd  N ) ) ) )
4531, 43, 3, 44syl3anc 1182 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( ( K  x.  M )  gcd  ( K  x.  N
) )  /  K
)  ||  ( M  gcd  N )  ->  ( K  x.  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K ) )  ||  ( K  x.  ( M  gcd  N ) ) ) )
4642, 45mpd 14 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( (
( K  x.  M
)  gcd  ( K  x.  N ) )  /  K ) )  ||  ( K  x.  ( M  gcd  N ) ) )
4716, 46eqbrtrrd 4045 . . . . . 6  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  ||  ( K  x.  ( M  gcd  N ) ) )
48 gcddvds 12694 . . . . . . . . . 10  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( M  gcd  N )  ||  M  /\  ( M  gcd  N ) 
||  N ) )
49483adant1 973 . . . . . . . . 9  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( M  gcd  N
)  ||  M  /\  ( M  gcd  N ) 
||  N ) )
5049simpld 445 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N )  ||  M )
51 dvdscmul 12555 . . . . . . . . 9  |-  ( ( ( M  gcd  N
)  e.  ZZ  /\  M  e.  ZZ  /\  K  e.  ZZ )  ->  (
( M  gcd  N
)  ||  M  ->  ( K  x.  ( M  gcd  N ) ) 
||  ( K  x.  M ) ) )
5243, 4, 3, 51syl3anc 1182 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( M  gcd  N
)  ||  M  ->  ( K  x.  ( M  gcd  N ) ) 
||  ( K  x.  M ) ) )
5350, 52mpd 14 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  ||  ( K  x.  M
) )
5449simprd 449 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N )  ||  N )
55 dvdscmul 12555 . . . . . . . . 9  |-  ( ( ( M  gcd  N
)  e.  ZZ  /\  N  e.  ZZ  /\  K  e.  ZZ )  ->  (
( M  gcd  N
)  ||  N  ->  ( K  x.  ( M  gcd  N ) ) 
||  ( K  x.  N ) ) )
5643, 6, 3, 55syl3anc 1182 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( M  gcd  N
)  ||  N  ->  ( K  x.  ( M  gcd  N ) ) 
||  ( K  x.  N ) ) )
5754, 56mpd 14 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  ||  ( K  x.  N
) )
5812nn0zd 10115 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  e.  ZZ )
59 dvdsgcd 12722 . . . . . . . 8  |-  ( ( ( K  x.  ( M  gcd  N ) )  e.  ZZ  /\  ( K  x.  M )  e.  ZZ  /\  ( K  x.  N )  e.  ZZ )  ->  (
( ( K  x.  ( M  gcd  N ) )  ||  ( K  x.  M )  /\  ( K  x.  ( M  gcd  N ) ) 
||  ( K  x.  N ) )  -> 
( K  x.  ( M  gcd  N ) ) 
||  ( ( K  x.  M )  gcd  ( K  x.  N
) ) ) )
6058, 5, 7, 59syl3anc 1182 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( ( K  x.  ( M  gcd  N ) )  ||  ( K  x.  M )  /\  ( K  x.  ( M  gcd  N ) ) 
||  ( K  x.  N ) )  -> 
( K  x.  ( M  gcd  N ) ) 
||  ( ( K  x.  M )  gcd  ( K  x.  N
) ) ) )
6153, 57, 60mp2and 660 . . . . . 6  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  ||  ( ( K  x.  M )  gcd  ( K  x.  N )
) )
62 dvdseq 12576 . . . . . 6  |-  ( ( ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  e.  NN0  /\  ( K  x.  ( M  gcd  N ) )  e.  NN0 )  /\  ( ( ( K  x.  M )  gcd  ( K  x.  N
) )  ||  ( K  x.  ( M  gcd  N ) )  /\  ( K  x.  ( M  gcd  N ) ) 
||  ( ( K  x.  M )  gcd  ( K  x.  N
) ) ) )  ->  ( ( K  x.  M )  gcd  ( K  x.  N
) )  =  ( K  x.  ( M  gcd  N ) ) )
638, 12, 47, 61, 62syl22anc 1183 . . . . 5  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  =  ( K  x.  ( M  gcd  N ) ) )
64633expib 1154 . . . 4  |-  ( K  e.  NN  ->  (
( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  x.  M )  gcd  ( K  x.  N
) )  =  ( K  x.  ( M  gcd  N ) ) ) )
65103adant1 973 . . . . . . . . 9  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N
)  e.  NN0 )
6665nn0cnd 10020 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N
)  e.  CC )
6766mul02d 9010 . . . . . . 7  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0  x.  ( M  gcd  N ) )  =  0 )
68 gcd0val 12688 . . . . . . 7  |-  ( 0  gcd  0 )  =  0
6967, 68syl6reqr 2334 . . . . . 6  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0  gcd  0
)  =  ( 0  x.  ( M  gcd  N ) ) )
70 simp1 955 . . . . . . . . 9  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  =  0 )
7170oveq1d 5873 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  M
)  =  ( 0  x.  M ) )
72 zcn 10029 . . . . . . . . . 10  |-  ( M  e.  ZZ  ->  M  e.  CC )
73723ad2ant2 977 . . . . . . . . 9  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  M  e.  CC )
7473mul02d 9010 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0  x.  M
)  =  0 )
7571, 74eqtrd 2315 . . . . . . 7  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  M
)  =  0 )
7670oveq1d 5873 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  N
)  =  ( 0  x.  N ) )
77 zcn 10029 . . . . . . . . . 10  |-  ( N  e.  ZZ  ->  N  e.  CC )
78773ad2ant3 978 . . . . . . . . 9  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  N  e.  CC )
7978mul02d 9010 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0  x.  N
)  =  0 )
8076, 79eqtrd 2315 . . . . . . 7  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  N
)  =  0 )
8175, 80oveq12d 5876 . . . . . 6  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  x.  M )  gcd  ( K  x.  N )
)  =  ( 0  gcd  0 ) )
8270oveq1d 5873 . . . . . 6  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  =  ( 0  x.  ( M  gcd  N
) ) )
8369, 81, 823eqtr4d 2325 . . . . 5  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  x.  M )  gcd  ( K  x.  N )
)  =  ( K  x.  ( M  gcd  N ) ) )
84833expib 1154 . . . 4  |-  ( K  =  0  ->  (
( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  x.  M )  gcd  ( K  x.  N
) )  =  ( K  x.  ( M  gcd  N ) ) ) )
8564, 84jaoi 368 . . 3  |-  ( ( K  e.  NN  \/  K  =  0 )  ->  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  =  ( K  x.  ( M  gcd  N ) ) ) )
861, 85sylbi 187 . 2  |-  ( K  e.  NN0  ->  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  x.  M )  gcd  ( K  x.  N )
)  =  ( K  x.  ( M  gcd  N ) ) ) )
87863impib 1149 1  |-  ( ( K  e.  NN0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  =  ( K  x.  ( M  gcd  N ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684    =/= wne 2446   class class class wbr 4023  (class class class)co 5858   CCcc 8735   0cc0 8737    x. cmul 8742    / cdiv 9423   NNcn 9746   NN0cn0 9965   ZZcz 10024    || cdivides 12531    gcd cgcd 12685
This theorem is referenced by:  absmulgcd  12726  mulgcdr  12727  mulgcddvds  12783  qredeu  12786  coprimeprodsq  12862  pythagtriplem4  12872  odadd2  15141  2sqlem8  20611
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-sup 7194  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-n0 9966  df-z 10025  df-uz 10231  df-rp 10355  df-fl 10925  df-mod 10974  df-seq 11047  df-exp 11105  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-dvds 12532  df-gcd 12686
  Copyright terms: Public domain W3C validator