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

Theorem lcmfun 15405
Description: The lcm function for a union of sets of integers. (Contributed by AV, 27-Aug-2020.)
Assertion
Ref Expression
lcmfun (((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) ∧ (𝑍 ⊆ ℤ ∧ 𝑍 ∈ Fin)) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍)))

Proof of Theorem lcmfun
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cleq1lem 13767 . . . . . 6 (𝑥 = ∅ → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ (∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
2 uneq2 3794 . . . . . . . . 9 (𝑥 = ∅ → (𝑌𝑥) = (𝑌 ∪ ∅))
3 un0 4000 . . . . . . . . 9 (𝑌 ∪ ∅) = 𝑌
42, 3syl6eq 2701 . . . . . . . 8 (𝑥 = ∅ → (𝑌𝑥) = 𝑌)
54fveq2d 6233 . . . . . . 7 (𝑥 = ∅ → (lcm‘(𝑌𝑥)) = (lcm𝑌))
6 fveq2 6229 . . . . . . . . 9 (𝑥 = ∅ → (lcm𝑥) = (lcm‘∅))
7 lcmf0 15394 . . . . . . . . 9 (lcm‘∅) = 1
86, 7syl6eq 2701 . . . . . . . 8 (𝑥 = ∅ → (lcm𝑥) = 1)
98oveq2d 6706 . . . . . . 7 (𝑥 = ∅ → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm 1))
105, 9eqeq12d 2666 . . . . . 6 (𝑥 = ∅ → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm𝑌) = ((lcm𝑌) lcm 1)))
111, 10imbi12d 333 . . . . 5 (𝑥 = ∅ → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ ((∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm𝑌) = ((lcm𝑌) lcm 1))))
12 cleq1lem 13767 . . . . . 6 (𝑥 = 𝑦 → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ (𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
13 uneq2 3794 . . . . . . . 8 (𝑥 = 𝑦 → (𝑌𝑥) = (𝑌𝑦))
1413fveq2d 6233 . . . . . . 7 (𝑥 = 𝑦 → (lcm‘(𝑌𝑥)) = (lcm‘(𝑌𝑦)))
15 fveq2 6229 . . . . . . . 8 (𝑥 = 𝑦 → (lcm𝑥) = (lcm𝑦))
1615oveq2d 6706 . . . . . . 7 (𝑥 = 𝑦 → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm (lcm𝑦)))
1714, 16eqeq12d 2666 . . . . . 6 (𝑥 = 𝑦 → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))))
1812, 17imbi12d 333 . . . . 5 (𝑥 = 𝑦 → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))))
19 cleq1lem 13767 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
20 uneq2 3794 . . . . . . . 8 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑌𝑥) = (𝑌 ∪ (𝑦 ∪ {𝑧})))
2120fveq2d 6233 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → (lcm‘(𝑌𝑥)) = (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))))
22 fveq2 6229 . . . . . . . 8 (𝑥 = (𝑦 ∪ {𝑧}) → (lcm𝑥) = (lcm‘(𝑦 ∪ {𝑧})))
2322oveq2d 6706 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))
2421, 23eqeq12d 2666 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧})))))
2519, 24imbi12d 333 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))))
26 cleq1lem 13767 . . . . . 6 (𝑥 = 𝑍 → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ (𝑍 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
27 uneq2 3794 . . . . . . . 8 (𝑥 = 𝑍 → (𝑌𝑥) = (𝑌𝑍))
2827fveq2d 6233 . . . . . . 7 (𝑥 = 𝑍 → (lcm‘(𝑌𝑥)) = (lcm‘(𝑌𝑍)))
29 fveq2 6229 . . . . . . . 8 (𝑥 = 𝑍 → (lcm𝑥) = (lcm𝑍))
3029oveq2d 6706 . . . . . . 7 (𝑥 = 𝑍 → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm (lcm𝑍)))
3128, 30eqeq12d 2666 . . . . . 6 (𝑥 = 𝑍 → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍))))
3226, 31imbi12d 333 . . . . 5 (𝑥 = 𝑍 → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ ((𝑍 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍)))))
33 lcmfcl 15388 . . . . . . . . . 10 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm𝑌) ∈ ℕ0)
3433nn0zd 11518 . . . . . . . . 9 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm𝑌) ∈ ℤ)
35 lcm1 15370 . . . . . . . . 9 ((lcm𝑌) ∈ ℤ → ((lcm𝑌) lcm 1) = (abs‘(lcm𝑌)))
3634, 35syl 17 . . . . . . . 8 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → ((lcm𝑌) lcm 1) = (abs‘(lcm𝑌)))
37 nn0re 11339 . . . . . . . . . . 11 ((lcm𝑌) ∈ ℕ0 → (lcm𝑌) ∈ ℝ)
38 nn0ge0 11356 . . . . . . . . . . 11 ((lcm𝑌) ∈ ℕ0 → 0 ≤ (lcm𝑌))
3937, 38jca 553 . . . . . . . . . 10 ((lcm𝑌) ∈ ℕ0 → ((lcm𝑌) ∈ ℝ ∧ 0 ≤ (lcm𝑌)))
4033, 39syl 17 . . . . . . . . 9 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → ((lcm𝑌) ∈ ℝ ∧ 0 ≤ (lcm𝑌)))
41 absid 14080 . . . . . . . . 9 (((lcm𝑌) ∈ ℝ ∧ 0 ≤ (lcm𝑌)) → (abs‘(lcm𝑌)) = (lcm𝑌))
4240, 41syl 17 . . . . . . . 8 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (abs‘(lcm𝑌)) = (lcm𝑌))
4336, 42eqtrd 2685 . . . . . . 7 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → ((lcm𝑌) lcm 1) = (lcm𝑌))
4443adantl 481 . . . . . 6 ((∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → ((lcm𝑌) lcm 1) = (lcm𝑌))
4544eqcomd 2657 . . . . 5 ((∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm𝑌) = ((lcm𝑌) lcm 1))
46 unass 3803 . . . . . . . . . . . . . 14 ((𝑌𝑦) ∪ {𝑧}) = (𝑌 ∪ (𝑦 ∪ {𝑧}))
4746eqcomi 2660 . . . . . . . . . . . . 13 (𝑌 ∪ (𝑦 ∪ {𝑧})) = ((𝑌𝑦) ∪ {𝑧})
4847a1i 11 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑌 ∪ (𝑦 ∪ {𝑧})) = ((𝑌𝑦) ∪ {𝑧}))
4948fveq2d 6233 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = (lcm‘((𝑌𝑦) ∪ {𝑧})))
50 simpl 472 . . . . . . . . . . . . . . 15 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → 𝑌 ⊆ ℤ)
5150adantl 481 . . . . . . . . . . . . . 14 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → 𝑌 ⊆ ℤ)
52 unss 3820 . . . . . . . . . . . . . . . 16 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ↔ (𝑦 ∪ {𝑧}) ⊆ ℤ)
53 simpl 472 . . . . . . . . . . . . . . . 16 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → 𝑦 ⊆ ℤ)
5452, 53sylbir 225 . . . . . . . . . . . . . . 15 ((𝑦 ∪ {𝑧}) ⊆ ℤ → 𝑦 ⊆ ℤ)
5554adantr 480 . . . . . . . . . . . . . 14 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → 𝑦 ⊆ ℤ)
5651, 55unssd 3822 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑌𝑦) ⊆ ℤ)
5756adantl 481 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑌𝑦) ⊆ ℤ)
58 unfi 8268 . . . . . . . . . . . . . . . 16 ((𝑌 ∈ Fin ∧ 𝑦 ∈ Fin) → (𝑌𝑦) ∈ Fin)
5958ex 449 . . . . . . . . . . . . . . 15 (𝑌 ∈ Fin → (𝑦 ∈ Fin → (𝑌𝑦) ∈ Fin))
6059adantl 481 . . . . . . . . . . . . . 14 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (𝑦 ∈ Fin → (𝑌𝑦) ∈ Fin))
6160adantl 481 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑦 ∈ Fin → (𝑌𝑦) ∈ Fin))
6261impcom 445 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑌𝑦) ∈ Fin)
63 vex 3234 . . . . . . . . . . . . . . . . . 18 𝑧 ∈ V
6463snss 4348 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ ℤ ↔ {𝑧} ⊆ ℤ)
6564biimpri 218 . . . . . . . . . . . . . . . 16 ({𝑧} ⊆ ℤ → 𝑧 ∈ ℤ)
6665adantl 481 . . . . . . . . . . . . . . 15 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → 𝑧 ∈ ℤ)
6752, 66sylbir 225 . . . . . . . . . . . . . 14 ((𝑦 ∪ {𝑧}) ⊆ ℤ → 𝑧 ∈ ℤ)
6867adantr 480 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → 𝑧 ∈ ℤ)
6968adantl 481 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → 𝑧 ∈ ℤ)
70 lcmfunsn 15404 . . . . . . . . . . . 12 (((𝑌𝑦) ⊆ ℤ ∧ (𝑌𝑦) ∈ Fin ∧ 𝑧 ∈ ℤ) → (lcm‘((𝑌𝑦) ∪ {𝑧})) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7157, 62, 69, 70syl3anc 1366 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘((𝑌𝑦) ∪ {𝑧})) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7249, 71eqtrd 2685 . . . . . . . . . 10 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7372adantr 480 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7454anim1i 591 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)))
7574adantl 481 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)))
76 id 22 . . . . . . . . . . . 12 (((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))) → ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))))
7775, 76mpan9 485 . . . . . . . . . . 11 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))
7877oveq1d 6705 . . . . . . . . . 10 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → ((lcm‘(𝑌𝑦)) lcm 𝑧) = (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧))
7934adantl 481 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm𝑌) ∈ ℤ)
8079adantl 481 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm𝑌) ∈ ℤ)
8155anim2i 592 . . . . . . . . . . . . . . 15 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ∈ Fin ∧ 𝑦 ⊆ ℤ))
8281ancomd 466 . . . . . . . . . . . . . 14 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin))
83 lcmfcl 15388 . . . . . . . . . . . . . 14 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℕ0)
8482, 83syl 17 . . . . . . . . . . . . 13 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm𝑦) ∈ ℕ0)
8584nn0zd 11518 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm𝑦) ∈ ℤ)
86 lcmass 15374 . . . . . . . . . . . 12 (((lcm𝑌) ∈ ℤ ∧ (lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
8780, 85, 69, 86syl3anc 1366 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
8887adantr 480 . . . . . . . . . 10 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
8978, 88eqtrd 2685 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → ((lcm‘(𝑌𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
9073, 89eqtrd 2685 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
9153adantr 480 . . . . . . . . . . . . . . . . 17 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → 𝑦 ⊆ ℤ)
92 simpr 476 . . . . . . . . . . . . . . . . 17 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → 𝑦 ∈ Fin)
9366adantr 480 . . . . . . . . . . . . . . . . 17 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → 𝑧 ∈ ℤ)
9491, 92, 933jca 1261 . . . . . . . . . . . . . . . 16 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ))
9594ex 449 . . . . . . . . . . . . . . 15 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → (𝑦 ∈ Fin → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ)))
9652, 95sylbir 225 . . . . . . . . . . . . . 14 ((𝑦 ∪ {𝑧}) ⊆ ℤ → (𝑦 ∈ Fin → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ)))
9796adantr 480 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑦 ∈ Fin → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ)))
9897impcom 445 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ))
99 lcmfunsn 15404 . . . . . . . . . . . 12 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧))
10098, 99syl 17 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧))
101100oveq2d 6706 . . . . . . . . . 10 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
102101eqeq2d 2661 . . . . . . . . 9 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → ((lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))) ↔ (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧))))
103102adantr 480 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → ((lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))) ↔ (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧))))
10490, 103mpbird 247 . . . . . . 7 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))
105104exp31 629 . . . . . 6 (𝑦 ∈ Fin → (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))))
106105com23 86 . . . . 5 (𝑦 ∈ Fin → (((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))) → (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))))
10711, 18, 25, 32, 45, 106findcard2 8241 . . . 4 (𝑍 ∈ Fin → ((𝑍 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍))))
108107expd 451 . . 3 (𝑍 ∈ Fin → (𝑍 ⊆ ℤ → ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍)))))
109108impcom 445 . 2 ((𝑍 ⊆ ℤ ∧ 𝑍 ∈ Fin) → ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍))))
110109impcom 445 1 (((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) ∧ (𝑍 ⊆ ℤ ∧ 𝑍 ∈ Fin)) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  cun 3605  wss 3607  c0 3948  {csn 4210   class class class wbr 4685  cfv 5926  (class class class)co 6690  Fincfn 7997  cr 9973  0cc0 9974  1c1 9975  cle 10113  0cn0 11330  cz 11415  abscabs 14018   lcm clcm 15348  lcmclcmf 15349
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-inf2 8576  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051  ax-pre-sup 10052
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-fal 1529  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-isom 5935  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-oadd 7609  df-er 7787  df-en 7998  df-dom 7999  df-sdom 8000  df-fin 8001  df-sup 8389  df-inf 8390  df-oi 8456  df-card 8803  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-div 10723  df-nn 11059  df-2 11117  df-3 11118  df-n0 11331  df-z 11416  df-uz 11726  df-rp 11871  df-fz 12365  df-fzo 12505  df-fl 12633  df-mod 12709  df-seq 12842  df-exp 12901  df-hash 13158  df-cj 13883  df-re 13884  df-im 13885  df-sqrt 14019  df-abs 14020  df-clim 14263  df-prod 14680  df-dvds 15028  df-gcd 15264  df-lcm 15350  df-lcmf 15351
This theorem is referenced by:  lcmfass  15406
  Copyright terms: Public domain W3C validator