MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  lcmftp Structured version   Visualization version   GIF version

Theorem lcmftp 15280
Description: The least common multiple of a triple of integers is the least common multiple of the third integer and the the least common multiple of the first two integers. Although there would be a shorter proof using lcmfunsn 15288, this explicit proof (not based on induction) should be kept. (Proof modification is discouraged.) (Contributed by AV, 23-Aug-2020.)
Assertion
Ref Expression
lcmftp ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (lcm‘{𝐴, 𝐵, 𝐶}) = ((𝐴 lcm 𝐵) lcm 𝐶))

Proof of Theorem lcmftp
Dummy variables 𝑘 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 0z 11339 . . . . . . 7 0 ∈ ℤ
2 eltpg 4203 . . . . . . 7 (0 ∈ ℤ → (0 ∈ {𝐴, 𝐵, 𝐶} ↔ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶)))
31, 2ax-mp 5 . . . . . 6 (0 ∈ {𝐴, 𝐵, 𝐶} ↔ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶))
43biimpri 218 . . . . 5 ((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → 0 ∈ {𝐴, 𝐵, 𝐶})
5 tpssi 4342 . . . . 5 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → {𝐴, 𝐵, 𝐶} ⊆ ℤ)
64, 5anim12ci 590 . . . 4 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ({𝐴, 𝐵, 𝐶} ⊆ ℤ ∧ 0 ∈ {𝐴, 𝐵, 𝐶}))
7 lcmf0val 15266 . . . 4 (({𝐴, 𝐵, 𝐶} ⊆ ℤ ∧ 0 ∈ {𝐴, 𝐵, 𝐶}) → (lcm‘{𝐴, 𝐵, 𝐶}) = 0)
86, 7syl 17 . . 3 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (lcm‘{𝐴, 𝐵, 𝐶}) = 0)
9 0zd 11340 . . . . . . . . . 10 (𝐶 ∈ ℤ → 0 ∈ ℤ)
10 lcmcom 15237 . . . . . . . . . 10 ((0 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 lcm 𝐶) = (𝐶 lcm 0))
119, 10mpancom 702 . . . . . . . . 9 (𝐶 ∈ ℤ → (0 lcm 𝐶) = (𝐶 lcm 0))
12 lcm0val 15238 . . . . . . . . 9 (𝐶 ∈ ℤ → (𝐶 lcm 0) = 0)
1311, 12eqtrd 2655 . . . . . . . 8 (𝐶 ∈ ℤ → (0 lcm 𝐶) = 0)
1413eqcomd 2627 . . . . . . 7 (𝐶 ∈ ℤ → 0 = (0 lcm 𝐶))
15143ad2ant3 1082 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = (0 lcm 𝐶))
1615adantl 482 . . . . 5 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = (0 lcm 𝐶))
17 0zd 11340 . . . . . . . . . . 11 (𝐵 ∈ ℤ → 0 ∈ ℤ)
18 lcmcom 15237 . . . . . . . . . . 11 ((0 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (0 lcm 𝐵) = (𝐵 lcm 0))
1917, 18mpancom 702 . . . . . . . . . 10 (𝐵 ∈ ℤ → (0 lcm 𝐵) = (𝐵 lcm 0))
20 lcm0val 15238 . . . . . . . . . 10 (𝐵 ∈ ℤ → (𝐵 lcm 0) = 0)
2119, 20eqtrd 2655 . . . . . . . . 9 (𝐵 ∈ ℤ → (0 lcm 𝐵) = 0)
2221eqcomd 2627 . . . . . . . 8 (𝐵 ∈ ℤ → 0 = (0 lcm 𝐵))
23223ad2ant2 1081 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = (0 lcm 𝐵))
2423adantl 482 . . . . . 6 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = (0 lcm 𝐵))
2524oveq1d 6625 . . . . 5 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (0 lcm 𝐶) = ((0 lcm 𝐵) lcm 𝐶))
26 oveq1 6617 . . . . . . 7 (0 = 𝐴 → (0 lcm 𝐵) = (𝐴 lcm 𝐵))
2726oveq1d 6625 . . . . . 6 (0 = 𝐴 → ((0 lcm 𝐵) lcm 𝐶) = ((𝐴 lcm 𝐵) lcm 𝐶))
2827adantr 481 . . . . 5 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((0 lcm 𝐵) lcm 𝐶) = ((𝐴 lcm 𝐵) lcm 𝐶))
2916, 25, 283eqtrd 2659 . . . 4 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
30 lcm0val 15238 . . . . . . . . 9 (𝐴 ∈ ℤ → (𝐴 lcm 0) = 0)
3130eqcomd 2627 . . . . . . . 8 (𝐴 ∈ ℤ → 0 = (𝐴 lcm 0))
32313ad2ant1 1080 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = (𝐴 lcm 0))
3332adantl 482 . . . . . 6 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = (𝐴 lcm 0))
3433oveq1d 6625 . . . . 5 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (0 lcm 𝐶) = ((𝐴 lcm 0) lcm 𝐶))
35133ad2ant3 1082 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 lcm 𝐶) = 0)
3635adantl 482 . . . . 5 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (0 lcm 𝐶) = 0)
37 oveq2 6618 . . . . . . 7 (0 = 𝐵 → (𝐴 lcm 0) = (𝐴 lcm 𝐵))
3837adantr 481 . . . . . 6 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 lcm 0) = (𝐴 lcm 𝐵))
3938oveq1d 6625 . . . . 5 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 0) lcm 𝐶) = ((𝐴 lcm 𝐵) lcm 𝐶))
4034, 36, 393eqtr3d 2663 . . . 4 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
41 lcmcl 15245 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 lcm 𝐵) ∈ ℕ0)
4241nn0zd 11431 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 lcm 𝐵) ∈ ℤ)
43 lcm0val 15238 . . . . . . . 8 ((𝐴 lcm 𝐵) ∈ ℤ → ((𝐴 lcm 𝐵) lcm 0) = 0)
4443eqcomd 2627 . . . . . . 7 ((𝐴 lcm 𝐵) ∈ ℤ → 0 = ((𝐴 lcm 𝐵) lcm 0))
4542, 44syl 17 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → 0 = ((𝐴 lcm 𝐵) lcm 0))
46453adant3 1079 . . . . 5 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = ((𝐴 lcm 𝐵) lcm 0))
47 oveq2 6618 . . . . 5 (0 = 𝐶 → ((𝐴 lcm 𝐵) lcm 0) = ((𝐴 lcm 𝐵) lcm 𝐶))
4846, 47sylan9eqr 2677 . . . 4 ((0 = 𝐶 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
4929, 40, 483jaoian 1390 . . 3 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
508, 49eqtrd 2655 . 2 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (lcm‘{𝐴, 𝐵, 𝐶}) = ((𝐴 lcm 𝐵) lcm 𝐶))
51423adant3 1079 . . . . . . . . . 10 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 lcm 𝐵) ∈ ℤ)
52 simp3 1061 . . . . . . . . . 10 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐶 ∈ ℤ)
5351, 52jca 554 . . . . . . . . 9 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
5453adantl 482 . . . . . . . 8 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
55 dvdslcm 15242 . . . . . . . 8 (((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
5654, 55syl 17 . . . . . . 7 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
57 dvdslcm 15242 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 ∥ (𝐴 lcm 𝐵) ∧ 𝐵 ∥ (𝐴 lcm 𝐵)))
58573adant3 1079 . . . . . . . . . . . . 13 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 ∥ (𝐴 lcm 𝐵) ∧ 𝐵 ∥ (𝐴 lcm 𝐵)))
59 simp1 1059 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐴 ∈ ℤ)
60 lcmcl 15245 . . . . . . . . . . . . . . . . . . . 20 (((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ0)
6153, 60syl 17 . . . . . . . . . . . . . . . . . . 19 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ0)
6261nn0zd 11431 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ)
6359, 51, 623jca 1240 . . . . . . . . . . . . . . . . 17 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ))
64 dvdstr 14949 . . . . . . . . . . . . . . . . 17 ((𝐴 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ) → ((𝐴 ∥ (𝐴 lcm 𝐵) ∧ (𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
6563, 64syl 17 . . . . . . . . . . . . . . . 16 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 ∥ (𝐴 lcm 𝐵) ∧ (𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
6665expd 452 . . . . . . . . . . . . . . 15 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 ∥ (𝐴 lcm 𝐵) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))))
6766com12 32 . . . . . . . . . . . . . 14 (𝐴 ∥ (𝐴 lcm 𝐵) → ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))))
6867adantr 481 . . . . . . . . . . . . 13 ((𝐴 ∥ (𝐴 lcm 𝐵) ∧ 𝐵 ∥ (𝐴 lcm 𝐵)) → ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))))
6958, 68mpcom 38 . . . . . . . . . . . 12 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
7069adantl 482 . . . . . . . . . . 11 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
7170com12 32 . . . . . . . . . 10 ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
7271adantr 481 . . . . . . . . 9 (((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
7372impcom 446 . . . . . . . 8 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
74 simpr 477 . . . . . . . . . . . . . . 15 ((𝐴 ∥ (𝐴 lcm 𝐵) ∧ 𝐵 ∥ (𝐴 lcm 𝐵)) → 𝐵 ∥ (𝐴 lcm 𝐵))
7557, 74syl 17 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → 𝐵 ∥ (𝐴 lcm 𝐵))
76753adant3 1079 . . . . . . . . . . . . 13 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐵 ∥ (𝐴 lcm 𝐵))
7776adantl 482 . . . . . . . . . . . 12 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 𝐵 ∥ (𝐴 lcm 𝐵))
78 simp2 1060 . . . . . . . . . . . . . . 15 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐵 ∈ ℤ)
7978, 51, 623jca 1240 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐵 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ))
8079adantl 482 . . . . . . . . . . . . 13 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐵 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ))
81 dvdstr 14949 . . . . . . . . . . . . 13 ((𝐵 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ) → ((𝐵 ∥ (𝐴 lcm 𝐵) ∧ (𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
8280, 81syl 17 . . . . . . . . . . . 12 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐵 ∥ (𝐴 lcm 𝐵) ∧ (𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
8377, 82mpand 710 . . . . . . . . . . 11 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
8483com12 32 . . . . . . . . . 10 ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) → ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
8584adantr 481 . . . . . . . . 9 (((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
8685impcom 446 . . . . . . . 8 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
87 simpr 477 . . . . . . . . 9 (((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
8887adantl 482 . . . . . . . 8 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
8973, 86, 883jca 1240 . . . . . . 7 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → (𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
9056, 89mpdan 701 . . . . . 6 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
91 breq1 4621 . . . . . . . 8 (𝑚 = 𝐴 → (𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
92 breq1 4621 . . . . . . . 8 (𝑚 = 𝐵 → (𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
93 breq1 4621 . . . . . . . 8 (𝑚 = 𝐶 → (𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
9491, 92, 93raltpg 4212 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ (𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))))
9594adantl 482 . . . . . 6 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ (𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))))
9690, 95mpbird 247 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
97 breq1 4621 . . . . . . . . 9 (𝑚 = 𝐴 → (𝑚𝑘𝐴𝑘))
98 breq1 4621 . . . . . . . . 9 (𝑚 = 𝐵 → (𝑚𝑘𝐵𝑘))
99 breq1 4621 . . . . . . . . 9 (𝑚 = 𝐶 → (𝑚𝑘𝐶𝑘))
10097, 98, 99raltpg 4212 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 ↔ (𝐴𝑘𝐵𝑘𝐶𝑘)))
101100ad2antlr 762 . . . . . . 7 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 ↔ (𝐴𝑘𝐵𝑘𝐶𝑘)))
102 simpr 477 . . . . . . . . . . 11 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → 𝑘 ∈ ℕ)
10351ad2antlr 762 . . . . . . . . . . 11 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝐴 lcm 𝐵) ∈ ℤ)
10452ad2antlr 762 . . . . . . . . . . 11 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → 𝐶 ∈ ℤ)
105102, 103, 1043jca 1240 . . . . . . . . . 10 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
106105adantr 481 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → (𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
107 3ioran 1054 . . . . . . . . . . . . . . . . 17 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ↔ (¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶))
108 eqcom 2628 . . . . . . . . . . . . . . . . . . . . . 22 (0 = 𝐴𝐴 = 0)
109108notbii 310 . . . . . . . . . . . . . . . . . . . . 21 (¬ 0 = 𝐴 ↔ ¬ 𝐴 = 0)
110 eqcom 2628 . . . . . . . . . . . . . . . . . . . . . 22 (0 = 𝐵𝐵 = 0)
111110notbii 310 . . . . . . . . . . . . . . . . . . . . 21 (¬ 0 = 𝐵 ↔ ¬ 𝐵 = 0)
112109, 111anbi12i 732 . . . . . . . . . . . . . . . . . . . 20 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) ↔ (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
113112biimpi 206 . . . . . . . . . . . . . . . . . . 19 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
114 ioran 511 . . . . . . . . . . . . . . . . . . 19 (¬ (𝐴 = 0 ∨ 𝐵 = 0) ↔ (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
115113, 114sylibr 224 . . . . . . . . . . . . . . . . . 18 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
1161153adant3 1079 . . . . . . . . . . . . . . . . 17 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
117107, 116sylbi 207 . . . . . . . . . . . . . . . 16 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
118 id 22 . . . . . . . . . . . . . . . . 17 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
1191183adant3 1079 . . . . . . . . . . . . . . . 16 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
120117, 119anim12ci 590 . . . . . . . . . . . . . . 15 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ ¬ (𝐴 = 0 ∨ 𝐵 = 0)))
121 lcmn0cl 15241 . . . . . . . . . . . . . . 15 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ ¬ (𝐴 = 0 ∨ 𝐵 = 0)) → (𝐴 lcm 𝐵) ∈ ℕ)
122120, 121syl 17 . . . . . . . . . . . . . 14 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 lcm 𝐵) ∈ ℕ)
123 nnne0 11004 . . . . . . . . . . . . . . 15 ((𝐴 lcm 𝐵) ∈ ℕ → (𝐴 lcm 𝐵) ≠ 0)
124123neneqd 2795 . . . . . . . . . . . . . 14 ((𝐴 lcm 𝐵) ∈ ℕ → ¬ (𝐴 lcm 𝐵) = 0)
125122, 124syl 17 . . . . . . . . . . . . 13 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ (𝐴 lcm 𝐵) = 0)
126 eqcom 2628 . . . . . . . . . . . . . . . . . 18 (0 = 𝐶𝐶 = 0)
127126notbii 310 . . . . . . . . . . . . . . . . 17 (¬ 0 = 𝐶 ↔ ¬ 𝐶 = 0)
128127biimpi 206 . . . . . . . . . . . . . . . 16 (¬ 0 = 𝐶 → ¬ 𝐶 = 0)
1291283ad2ant3 1082 . . . . . . . . . . . . . . 15 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶) → ¬ 𝐶 = 0)
130107, 129sylbi 207 . . . . . . . . . . . . . 14 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ 𝐶 = 0)
131130adantr 481 . . . . . . . . . . . . 13 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ 𝐶 = 0)
132125, 131jca 554 . . . . . . . . . . . 12 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (¬ (𝐴 lcm 𝐵) = 0 ∧ ¬ 𝐶 = 0))
133132adantr 481 . . . . . . . . . . 11 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (¬ (𝐴 lcm 𝐵) = 0 ∧ ¬ 𝐶 = 0))
134133adantr 481 . . . . . . . . . 10 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → (¬ (𝐴 lcm 𝐵) = 0 ∧ ¬ 𝐶 = 0))
135 ioran 511 . . . . . . . . . 10 (¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0) ↔ (¬ (𝐴 lcm 𝐵) = 0 ∧ ¬ 𝐶 = 0))
136134, 135sylibr 224 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0))
137119adantl 482 . . . . . . . . . . . . . . 15 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
138 nnz 11350 . . . . . . . . . . . . . . 15 (𝑘 ∈ ℕ → 𝑘 ∈ ℤ)
139137, 138anim12ci 590 . . . . . . . . . . . . . 14 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝑘 ∈ ℤ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ)))
140 3anass 1040 . . . . . . . . . . . . . 14 ((𝑘 ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ↔ (𝑘 ∈ ℤ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ)))
141139, 140sylibr 224 . . . . . . . . . . . . 13 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝑘 ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
142 lcmdvds 15252 . . . . . . . . . . . . 13 ((𝑘 ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ((𝐴𝑘𝐵𝑘) → (𝐴 lcm 𝐵) ∥ 𝑘))
143141, 142syl 17 . . . . . . . . . . . 12 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → ((𝐴𝑘𝐵𝑘) → (𝐴 lcm 𝐵) ∥ 𝑘))
144143com12 32 . . . . . . . . . . 11 ((𝐴𝑘𝐵𝑘) → (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝐴 lcm 𝐵) ∥ 𝑘))
1451443adant3 1079 . . . . . . . . . 10 ((𝐴𝑘𝐵𝑘𝐶𝑘) → (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝐴 lcm 𝐵) ∥ 𝑘))
146145impcom 446 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → (𝐴 lcm 𝐵) ∥ 𝑘)
147 simp3 1061 . . . . . . . . . 10 ((𝐴𝑘𝐵𝑘𝐶𝑘) → 𝐶𝑘)
148147adantl 482 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → 𝐶𝑘)
149 lcmledvds 15243 . . . . . . . . . 10 (((𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)) → (((𝐴 lcm 𝐵) ∥ 𝑘𝐶𝑘) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
150149imp 445 . . . . . . . . 9 ((((𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)) ∧ ((𝐴 lcm 𝐵) ∥ 𝑘𝐶𝑘)) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘)
151106, 136, 146, 148, 150syl22anc 1324 . . . . . . . 8 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘)
152151ex 450 . . . . . . 7 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → ((𝐴𝑘𝐵𝑘𝐶𝑘) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
153101, 152sylbid 230 . . . . . 6 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
154153ralrimiva 2961 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
15596, 154jca 554 . . . 4 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘)))
156109biimpi 206 . . . . . . . . . . . . . . . 16 (¬ 0 = 𝐴 → ¬ 𝐴 = 0)
157111biimpi 206 . . . . . . . . . . . . . . . 16 (¬ 0 = 𝐵 → ¬ 𝐵 = 0)
158156, 157anim12i 589 . . . . . . . . . . . . . . 15 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
159158, 114sylibr 224 . . . . . . . . . . . . . 14 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
1601593adant3 1079 . . . . . . . . . . . . 13 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
161107, 160sylbi 207 . . . . . . . . . . . 12 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
162161, 119anim12ci 590 . . . . . . . . . . 11 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ ¬ (𝐴 = 0 ∨ 𝐵 = 0)))
163162, 121syl 17 . . . . . . . . . 10 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 lcm 𝐵) ∈ ℕ)
164163, 124syl 17 . . . . . . . . 9 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ (𝐴 lcm 𝐵) = 0)
165164, 131jca 554 . . . . . . . 8 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (¬ (𝐴 lcm 𝐵) = 0 ∧ ¬ 𝐶 = 0))
166165, 135sylibr 224 . . . . . . 7 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0))
16754, 166jca 554 . . . . . 6 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)))
168 lcmn0cl 15241 . . . . . 6 ((((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ)
169167, 168syl 17 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ)
1705adantl 482 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → {𝐴, 𝐵, 𝐶} ⊆ ℤ)
171 tpfi 8187 . . . . . 6 {𝐴, 𝐵, 𝐶} ∈ Fin
172171a1i 11 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → {𝐴, 𝐵, 𝐶} ∈ Fin)
1733a1i 11 . . . . . . . . 9 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 ∈ {𝐴, 𝐵, 𝐶} ↔ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶)))
174173biimpd 219 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 ∈ {𝐴, 𝐵, 𝐶} → (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶)))
175174con3d 148 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ 0 ∈ {𝐴, 𝐵, 𝐶}))
176175impcom 446 . . . . . 6 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ 0 ∈ {𝐴, 𝐵, 𝐶})
177 df-nel 2894 . . . . . 6 (0 ∉ {𝐴, 𝐵, 𝐶} ↔ ¬ 0 ∈ {𝐴, 𝐵, 𝐶})
178176, 177sylibr 224 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 ∉ {𝐴, 𝐵, 𝐶})
179 lcmf 15277 . . . . 5 ((((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ ∧ ({𝐴, 𝐵, 𝐶} ⊆ ℤ ∧ {𝐴, 𝐵, 𝐶} ∈ Fin ∧ 0 ∉ {𝐴, 𝐵, 𝐶})) → (((𝐴 lcm 𝐵) lcm 𝐶) = (lcm‘{𝐴, 𝐵, 𝐶}) ↔ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))))
180169, 170, 172, 178, 179syl13anc 1325 . . . 4 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (((𝐴 lcm 𝐵) lcm 𝐶) = (lcm‘{𝐴, 𝐵, 𝐶}) ↔ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))))
181155, 180mpbird 247 . . 3 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) lcm 𝐶) = (lcm‘{𝐴, 𝐵, 𝐶}))
182181eqcomd 2627 . 2 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (lcm‘{𝐴, 𝐵, 𝐶}) = ((𝐴 lcm 𝐵) lcm 𝐶))
18350, 182pm2.61ian 830 1 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (lcm‘{𝐴, 𝐵, 𝐶}) = ((𝐴 lcm 𝐵) lcm 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  w3o 1035  w3a 1036   = wceq 1480  wcel 1987  wnel 2893  wral 2907  wss 3559  {ctp 4157   class class class wbr 4618  cfv 5852  (class class class)co 6610  Fincfn 7906  0cc0 9887  cle 10026  cn 10971  0cn0 11243  cz 11328  cdvds 14914   lcm clcm 15232  lcmclcmf 15233
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6909  ax-inf2 8489  ax-cnex 9943  ax-resscn 9944  ax-1cn 9945  ax-icn 9946  ax-addcl 9947  ax-addrcl 9948  ax-mulcl 9949  ax-mulrcl 9950  ax-mulcom 9951  ax-addass 9952  ax-mulass 9953  ax-distr 9954  ax-i2m1 9955  ax-1ne0 9956  ax-1rid 9957  ax-rnegex 9958  ax-rrecex 9959  ax-cnre 9960  ax-pre-lttri 9961  ax-pre-lttrn 9962  ax-pre-ltadd 9963  ax-pre-mulgt0 9964  ax-pre-sup 9965
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-fal 1486  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-pss 3575  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-int 4446  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-se 5039  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5644  df-ord 5690  df-on 5691  df-lim 5692  df-suc 5693  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-isom 5861  df-riota 6571  df-ov 6613  df-oprab 6614  df-mpt2 6615  df-om 7020  df-1st 7120  df-2nd 7121  df-wrecs 7359  df-recs 7420  df-rdg 7458  df-1o 7512  df-oadd 7516  df-er 7694  df-en 7907  df-dom 7908  df-sdom 7909  df-fin 7910  df-sup 8299  df-inf 8300  df-oi 8366  df-card 8716  df-pnf 10027  df-mnf 10028  df-xr 10029  df-ltxr 10030  df-le 10031  df-sub 10219  df-neg 10220  df-div 10636  df-nn 10972  df-2 11030  df-3 11031  df-n0 11244  df-z 11329  df-uz 11639  df-rp 11784  df-fz 12276  df-fzo 12414  df-fl 12540  df-mod 12616  df-seq 12749  df-exp 12808  df-hash 13065  df-cj 13780  df-re 13781  df-im 13782  df-sqrt 13916  df-abs 13917  df-clim 14160  df-prod 14568  df-dvds 14915  df-gcd 15148  df-lcm 15234  df-lcmf 15235
This theorem is referenced by:  lcmf2a3a4e12  15291
  Copyright terms: Public domain W3C validator