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

Theorem lcmfunsnlem2lem2 16272
Description: Lemma 2 for lcmfunsnlem2 16273. (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 4079 . . . . . . . . . . 11 (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ (𝑖 ∈ (𝑦 ∪ {𝑧}) ∨ 𝑖 ∈ {𝑛}))
2 elun 4079 . . . . . . . . . . . . 13 (𝑖 ∈ (𝑦 ∪ {𝑧}) ↔ (𝑖𝑦𝑖 ∈ {𝑧}))
3 simp1 1134 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑧 ∈ ℤ)
43adantr 480 . . . . . . . . . . . . . . . . 17 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∈ ℤ)
54adantl 481 . . . . . . . . . . . . . . . 16 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑧 ∈ ℤ)
6 sneq 4568 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 𝑧 → {𝑛} = {𝑧})
76uneq2d 4093 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑧 → (𝑦 ∪ {𝑛}) = (𝑦 ∪ {𝑧}))
87fveq2d 6760 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑧 → (lcm‘(𝑦 ∪ {𝑛})) = (lcm‘(𝑦 ∪ {𝑧})))
9 oveq2 7263 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑧 → ((lcm𝑦) lcm 𝑛) = ((lcm𝑦) lcm 𝑧))
108, 9eqeq12d 2754 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑧 → ((lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) ↔ (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧)))
1110rspcv 3547 . . . . . . . . . . . . . . . 16 (𝑧 ∈ ℤ → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧)))
125, 11syl 17 . . . . . . . . . . . . . . 15 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → (lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧)))
13 ssel 3910 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑦 ⊆ ℤ → (𝑖𝑦𝑖 ∈ ℤ))
14133ad2ant2 1132 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑖𝑦𝑖 ∈ ℤ))
1514adantr 480 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑖𝑦𝑖 ∈ ℤ))
1615impcom 407 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∈ ℤ)
17 lcmfcl 16261 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℕ0)
1817nn0zd 12353 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℤ)
19183adant1 1128 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℤ)
2019adantr 480 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (lcm𝑦) ∈ ℤ)
2120adantl 481 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (lcm𝑦) ∈ ℤ)
22 lcmcl 16234 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑧 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈ ℕ0)
233, 22sylan 579 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈ ℕ0)
2423nn0zd 12353 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈ ℤ)
2524adantl 481 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (𝑧 lcm 𝑛) ∈ ℤ)
26 lcmcl 16234 . . . . . . . . . . . . . . . . . . . . . . 23 (((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) → ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∈ ℕ0)
2721, 25, 26syl2anc 583 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∈ ℕ0)
2827nn0zd 12353 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∈ ℤ)
29 breq1 5073 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑘 = 𝑖 → (𝑘 ∥ (lcm𝑦) ↔ 𝑖 ∥ (lcm𝑦)))
3029rspcv 3547 . . . . . . . . . . . . . . . . . . . . . 22 (𝑖𝑦 → (∀𝑘𝑦 𝑘 ∥ (lcm𝑦) → 𝑖 ∥ (lcm𝑦)))
31 dvdslcmf 16264 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ∀𝑘𝑦 𝑘 ∥ (lcm𝑦))
32313adant1 1128 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ∀𝑘𝑦 𝑘 ∥ (lcm𝑦))
3332adantr 480 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ∀𝑘𝑦 𝑘 ∥ (lcm𝑦))
3430, 33impel 505 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (lcm𝑦))
3520, 24jca 511 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ))
3635adantl 481 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ))
37 dvdslcm 16231 . . . . . . . . . . . . . . . . . . . . . . 23 (((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) → ((lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)) ∧ (𝑧 lcm 𝑛) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛))))
3837simpld 494 . . . . . . . . . . . . . . . . . . . . . 22 (((lcm𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) → (lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
3936, 38syl 17 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (lcm𝑦) ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
4016, 21, 28, 34, 39dvdstrd 15932 . . . . . . . . . . . . . . . . . . . 20 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
414adantl 481 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑧 ∈ ℤ)
42 simprr 769 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑛 ∈ ℤ)
43 lcmass 16247 . . . . . . . . . . . . . . . . . . . . 21 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) = ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
4421, 41, 42, 43syl3anc 1369 . . . . . . . . . . . . . . . . . . . 20 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) = ((lcm𝑦) lcm (𝑧 lcm 𝑛)))
4540, 44breqtrrd 5098 . . . . . . . . . . . . . . . . . . 19 ((𝑖𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
4645ex 412 . . . . . . . . . . . . . . . . . 18 (𝑖𝑦 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
47 elsni 4575 . . . . . . . . . . . . . . . . . . 19 (𝑖 ∈ {𝑧} → 𝑖 = 𝑧)
48173adant1 1128 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℕ0)
4948nn0zd 12353 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm𝑦) ∈ ℤ)
50 lcmcl 16234 . . . . . . . . . . . . . . . . . . . . . . . 24 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∈ ℕ0)
5149, 3, 50syl2anc 583 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((lcm𝑦) lcm 𝑧) ∈ ℕ0)
5251nn0zd 12353 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((lcm𝑦) lcm 𝑧) ∈ ℤ)
5352adantr 480 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∈ ℤ)
54 lcmcl 16234 . . . . . . . . . . . . . . . . . . . . . . 23 ((((lcm𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∈ ℕ0)
5552, 54sylan 579 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∈ ℕ0)
5655nn0zd 12353 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∈ ℤ)
5719, 3jca 511 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ))
5857adantr 480 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ))
59 dvdslcm 16231 . . . . . . . . . . . . . . . . . . . . . . 23 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → ((lcm𝑦) ∥ ((lcm𝑦) lcm 𝑧) ∧ 𝑧 ∥ ((lcm𝑦) lcm 𝑧)))
6059simprd 495 . . . . . . . . . . . . . . . . . . . . . 22 (((lcm𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → 𝑧 ∥ ((lcm𝑦) lcm 𝑧))
6158, 60syl 17 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∥ ((lcm𝑦) lcm 𝑧))
62 dvdslcm 16231 . . . . . . . . . . . . . . . . . . . . . . 23 ((((lcm𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) → (((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛) ∧ 𝑛 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
6362simpld 494 . . . . . . . . . . . . . . . . . . . . . 22 ((((lcm𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
6452, 63sylan 579 . . . . . . . . . . . . . . . . . . . . 21 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm𝑦) lcm 𝑧) ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
654, 53, 56, 61, 64dvdstrd 15932 . . . . . . . . . . . . . . . . . . . 20 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
66 breq1 5073 . . . . . . . . . . . . . . . . . . . 20 (𝑖 = 𝑧 → (𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛) ↔ 𝑧 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
6765, 66syl5ibr 245 . . . . . . . . . . . . . . . . . . 19 (𝑖 = 𝑧 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
6847, 67syl 17 . . . . . . . . . . . . . . . . . 18 (𝑖 ∈ {𝑧} → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
6946, 68jaoi 853 . . . . . . . . . . . . . . . . 17 ((𝑖𝑦𝑖 ∈ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
7069imp 406 . . . . . . . . . . . . . . . 16 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛))
71 oveq1 7262 . . . . . . . . . . . . . . . . 17 ((lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (((lcm𝑦) lcm 𝑧) lcm 𝑛))
7271breq2d 5082 . . . . . . . . . . . . . . . 16 ((lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧) → (𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ↔ 𝑖 ∥ (((lcm𝑦) lcm 𝑧) lcm 𝑛)))
7370, 72syl5ibrcom 246 . . . . . . . . . . . . . . 15 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → ((lcm‘(𝑦 ∪ {𝑧})) = ((lcm𝑦) lcm 𝑧) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
7412, 73syld 47 . . . . . . . . . . . . . 14 (((𝑖𝑦𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
7574ex 412 . . . . . . . . . . . . 13 ((𝑖𝑦𝑖 ∈ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
762, 75sylbi 216 . . . . . . . . . . . 12 (𝑖 ∈ (𝑦 ∪ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
77 elsni 4575 . . . . . . . . . . . . 13 (𝑖 ∈ {𝑛} → 𝑖 = 𝑛)
78 simp2 1135 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑦 ⊆ ℤ)
79 snssi 4738 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑧 ∈ ℤ → {𝑧} ⊆ ℤ)
80793ad2ant1 1131 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → {𝑧} ⊆ ℤ)
8178, 80unssd 4116 . . . . . . . . . . . . . . . . . . . . 21 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑦 ∪ {𝑧}) ⊆ ℤ)
82 simp3 1136 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑦 ∈ Fin)
83 snfi 8788 . . . . . . . . . . . . . . . . . . . . . 22 {𝑧} ∈ Fin
84 unfi 8917 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑦 ∈ Fin ∧ {𝑧} ∈ Fin) → (𝑦 ∪ {𝑧}) ∈ Fin)
8582, 83, 84sylancl 585 . . . . . . . . . . . . . . . . . . . . 21 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑦 ∪ {𝑧}) ∈ Fin)
86 lcmfcl 16261 . . . . . . . . . . . . . . . . . . . . 21 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑦 ∪ {𝑧}) ∈ Fin) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ0)
8781, 85, 86syl2anc 583 . . . . . . . . . . . . . . . . . . . 20 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ0)
8887nn0zd 12353 . . . . . . . . . . . . . . . . . . 19 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ)
8988anim1i 614 . . . . . . . . . . . . . . . . . 18 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ))
9089adantr 480 . . . . . . . . . . . . . . . . 17 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → ((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ))
91 dvdslcm 16231 . . . . . . . . . . . . . . . . 17 (((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ) → ((lcm‘(𝑦 ∪ {𝑧})) ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
9290, 91syl 17 . . . . . . . . . . . . . . . 16 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → ((lcm‘(𝑦 ∪ {𝑧})) ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
9392simprd 495 . . . . . . . . . . . . . . 15 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
94 breq1 5073 . . . . . . . . . . . . . . 15 (𝑖 = 𝑛 → (𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ↔ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
9593, 94syl5ibr 245 . . . . . . . . . . . . . 14 (𝑖 = 𝑛 → ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
9695expd 415 . . . . . . . . . . . . 13 (𝑖 = 𝑛 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
9777, 96syl 17 . . . . . . . . . . . 12 (𝑖 ∈ {𝑛} → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
9876, 97jaoi 853 . . . . . . . . . . 11 ((𝑖 ∈ (𝑦 ∪ {𝑧}) ∨ 𝑖 ∈ {𝑛}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
991, 98sylbi 216 . . . . . . . . . 10 (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
10099com13 88 . . . . . . . . 9 (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
101100expd 415 . . . . . . . 8 (∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛) → ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
102101adantl 481 . . . . . . 7 ((∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)) → ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))))
103102impcom 407 . . . . . 6 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))
104103impcom 407 . . . . 5 ((𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)))) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
105104adantl 481 . . . 4 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))
106105ralrimiv 3106 . . 3 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → ∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))
107 lcmfunsnlem2lem1 16271 . . 3 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘))
10889adantr 480 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ))
10981adantr 480 . . . . . . . . . . . . . . 15 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑦 ∪ {𝑧}) ⊆ ℤ)
11085adantr 480 . . . . . . . . . . . . . . 15 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑦 ∪ {𝑧}) ∈ Fin)
111 df-nel 3049 . . . . . . . . . . . . . . . . . . . 20 (0 ∉ 𝑦 ↔ ¬ 0 ∈ 𝑦)
112111biimpi 215 . . . . . . . . . . . . . . . . . . 19 (0 ∉ 𝑦 → ¬ 0 ∈ 𝑦)
1131123ad2ant1 1131 . . . . . . . . . . . . . . . . . 18 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ 𝑦)
114 elsni 4575 . . . . . . . . . . . . . . . . . . . . 21 (0 ∈ {𝑧} → 0 = 𝑧)
115114eqcomd 2744 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ {𝑧} → 𝑧 = 0)
116115necon3ai 2967 . . . . . . . . . . . . . . . . . . 19 (𝑧 ≠ 0 → ¬ 0 ∈ {𝑧})
1171163ad2ant2 1132 . . . . . . . . . . . . . . . . . 18 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ {𝑧})
118 ioran 980 . . . . . . . . . . . . . . . . . 18 (¬ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧}) ↔ (¬ 0 ∈ 𝑦 ∧ ¬ 0 ∈ {𝑧}))
119113, 117, 118sylanbrc 582 . . . . . . . . . . . . . . . . 17 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧}))
120 elun 4079 . . . . . . . . . . . . . . . . 17 (0 ∈ (𝑦 ∪ {𝑧}) ↔ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧}))
121119, 120sylnibr 328 . . . . . . . . . . . . . . . 16 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ (𝑦 ∪ {𝑧}))
122 df-nel 3049 . . . . . . . . . . . . . . . 16 (0 ∉ (𝑦 ∪ {𝑧}) ↔ ¬ 0 ∈ (𝑦 ∪ {𝑧}))
123121, 122sylibr 233 . . . . . . . . . . . . . . 15 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → 0 ∉ (𝑦 ∪ {𝑧}))
124 lcmfn0cl 16259 . . . . . . . . . . . . . . 15 (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑦 ∪ {𝑧}) ∈ Fin ∧ 0 ∉ (𝑦 ∪ {𝑧})) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ)
125109, 110, 123, 124syl2an3an 1420 . . . . . . . . . . . . . 14 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ)
126125nnne0d 11953 . . . . . . . . . . . . 13 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (lcm‘(𝑦 ∪ {𝑧})) ≠ 0)
127126neneqd 2947 . . . . . . . . . . . 12 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬ (lcm‘(𝑦 ∪ {𝑧})) = 0)
128 neneq 2948 . . . . . . . . . . . . . 14 (𝑛 ≠ 0 → ¬ 𝑛 = 0)
1291283ad2ant3 1133 . . . . . . . . . . . . 13 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 𝑛 = 0)
130129adantl 481 . . . . . . . . . . . 12 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬ 𝑛 = 0)
131 ioran 980 . . . . . . . . . . . 12 (¬ ((lcm‘(𝑦 ∪ {𝑧})) = 0 ∨ 𝑛 = 0) ↔ (¬ (lcm‘(𝑦 ∪ {𝑧})) = 0 ∧ ¬ 𝑛 = 0))
132127, 130, 131sylanbrc 582 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬ ((lcm‘(𝑦 ∪ {𝑧})) = 0 ∨ 𝑛 = 0))
133 lcmn0cl 16230 . . . . . . . . . . 11 ((((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ) ∧ ¬ ((lcm‘(𝑦 ∪ {𝑧})) = 0 ∨ 𝑛 = 0)) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ)
134108, 132, 133syl2anc 583 . . . . . . . . . 10 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ)
135 snssi 4738 . . . . . . . . . . . . . 14 (𝑛 ∈ ℤ → {𝑛} ⊆ ℤ)
136135adantl 481 . . . . . . . . . . . . 13 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → {𝑛} ⊆ ℤ)
137109, 136unssd 4116 . . . . . . . . . . . 12 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ)
138137adantr 480 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ)
13983, 84mpan2 687 . . . . . . . . . . . . . . 15 (𝑦 ∈ Fin → (𝑦 ∪ {𝑧}) ∈ Fin)
140 snfi 8788 . . . . . . . . . . . . . . 15 {𝑛} ∈ Fin
141 unfi 8917 . . . . . . . . . . . . . . 15 (((𝑦 ∪ {𝑧}) ∈ Fin ∧ {𝑛} ∈ Fin) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
142139, 140, 141sylancl 585 . . . . . . . . . . . . . 14 (𝑦 ∈ Fin → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
1431423ad2ant3 1133 . . . . . . . . . . . . 13 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
144143adantr 480 . . . . . . . . . . . 12 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
145144adantr 480 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin)
146 elun 4079 . . . . . . . . . . . . . . . 16 (0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ (0 ∈ (𝑦 ∪ {𝑧}) ∨ 0 ∈ {𝑛}))
147 nnel 3057 . . . . . . . . . . . . . . . . . . . . 21 (¬ 0 ∉ 𝑦 ↔ 0 ∈ 𝑦)
148147biimpri 227 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ 𝑦 → ¬ 0 ∉ 𝑦)
1491483mix1d 1334 . . . . . . . . . . . . . . . . . . 19 (0 ∈ 𝑦 → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
150 nne 2946 . . . . . . . . . . . . . . . . . . . . 21 𝑧 ≠ 0 ↔ 𝑧 = 0)
151115, 150sylibr 233 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ {𝑧} → ¬ 𝑧 ≠ 0)
1521513mix2d 1335 . . . . . . . . . . . . . . . . . . 19 (0 ∈ {𝑧} → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
153149, 152jaoi 853 . . . . . . . . . . . . . . . . . 18 ((0 ∈ 𝑦 ∨ 0 ∈ {𝑧}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
154120, 153sylbi 216 . . . . . . . . . . . . . . . . 17 (0 ∈ (𝑦 ∪ {𝑧}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
155 elsni 4575 . . . . . . . . . . . . . . . . . . . 20 (0 ∈ {𝑛} → 0 = 𝑛)
156155eqcomd 2744 . . . . . . . . . . . . . . . . . . 19 (0 ∈ {𝑛} → 𝑛 = 0)
157 nne 2946 . . . . . . . . . . . . . . . . . . 19 𝑛 ≠ 0 ↔ 𝑛 = 0)
158156, 157sylibr 233 . . . . . . . . . . . . . . . . . 18 (0 ∈ {𝑛} → ¬ 𝑛 ≠ 0)
1591583mix3d 1336 . . . . . . . . . . . . . . . . 17 (0 ∈ {𝑛} → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
160154, 159jaoi 853 . . . . . . . . . . . . . . . 16 ((0 ∈ (𝑦 ∪ {𝑧}) ∨ 0 ∈ {𝑛}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
161146, 160sylbi 216 . . . . . . . . . . . . . . 15 (0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
162 3ianor 1105 . . . . . . . . . . . . . . 15 (¬ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ↔ (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0))
163161, 162sylibr 233 . . . . . . . . . . . . . 14 (0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → ¬ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0))
164163con2i 139 . . . . . . . . . . . . 13 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
165 df-nel 3049 . . . . . . . . . . . . 13 (0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ ¬ 0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
166164, 165sylibr 233 . . . . . . . . . . . 12 ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
167166adantl 481 . . . . . . . . . . 11 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))
168138, 145, 1673jca 1126 . . . . . . . . . 10 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))
169134, 168jca 511 . . . . . . . . 9 ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))
170169ex 412 . . . . . . . 8 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))))
171170ex 412 . . . . . . 7 ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))))
172171adantr 480 . . . . . 6 (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))) → (𝑛 ∈ ℤ → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))))
173172impcom 407 . . . . 5 ((𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛)))) → ((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))))
174173impcom 407 . . . 4 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))
175 lcmf 16266 . . . 4 ((((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) ↔ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘))))
176174, 175syl 17 . . 3 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) ↔ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘))))
177106, 107, 176mpbir2and 709 . 2 (((0 ∉ 𝑦𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚𝑦 𝑚𝑘 → (lcm𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm𝑦) lcm 𝑛))))) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})))
178177eqcomd 2744 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 205  wa 395  wo 843  w3o 1084  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wnel 3048  wral 3063  cun 3881  wss 3883  {csn 4558   class class class wbr 5070  cfv 6418  (class class class)co 7255  Fincfn 8691  0cc0 10802  cle 10941  cn 11903  0cn0 12163  cz 12249  cdvds 15891   lcm clcm 16221  lcmclcmf 16222
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-inf 9132  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-fl 13440  df-mod 13518  df-seq 13650  df-exp 13711  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-clim 15125  df-prod 15544  df-dvds 15892  df-gcd 16130  df-lcm 16223  df-lcmf 16224
This theorem is referenced by:  lcmfunsnlem2  16273
  Copyright terms: Public domain W3C validator