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

Theorem lcmftp 16341
Description: The least common multiple of a triple of integers is the least common multiple of the third integer and the least common multiple of the first two integers. Although there would be a shorter proof using lcmfunsn 16349, 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 12330 . . . . . . 7 0 ∈ ℤ
2 eltpg 4621 . . . . . . 7 (0 ∈ ℤ → (0 ∈ {𝐴, 𝐵, 𝐶} ↔ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶)))
31, 2ax-mp 5 . . . . . 6 (0 ∈ {𝐴, 𝐵, 𝐶} ↔ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶))
43biimpri 227 . . . . 5 ((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → 0 ∈ {𝐴, 𝐵, 𝐶})
5 tpssi 4769 . . . . 5 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → {𝐴, 𝐵, 𝐶} ⊆ ℤ)
64, 5anim12ci 614 . . . 4 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ({𝐴, 𝐵, 𝐶} ⊆ ℤ ∧ 0 ∈ {𝐴, 𝐵, 𝐶}))
7 lcmf0val 16327 . . . 4 (({𝐴, 𝐵, 𝐶} ⊆ ℤ ∧ 0 ∈ {𝐴, 𝐵, 𝐶}) → (lcm‘{𝐴, 𝐵, 𝐶}) = 0)
86, 7syl 17 . . 3 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (lcm‘{𝐴, 𝐵, 𝐶}) = 0)
9 0zd 12331 . . . . . . . . . 10 (𝐶 ∈ ℤ → 0 ∈ ℤ)
10 lcmcom 16298 . . . . . . . . . 10 ((0 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 lcm 𝐶) = (𝐶 lcm 0))
119, 10mpancom 685 . . . . . . . . 9 (𝐶 ∈ ℤ → (0 lcm 𝐶) = (𝐶 lcm 0))
12 lcm0val 16299 . . . . . . . . 9 (𝐶 ∈ ℤ → (𝐶 lcm 0) = 0)
1311, 12eqtrd 2778 . . . . . . . 8 (𝐶 ∈ ℤ → (0 lcm 𝐶) = 0)
1413eqcomd 2744 . . . . . . 7 (𝐶 ∈ ℤ → 0 = (0 lcm 𝐶))
15143ad2ant3 1134 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = (0 lcm 𝐶))
1615adantl 482 . . . . 5 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = (0 lcm 𝐶))
17 0zd 12331 . . . . . . . . . . 11 (𝐵 ∈ ℤ → 0 ∈ ℤ)
18 lcmcom 16298 . . . . . . . . . . 11 ((0 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (0 lcm 𝐵) = (𝐵 lcm 0))
1917, 18mpancom 685 . . . . . . . . . 10 (𝐵 ∈ ℤ → (0 lcm 𝐵) = (𝐵 lcm 0))
20 lcm0val 16299 . . . . . . . . . 10 (𝐵 ∈ ℤ → (𝐵 lcm 0) = 0)
2119, 20eqtrd 2778 . . . . . . . . 9 (𝐵 ∈ ℤ → (0 lcm 𝐵) = 0)
2221eqcomd 2744 . . . . . . . 8 (𝐵 ∈ ℤ → 0 = (0 lcm 𝐵))
23223ad2ant2 1133 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = (0 lcm 𝐵))
2423adantl 482 . . . . . 6 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = (0 lcm 𝐵))
2524oveq1d 7290 . . . . 5 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (0 lcm 𝐶) = ((0 lcm 𝐵) lcm 𝐶))
26 oveq1 7282 . . . . . . 7 (0 = 𝐴 → (0 lcm 𝐵) = (𝐴 lcm 𝐵))
2726oveq1d 7290 . . . . . 6 (0 = 𝐴 → ((0 lcm 𝐵) lcm 𝐶) = ((𝐴 lcm 𝐵) lcm 𝐶))
2827adantr 481 . . . . 5 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((0 lcm 𝐵) lcm 𝐶) = ((𝐴 lcm 𝐵) lcm 𝐶))
2916, 25, 283eqtrd 2782 . . . 4 ((0 = 𝐴 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
30 lcm0val 16299 . . . . . . . . 9 (𝐴 ∈ ℤ → (𝐴 lcm 0) = 0)
3130eqcomd 2744 . . . . . . . 8 (𝐴 ∈ ℤ → 0 = (𝐴 lcm 0))
32313ad2ant1 1132 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = (𝐴 lcm 0))
3332adantl 482 . . . . . 6 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = (𝐴 lcm 0))
3433oveq1d 7290 . . . . 5 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (0 lcm 𝐶) = ((𝐴 lcm 0) lcm 𝐶))
35133ad2ant3 1134 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 lcm 𝐶) = 0)
3635adantl 482 . . . . 5 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (0 lcm 𝐶) = 0)
37 oveq2 7283 . . . . . . 7 (0 = 𝐵 → (𝐴 lcm 0) = (𝐴 lcm 𝐵))
3837adantr 481 . . . . . 6 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 lcm 0) = (𝐴 lcm 𝐵))
3938oveq1d 7290 . . . . 5 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 0) lcm 𝐶) = ((𝐴 lcm 𝐵) lcm 𝐶))
4034, 36, 393eqtr3d 2786 . . . 4 ((0 = 𝐵 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
41 lcmcl 16306 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 lcm 𝐵) ∈ ℕ0)
4241nn0zd 12424 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 lcm 𝐵) ∈ ℤ)
43 lcm0val 16299 . . . . . . . 8 ((𝐴 lcm 𝐵) ∈ ℤ → ((𝐴 lcm 𝐵) lcm 0) = 0)
4443eqcomd 2744 . . . . . . 7 ((𝐴 lcm 𝐵) ∈ ℤ → 0 = ((𝐴 lcm 𝐵) lcm 0))
4542, 44syl 17 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → 0 = ((𝐴 lcm 𝐵) lcm 0))
46453adant3 1131 . . . . 5 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 0 = ((𝐴 lcm 𝐵) lcm 0))
47 oveq2 7283 . . . . 5 (0 = 𝐶 → ((𝐴 lcm 𝐵) lcm 0) = ((𝐴 lcm 𝐵) lcm 𝐶))
4846, 47sylan9eqr 2800 . . . 4 ((0 = 𝐶 ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
4929, 40, 483jaoian 1428 . . 3 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 = ((𝐴 lcm 𝐵) lcm 𝐶))
508, 49eqtrd 2778 . 2 (((0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (lcm‘{𝐴, 𝐵, 𝐶}) = ((𝐴 lcm 𝐵) lcm 𝐶))
51423adant3 1131 . . . . . . . . . 10 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 lcm 𝐵) ∈ ℤ)
52 simp3 1137 . . . . . . . . . 10 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐶 ∈ ℤ)
5351, 52jca 512 . . . . . . . . 9 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
5453adantl 482 . . . . . . . 8 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
55 dvdslcm 16303 . . . . . . . 8 (((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
5654, 55syl 17 . . . . . . 7 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
57 dvdslcm 16303 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 ∥ (𝐴 lcm 𝐵) ∧ 𝐵 ∥ (𝐴 lcm 𝐵)))
58573adant3 1131 . . . . . . . . . . . . 13 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 ∥ (𝐴 lcm 𝐵) ∧ 𝐵 ∥ (𝐴 lcm 𝐵)))
59 simp1 1135 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐴 ∈ ℤ)
60 lcmcl 16306 . . . . . . . . . . . . . . . . . . . 20 (((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ0)
6153, 60syl 17 . . . . . . . . . . . . . . . . . . 19 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ0)
6261nn0zd 12424 . . . . . . . . . . . . . . . . . 18 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ)
6359, 51, 623jca 1127 . . . . . . . . . . . . . . . . 17 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ))
64 dvdstr 16003 . . . . . . . . . . . . . . . . 17 ((𝐴 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ) → ((𝐴 ∥ (𝐴 lcm 𝐵) ∧ (𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
6563, 64syl 17 . . . . . . . . . . . . . . . 16 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → ((𝐴 ∥ (𝐴 lcm 𝐵) ∧ (𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
6665expd 416 . . . . . . . . . . . . . . 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 408 . . . . . . . 8 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
74 simpr 485 . . . . . . . . . . . . . . 15 ((𝐴 ∥ (𝐴 lcm 𝐵) ∧ 𝐵 ∥ (𝐴 lcm 𝐵)) → 𝐵 ∥ (𝐴 lcm 𝐵))
7557, 74syl 17 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → 𝐵 ∥ (𝐴 lcm 𝐵))
76753adant3 1131 . . . . . . . . . . . . 13 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐵 ∥ (𝐴 lcm 𝐵))
7776adantl 482 . . . . . . . . . . . 12 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 𝐵 ∥ (𝐴 lcm 𝐵))
78 simp2 1136 . . . . . . . . . . . . . . 15 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → 𝐵 ∈ ℤ)
7978, 51, 623jca 1127 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐵 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ))
8079adantl 482 . . . . . . . . . . . . 13 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐵 ∈ ℤ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℤ))
81 dvdstr 16003 . . . . . . . . . . . . 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 692 . . . . . . . . . . 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 408 . . . . . . . 8 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
87 simpr 485 . . . . . . . . 9 (((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)) → 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
8887adantl 482 . . . . . . . 8 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
8973, 86, 883jca 1127 . . . . . . 7 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ ((𝐴 lcm 𝐵) ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))) → (𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
9056, 89mpdan 684 . . . . . 6 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
91 breq1 5077 . . . . . . . 8 (𝑚 = 𝐴 → (𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ 𝐴 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
92 breq1 5077 . . . . . . . 8 (𝑚 = 𝐵 → (𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ 𝐵 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
93 breq1 5077 . . . . . . . 8 (𝑚 = 𝐶 → (𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ↔ 𝐶 ∥ ((𝐴 lcm 𝐵) lcm 𝐶)))
9491, 92, 93raltpg 4634 . . . . . . 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 256 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶))
97 breq1 5077 . . . . . . . . 9 (𝑚 = 𝐴 → (𝑚𝑘𝐴𝑘))
98 breq1 5077 . . . . . . . . 9 (𝑚 = 𝐵 → (𝑚𝑘𝐵𝑘))
99 breq1 5077 . . . . . . . . 9 (𝑚 = 𝐶 → (𝑚𝑘𝐶𝑘))
10097, 98, 99raltpg 4634 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 ↔ (𝐴𝑘𝐵𝑘𝐶𝑘)))
101100ad2antlr 724 . . . . . . 7 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 ↔ (𝐴𝑘𝐵𝑘𝐶𝑘)))
102 simpr 485 . . . . . . . . . . 11 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → 𝑘 ∈ ℕ)
10351ad2antlr 724 . . . . . . . . . . 11 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝐴 lcm 𝐵) ∈ ℤ)
10452ad2antlr 724 . . . . . . . . . . 11 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → 𝐶 ∈ ℤ)
105102, 103, 1043jca 1127 . . . . . . . . . 10 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
106105adantr 481 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → (𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ))
107 3ioran 1105 . . . . . . . . . . . . . . . . 17 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ↔ (¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶))
108 eqcom 2745 . . . . . . . . . . . . . . . . . . . . . 22 (0 = 𝐴𝐴 = 0)
109108notbii 320 . . . . . . . . . . . . . . . . . . . . 21 (¬ 0 = 𝐴 ↔ ¬ 𝐴 = 0)
110 eqcom 2745 . . . . . . . . . . . . . . . . . . . . . 22 (0 = 𝐵𝐵 = 0)
111110notbii 320 . . . . . . . . . . . . . . . . . . . . 21 (¬ 0 = 𝐵 ↔ ¬ 𝐵 = 0)
112109, 111anbi12i 627 . . . . . . . . . . . . . . . . . . . 20 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) ↔ (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
113112biimpi 215 . . . . . . . . . . . . . . . . . . 19 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
114 ioran 981 . . . . . . . . . . . . . . . . . . 19 (¬ (𝐴 = 0 ∨ 𝐵 = 0) ↔ (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
115113, 114sylibr 233 . . . . . . . . . . . . . . . . . 18 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
1161153adant3 1131 . . . . . . . . . . . . . . . . 17 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
117107, 116sylbi 216 . . . . . . . . . . . . . . . 16 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
118 id 22 . . . . . . . . . . . . . . . . 17 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
1191183adant3 1131 . . . . . . . . . . . . . . . 16 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
120117, 119anim12ci 614 . . . . . . . . . . . . . . 15 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ ¬ (𝐴 = 0 ∨ 𝐵 = 0)))
121 lcmn0cl 16302 . . . . . . . . . . . . . . 15 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ ¬ (𝐴 = 0 ∨ 𝐵 = 0)) → (𝐴 lcm 𝐵) ∈ ℕ)
122120, 121syl 17 . . . . . . . . . . . . . 14 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 lcm 𝐵) ∈ ℕ)
123 nnne0 12007 . . . . . . . . . . . . . . 15 ((𝐴 lcm 𝐵) ∈ ℕ → (𝐴 lcm 𝐵) ≠ 0)
124123neneqd 2948 . . . . . . . . . . . . . 14 ((𝐴 lcm 𝐵) ∈ ℕ → ¬ (𝐴 lcm 𝐵) = 0)
125122, 124syl 17 . . . . . . . . . . . . 13 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ (𝐴 lcm 𝐵) = 0)
126 eqcom 2745 . . . . . . . . . . . . . . . . . 18 (0 = 𝐶𝐶 = 0)
127126notbii 320 . . . . . . . . . . . . . . . . 17 (¬ 0 = 𝐶 ↔ ¬ 𝐶 = 0)
128127biimpi 215 . . . . . . . . . . . . . . . 16 (¬ 0 = 𝐶 → ¬ 𝐶 = 0)
1291283ad2ant3 1134 . . . . . . . . . . . . . . 15 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶) → ¬ 𝐶 = 0)
130107, 129sylbi 216 . . . . . . . . . . . . . 14 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ 𝐶 = 0)
131130adantr 481 . . . . . . . . . . . . 13 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ 𝐶 = 0)
132125, 131jca 512 . . . . . . . . . . . 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 981 . . . . . . . . . 10 (¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0) ↔ (¬ (𝐴 lcm 𝐵) = 0 ∧ ¬ 𝐶 = 0))
136134, 135sylibr 233 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0))
137119adantl 482 . . . . . . . . . . . . . . 15 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
138 nnz 12342 . . . . . . . . . . . . . . 15 (𝑘 ∈ ℕ → 𝑘 ∈ ℤ)
139137, 138anim12ci 614 . . . . . . . . . . . . . 14 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝑘 ∈ ℤ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ)))
140 3anass 1094 . . . . . . . . . . . . . 14 ((𝑘 ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ↔ (𝑘 ∈ ℤ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ)))
141139, 140sylibr 233 . . . . . . . . . . . . 13 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝑘 ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ))
142 lcmdvds 16313 . . . . . . . . . . . . 13 ((𝑘 ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ((𝐴𝑘𝐵𝑘) → (𝐴 lcm 𝐵) ∥ 𝑘))
143141, 142syl 17 . . . . . . . . . . . 12 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → ((𝐴𝑘𝐵𝑘) → (𝐴 lcm 𝐵) ∥ 𝑘))
144143com12 32 . . . . . . . . . . 11 ((𝐴𝑘𝐵𝑘) → (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝐴 lcm 𝐵) ∥ 𝑘))
1451443adant3 1131 . . . . . . . . . 10 ((𝐴𝑘𝐵𝑘𝐶𝑘) → (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (𝐴 lcm 𝐵) ∥ 𝑘))
146145impcom 408 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → (𝐴 lcm 𝐵) ∥ 𝑘)
147 simp3 1137 . . . . . . . . . 10 ((𝐴𝑘𝐵𝑘𝐶𝑘) → 𝐶𝑘)
148147adantl 482 . . . . . . . . 9 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → 𝐶𝑘)
149 lcmledvds 16304 . . . . . . . . . 10 (((𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)) → (((𝐴 lcm 𝐵) ∥ 𝑘𝐶𝑘) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
150149imp 407 . . . . . . . . 9 ((((𝑘 ∈ ℕ ∧ (𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)) ∧ ((𝐴 lcm 𝐵) ∥ 𝑘𝐶𝑘)) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘)
151106, 136, 146, 148, 150syl22anc 836 . . . . . . . 8 ((((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) ∧ (𝐴𝑘𝐵𝑘𝐶𝑘)) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘)
152151ex 413 . . . . . . 7 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → ((𝐴𝑘𝐵𝑘𝐶𝑘) → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
153101, 152sylbid 239 . . . . . 6 (((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) ∧ 𝑘 ∈ ℕ) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
154153ralrimiva 3103 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))
15596, 154jca 512 . . . 4 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘)))
156109biimpi 215 . . . . . . . . . . . . . . . 16 (¬ 0 = 𝐴 → ¬ 𝐴 = 0)
157111biimpi 215 . . . . . . . . . . . . . . . 16 (¬ 0 = 𝐵 → ¬ 𝐵 = 0)
158156, 157anim12i 613 . . . . . . . . . . . . . . 15 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → (¬ 𝐴 = 0 ∧ ¬ 𝐵 = 0))
159158, 114sylibr 233 . . . . . . . . . . . . . 14 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
1601593adant3 1131 . . . . . . . . . . . . 13 ((¬ 0 = 𝐴 ∧ ¬ 0 = 𝐵 ∧ ¬ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
161107, 160sylbi 216 . . . . . . . . . . . 12 (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ (𝐴 = 0 ∨ 𝐵 = 0))
162161, 119anim12ci 614 . . . . . . . . . . 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 512 . . . . . . . 8 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (¬ (𝐴 lcm 𝐵) = 0 ∧ ¬ 𝐶 = 0))
166165, 135sylibr 233 . . . . . . 7 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0))
16754, 166jca 512 . . . . . 6 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)))
168 lcmn0cl 16302 . . . . . 6 ((((𝐴 lcm 𝐵) ∈ ℤ ∧ 𝐶 ∈ ℤ) ∧ ¬ ((𝐴 lcm 𝐵) = 0 ∨ 𝐶 = 0)) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ)
169167, 168syl 17 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ)
1705adantl 482 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → {𝐴, 𝐵, 𝐶} ⊆ ℤ)
171 tpfi 9090 . . . . . 6 {𝐴, 𝐵, 𝐶} ∈ Fin
172171a1i 11 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → {𝐴, 𝐵, 𝐶} ∈ Fin)
1733a1i 11 . . . . . . . . 9 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 ∈ {𝐴, 𝐵, 𝐶} ↔ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶)))
174173biimpd 228 . . . . . . . 8 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (0 ∈ {𝐴, 𝐵, 𝐶} → (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶)))
175174con3d 152 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) → ¬ 0 ∈ {𝐴, 𝐵, 𝐶}))
176175impcom 408 . . . . . 6 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ¬ 0 ∈ {𝐴, 𝐵, 𝐶})
177 df-nel 3050 . . . . . 6 (0 ∉ {𝐴, 𝐵, 𝐶} ↔ ¬ 0 ∈ {𝐴, 𝐵, 𝐶})
178176, 177sylibr 233 . . . . 5 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → 0 ∉ {𝐴, 𝐵, 𝐶})
179 lcmf 16338 . . . . 5 ((((𝐴 lcm 𝐵) lcm 𝐶) ∈ ℕ ∧ ({𝐴, 𝐵, 𝐶} ⊆ ℤ ∧ {𝐴, 𝐵, 𝐶} ∈ Fin ∧ 0 ∉ {𝐴, 𝐵, 𝐶})) → (((𝐴 lcm 𝐵) lcm 𝐶) = (lcm‘{𝐴, 𝐵, 𝐶}) ↔ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))))
180169, 170, 172, 178, 179syl13anc 1371 . . . 4 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (((𝐴 lcm 𝐵) lcm 𝐶) = (lcm‘{𝐴, 𝐵, 𝐶}) ↔ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚 ∥ ((𝐴 lcm 𝐵) lcm 𝐶) ∧ ∀𝑘 ∈ ℕ (∀𝑚 ∈ {𝐴, 𝐵, 𝐶}𝑚𝑘 → ((𝐴 lcm 𝐵) lcm 𝐶) ≤ 𝑘))))
181155, 180mpbird 256 . . 3 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → ((𝐴 lcm 𝐵) lcm 𝐶) = (lcm‘{𝐴, 𝐵, 𝐶}))
182181eqcomd 2744 . 2 ((¬ (0 = 𝐴 ∨ 0 = 𝐵 ∨ 0 = 𝐶) ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ)) → (lcm‘{𝐴, 𝐵, 𝐶}) = ((𝐴 lcm 𝐵) lcm 𝐶))
18350, 182pm2.61ian 809 1 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℤ) → (lcm‘{𝐴, 𝐵, 𝐶}) = ((𝐴 lcm 𝐵) lcm 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3o 1085  w3a 1086   = wceq 1539  wcel 2106  wnel 3049  wral 3064  wss 3887  {ctp 4565   class class class wbr 5074  cfv 6433  (class class class)co 7275  Fincfn 8733  0cc0 10871  cle 11010  cn 11973  0cn0 12233  cz 12319  cdvds 15963   lcm clcm 16293  lcmclcmf 16294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948  ax-pre-sup 10949
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-sup 9201  df-inf 9202  df-oi 9269  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-3 12037  df-n0 12234  df-z 12320  df-uz 12583  df-rp 12731  df-fz 13240  df-fzo 13383  df-fl 13512  df-mod 13590  df-seq 13722  df-exp 13783  df-hash 14045  df-cj 14810  df-re 14811  df-im 14812  df-sqrt 14946  df-abs 14947  df-clim 15197  df-prod 15616  df-dvds 15964  df-gcd 16202  df-lcm 16295  df-lcmf 16296
This theorem is referenced by:  lcmf2a3a4e12  16352
  Copyright terms: Public domain W3C validator