Metamath Proof Explorer


Theorem dvdscmul

Description: Multiplication by a constant maintains the divides relation. Theorem 1.1(d) in ApostolNT p. 14 (multiplication property of the divides relation). (Contributed by Paul Chapman, 21-Mar-2011)

Ref Expression
Assertion dvdscmul M N K M N K M K N

Proof

Step Hyp Ref Expression
1 3simpc K M N M N
2 zmulcl K M K M
3 2 3adant3 K M N K M
4 zmulcl K N K N
5 4 3adant2 K M N K N
6 3 5 jca K M N K M K N
7 simpr K M N x x
8 zcn x x
9 zcn K K
10 zcn M M
11 mul12 x K M x K M = K x M
12 8 9 10 11 syl3an x K M x K M = K x M
13 12 3coml K M x x K M = K x M
14 13 3expa K M x x K M = K x M
15 14 3adantl3 K M N x x K M = K x M
16 oveq2 x M = N K x M = K N
17 15 16 sylan9eq K M N x x M = N x K M = K N
18 17 ex K M N x x M = N x K M = K N
19 1 6 7 18 dvds1lem K M N M N K M K N
20 19 3coml M N K M N K M K N