Metamath Proof Explorer


Theorem dvdsmulc

Description: Multiplication by a constant maintains the divides relation. (Contributed by Paul Chapman, 21-Mar-2011)

Ref Expression
Assertion dvdsmulc MNKMNMKNK

Proof

Step Hyp Ref Expression
1 3simpc KMNMN
2 zmulcl MKMK
3 2 3adant2 MNKMK
4 zmulcl NKNK
5 4 3adant1 MNKNK
6 3 5 jca MNKMKNK
7 6 3comr KMNMKNK
8 simpr KMNxx
9 zcn xx
10 zcn MM
11 zcn KK
12 mulass xMKx MK=xMK
13 9 10 11 12 syl3an xMKx MK=xMK
14 13 3com13 KMxx MK=xMK
15 14 3expa KMxx MK=xMK
16 15 3adantl3 KMNxx MK=xMK
17 oveq1 x M=Nx MK=NK
18 16 17 sylan9req KMNxx M=NxMK=NK
19 18 ex KMNxx M=NxMK=NK
20 1 7 8 19 dvds1lem KMNMNMKNK
21 20 3coml MNKMNMKNK