ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  lcmdvds Unicode version

Theorem lcmdvds 12011
Description: The lcm of two integers divides any integer the two divide. (Contributed by Steve Rodriguez, 20-Jan-2020.)
Assertion
Ref Expression
lcmdvds  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N
)  ||  K )
)

Proof of Theorem lcmdvds
StepHypRef Expression
1 id 19 . . . . . . 7  |-  ( 0 
||  K  ->  0  ||  K )
2 breq1 3985 . . . . . . . . 9  |-  ( M  =  0  ->  ( M  ||  K  <->  0  ||  K ) )
32adantl 275 . . . . . . . 8  |-  ( ( N  e.  ZZ  /\  M  =  0 )  ->  ( M  ||  K 
<->  0  ||  K ) )
4 oveq1 5849 . . . . . . . . . 10  |-  ( M  =  0  ->  ( M lcm  N )  =  ( 0 lcm  N ) )
5 0z 9202 . . . . . . . . . . . 12  |-  0  e.  ZZ
6 lcmcom 11996 . . . . . . . . . . . 12  |-  ( ( 0  e.  ZZ  /\  N  e.  ZZ )  ->  ( 0 lcm  N )  =  ( N lcm  0
) )
75, 6mpan 421 . . . . . . . . . . 11  |-  ( N  e.  ZZ  ->  (
0 lcm  N )  =  ( N lcm  0 ) )
8 lcm0val 11997 . . . . . . . . . . 11  |-  ( N  e.  ZZ  ->  ( N lcm  0 )  =  0 )
97, 8eqtrd 2198 . . . . . . . . . 10  |-  ( N  e.  ZZ  ->  (
0 lcm  N )  =  0 )
104, 9sylan9eqr 2221 . . . . . . . . 9  |-  ( ( N  e.  ZZ  /\  M  =  0 )  ->  ( M lcm  N
)  =  0 )
1110breq1d 3992 . . . . . . . 8  |-  ( ( N  e.  ZZ  /\  M  =  0 )  ->  ( ( M lcm 
N )  ||  K  <->  0 
||  K ) )
123, 11imbi12d 233 . . . . . . 7  |-  ( ( N  e.  ZZ  /\  M  =  0 )  ->  ( ( M 
||  K  ->  ( M lcm  N )  ||  K
)  <->  ( 0  ||  K  ->  0  ||  K
) ) )
131, 12mpbiri 167 . . . . . 6  |-  ( ( N  e.  ZZ  /\  M  =  0 )  ->  ( M  ||  K  ->  ( M lcm  N
)  ||  K )
)
14133ad2antl3 1151 . . . . 5  |-  ( ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  /\  M  =  0
)  ->  ( M  ||  K  ->  ( M lcm  N )  ||  K ) )
1514adantrd 277 . . . 4  |-  ( ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  /\  M  =  0
)  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
1615ex 114 . . 3  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  =  0  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N
)  ||  K )
) )
17 breq1 3985 . . . . . . . . 9  |-  ( N  =  0  ->  ( N  ||  K  <->  0  ||  K ) )
1817adantl 275 . . . . . . . 8  |-  ( ( M  e.  ZZ  /\  N  =  0 )  ->  ( N  ||  K 
<->  0  ||  K ) )
19 oveq2 5850 . . . . . . . . . 10  |-  ( N  =  0  ->  ( M lcm  N )  =  ( M lcm  0 ) )
20 lcm0val 11997 . . . . . . . . . 10  |-  ( M  e.  ZZ  ->  ( M lcm  0 )  =  0 )
2119, 20sylan9eqr 2221 . . . . . . . . 9  |-  ( ( M  e.  ZZ  /\  N  =  0 )  ->  ( M lcm  N
)  =  0 )
2221breq1d 3992 . . . . . . . 8  |-  ( ( M  e.  ZZ  /\  N  =  0 )  ->  ( ( M lcm 
N )  ||  K  <->  0 
||  K ) )
2318, 22imbi12d 233 . . . . . . 7  |-  ( ( M  e.  ZZ  /\  N  =  0 )  ->  ( ( N 
||  K  ->  ( M lcm  N )  ||  K
)  <->  ( 0  ||  K  ->  0  ||  K
) ) )
241, 23mpbiri 167 . . . . . 6  |-  ( ( M  e.  ZZ  /\  N  =  0 )  ->  ( N  ||  K  ->  ( M lcm  N
)  ||  K )
)
25243ad2antl2 1150 . . . . 5  |-  ( ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  /\  N  =  0
)  ->  ( N  ||  K  ->  ( M lcm  N )  ||  K ) )
2625adantld 276 . . . 4  |-  ( ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  /\  N  =  0
)  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
2726ex 114 . . 3  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( N  =  0  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N
)  ||  K )
) )
2816, 27jaod 707 . 2  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( M  =  0  \/  N  =  0 )  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
29 neanior 2423 . . . . . 6  |-  ( ( M  =/=  0  /\  N  =/=  0 )  <->  -.  ( M  =  0  \/  N  =  0 ) )
30 lcmcl 12004 . . . . . . . . . . . . . . . . . 18  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M lcm  N )  e.  NN0 )
3130nn0zd 9311 . . . . . . . . . . . . . . . . 17  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M lcm  N )  e.  ZZ )
32 dvds0 11746 . . . . . . . . . . . . . . . . 17  |-  ( ( M lcm  N )  e.  ZZ  ->  ( M lcm  N )  ||  0 )
3331, 32syl 14 . . . . . . . . . . . . . . . 16  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M lcm  N ) 
||  0 )
3433a1d 22 . . . . . . . . . . . . . . 15  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( M  ||  0  /\  N  ||  0
)  ->  ( M lcm  N )  ||  0 ) )
3534adantr 274 . . . . . . . . . . . . . 14  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  =  0 )  ->  ( ( M  ||  0  /\  N  ||  0 )  ->  ( M lcm  N )  ||  0
) )
36 breq2 3986 . . . . . . . . . . . . . . . . 17  |-  ( K  =  0  ->  ( M  ||  K  <->  M  ||  0
) )
37 breq2 3986 . . . . . . . . . . . . . . . . 17  |-  ( K  =  0  ->  ( N  ||  K  <->  N  ||  0
) )
3836, 37anbi12d 465 . . . . . . . . . . . . . . . 16  |-  ( K  =  0  ->  (
( M  ||  K  /\  N  ||  K )  <-> 
( M  ||  0  /\  N  ||  0 ) ) )
39 breq2 3986 . . . . . . . . . . . . . . . 16  |-  ( K  =  0  ->  (
( M lcm  N ) 
||  K  <->  ( M lcm  N )  ||  0 ) )
4038, 39imbi12d 233 . . . . . . . . . . . . . . 15  |-  ( K  =  0  ->  (
( ( M  ||  K  /\  N  ||  K
)  ->  ( M lcm  N )  ||  K )  <-> 
( ( M  ||  0  /\  N  ||  0
)  ->  ( M lcm  N )  ||  0 ) ) )
4140adantl 275 . . . . . . . . . . . . . 14  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  =  0 )  ->  ( (
( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N
)  ||  K )  <->  ( ( M  ||  0  /\  N  ||  0 )  ->  ( M lcm  N
)  ||  0 ) ) )
4235, 41mpbird 166 . . . . . . . . . . . . 13  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  =  0 )  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
4342adantrl 470 . . . . . . . . . . . 12  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  K  =  0 ) )  -> 
( ( M  ||  K  /\  N  ||  K
)  ->  ( M lcm  N )  ||  K ) )
4443adantllr 473 . . . . . . . . . . 11  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  K  =  0 ) )  ->  ( ( M 
||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
4544adantlrr 475 . . . . . . . . . 10  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  ( K  e.  ZZ  /\  K  =  0 ) )  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
4645anassrs 398 . . . . . . . . 9  |-  ( ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  K  e.  ZZ )  /\  K  =  0
)  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
47 nnabscl 11042 . . . . . . . . . . . . 13  |-  ( ( M  e.  ZZ  /\  M  =/=  0 )  -> 
( abs `  M
)  e.  NN )
48 nnabscl 11042 . . . . . . . . . . . . 13  |-  ( ( N  e.  ZZ  /\  N  =/=  0 )  -> 
( abs `  N
)  e.  NN )
49 nnabscl 11042 . . . . . . . . . . . . . 14  |-  ( ( K  e.  ZZ  /\  K  =/=  0 )  -> 
( abs `  K
)  e.  NN )
50 lcmgcdlem 12009 . . . . . . . . . . . . . . 15  |-  ( ( ( abs `  M
)  e.  NN  /\  ( abs `  N )  e.  NN )  -> 
( ( ( ( abs `  M ) lcm  ( abs `  N
) )  x.  (
( abs `  M
)  gcd  ( abs `  N ) ) )  =  ( abs `  (
( abs `  M
)  x.  ( abs `  N ) ) )  /\  ( ( ( abs `  K )  e.  NN  /\  (
( abs `  M
)  ||  ( abs `  K )  /\  ( abs `  N )  ||  ( abs `  K ) ) )  ->  (
( abs `  M
) lcm  ( abs `  N
) )  ||  ( abs `  K ) ) ) )
5150simprd 113 . . . . . . . . . . . . . 14  |-  ( ( ( abs `  M
)  e.  NN  /\  ( abs `  N )  e.  NN )  -> 
( ( ( abs `  K )  e.  NN  /\  ( ( abs `  M
)  ||  ( abs `  K )  /\  ( abs `  N )  ||  ( abs `  K ) ) )  ->  (
( abs `  M
) lcm  ( abs `  N
) )  ||  ( abs `  K ) ) )
5249, 51sylani 404 . . . . . . . . . . . . 13  |-  ( ( ( abs `  M
)  e.  NN  /\  ( abs `  N )  e.  NN )  -> 
( ( ( K  e.  ZZ  /\  K  =/=  0 )  /\  (
( abs `  M
)  ||  ( abs `  K )  /\  ( abs `  N )  ||  ( abs `  K ) ) )  ->  (
( abs `  M
) lcm  ( abs `  N
) )  ||  ( abs `  K ) ) )
5347, 48, 52syl2an 287 . . . . . . . . . . . 12  |-  ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  -> 
( ( ( K  e.  ZZ  /\  K  =/=  0 )  /\  (
( abs `  M
)  ||  ( abs `  K )  /\  ( abs `  N )  ||  ( abs `  K ) ) )  ->  (
( abs `  M
) lcm  ( abs `  N
) )  ||  ( abs `  K ) ) )
5453expdimp 257 . . . . . . . . . . 11  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  ( K  e.  ZZ  /\  K  =/=  0 ) )  ->  ( (
( abs `  M
)  ||  ( abs `  K )  /\  ( abs `  N )  ||  ( abs `  K ) )  ->  ( ( abs `  M ) lcm  ( abs `  N ) ) 
||  ( abs `  K
) ) )
55 dvdsabsb 11750 . . . . . . . . . . . . . . . . . . 19  |-  ( ( M  e.  ZZ  /\  K  e.  ZZ )  ->  ( M  ||  K  <->  M 
||  ( abs `  K
) ) )
56 zabscl 11028 . . . . . . . . . . . . . . . . . . . 20  |-  ( K  e.  ZZ  ->  ( abs `  K )  e.  ZZ )
57 absdvdsb 11749 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( M  e.  ZZ  /\  ( abs `  K )  e.  ZZ )  -> 
( M  ||  ( abs `  K )  <->  ( abs `  M )  ||  ( abs `  K ) ) )
5856, 57sylan2 284 . . . . . . . . . . . . . . . . . . 19  |-  ( ( M  e.  ZZ  /\  K  e.  ZZ )  ->  ( M  ||  ( abs `  K )  <->  ( abs `  M )  ||  ( abs `  K ) ) )
5955, 58bitrd 187 . . . . . . . . . . . . . . . . . 18  |-  ( ( M  e.  ZZ  /\  K  e.  ZZ )  ->  ( M  ||  K  <->  ( abs `  M ) 
||  ( abs `  K
) ) )
6059adantlr 469 . . . . . . . . . . . . . . . . 17  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( M  ||  K 
<->  ( abs `  M
)  ||  ( abs `  K ) ) )
61 dvdsabsb 11750 . . . . . . . . . . . . . . . . . . 19  |-  ( ( N  e.  ZZ  /\  K  e.  ZZ )  ->  ( N  ||  K  <->  N 
||  ( abs `  K
) ) )
62 absdvdsb 11749 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( N  e.  ZZ  /\  ( abs `  K )  e.  ZZ )  -> 
( N  ||  ( abs `  K )  <->  ( abs `  N )  ||  ( abs `  K ) ) )
6356, 62sylan2 284 . . . . . . . . . . . . . . . . . . 19  |-  ( ( N  e.  ZZ  /\  K  e.  ZZ )  ->  ( N  ||  ( abs `  K )  <->  ( abs `  N )  ||  ( abs `  K ) ) )
6461, 63bitrd 187 . . . . . . . . . . . . . . . . . 18  |-  ( ( N  e.  ZZ  /\  K  e.  ZZ )  ->  ( N  ||  K  <->  ( abs `  N ) 
||  ( abs `  K
) ) )
6564adantll 468 . . . . . . . . . . . . . . . . 17  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( N  ||  K 
<->  ( abs `  N
)  ||  ( abs `  K ) ) )
6660, 65anbi12d 465 . . . . . . . . . . . . . . . 16  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( ( M 
||  K  /\  N  ||  K )  <->  ( ( abs `  M )  ||  ( abs `  K )  /\  ( abs `  N
)  ||  ( abs `  K ) ) ) )
6766bicomd 140 . . . . . . . . . . . . . . 15  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( ( ( abs `  M ) 
||  ( abs `  K
)  /\  ( abs `  N )  ||  ( abs `  K ) )  <-> 
( M  ||  K  /\  N  ||  K ) ) )
68 lcmabs 12008 . . . . . . . . . . . . . . . . . 18  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( abs `  M
) lcm  ( abs `  N
) )  =  ( M lcm  N ) )
6968breq1d 3992 . . . . . . . . . . . . . . . . 17  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( ( abs `  M ) lcm  ( abs `  N ) )  ||  ( abs `  K )  <-> 
( M lcm  N ) 
||  ( abs `  K
) ) )
7069adantr 274 . . . . . . . . . . . . . . . 16  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( ( ( abs `  M ) lcm  ( abs `  N
) )  ||  ( abs `  K )  <->  ( M lcm  N )  ||  ( abs `  K ) ) )
71 dvdsabsb 11750 . . . . . . . . . . . . . . . . 17  |-  ( ( ( M lcm  N )  e.  ZZ  /\  K  e.  ZZ )  ->  (
( M lcm  N ) 
||  K  <->  ( M lcm  N )  ||  ( abs `  K ) ) )
7231, 71sylan 281 . . . . . . . . . . . . . . . 16  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( ( M lcm 
N )  ||  K  <->  ( M lcm  N )  ||  ( abs `  K ) ) )
7370, 72bitr4d 190 . . . . . . . . . . . . . . 15  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( ( ( abs `  M ) lcm  ( abs `  N
) )  ||  ( abs `  K )  <->  ( M lcm  N )  ||  K ) )
7467, 73imbi12d 233 . . . . . . . . . . . . . 14  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( ( ( ( abs `  M
)  ||  ( abs `  K )  /\  ( abs `  N )  ||  ( abs `  K ) )  ->  ( ( abs `  M ) lcm  ( abs `  N ) ) 
||  ( abs `  K
) )  <->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
7574adantrr 471 . . . . . . . . . . . . 13  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  K  =/=  0 ) )  -> 
( ( ( ( abs `  M ) 
||  ( abs `  K
)  /\  ( abs `  N )  ||  ( abs `  K ) )  ->  ( ( abs `  M ) lcm  ( abs `  N ) )  ||  ( abs `  K ) )  <->  ( ( M 
||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
7675adantllr 473 . . . . . . . . . . . 12  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  K  =/=  0 ) )  -> 
( ( ( ( abs `  M ) 
||  ( abs `  K
)  /\  ( abs `  N )  ||  ( abs `  K ) )  ->  ( ( abs `  M ) lcm  ( abs `  N ) )  ||  ( abs `  K ) )  <->  ( ( M 
||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
7776adantlrr 475 . . . . . . . . . . 11  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  ( K  e.  ZZ  /\  K  =/=  0 ) )  ->  ( (
( ( abs `  M
)  ||  ( abs `  K )  /\  ( abs `  N )  ||  ( abs `  K ) )  ->  ( ( abs `  M ) lcm  ( abs `  N ) ) 
||  ( abs `  K
) )  <->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
7854, 77mpbid 146 . . . . . . . . . 10  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  ( K  e.  ZZ  /\  K  =/=  0 ) )  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
7978anassrs 398 . . . . . . . . 9  |-  ( ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  K  e.  ZZ )  /\  K  =/=  0
)  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) )
80 zdceq 9266 . . . . . . . . . . . . 13  |-  ( ( K  e.  ZZ  /\  0  e.  ZZ )  -> DECID  K  =  0 )
815, 80mpan2 422 . . . . . . . . . . . 12  |-  ( K  e.  ZZ  -> DECID  K  =  0
)
82 exmiddc 826 . . . . . . . . . . . 12  |-  (DECID  K  =  0  ->  ( K  =  0  \/  -.  K  =  0 ) )
8381, 82syl 14 . . . . . . . . . . 11  |-  ( K  e.  ZZ  ->  ( K  =  0  \/  -.  K  =  0
) )
84 df-ne 2337 . . . . . . . . . . . 12  |-  ( K  =/=  0  <->  -.  K  =  0 )
8584orbi2i 752 . . . . . . . . . . 11  |-  ( ( K  =  0  \/  K  =/=  0 )  <-> 
( K  =  0  \/  -.  K  =  0 ) )
8683, 85sylibr 133 . . . . . . . . . 10  |-  ( K  e.  ZZ  ->  ( K  =  0  \/  K  =/=  0 ) )
8786adantl 275 . . . . . . . . 9  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  K  e.  ZZ )  ->  ( K  =  0  \/  K  =/=  0
) )
8846, 79, 87mpjaodan 788 . . . . . . . 8  |-  ( ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  /\  K  e.  ZZ )  ->  ( ( M  ||  K  /\  N  ||  K
)  ->  ( M lcm  N )  ||  K ) )
8988ex 114 . . . . . . 7  |-  ( ( ( M  e.  ZZ  /\  M  =/=  0 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  -> 
( K  e.  ZZ  ->  ( ( M  ||  K  /\  N  ||  K
)  ->  ( M lcm  N )  ||  K ) ) )
9089an4s 578 . . . . . 6  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( M  =/=  0  /\  N  =/=  0 ) )  -> 
( K  e.  ZZ  ->  ( ( M  ||  K  /\  N  ||  K
)  ->  ( M lcm  N )  ||  K ) ) )
9129, 90sylan2br 286 . . . . 5  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  -.  ( M  =  0  \/  N  =  0 ) )  ->  ( K  e.  ZZ  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
9291impancom 258 . . . 4  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  ->  ( -.  ( M  =  0  \/  N  =  0 )  ->  ( ( M 
||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
93923impa 1184 . . 3  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ  /\  K  e.  ZZ )  ->  ( -.  ( M  =  0  \/  N  =  0 )  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
94933comr 1201 . 2  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  ( -.  ( M  =  0  \/  N  =  0 )  ->  ( ( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N )  ||  K
) ) )
95 lcmmndc 11994 . . . 4  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  -> DECID  ( M  =  0  \/  N  =  0 ) )
96 exmiddc 826 . . . 4  |-  (DECID  ( M  =  0  \/  N  =  0 )  -> 
( ( M  =  0  \/  N  =  0 )  \/  -.  ( M  =  0  \/  N  =  0
) ) )
9795, 96syl 14 . . 3  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( M  =  0  \/  N  =  0 )  \/  -.  ( M  =  0  \/  N  =  0
) ) )
98973adant1 1005 . 2  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( M  =  0  \/  N  =  0 )  \/  -.  ( M  =  0  \/  N  =  0 ) ) )
9928, 94, 98mpjaod 708 1  |-  ( ( K  e.  ZZ  /\  M  e.  ZZ  /\  N  e.  ZZ )  ->  (
( M  ||  K  /\  N  ||  K )  ->  ( M lcm  N
)  ||  K )
)
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 698  DECID wdc 824    /\ w3a 968    = wceq 1343    e. wcel 2136    =/= wne 2336   class class class wbr 3982   ` cfv 5188  (class class class)co 5842   0cc0 7753    x. cmul 7758   NNcn 8857   ZZcz 9191   abscabs 10939    || cdvds 11727    gcd cgcd 11875   lcm clcm 11992
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-mulrcl 7852  ax-addcom 7853  ax-mulcom 7854  ax-addass 7855  ax-mulass 7856  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-1rid 7860  ax-0id 7861  ax-rnegex 7862  ax-precex 7863  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869  ax-pre-mulgt0 7870  ax-pre-mulext 7871  ax-arch 7872  ax-caucvg 7873
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-isom 5197  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-frec 6359  df-sup 6949  df-inf 6950  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-reap 8473  df-ap 8480  df-div 8569  df-inn 8858  df-2 8916  df-3 8917  df-4 8918  df-n0 9115  df-z 9192  df-uz 9467  df-q 9558  df-rp 9590  df-fz 9945  df-fzo 10078  df-fl 10205  df-mod 10258  df-seqfrec 10381  df-exp 10455  df-cj 10784  df-re 10785  df-im 10786  df-rsqrt 10940  df-abs 10941  df-dvds 11728  df-gcd 11876  df-lcm 11993
This theorem is referenced by:  lcmdvdsb  12016
  Copyright terms: Public domain W3C validator