Metamath Proof Explorer


Theorem 3lcm2e6

Description: The least common multiple of three and two is six. The operands are unequal primes and thus coprime, so the result is (the absolute value of) their product. (Contributed by Steve Rodriguez, 20-Jan-2020) (Proof shortened by AV, 27-Aug-2020)

Ref Expression
Assertion 3lcm2e6 3lcm2=6

Proof

Step Hyp Ref Expression
1 2re 2
2 2lt3 2<3
3 1 2 gtneii 32
4 3prm 3
5 2prm 2
6 prmrp 323gcd2=132
7 4 5 6 mp2an 3gcd2=132
8 3 7 mpbir 3gcd2=1
9 8 oveq2i 3lcm23gcd2=3lcm21
10 3nn 3
11 2nn 2
12 lcmgcdnn 323lcm23gcd2=32
13 10 11 12 mp2an 3lcm23gcd2=32
14 10 nnzi 3
15 11 nnzi 2
16 lcmcl 323lcm20
17 14 15 16 mp2an 3lcm20
18 17 nn0cni 3lcm2
19 18 mulridi 3lcm21=3lcm2
20 9 13 19 3eqtr3ri 3lcm2=32
21 3t2e6 32=6
22 20 21 eqtri 3lcm2=6