Metamath Proof Explorer


Theorem nndivides

Description: Definition of the divides relation for positive integers. (Contributed by AV, 26-Jul-2021)

Ref Expression
Assertion nndivides M N M N n n M = N

Proof

Step Hyp Ref Expression
1 nndiv M N n M n = N N M
2 nncn n n
3 2 adantl M N n n
4 nncn M M
5 4 ad2antrr M N n M
6 3 5 mulcomd M N n n M = M n
7 6 eqeq1d M N n n M = N M n = N
8 7 rexbidva M N n n M = N n M n = N
9 nndivdvds N M M N N M
10 9 ancoms M N M N N M
11 1 8 10 3bitr4rd M N M N n n M = N