Metamath Proof Explorer


Theorem coprmdvdsb

Description: Multiplication by a coprime number does not affect divisibility. (Contributed by Stefan O'Rear, 23-Sep-2014)

Ref Expression
Assertion coprmdvdsb K N M K gcd M = 1 K N K M N

Proof

Step Hyp Ref Expression
1 simp1 K N M K gcd M = 1 K
2 simp3l K N M K gcd M = 1 M
3 simp2 K N M K gcd M = 1 N
4 dvdsmultr2 K M N K N K M N
5 1 2 3 4 syl3anc K N M K gcd M = 1 K N K M N
6 simp3r K N M K gcd M = 1 K gcd M = 1
7 coprmdvds K M N K M N K gcd M = 1 K N
8 1 2 3 7 syl3anc K N M K gcd M = 1 K M N K gcd M = 1 K N
9 6 8 mpan2d K N M K gcd M = 1 K M N K N
10 5 9 impbid K N M K gcd M = 1 K N K M N