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

Theorem lcmfunsnlem2lem2 15981
Description: Lemma 2 for lcmfunsnlem2 15982. (Contributed by AV, 26-Aug-2020.)
Assertion
Ref Expression
lcmfunsnlem2lem2 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
Distinct variable groups:   𝑦,𝑚,𝑧   𝑘,𝑛,𝑦,𝑧,𝑚

Proof of Theorem lcmfunsnlem2lem2
Dummy variable 𝑖 is distinct from all other variables.
StepHypRef Expression
1 elun 4111 . . . . . . . . . . 11 (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ (𝑖 ∈ (𝑦 ∪ {𝑧}) ∨ 𝑖 ∈ {𝑛}))
2 elun 4111 . . . . . . . . . . . . 13 (𝑖 ∈ (𝑦 ∪ {𝑧}) ↔ (𝑖𝑦𝑖 ∈ {𝑧}))
3 simp1 1133 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑧 ∈ ℤ)
43adantr 484 . . . . . . . . . . . . . . . . 17 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∈ ℤ)
54adantl 485 . . . . . . . . . . . . . . . 16 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑧 ∈ ℤ)
6 sneq 4560 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 𝑧 → {𝑛} = {𝑧})
76uneq2d 4125 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑧 → (𝑦 ∪ {𝑛}) = (𝑦 ∪ {𝑧}))
87fveq2d 6665 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑧 → (lcm‘(𝑦 ∪ {𝑛})) = (lcm‘(𝑦 ∪ {𝑧})))
9 oveq2 7157 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑧 → ((lcm𝑦) lcm 𝑛) = ((lcm𝑦) lcm 𝑧))
108, 9eqeq12d 2840 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑧 → ((lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) ↔ (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧)))
1110rspcv 3604 . . . . . . . . . . . . . . . 16 (𝑧 ∈ ℤ → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧)))
125, 11syl 17 . . . . . . . . . . . . . . 15 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧)))
13 breq1 5055 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑘 = 𝑖 → (𝑘 ∥ (lcm𝑦) ↔ 𝑖 ∥ (lcm𝑦)))
1413rspcv 3604 . . . . . . . . . . . . . . . . . . . . . 22 (𝑖𝑦 → (∀𝑘𝑦 𝑘 ∥ (lcm𝑦) → 𝑖 ∥ (lcm𝑦)))
15 dvdslcmf 15973 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ∀𝑘𝑦 𝑘 ∥ (lcm𝑦))
16153adant1 1127 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ∀𝑘𝑦 𝑘 ∥ (lcm𝑦))
1716adantr 484 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ∀𝑘𝑦 𝑘 ∥ (lcm𝑦))
1814, 17impel 509 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (lcm𝑦))
19 lcmfcl 15970 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℕ0)
2019nn0zd 12082 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℤ)
21203adant1 1127 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℤ)
2221adantr 484 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (lcm𝑦) ∈ ℤ)
23 lcmcl 15943 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑧 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈ ℕ0)
243, 23sylan 583 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈ ℕ0)
2524nn0zd 12082 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈ ℤ)
2622, 25jca 515 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ))
2726adantl 485 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ))
28 dvdslcm 15940 . . . . . . . . . . . . . . . . . . . . . . 23 (((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) → ((lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∧ (𝑧 lcm 𝑛) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛))))
2928simpld 498 . . . . . . . . . . . . . . . . . . . . . 22 (((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) → (lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
3027, 29syl 17 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
31 ssel 3946 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑦 ⊆ ℤ → (𝑖𝑦𝑖 ∈ ℤ))
32313ad2ant2 1131 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑖𝑦𝑖 ∈ ℤ))
3332adantr 484 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑖𝑦𝑖 ∈ ℤ))
3433impcom 411 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∈ ℤ)
3522adantl 485 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (lcm𝑦) ∈ ℤ)
3625adantl 485 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (𝑧 lcm 𝑛) ∈ ℤ)
37 lcmcl 15943 . . . . . . . . . . . . . . . . . . . . . . . 24 (((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) → ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∈ ℕ0)
3835, 36, 37syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∈ ℕ0)
3938nn0zd 12082 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∈ ℤ)
40 dvdstr 15646 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖 ∈ ℤ ∧ (lcm𝑦) ∈ ℤ ∧ ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∈ ℤ) → ((𝑖 ∥ (lcm𝑦) ∧ (lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛))) → 𝑖 ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛))))
4134, 35, 39, 40syl3anc 1368 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((𝑖 ∥ (lcm𝑦) ∧ (lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛))) → 𝑖 ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛))))
4218, 30, 41mp2and 698 . . . . . . . . . . . . . . . . . . . 20 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
434adantl 485 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑧 ∈ ℤ)
44 simprr 772 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑛 ∈ ℤ)
45 lcmass 15956 . . . . . . . . . . . . . . . . . . . . 21 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) = ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
4635, 43, 44, 45syl3anc 1368 . . . . . . . . . . . . . . . . . . . 20 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) = ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
4742, 46breqtrrd 5080 . . . . . . . . . . . . . . . . . . 19 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
4847ex 416 . . . . . . . . . . . . . . . . . 18 (𝑖𝑦 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
49 elsni 4567 . . . . . . . . . . . . . . . . . . 19 (𝑖 ∈ {𝑧} → 𝑖 = 𝑧)
5021, 3jca 515 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ))
5150adantr 484 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ))
52 dvdslcm 15940 . . . . . . . . . . . . . . . . . . . . . . 23 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → ((lcm𝑦) ∥ ((lcm𝑦) lcm 𝑧) ∧ 𝑧 ∥ ((lcm𝑦) lcm 𝑧)))
5352simprd 499 . . . . . . . . . . . . . . . . . . . . . 22 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → 𝑧 ∥ ((lcm𝑦) lcm 𝑧))
5451, 53syl 17 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∥ ((lcm𝑦) lcm 𝑧))
55193adant1 1127 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℕ0)
5655nn0zd 12082 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℤ)
57 lcmcl 15943 . . . . . . . . . . . . . . . . . . . . . . . 24 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∈ ℕ0)
5856, 3, 57syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((lcm𝑦) lcm 𝑧) ∈ ℕ0)
5958nn0zd 12082 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((lcm𝑦) lcm 𝑧) ∈ ℤ)
60 dvdslcm 15940 . . . . . . . . . . . . . . . . . . . . . . 23 ((((lcm𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∧ 𝑛 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
6160simpld 498 . . . . . . . . . . . . . . . . . . . . . 22 ((((lcm𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
6259, 61sylan 583 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
6359adantr 484 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∈ ℤ)
64 lcmcl 15943 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((lcm𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∈ ℕ0)
6559, 64sylan 583 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∈ ℕ0)
6665nn0zd 12082 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∈ ℤ)
67 dvdstr 15646 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ ((lcm𝑦) lcm 𝑧) ∈ ℤ ∧ (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∈ ℤ) → ((𝑧 ∥ ((lcm𝑦) lcm 𝑧) ∧ ((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)) → 𝑧 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
684, 63, 66, 67syl3anc 1368 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((𝑧 ∥ ((lcm𝑦) lcm 𝑧) ∧ ((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)) → 𝑧 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
6954, 62, 68mp2and 698 . . . . . . . . . . . . . . . . . . . 20 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
70 breq1 5055 . . . . . . . . . . . . . . . . . . . 20 (𝑖 = 𝑧 → (𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛) ↔ 𝑧 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
7169, 70syl5ibr 249 . . . . . . . . . . . . . . . . . . 19 (𝑖 = 𝑧 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
7249, 71syl 17 . . . . . . . . . . . . . . . . . 18 (𝑖 ∈ {𝑧} → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
7348, 72jaoi 854 . . . . . . . . . . . . . . . . 17 ((𝑖𝑦𝑖 ∈ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
7473imp 410 . . . . . . . . . . . . . . . 16 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
75 oveq1 7156 . . . . . . . . . . . . . . . . 17 ((lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (((lcm𝑦) lcm 𝑧) lcm 𝑛))
7675breq2d 5064 . . . . . . . . . . . . . . . 16 ((lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧) → (𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ↔ 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
7774, 76syl5ibrcom 250 . . . . . . . . . . . . . . 15 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
7812, 77syld 47 . . . . . . . . . . . . . 14 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
7978ex 416 . . . . . . . . . . . . 13 ((𝑖𝑦𝑖 ∈ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
802, 79sylbi 220 . . . . . . . . . . . 12 (𝑖 ∈ (𝑦 ∪ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
81 elsni 4567 . . . . . . . . . . . . 13 (𝑖 ∈ {𝑛} → 𝑖 = 𝑛)
82 simp2 1134 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑦 ⊆ ℤ)
83 snssi 4725 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑧 ∈ ℤ → {𝑧} ⊆ ℤ)
84833ad2ant1 1130 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → {𝑧} ⊆ ℤ)
8582, 84unssd 4148 . . . . . . . . . . . . . . . . . . . . 21 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑦 ∪ {𝑧}) ⊆ ℤ)
86 simp3 1135 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑦 ∈ Fin)
87 snfi 8590 . . . . . . . . . . . . . . . . . . . . . 22 {𝑧} ∈ Fin
88 unfi 8782 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑦 ∈ Fin ∧ {𝑧} ∈ Fin) → (𝑦 ∪ {𝑧}) ∈ Fin)
8986, 87, 88sylancl 589 . . . . . . . . . . . . . . . . . . . . 21 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑦 ∪ {𝑧}) ∈ Fin)
90 lcmfcl 15970 . . . . . . . . . . . . . . . . . . . . 21 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑦 ∪ {𝑧}) ∈ Fin) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ0)
9185, 89, 90syl2anc 587 . . . . . . . . . . . . . . . . . . . 20 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ0)
9291nn0zd 12082 . . . . . . . . . . . . . . . . . . 19 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ)
9392anim1i 617 . . . . . . . . . . . . . . . . . 18 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ))
9493adantr 484 . . . . . . . . . . . . . . . . 17 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → ((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ))
95 dvdslcm 15940 . . . . . . . . . . . . . . . . 17 (((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ) → ((lcm‘(𝑦 ∪ {𝑧})) ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
9694, 95syl 17 . . . . . . . . . . . . . . . 16 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → ((lcm‘(𝑦 ∪ {𝑧})) ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
9796simprd 499 . . . . . . . . . . . . . . 15 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
98 breq1 5055 . . . . . . . . . . . . . . 15 (𝑖 = 𝑛 → (𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ↔ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
9997, 98syl5ibr 249 . . . . . . . . . . . . . 14 (𝑖 = 𝑛 → ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
10099expd 419 . . . . . . . . . . . . 13 (𝑖 = 𝑛 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
10181, 100syl 17 . . . . . . . . . . . 12 (𝑖 ∈ {𝑛} → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
10280, 101jaoi 854 . . . . . . . . . . 11 ((𝑖 ∈ (𝑦 ∪ {𝑧}) ∨ 𝑖 ∈ {𝑛}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
1031, 102sylbi 220 . . . . . . . . . 10 (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
104103com13 88 . . . . . . . . 9 (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
105104expd 419 . . . . . . . 8 (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
106105adantl 485 . . . . . . 7 ((∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
107106impcom 411 . . . . . 6 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
108107impcom 411 . . . . 5 ((𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)))) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
109108adantl 485 . . . 4 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
110109ralrimiv 3176 . . 3 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → ∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
111 lcmfunsnlem2lem1 15980 . . 3 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘))
11293adantr 484 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ))
11385adantr 484 . . . . . . . . . . . . . . 15 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑦 ∪ {𝑧}) ⊆ ℤ)
11489adantr 484 . . . . . . . . . . . . . . 15 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑦 ∪ {𝑧}) ∈ Fin)
115 df-nel 3119 . . . . . . . . . . . . . . . . . . . 20 (0 ∉ 𝑦 ↔ ¬ 0 ∈ 𝑦)
116115biimpi 219 . . . . . . . . . . . . . . . . . . 19 (0 ∉ 𝑦 → ¬ 0 ∈ 𝑦)
1171163ad2ant1 1130 . . . . . . . . . . . . . . . . . 18 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ 𝑦)
118 elsni 4567 . . . . . . . . . . . . . . . . . . . . 21 (0 ∈ {𝑧} → 0 = 𝑧)
119118eqcomd 2830 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ {𝑧} → 𝑧 = 0)
120119necon3ai 3039 . . . . . . . . . . . . . . . . . . 19 (𝑧 ≠ 0 → ¬ 0 ∈ {𝑧})
1211203ad2ant2 1131 . . . . . . . . . . . . . . . . . 18 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ {𝑧})
122 ioran 981 . . . . . . . . . . . . . . . . . 18 (¬ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧}) ↔ (¬ 0 ∈ 𝑦 ∧ ¬ 0 ∈ {𝑧}))
123117, 121, 122sylanbrc 586 . . . . . . . . . . . . . . . . 17 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧}))
124 elun 4111 . . . . . . . . . . . . . . . . 17 (0 ∈ (𝑦 ∪ {𝑧}) ↔ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧}))
125123, 124sylnibr 332 . . . . . . . . . . . . . . . 16 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ (𝑦 ∪ {𝑧}))
126 df-nel 3119 . . . . . . . . . . . . . . . 16 (0 ∉ (𝑦 ∪ {𝑧}) ↔ ¬ 0 ∈ (𝑦 ∪ {𝑧}))
127125, 126sylibr 237 . . . . . . . . . . . . . . 15 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → 0 ∉ (𝑦 ∪ {𝑧}))
128 lcmfn0cl 15968 . . . . . . . . . . . . . . 15 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑦 ∪ {𝑧}) ∈ Fin ∧ 0 ∉ (𝑦 ∪ {𝑧})) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ)
129113, 114, 127, 128syl2an3an 1419 . . . . . . . . . . . . . 14 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ)
130129nnne0d 11684 . . . . . . . . . . . . 13 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (lcm‘(𝑦 ∪ {𝑧})) ≠ 0)
131130neneqd 3019 . . . . . . . . . . . 12 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬ (lcm‘(𝑦 ∪ {𝑧})) = 0)
132 neneq 3020 . . . . . . . . . . . . . 14 (𝑛 ≠ 0 → ¬ 𝑛 = 0)
1331323ad2ant3 1132 . . . . . . . . . . . . 13 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 𝑛 = 0)
134133adantl 485 . . . . . . . . . . . 12 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬ 𝑛 = 0)
135 ioran 981 . . . . . . . . . . . 12 (¬ ((lcm‘(𝑦 ∪ {𝑧})) = 0 ∨ 𝑛 = 0) ↔ (¬ (lcm‘(𝑦 ∪ {𝑧})) = 0 ∧ ¬ 𝑛 = 0))
136131, 134, 135sylanbrc 586 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬ ((lcm‘(𝑦 ∪ {𝑧})) = 0 ∨ 𝑛 = 0))
137 lcmn0cl 15939 . . . . . . . . . . 11 ((((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ) ∧ ¬ ((lcm‘(𝑦 ∪ {𝑧})) = 0 ∨ 𝑛 = 0)) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ)
138112, 136, 137syl2anc 587 . . . . . . . . . 10 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ)
139 snssi 4725 . . . . . . . . . . . . . 14 (𝑛 ∈ ℤ → {𝑛} ⊆ ℤ)
140139adantl 485 . . . . . . . . . . . . 13 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → {𝑛} ⊆ ℤ)
141113, 140unssd 4148 . . . . . . . . . . . 12 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ)
142141adantr 484 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ)
14387, 88mpan2 690 . . . . . . . . . . . . . . 15 (𝑦 ∈ Fin → (𝑦 ∪ {𝑧}) ∈ Fin)
144 snfi 8590 . . . . . . . . . . . . . . 15 {𝑛} ∈ Fin
145 unfi 8782 . . . . . . . . . . . . . . 15 (((𝑦 ∪ {𝑧}) ∈ Fin ∧ {𝑛} ∈ Fin) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
146143, 144, 145sylancl 589 . . . . . . . . . . . . . 14 (𝑦 ∈ Fin → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
1471463ad2ant3 1132 . . . . . . . . . . . . 13 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
148147adantr 484 . . . . . . . . . . . 12 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
149148adantr 484 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
150 elun 4111 . . . . . . . . . . . . . . . 16 (0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ (0 ∈ (𝑦 ∪ {𝑧}) ∨ 0 ∈ {𝑛}))
151 nnel 3127 . . . . . . . . . . . . . . . . . . . . 21 (¬ 0 ∉ 𝑦 ↔ 0 ∈ 𝑦)
152151biimpri 231 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ 𝑦 → ¬ 0 ∉ 𝑦)
1531523mix1d 1333 . . . . . . . . . . . . . . . . . . 19 (0 ∈ 𝑦 → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
154 nne 3018 . . . . . . . . . . . . . . . . . . . . 21 𝑧 ≠ 0 ↔ 𝑧 = 0)
155119, 154sylibr 237 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ {𝑧} → ¬ 𝑧 ≠ 0)
1561553mix2d 1334 . . . . . . . . . . . . . . . . . . 19 (0 ∈ {𝑧} → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
157153, 156jaoi 854 . . . . . . . . . . . . . . . . . 18 ((0 ∈ 𝑦 ∨ 0 ∈ {𝑧}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
158124, 157sylbi 220 . . . . . . . . . . . . . . . . 17 (0 ∈ (𝑦 ∪ {𝑧}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
159 elsni 4567 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ {𝑛} → 0 = 𝑛)
160159eqcomd 2830 . . . . . . . . . . . . . . . . . . 19 (0 ∈ {𝑛} → 𝑛 = 0)
161 nne 3018 . . . . . . . . . . . . . . . . . . 19 𝑛 ≠ 0 ↔ 𝑛 = 0)
162160, 161sylibr 237 . . . . . . . . . . . . . . . . . 18 (0 ∈ {𝑛} → ¬ 𝑛 ≠ 0)
1631623mix3d 1335 . . . . . . . . . . . . . . . . 17 (0 ∈ {𝑛} → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
164158, 163jaoi 854 . . . . . . . . . . . . . . . 16 ((0 ∈ (𝑦 ∪ {𝑧}) ∨ 0 ∈ {𝑛}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
165150, 164sylbi 220 . . . . . . . . . . . . . . 15 (0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
166 3ianor 1104 . . . . . . . . . . . . . . 15 (¬ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ↔ (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
167165, 166sylibr 237 . . . . . . . . . . . . . 14 (0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → ¬ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0))
168167con2i 141 . . . . . . . . . . . . 13 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
169 df-nel 3119 . . . . . . . . . . . . 13 (0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ ¬ 0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
170168, 169sylibr 237 . . . . . . . . . . . 12 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
171170adantl 485 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
172142, 149, 1713jca 1125 . . . . . . . . . 10 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))
173138, 172jca 515 . . . . . . . . 9 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))
174173ex 416 . . . . . . . 8 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))))
175174ex 416 . . . . . . 7 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))))
176175adantr 484 . . . . . 6 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → (𝑛 ∈ ℤ → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))))
177176impcom 411 . . . . 5 ((𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)))) → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))))
178177impcom 411 . . . 4 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))
179 lcmf 15975 . . . 4 ((((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) ↔ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘))))
180178, 179syl 17 . . 3 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) ↔ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘))))
181110, 111, 180mpbir2and 712 . 2 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})))
182181eqcomd 2830 1 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 844  w3o 1083  w3a 1084   = wceq 1538  wcel 2115  wne 3014  wnel 3118  wral 3133  cun 3917  wss 3919  {csn 4550   class class class wbr 5052  cfv 6343  (class class class)co 7149  Fincfn 8505  0cc0 10535  cle 10674  cn 11634  0cn0 11894  cz 11978  cdvds 15607   lcm clcm 15930  lcmclcmf 15931
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 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-rep 5176  ax-sep 5189  ax-nul 5196  ax-pow 5253  ax-pr 5317  ax-un 7455  ax-inf2 9101  ax-cnex 10591  ax-resscn 10592  ax-1cn 10593  ax-icn 10594  ax-addcl 10595  ax-addrcl 10596  ax-mulcl 10597  ax-mulrcl 10598  ax-mulcom 10599  ax-addass 10600  ax-mulass 10601  ax-distr 10602  ax-i2m1 10603  ax-1ne0 10604  ax-1rid 10605  ax-rnegex 10606  ax-rrecex 10607  ax-cnre 10608  ax-pre-lttri 10609  ax-pre-lttrn 10610  ax-pre-ltadd 10611  ax-pre-mulgt0 10612  ax-pre-sup 10613
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 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3015  df-nel 3119  df-ral 3138  df-rex 3139  df-reu 3140  df-rmo 3141  df-rab 3142  df-v 3482  df-sbc 3759  df-csb 3867  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-pss 3938  df-nul 4277  df-if 4451  df-pw 4524  df-sn 4551  df-pr 4553  df-tp 4555  df-op 4557  df-uni 4825  df-int 4863  df-iun 4907  df-br 5053  df-opab 5115  df-mpt 5133  df-tr 5159  df-id 5447  df-eprel 5452  df-po 5461  df-so 5462  df-fr 5501  df-se 5502  df-we 5503  df-xp 5548  df-rel 5549  df-cnv 5550  df-co 5551  df-dm 5552  df-rn 5553  df-res 5554  df-ima 5555  df-pred 6135  df-ord 6181  df-on 6182  df-lim 6183  df-suc 6184  df-iota 6302  df-fun 6345  df-fn 6346  df-f 6347  df-f1 6348  df-fo 6349  df-f1o 6350  df-fv 6351  df-isom 6352  df-riota 7107  df-ov 7152  df-oprab 7153  df-mpo 7154  df-om 7575  df-1st 7684  df-2nd 7685  df-wrecs 7943  df-recs 8004  df-rdg 8042  df-1o 8098  df-oadd 8102  df-er 8285  df-en 8506  df-dom 8507  df-sdom 8508  df-fin 8509  df-sup 8903  df-inf 8904  df-oi 8971  df-card 9365  df-pnf 10675  df-mnf 10676  df-xr 10677  df-ltxr 10678  df-le 10679  df-sub 10870  df-neg 10871  df-div 11296  df-nn 11635  df-2 11697  df-3 11698  df-n0 11895  df-z 11979  df-uz 12241  df-rp 12387  df-fz 12895  df-fzo 13038  df-fl 13166  df-mod 13242  df-seq 13374  df-exp 13435  df-hash 13696  df-cj 14458  df-re 14459  df-im 14460  df-sqrt 14594  df-abs 14595  df-clim 14845  df-prod 15260  df-dvds 15608  df-gcd 15842  df-lcm 15932  df-lcmf 15933
This theorem is referenced by:  lcmfunsnlem2  15982
  Copyright terms: Public domain W3C validator