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

Theorem mulgcd 12741
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 9983 . . 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 10132 . . . . . . . 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 10139 . . . . . . 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 10139 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  N )  e.  ZZ )
85, 7gcdcld 12713 . . . . . 6  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  e. 
NN0 )
92nnnn0d 10034 . . . . . . 7  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  e.  NN0 )
10 gcdcl 12712 . . . . . . . 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 10039 . . . . . 6  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  e. 
NN0 )
138nn0cnd 10036 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  e.  CC )
142nncnd 9778 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  e.  CC )
152nnne0d 9806 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  K  =/=  0 )
1613, 14, 15divcan2d 9554 . . . . . . 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 12710 . . . . . . . . . . . . 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 4059 . . . . . . . . . 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 12566 . . . . . . . . . . . . . 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 12566 . . . . . . . . . . . . . 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 12738 . . . . . . . . . . . . . 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 10131 . . . . . . . . . . . . 13  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  e.  ZZ )
29 dvdsval2 12550 . . . . . . . . . . . . 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 12573 . . . . . . . . . . 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 4059 . . . . . . . . . 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 12573 . . . . . . . . . . 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 12738 . . . . . . . . . 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 10131 . . . . . . . . 9  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N )  e.  ZZ )
44 dvdscmul 12571 . . . . . . . . 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 4061 . . . . . 6  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( K  x.  M
)  gcd  ( K  x.  N ) )  ||  ( K  x.  ( M  gcd  N ) ) )
48 gcddvds 12710 . . . . . . . . . 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 12571 . . . . . . . . 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 12571 . . . . . . . . 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 10131 . . . . . . . 8  |-  ( ( K  e.  NN  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  e.  ZZ )
59 dvdsgcd 12738 . . . . . . . 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 12592 . . . . . 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 10036 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  gcd  N
)  e.  CC )
6766mul02d 9026 . . . . . . 7  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0  x.  ( M  gcd  N ) )  =  0 )
68 gcd0val 12704 . . . . . . 7  |-  ( 0  gcd  0 )  =  0
6967, 68syl6reqr 2347 . . . . . 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 5889 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  M
)  =  ( 0  x.  M ) )
72 zcn 10045 . . . . . . . . . 10  |-  ( M  e.  ZZ  ->  M  e.  CC )
73723ad2ant2 977 . . . . . . . . 9  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  M  e.  CC )
7473mul02d 9026 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0  x.  M
)  =  0 )
7571, 74eqtrd 2328 . . . . . . 7  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  M
)  =  0 )
7670oveq1d 5889 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  N
)  =  ( 0  x.  N ) )
77 zcn 10045 . . . . . . . . . 10  |-  ( N  e.  ZZ  ->  N  e.  CC )
78773ad2ant3 978 . . . . . . . . 9  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  N  e.  CC )
7978mul02d 9026 . . . . . . . 8  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0  x.  N
)  =  0 )
8076, 79eqtrd 2328 . . . . . . 7  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  N
)  =  0 )
8175, 80oveq12d 5892 . . . . . 6  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  x.  M )  gcd  ( K  x.  N )
)  =  ( 0  gcd  0 ) )
8270oveq1d 5889 . . . . . 6  |-  ( ( K  =  0  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  x.  ( M  gcd  N ) )  =  ( 0  x.  ( M  gcd  N
) ) )
8369, 81, 823eqtr4d 2338 . . . . 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 1632    e. wcel 1696    =/= wne 2459   class class class wbr 4039  (class class class)co 5874   CCcc 8751   0cc0 8753    x. cmul 8758    / cdiv 9439   NNcn 9762   NN0cn0 9981   ZZcz 10040    || cdivides 12547    gcd cgcd 12701
This theorem is referenced by:  absmulgcd  12742  mulgcdr  12743  mulgcddvds  12799  qredeu  12802  coprimeprodsq  12878  pythagtriplem4  12888  odadd2  15157  2sqlem8  20627
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-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-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-sup 7210  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-rp 10371  df-fl 10941  df-mod 10990  df-seq 11063  df-exp 11121  df-cj 11600  df-re 11601  df-im 11602  df-sqr 11736  df-abs 11737  df-dvds 12548  df-gcd 12702
  Copyright terms: Public domain W3C validator