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

Theorem lcmfun 15983
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 14337 . . . . . 6 (𝑥 = ∅ → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ (∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
2 uneq2 4087 . . . . . . . . 9 (𝑥 = ∅ → (𝑌𝑥) = (𝑌 ∪ ∅))
3 un0 4301 . . . . . . . . 9 (𝑌 ∪ ∅) = 𝑌
42, 3eqtrdi 2852 . . . . . . . 8 (𝑥 = ∅ → (𝑌𝑥) = 𝑌)
54fveq2d 6653 . . . . . . 7 (𝑥 = ∅ → (lcm‘(𝑌𝑥)) = (lcm𝑌))
6 fveq2 6649 . . . . . . . . 9 (𝑥 = ∅ → (lcm𝑥) = (lcm‘∅))
7 lcmf0 15972 . . . . . . . . 9 (lcm‘∅) = 1
86, 7eqtrdi 2852 . . . . . . . 8 (𝑥 = ∅ → (lcm𝑥) = 1)
98oveq2d 7155 . . . . . . 7 (𝑥 = ∅ → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm 1))
105, 9eqeq12d 2817 . . . . . 6 (𝑥 = ∅ → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm𝑌) = ((lcm𝑌) lcm 1)))
111, 10imbi12d 348 . . . . 5 (𝑥 = ∅ → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ ((∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm𝑌) = ((lcm𝑌) lcm 1))))
12 cleq1lem 14337 . . . . . 6 (𝑥 = 𝑦 → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ (𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
13 uneq2 4087 . . . . . . . 8 (𝑥 = 𝑦 → (𝑌𝑥) = (𝑌𝑦))
1413fveq2d 6653 . . . . . . 7 (𝑥 = 𝑦 → (lcm‘(𝑌𝑥)) = (lcm‘(𝑌𝑦)))
15 fveq2 6649 . . . . . . . 8 (𝑥 = 𝑦 → (lcm𝑥) = (lcm𝑦))
1615oveq2d 7155 . . . . . . 7 (𝑥 = 𝑦 → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm (lcm𝑦)))
1714, 16eqeq12d 2817 . . . . . 6 (𝑥 = 𝑦 → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))))
1812, 17imbi12d 348 . . . . 5 (𝑥 = 𝑦 → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))))
19 cleq1lem 14337 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
20 uneq2 4087 . . . . . . . 8 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑌𝑥) = (𝑌 ∪ (𝑦 ∪ {𝑧})))
2120fveq2d 6653 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → (lcm‘(𝑌𝑥)) = (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))))
22 fveq2 6649 . . . . . . . 8 (𝑥 = (𝑦 ∪ {𝑧}) → (lcm𝑥) = (lcm‘(𝑦 ∪ {𝑧})))
2322oveq2d 7155 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))
2421, 23eqeq12d 2817 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧})))))
2519, 24imbi12d 348 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))))
26 cleq1lem 14337 . . . . . 6 (𝑥 = 𝑍 → ((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) ↔ (𝑍 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))))
27 uneq2 4087 . . . . . . . 8 (𝑥 = 𝑍 → (𝑌𝑥) = (𝑌𝑍))
2827fveq2d 6653 . . . . . . 7 (𝑥 = 𝑍 → (lcm‘(𝑌𝑥)) = (lcm‘(𝑌𝑍)))
29 fveq2 6649 . . . . . . . 8 (𝑥 = 𝑍 → (lcm𝑥) = (lcm𝑍))
3029oveq2d 7155 . . . . . . 7 (𝑥 = 𝑍 → ((lcm𝑌) lcm (lcm𝑥)) = ((lcm𝑌) lcm (lcm𝑍)))
3128, 30eqeq12d 2817 . . . . . 6 (𝑥 = 𝑍 → ((lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥)) ↔ (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍))))
3226, 31imbi12d 348 . . . . 5 (𝑥 = 𝑍 → (((𝑥 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑥)) = ((lcm𝑌) lcm (lcm𝑥))) ↔ ((𝑍 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍)))))
33 lcmfcl 15966 . . . . . . . . . 10 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm𝑌) ∈ ℕ0)
3433nn0zd 12077 . . . . . . . . 9 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm𝑌) ∈ ℤ)
35 lcm1 15948 . . . . . . . . 9 ((lcm𝑌) ∈ ℤ → ((lcm𝑌) lcm 1) = (abs‘(lcm𝑌)))
3634, 35syl 17 . . . . . . . 8 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → ((lcm𝑌) lcm 1) = (abs‘(lcm𝑌)))
37 nn0re 11898 . . . . . . . . . . 11 ((lcm𝑌) ∈ ℕ0 → (lcm𝑌) ∈ ℝ)
38 nn0ge0 11914 . . . . . . . . . . 11 ((lcm𝑌) ∈ ℕ0 → 0 ≤ (lcm𝑌))
3937, 38jca 515 . . . . . . . . . 10 ((lcm𝑌) ∈ ℕ0 → ((lcm𝑌) ∈ ℝ ∧ 0 ≤ (lcm𝑌)))
4033, 39syl 17 . . . . . . . . 9 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → ((lcm𝑌) ∈ ℝ ∧ 0 ≤ (lcm𝑌)))
41 absid 14652 . . . . . . . . 9 (((lcm𝑌) ∈ ℝ ∧ 0 ≤ (lcm𝑌)) → (abs‘(lcm𝑌)) = (lcm𝑌))
4240, 41syl 17 . . . . . . . 8 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (abs‘(lcm𝑌)) = (lcm𝑌))
4336, 42eqtrd 2836 . . . . . . 7 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → ((lcm𝑌) lcm 1) = (lcm𝑌))
4443adantl 485 . . . . . 6 ((∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → ((lcm𝑌) lcm 1) = (lcm𝑌))
4544eqcomd 2807 . . . . 5 ((∅ ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm𝑌) = ((lcm𝑌) lcm 1))
46 unass 4096 . . . . . . . . . . . . . 14 ((𝑌𝑦) ∪ {𝑧}) = (𝑌 ∪ (𝑦 ∪ {𝑧}))
4746eqcomi 2810 . . . . . . . . . . . . 13 (𝑌 ∪ (𝑦 ∪ {𝑧})) = ((𝑌𝑦) ∪ {𝑧})
4847a1i 11 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑌 ∪ (𝑦 ∪ {𝑧})) = ((𝑌𝑦) ∪ {𝑧}))
4948fveq2d 6653 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = (lcm‘((𝑌𝑦) ∪ {𝑧})))
50 simpl 486 . . . . . . . . . . . . . . 15 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → 𝑌 ⊆ ℤ)
5150adantl 485 . . . . . . . . . . . . . 14 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → 𝑌 ⊆ ℤ)
52 unss 4114 . . . . . . . . . . . . . . . 16 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ↔ (𝑦 ∪ {𝑧}) ⊆ ℤ)
53 simpl 486 . . . . . . . . . . . . . . . 16 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → 𝑦 ⊆ ℤ)
5452, 53sylbir 238 . . . . . . . . . . . . . . 15 ((𝑦 ∪ {𝑧}) ⊆ ℤ → 𝑦 ⊆ ℤ)
5554adantr 484 . . . . . . . . . . . . . 14 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → 𝑦 ⊆ ℤ)
5651, 55unssd 4116 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑌𝑦) ⊆ ℤ)
5756adantl 485 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑌𝑦) ⊆ ℤ)
58 unfi 8773 . . . . . . . . . . . . . . . 16 ((𝑌 ∈ Fin ∧ 𝑦 ∈ Fin) → (𝑌𝑦) ∈ Fin)
5958ex 416 . . . . . . . . . . . . . . 15 (𝑌 ∈ Fin → (𝑦 ∈ Fin → (𝑌𝑦) ∈ Fin))
6059adantl 485 . . . . . . . . . . . . . 14 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (𝑦 ∈ Fin → (𝑌𝑦) ∈ Fin))
6160adantl 485 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑦 ∈ Fin → (𝑌𝑦) ∈ Fin))
6261impcom 411 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑌𝑦) ∈ Fin)
63 vex 3447 . . . . . . . . . . . . . . . . . 18 𝑧 ∈ V
6463snss 4682 . . . . . . . . . . . . . . . . 17 (𝑧 ∈ ℤ ↔ {𝑧} ⊆ ℤ)
6564biimpri 231 . . . . . . . . . . . . . . . 16 ({𝑧} ⊆ ℤ → 𝑧 ∈ ℤ)
6665adantl 485 . . . . . . . . . . . . . . 15 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → 𝑧 ∈ ℤ)
6752, 66sylbir 238 . . . . . . . . . . . . . 14 ((𝑦 ∪ {𝑧}) ⊆ ℤ → 𝑧 ∈ ℤ)
6867adantr 484 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → 𝑧 ∈ ℤ)
6968adantl 485 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → 𝑧 ∈ ℤ)
70 lcmfunsn 15982 . . . . . . . . . . . 12 (((𝑌𝑦) ⊆ ℤ ∧ (𝑌𝑦) ∈ Fin ∧ 𝑧 ∈ ℤ) → (lcm‘((𝑌𝑦) ∪ {𝑧})) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7157, 62, 69, 70syl3anc 1368 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘((𝑌𝑦) ∪ {𝑧})) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7249, 71eqtrd 2836 . . . . . . . . . 10 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7372adantr 484 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm‘(𝑌𝑦)) lcm 𝑧))
7454anim1i 617 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)))
7574adantl 485 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)))
76 id 22 . . . . . . . . . . . 12 (((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))) → ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦))))
7775, 76mpan9 510 . . . . . . . . . . 11 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))
7877oveq1d 7154 . . . . . . . . . 10 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → ((lcm‘(𝑌𝑦)) lcm 𝑧) = (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧))
7934adantl 485 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm𝑌) ∈ ℤ)
8079adantl 485 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm𝑌) ∈ ℤ)
8155anim2i 619 . . . . . . . . . . . . . . 15 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ∈ Fin ∧ 𝑦 ⊆ ℤ))
8281ancomd 465 . . . . . . . . . . . . . 14 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin))
83 lcmfcl 15966 . . . . . . . . . . . . . 14 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℕ0)
8482, 83syl 17 . . . . . . . . . . . . 13 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm𝑦) ∈ ℕ0)
8584nn0zd 12077 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm𝑦) ∈ ℤ)
86 lcmass 15952 . . . . . . . . . . . 12 (((lcm𝑌) ∈ ℤ ∧ (lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
8780, 85, 69, 86syl3anc 1368 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
8887adantr 484 . . . . . . . . . 10 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (((lcm𝑌) lcm (lcm𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
8978, 88eqtrd 2836 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → ((lcm‘(𝑌𝑦)) lcm 𝑧) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
9073, 89eqtrd 2836 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
9153adantr 484 . . . . . . . . . . . . . . . . 17 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → 𝑦 ⊆ ℤ)
92 simpr 488 . . . . . . . . . . . . . . . . 17 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → 𝑦 ∈ Fin)
9366adantr 484 . . . . . . . . . . . . . . . . 17 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → 𝑧 ∈ ℤ)
9491, 92, 933jca 1125 . . . . . . . . . . . . . . . 16 (((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ∧ 𝑦 ∈ Fin) → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ))
9594ex 416 . . . . . . . . . . . . . . 15 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → (𝑦 ∈ Fin → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ)))
9652, 95sylbir 238 . . . . . . . . . . . . . 14 ((𝑦 ∪ {𝑧}) ⊆ ℤ → (𝑦 ∈ Fin → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ)))
9796adantr 484 . . . . . . . . . . . . 13 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (𝑦 ∈ Fin → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ)))
9897impcom 411 . . . . . . . . . . . 12 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ))
99 lcmfunsn 15982 . . . . . . . . . . . 12 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin ∧ 𝑧 ∈ ℤ) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧))
10098, 99syl 17 . . . . . . . . . . 11 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧))
101100oveq2d 7155 . . . . . . . . . 10 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧)))
102101eqeq2d 2812 . . . . . . . . 9 ((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) → ((lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))) ↔ (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧))))
103102adantr 484 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → ((lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))) ↔ (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm ((lcm𝑦) lcm 𝑧))))
10490, 103mpbird 260 . . . . . . 7 (((𝑦 ∈ Fin ∧ ((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin))) ∧ ((𝑦 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑦)) = ((lcm𝑌) lcm (lcm𝑦)))) → (lcm‘(𝑌 ∪ (𝑦 ∪ {𝑧}))) = ((lcm𝑌) lcm (lcm‘(𝑦 ∪ {𝑧}))))
105104exp31 423 . . . . . 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 8746 . . . 4 (𝑍 ∈ Fin → ((𝑍 ⊆ ℤ ∧ (𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin)) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍))))
108107expd 419 . . 3 (𝑍 ∈ Fin → (𝑍 ⊆ ℤ → ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍)))))
109108impcom 411 . 2 ((𝑍 ⊆ ℤ ∧ 𝑍 ∈ Fin) → ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍))))
110109impcom 411 1 (((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) ∧ (𝑍 ⊆ ℤ ∧ 𝑍 ∈ Fin)) → (lcm‘(𝑌𝑍)) = ((lcm𝑌) lcm (lcm𝑍)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2112  cun 3882  wss 3884  c0 4246  {csn 4528   class class class wbr 5033  cfv 6328  (class class class)co 7139  Fincfn 8496  cr 10529  0cc0 10530  1c1 10531  cle 10669  0cn0 11889  cz 11973  abscabs 14589   lcm clcm 15926  lcmclcmf 15927
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-rep 5157  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298  ax-un 7445  ax-inf2 9092  ax-cnex 10586  ax-resscn 10587  ax-1cn 10588  ax-icn 10589  ax-addcl 10590  ax-addrcl 10591  ax-mulcl 10592  ax-mulrcl 10593  ax-mulcom 10594  ax-addass 10595  ax-mulass 10596  ax-distr 10597  ax-i2m1 10598  ax-1ne0 10599  ax-1rid 10600  ax-rnegex 10601  ax-rrecex 10602  ax-cnre 10603  ax-pre-lttri 10604  ax-pre-lttrn 10605  ax-pre-ltadd 10606  ax-pre-mulgt0 10607  ax-pre-sup 10608
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ne 2991  df-nel 3095  df-ral 3114  df-rex 3115  df-reu 3116  df-rmo 3117  df-rab 3118  df-v 3446  df-sbc 3724  df-csb 3832  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-pss 3903  df-nul 4247  df-if 4429  df-pw 4502  df-sn 4529  df-pr 4531  df-tp 4533  df-op 4535  df-uni 4804  df-int 4842  df-iun 4886  df-br 5034  df-opab 5096  df-mpt 5114  df-tr 5140  df-id 5428  df-eprel 5433  df-po 5442  df-so 5443  df-fr 5482  df-se 5483  df-we 5484  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-res 5535  df-ima 5536  df-pred 6120  df-ord 6166  df-on 6167  df-lim 6168  df-suc 6169  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-isom 6337  df-riota 7097  df-ov 7142  df-oprab 7143  df-mpo 7144  df-om 7565  df-1st 7675  df-2nd 7676  df-wrecs 7934  df-recs 7995  df-rdg 8033  df-1o 8089  df-oadd 8093  df-er 8276  df-en 8497  df-dom 8498  df-sdom 8499  df-fin 8500  df-sup 8894  df-inf 8895  df-oi 8962  df-card 9356  df-pnf 10670  df-mnf 10671  df-xr 10672  df-ltxr 10673  df-le 10674  df-sub 10865  df-neg 10866  df-div 11291  df-nn 11630  df-2 11692  df-3 11693  df-n0 11890  df-z 11974  df-uz 12236  df-rp 12382  df-fz 12890  df-fzo 13033  df-fl 13161  df-mod 13237  df-seq 13369  df-exp 13430  df-hash 13691  df-cj 14454  df-re 14455  df-im 14456  df-sqrt 14590  df-abs 14591  df-clim 14841  df-prod 15256  df-dvds 15604  df-gcd 15838  df-lcm 15928  df-lcmf 15929
This theorem is referenced by:  lcmfass  15984
  Copyright terms: Public domain W3C validator