Metamath Proof Explorer


Theorem lcmcl

Description: Closure of the lcm operator. (Contributed by Steve Rodriguez, 20-Jan-2020)

Ref Expression
Assertion lcmcl M N M lcm N 0

Proof

Step Hyp Ref Expression
1 lcmcom M N M lcm N = N lcm M
2 1 adantr M N M = 0 M lcm N = N lcm M
3 oveq2 M = 0 N lcm M = N lcm 0
4 lcm0val N N lcm 0 = 0
5 3 4 sylan9eqr N M = 0 N lcm M = 0
6 5 adantll M N M = 0 N lcm M = 0
7 2 6 eqtrd M N M = 0 M lcm N = 0
8 oveq2 N = 0 M lcm N = M lcm 0
9 lcm0val M M lcm 0 = 0
10 8 9 sylan9eqr M N = 0 M lcm N = 0
11 10 adantlr M N N = 0 M lcm N = 0
12 7 11 jaodan M N M = 0 N = 0 M lcm N = 0
13 0nn0 0 0
14 12 13 eqeltrdi M N M = 0 N = 0 M lcm N 0
15 lcmn0cl M N ¬ M = 0 N = 0 M lcm N
16 15 nnnn0d M N ¬ M = 0 N = 0 M lcm N 0
17 14 16 pm2.61dan M N M lcm N 0