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

Theorem lcmfunsnlem 16346
Description: Lemma for lcmfdvds 16347 and lcmfunsn 16349. These two theorems must be proven simultaneously by induction on the cardinality of a finite set 𝑌, because they depend on each other. This can be seen by the two parts lcmfunsnlem1 16342 and lcmfunsnlem2 16345 of the induction step, each of them using both induction hypotheses. (Contributed by AV, 26-Aug-2020.)
Assertion
Ref Expression
lcmfunsnlem ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (∀𝑘 ∈ ℤ (∀𝑚𝑌 𝑚𝑘 → (lcm𝑌) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑌 ∪ {𝑛})) = ((lcm𝑌) lcm 𝑛)))
Distinct variable group:   𝑘,𝑛,𝑚,𝑌

Proof of Theorem lcmfunsnlem
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sseq1 3946 . . . 4 (𝑥 = ∅ → (𝑥 ⊆ ℤ ↔ ∅ ⊆ ℤ))
2 raleq 3342 . . . . . . 7 (𝑥 = ∅ → (∀𝑚𝑥 𝑚𝑘 ↔ ∀𝑚 ∈ ∅ 𝑚𝑘))
3 fveq2 6774 . . . . . . . 8 (𝑥 = ∅ → (lcm𝑥) = (lcm‘∅))
43breq1d 5084 . . . . . . 7 (𝑥 = ∅ → ((lcm𝑥) ∥ 𝑘 ↔ (lcm‘∅) ∥ 𝑘))
52, 4imbi12d 345 . . . . . 6 (𝑥 = ∅ → ((∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘)))
65ralbidv 3112 . . . . 5 (𝑥 = ∅ → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ ∀𝑘 ∈ ℤ (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘)))
7 uneq1 4090 . . . . . . . 8 (𝑥 = ∅ → (𝑥 ∪ {𝑛}) = (∅ ∪ {𝑛}))
87fveq2d 6778 . . . . . . 7 (𝑥 = ∅ → (lcm‘(𝑥 ∪ {𝑛})) = (lcm‘(∅ ∪ {𝑛})))
93oveq1d 7290 . . . . . . 7 (𝑥 = ∅ → ((lcm𝑥) lcm 𝑛) = ((lcm‘∅) lcm 𝑛))
108, 9eqeq12d 2754 . . . . . 6 (𝑥 = ∅ → ((lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛)))
1110ralbidv 3112 . . . . 5 (𝑥 = ∅ → (∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ ∀𝑛 ∈ ℤ (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛)))
126, 11anbi12d 631 . . . 4 (𝑥 = ∅ → ((∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛)) ↔ (∀𝑘 ∈ ℤ (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛))))
131, 12imbi12d 345 . . 3 (𝑥 = ∅ → ((𝑥 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛))) ↔ (∅ ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛)))))
14 sseq1 3946 . . . 4 (𝑥 = 𝑦 → (𝑥 ⊆ ℤ ↔ 𝑦 ⊆ ℤ))
15 raleq 3342 . . . . . . 7 (𝑥 = 𝑦 → (∀𝑚𝑥 𝑚𝑘 ↔ ∀𝑚𝑦 𝑚𝑘))
16 fveq2 6774 . . . . . . . 8 (𝑥 = 𝑦 → (lcm𝑥) = (lcm𝑦))
1716breq1d 5084 . . . . . . 7 (𝑥 = 𝑦 → ((lcm𝑥) ∥ 𝑘 ↔ (lcm𝑦) ∥ 𝑘))
1815, 17imbi12d 345 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘)))
1918ralbidv 3112 . . . . 5 (𝑥 = 𝑦 → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ ∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘)))
20 uneq1 4090 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 ∪ {𝑛}) = (𝑦 ∪ {𝑛}))
2120fveq2d 6778 . . . . . . 7 (𝑥 = 𝑦 → (lcm‘(𝑥 ∪ {𝑛})) = (lcm‘(𝑦 ∪ {𝑛})))
2216oveq1d 7290 . . . . . . 7 (𝑥 = 𝑦 → ((lcm𝑥) lcm 𝑛) = ((lcm𝑦) lcm 𝑛))
2321, 22eqeq12d 2754 . . . . . 6 (𝑥 = 𝑦 → ((lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)))
2423ralbidv 3112 . . . . 5 (𝑥 = 𝑦 → (∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)))
2519, 24anbi12d 631 . . . 4 (𝑥 = 𝑦 → ((∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛)) ↔ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))
2614, 25imbi12d 345 . . 3 (𝑥 = 𝑦 → ((𝑥 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛))) ↔ (𝑦 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)))))
27 sseq1 3946 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑥 ⊆ ℤ ↔ (𝑦 ∪ {𝑧}) ⊆ ℤ))
28 raleq 3342 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑚𝑥 𝑚𝑘 ↔ ∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘))
29 fveq2 6774 . . . . . . . 8 (𝑥 = (𝑦 ∪ {𝑧}) → (lcm𝑥) = (lcm‘(𝑦 ∪ {𝑧})))
3029breq1d 5084 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → ((lcm𝑥) ∥ 𝑘 ↔ (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘))
3128, 30imbi12d 345 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → ((∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘)))
3231ralbidv 3112 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ ∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘)))
33 uneq1 4090 . . . . . . . 8 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑥 ∪ {𝑛}) = ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
3433fveq2d 6778 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → (lcm‘(𝑥 ∪ {𝑛})) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})))
3529oveq1d 7290 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → ((lcm𝑥) lcm 𝑛) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
3634, 35eqeq12d 2754 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → ((lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
3736ralbidv 3112 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
3832, 37anbi12d 631 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → ((∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛)) ↔ (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
3927, 38imbi12d 345 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝑥 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛))) ↔ ((𝑦 ∪ {𝑧}) ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
40 sseq1 3946 . . . 4 (𝑥 = 𝑌 → (𝑥 ⊆ ℤ ↔ 𝑌 ⊆ ℤ))
41 raleq 3342 . . . . . . 7 (𝑥 = 𝑌 → (∀𝑚𝑥 𝑚𝑘 ↔ ∀𝑚𝑌 𝑚𝑘))
42 fveq2 6774 . . . . . . . 8 (𝑥 = 𝑌 → (lcm𝑥) = (lcm𝑌))
4342breq1d 5084 . . . . . . 7 (𝑥 = 𝑌 → ((lcm𝑥) ∥ 𝑘 ↔ (lcm𝑌) ∥ 𝑘))
4441, 43imbi12d 345 . . . . . 6 (𝑥 = 𝑌 → ((∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ (∀𝑚𝑌 𝑚𝑘 → (lcm𝑌) ∥ 𝑘)))
4544ralbidv 3112 . . . . 5 (𝑥 = 𝑌 → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ↔ ∀𝑘 ∈ ℤ (∀𝑚𝑌 𝑚𝑘 → (lcm𝑌) ∥ 𝑘)))
46 uneq1 4090 . . . . . . . 8 (𝑥 = 𝑌 → (𝑥 ∪ {𝑛}) = (𝑌 ∪ {𝑛}))
4746fveq2d 6778 . . . . . . 7 (𝑥 = 𝑌 → (lcm‘(𝑥 ∪ {𝑛})) = (lcm‘(𝑌 ∪ {𝑛})))
4842oveq1d 7290 . . . . . . 7 (𝑥 = 𝑌 → ((lcm𝑥) lcm 𝑛) = ((lcm𝑌) lcm 𝑛))
4947, 48eqeq12d 2754 . . . . . 6 (𝑥 = 𝑌 → ((lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ (lcm‘(𝑌 ∪ {𝑛})) = ((lcm𝑌) lcm 𝑛)))
5049ralbidv 3112 . . . . 5 (𝑥 = 𝑌 → (∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛) ↔ ∀𝑛 ∈ ℤ (lcm‘(𝑌 ∪ {𝑛})) = ((lcm𝑌) lcm 𝑛)))
5145, 50anbi12d 631 . . . 4 (𝑥 = 𝑌 → ((∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛)) ↔ (∀𝑘 ∈ ℤ (∀𝑚𝑌 𝑚𝑘 → (lcm𝑌) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑌 ∪ {𝑛})) = ((lcm𝑌) lcm 𝑛))))
5240, 51imbi12d 345 . . 3 (𝑥 = 𝑌 → ((𝑥 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑥 𝑚𝑘 → (lcm𝑥) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑥 ∪ {𝑛})) = ((lcm𝑥) lcm 𝑛))) ↔ (𝑌 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑌 𝑚𝑘 → (lcm𝑌) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑌 ∪ {𝑛})) = ((lcm𝑌) lcm 𝑛)))))
53 lcmf0 16339 . . . . . . . 8 (lcm‘∅) = 1
54 1dvds 15980 . . . . . . . 8 (𝑘 ∈ ℤ → 1 ∥ 𝑘)
5553, 54eqbrtrid 5109 . . . . . . 7 (𝑘 ∈ ℤ → (lcm‘∅) ∥ 𝑘)
5655a1d 25 . . . . . 6 (𝑘 ∈ ℤ → (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘))
5756adantl 482 . . . . 5 ((∅ ⊆ ℤ ∧ 𝑘 ∈ ℤ) → (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘))
5857ralrimiva 3103 . . . 4 (∅ ⊆ ℤ → ∀𝑘 ∈ ℤ (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘))
59 uncom 4087 . . . . . . . . . 10 (∅ ∪ {𝑛}) = ({𝑛} ∪ ∅)
60 un0 4324 . . . . . . . . . 10 ({𝑛} ∪ ∅) = {𝑛}
6159, 60eqtri 2766 . . . . . . . . 9 (∅ ∪ {𝑛}) = {𝑛}
6261a1i 11 . . . . . . . 8 (𝑛 ∈ ℤ → (∅ ∪ {𝑛}) = {𝑛})
6362fveq2d 6778 . . . . . . 7 (𝑛 ∈ ℤ → (lcm‘(∅ ∪ {𝑛})) = (lcm‘{𝑛}))
64 lcmfsn 16340 . . . . . . 7 (𝑛 ∈ ℤ → (lcm‘{𝑛}) = (abs‘𝑛))
6553a1i 11 . . . . . . . . 9 (𝑛 ∈ ℤ → (lcm‘∅) = 1)
6665oveq1d 7290 . . . . . . . 8 (𝑛 ∈ ℤ → ((lcm‘∅) lcm 𝑛) = (1 lcm 𝑛))
67 1z 12350 . . . . . . . . 9 1 ∈ ℤ
68 lcmcom 16298 . . . . . . . . 9 ((1 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (1 lcm 𝑛) = (𝑛 lcm 1))
6967, 68mpan 687 . . . . . . . 8 (𝑛 ∈ ℤ → (1 lcm 𝑛) = (𝑛 lcm 1))
70 lcm1 16315 . . . . . . . 8 (𝑛 ∈ ℤ → (𝑛 lcm 1) = (abs‘𝑛))
7166, 69, 703eqtrrd 2783 . . . . . . 7 (𝑛 ∈ ℤ → (abs‘𝑛) = ((lcm‘∅) lcm 𝑛))
7263, 64, 713eqtrd 2782 . . . . . 6 (𝑛 ∈ ℤ → (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛))
7372adantl 482 . . . . 5 ((∅ ⊆ ℤ ∧ 𝑛 ∈ ℤ) → (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛))
7473ralrimiva 3103 . . . 4 (∅ ⊆ ℤ → ∀𝑛 ∈ ℤ (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛))
7558, 74jca 512 . . 3 (∅ ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚 ∈ ∅ 𝑚𝑘 → (lcm‘∅) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(∅ ∪ {𝑛})) = ((lcm‘∅) lcm 𝑛)))
76 unss 4118 . . . . . . . 8 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) ↔ (𝑦 ∪ {𝑧}) ⊆ ℤ)
77 simpl 483 . . . . . . . 8 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → 𝑦 ⊆ ℤ)
7876, 77sylbir 234 . . . . . . 7 ((𝑦 ∪ {𝑧}) ⊆ ℤ → 𝑦 ⊆ ℤ)
7978adantl 482 . . . . . 6 ((𝑦 ∈ Fin ∧ (𝑦 ∪ {𝑧}) ⊆ ℤ) → 𝑦 ⊆ ℤ)
80 vex 3436 . . . . . . . . . . 11 𝑧 ∈ V
8180snss 4719 . . . . . . . . . 10 (𝑧 ∈ ℤ ↔ {𝑧} ⊆ ℤ)
82 lcmfunsnlem1 16342 . . . . . . . . . . . 12 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → ∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘))
83 lcmfunsnlem2 16345 . . . . . . . . . . . 12 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
8482, 83jca 512 . . . . . . . . . . 11 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
85843exp1 1351 . . . . . . . . . 10 (𝑧 ∈ ℤ → (𝑦 ⊆ ℤ → (𝑦 ∈ Fin → ((∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))))
8681, 85sylbir 234 . . . . . . . . 9 ({𝑧} ⊆ ℤ → (𝑦 ⊆ ℤ → (𝑦 ∈ Fin → ((∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))))
8786impcom 408 . . . . . . . 8 ((𝑦 ⊆ ℤ ∧ {𝑧} ⊆ ℤ) → (𝑦 ∈ Fin → ((∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
8876, 87sylbir 234 . . . . . . 7 ((𝑦 ∪ {𝑧}) ⊆ ℤ → (𝑦 ∈ Fin → ((∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
8988impcom 408 . . . . . 6 ((𝑦 ∈ Fin ∧ (𝑦 ∪ {𝑧}) ⊆ ℤ) → ((∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
9079, 89embantd 59 . . . . 5 ((𝑦 ∈ Fin ∧ (𝑦 ∪ {𝑧}) ⊆ ℤ) → ((𝑦 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
9190ex 413 . . . 4 (𝑦 ∈ Fin → ((𝑦 ∪ {𝑧}) ⊆ ℤ → ((𝑦 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
9291com23 86 . . 3 (𝑦 ∈ Fin → ((𝑦 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → ((𝑦 ∪ {𝑧}) ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚 ∈ (𝑦 ∪ {𝑧})𝑚𝑘 → (lcm‘(𝑦 ∪ {𝑧})) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
9313, 26, 39, 52, 75, 92findcard2 8947 . 2 (𝑌 ∈ Fin → (𝑌 ⊆ ℤ → (∀𝑘 ∈ ℤ (∀𝑚𝑌 𝑚𝑘 → (lcm𝑌) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑌 ∪ {𝑛})) = ((lcm𝑌) lcm 𝑛))))
9493impcom 408 1 ((𝑌 ⊆ ℤ ∧ 𝑌 ∈ Fin) → (∀𝑘 ∈ ℤ (∀𝑚𝑌 𝑚𝑘 → (lcm𝑌) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑌 ∪ {𝑛})) = ((lcm𝑌) lcm 𝑛)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  cun 3885  wss 3887  c0 4256  {csn 4561   class class class wbr 5074  cfv 6433  (class class class)co 7275  Fincfn 8733  1c1 10872  cz 12319  abscabs 14945  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-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:  lcmfdvds  16347  lcmfunsn  16349
  Copyright terms: Public domain W3C validator