Metamath Proof Explorer


Theorem lcmgcdnn

Description: The product of two positive integers' least common multiple and greatest common divisor is the product of the two integers. (Contributed by AV, 27-Aug-2020)

Ref Expression
Assertion lcmgcdnn MNMlcmNMgcdN= M N

Proof

Step Hyp Ref Expression
1 nnz MM
2 nnz NN
3 lcmgcd MNMlcmNMgcdN= M N
4 1 2 3 syl2an MNMlcmNMgcdN= M N
5 nnmulcl MN M N
6 5 nnnn0d MN M N0
7 nn0re M N0 M N
8 nn0ge0 M N00 M N
9 7 8 jca M N0 M N0 M N
10 absid M N0 M N M N= M N
11 6 9 10 3syl MN M N= M N
12 4 11 eqtrd MNMlcmNMgcdN= M N