Metamath Proof Explorer


Theorem lcmn0val

Description: The value of the lcm operator when both operands are nonzero. (Contributed by Steve Rodriguez, 20-Jan-2020) (Revised by AV, 16-Sep-2020)

Ref Expression
Assertion lcmn0val M N ¬ M = 0 N = 0 M lcm N = sup n | M n N n <

Proof

Step Hyp Ref Expression
1 lcmval M N M lcm N = if M = 0 N = 0 0 sup n | M n N n <
2 iffalse ¬ M = 0 N = 0 if M = 0 N = 0 0 sup n | M n N n < = sup n | M n N n <
3 1 2 sylan9eq M N ¬ M = 0 N = 0 M lcm N = sup n | M n N n <