Step | Hyp | Ref
| Expression |
1 | | elun 4083 |
. . . . . . . . . . 11
⊢ (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ (𝑖 ∈ (𝑦 ∪ {𝑧}) ∨ 𝑖 ∈ {𝑛})) |
2 | | elun 4083 |
. . . . . . . . . . . . 13
⊢ (𝑖 ∈ (𝑦 ∪ {𝑧}) ↔ (𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧})) |
3 | | simp1 1135 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑧 ∈
ℤ) |
4 | 3 | adantr 481 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∈
ℤ) |
5 | 4 | adantl 482 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑧 ∈ ℤ) |
6 | | sneq 4571 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑛 = 𝑧 → {𝑛} = {𝑧}) |
7 | 6 | uneq2d 4097 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑛 = 𝑧 → (𝑦 ∪ {𝑛}) = (𝑦 ∪ {𝑧})) |
8 | 7 | fveq2d 6778 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 = 𝑧 → (lcm‘(𝑦 ∪ {𝑛})) = (lcm‘(𝑦 ∪ {𝑧}))) |
9 | | oveq2 7283 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑛 = 𝑧 → ((lcm‘𝑦) lcm 𝑛) = ((lcm‘𝑦) lcm 𝑧)) |
10 | 8, 9 | eqeq12d 2754 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑛 = 𝑧 → ((lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛) ↔ (lcm‘(𝑦 ∪ {𝑧})) = ((lcm‘𝑦) lcm 𝑧))) |
11 | 10 | rspcv 3557 |
. . . . . . . . . . . . . . . 16
⊢ (𝑧 ∈ ℤ →
(∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) →
(lcm‘(𝑦 ∪
{𝑧})) =
((lcm‘𝑦) lcm
𝑧))) |
12 | 5, 11 | syl 17 |
. . . . . . . . . . . . . . 15
⊢ (((𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) →
(lcm‘(𝑦 ∪
{𝑧})) =
((lcm‘𝑦) lcm
𝑧))) |
13 | | ssel 3914 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (𝑦 ⊆ ℤ → (𝑖 ∈ 𝑦 → 𝑖 ∈ ℤ)) |
14 | 13 | 3ad2ant2 1133 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑖 ∈ 𝑦 → 𝑖 ∈ ℤ)) |
15 | 14 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑖 ∈ 𝑦 → 𝑖 ∈ ℤ)) |
16 | 15 | impcom 408 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∈ ℤ) |
17 | | lcmfcl 16333 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
(lcm‘𝑦) ∈
ℕ0) |
18 | 17 | nn0zd 12424 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
(lcm‘𝑦) ∈
ℤ) |
19 | 18 | 3adant1 1129 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
(lcm‘𝑦) ∈
ℤ) |
20 | 19 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
(lcm‘𝑦) ∈
ℤ) |
21 | 20 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) →
(lcm‘𝑦) ∈
ℤ) |
22 | | lcmcl 16306 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((𝑧 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈
ℕ0) |
23 | 3, 22 | sylan 580 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈
ℕ0) |
24 | 23 | nn0zd 12424 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑧 lcm 𝑛) ∈ ℤ) |
25 | 24 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (𝑧 lcm 𝑛) ∈ ℤ) |
26 | | lcmcl 16306 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
(((lcm‘𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) →
((lcm‘𝑦) lcm
(𝑧 lcm 𝑛)) ∈
ℕ0) |
27 | 21, 25, 26 | syl2anc 584 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) →
((lcm‘𝑦) lcm
(𝑧 lcm 𝑛)) ∈
ℕ0) |
28 | 27 | nn0zd 12424 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) →
((lcm‘𝑦) lcm
(𝑧 lcm 𝑛)) ∈ ℤ) |
29 | | breq1 5077 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑘 = 𝑖 → (𝑘 ∥ (lcm‘𝑦) ↔ 𝑖 ∥ (lcm‘𝑦))) |
30 | 29 | rspcv 3557 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑖 ∈ 𝑦 → (∀𝑘 ∈ 𝑦 𝑘 ∥ (lcm‘𝑦) → 𝑖 ∥ (lcm‘𝑦))) |
31 | | dvdslcmf 16336 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
∀𝑘 ∈ 𝑦 𝑘 ∥ (lcm‘𝑦)) |
32 | 31 | 3adant1 1129 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
∀𝑘 ∈ 𝑦 𝑘 ∥ (lcm‘𝑦)) |
33 | 32 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
∀𝑘 ∈ 𝑦 𝑘 ∥ (lcm‘𝑦)) |
34 | 30, 33 | impel 506 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (lcm‘𝑦)) |
35 | 20, 24 | jca 512 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
((lcm‘𝑦)
∈ ℤ ∧ (𝑧 lcm
𝑛) ∈
ℤ)) |
36 | 35 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) →
((lcm‘𝑦)
∈ ℤ ∧ (𝑧 lcm
𝑛) ∈
ℤ)) |
37 | | dvdslcm 16303 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
(((lcm‘𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) →
((lcm‘𝑦)
∥ ((lcm‘𝑦) lcm (𝑧 lcm 𝑛)) ∧ (𝑧 lcm 𝑛) ∥ ((lcm‘𝑦) lcm (𝑧 lcm 𝑛)))) |
38 | 37 | simpld 495 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(((lcm‘𝑦) ∈ ℤ ∧ (𝑧 lcm 𝑛) ∈ ℤ) →
(lcm‘𝑦)
∥ ((lcm‘𝑦) lcm (𝑧 lcm 𝑛))) |
39 | 36, 38 | syl 17 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) →
(lcm‘𝑦)
∥ ((lcm‘𝑦) lcm (𝑧 lcm 𝑛))) |
40 | 16, 21, 28, 34, 39 | dvdstrd 16004 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ ((lcm‘𝑦) lcm (𝑧 lcm 𝑛))) |
41 | 4 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑧 ∈ ℤ) |
42 | | simprr 770 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑛 ∈ ℤ) |
43 | | lcmass 16319 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(((lcm‘𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ ∧ 𝑛 ∈ ℤ) →
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛) = ((lcm‘𝑦) lcm (𝑧 lcm 𝑛))) |
44 | 21, 41, 42, 43 | syl3anc 1370 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) →
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛) = ((lcm‘𝑦) lcm (𝑧 lcm 𝑛))) |
45 | 40, 44 | breqtrrd 5102 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑖 ∈ 𝑦 ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛)) |
46 | 45 | ex 413 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑖 ∈ 𝑦 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛))) |
47 | | elsni 4578 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑖 ∈ {𝑧} → 𝑖 = 𝑧) |
48 | 17 | 3adant1 1129 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
(lcm‘𝑦) ∈
ℕ0) |
49 | 48 | nn0zd 12424 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
(lcm‘𝑦) ∈
ℤ) |
50 | | lcmcl 16306 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢
(((lcm‘𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) →
((lcm‘𝑦) lcm
𝑧) ∈
ℕ0) |
51 | 49, 3, 50 | syl2anc 584 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
((lcm‘𝑦) lcm
𝑧) ∈
ℕ0) |
52 | 51 | nn0zd 12424 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
((lcm‘𝑦) lcm
𝑧) ∈
ℤ) |
53 | 52 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
((lcm‘𝑦) lcm
𝑧) ∈
ℤ) |
54 | | lcmcl 16306 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((((lcm‘𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) →
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛) ∈
ℕ0) |
55 | 52, 54 | sylan 580 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛) ∈
ℕ0) |
56 | 55 | nn0zd 12424 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛) ∈ ℤ) |
57 | 19, 3 | jca 512 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
((lcm‘𝑦)
∈ ℤ ∧ 𝑧
∈ ℤ)) |
58 | 57 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
((lcm‘𝑦)
∈ ℤ ∧ 𝑧
∈ ℤ)) |
59 | | dvdslcm 16303 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
(((lcm‘𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) →
((lcm‘𝑦)
∥ ((lcm‘𝑦) lcm 𝑧) ∧ 𝑧 ∥ ((lcm‘𝑦) lcm 𝑧))) |
60 | 59 | simprd 496 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
(((lcm‘𝑦) ∈ ℤ ∧ 𝑧 ∈ ℤ) → 𝑧 ∥ ((lcm‘𝑦) lcm 𝑧)) |
61 | 58, 60 | syl 17 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∥
((lcm‘𝑦) lcm
𝑧)) |
62 | | dvdslcm 16303 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢
((((lcm‘𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) →
(((lcm‘𝑦) lcm
𝑧) ∥
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛) ∧ 𝑛 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛))) |
63 | 62 | simpld 495 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((((lcm‘𝑦) lcm 𝑧) ∈ ℤ ∧ 𝑛 ∈ ℤ) →
((lcm‘𝑦) lcm
𝑧) ∥
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛)) |
64 | 52, 63 | sylan 580 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
((lcm‘𝑦) lcm
𝑧) ∥
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛)) |
65 | 4, 53, 56, 61, 64 | dvdstrd 16004 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑧 ∥
(((lcm‘𝑦) lcm
𝑧) lcm 𝑛)) |
66 | | breq1 5077 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑖 = 𝑧 → (𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛) ↔ 𝑧 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛))) |
67 | 65, 66 | syl5ibr 245 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑖 = 𝑧 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛))) |
68 | 47, 67 | syl 17 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑖 ∈ {𝑧} → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛))) |
69 | 46, 68 | jaoi 854 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → 𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛))) |
70 | 69 | imp 407 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → 𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛)) |
71 | | oveq1 7282 |
. . . . . . . . . . . . . . . . 17
⊢
((lcm‘(𝑦 ∪ {𝑧})) = ((lcm‘𝑦) lcm 𝑧) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (((lcm‘𝑦) lcm 𝑧) lcm 𝑛)) |
72 | 71 | breq2d 5086 |
. . . . . . . . . . . . . . . 16
⊢
((lcm‘(𝑦 ∪ {𝑧})) = ((lcm‘𝑦) lcm 𝑧) → (𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ↔ 𝑖 ∥ (((lcm‘𝑦) lcm 𝑧) lcm 𝑛))) |
73 | 70, 72 | syl5ibrcom 246 |
. . . . . . . . . . . . . . 15
⊢ (((𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) →
((lcm‘(𝑦 ∪
{𝑧})) =
((lcm‘𝑦) lcm
𝑧) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛))) |
74 | 12, 73 | syld 47 |
. . . . . . . . . . . . . 14
⊢ (((𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧}) ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ)) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛))) |
75 | 74 | ex 413 |
. . . . . . . . . . . . 13
⊢ ((𝑖 ∈ 𝑦 ∨ 𝑖 ∈ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛)))) |
76 | 2, 75 | sylbi 216 |
. . . . . . . . . . . 12
⊢ (𝑖 ∈ (𝑦 ∪ {𝑧}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛)))) |
77 | | elsni 4578 |
. . . . . . . . . . . . 13
⊢ (𝑖 ∈ {𝑛} → 𝑖 = 𝑛) |
78 | | simp2 1136 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑦 ⊆
ℤ) |
79 | | snssi 4741 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑧 ∈ ℤ → {𝑧} ⊆
ℤ) |
80 | 79 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → {𝑧} ⊆
ℤ) |
81 | 78, 80 | unssd 4120 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑦 ∪ {𝑧}) ⊆ ℤ) |
82 | | simp3 1137 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → 𝑦 ∈ Fin) |
83 | | snfi 8834 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ {𝑧} ∈ Fin |
84 | | unfi 8955 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑦 ∈ Fin ∧ {𝑧} ∈ Fin) → (𝑦 ∪ {𝑧}) ∈ Fin) |
85 | 82, 83, 84 | sylancl 586 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑦 ∪ {𝑧}) ∈ Fin) |
86 | | lcmfcl 16333 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑦 ∪ {𝑧}) ∈ Fin) →
(lcm‘(𝑦 ∪
{𝑧})) ∈
ℕ0) |
87 | 81, 85, 86 | syl2anc 584 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
(lcm‘(𝑦 ∪
{𝑧})) ∈
ℕ0) |
88 | 87 | nn0zd 12424 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) →
(lcm‘(𝑦 ∪
{𝑧})) ∈
ℤ) |
89 | 88 | anim1i 615 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) →
((lcm‘(𝑦 ∪
{𝑧})) ∈ ℤ ∧
𝑛 ∈
ℤ)) |
90 | 89 | adantr 481 |
. . . . . . . . . . . . . . . . 17
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧
∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛)) →
((lcm‘(𝑦 ∪
{𝑧})) ∈ ℤ ∧
𝑛 ∈
ℤ)) |
91 | | dvdslcm 16303 |
. . . . . . . . . . . . . . . . 17
⊢
(((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ) →
((lcm‘(𝑦 ∪
{𝑧})) ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛) ∧ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))) |
92 | 90, 91 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧
∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛)) →
((lcm‘(𝑦 ∪
{𝑧})) ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛) ∧ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))) |
93 | 92 | simprd 496 |
. . . . . . . . . . . . . . 15
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧
∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛)) → 𝑛 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛)) |
94 | | breq1 5077 |
. . . . . . . . . . . . . . 15
⊢ (𝑖 = 𝑛 → (𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ↔ 𝑛 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))) |
95 | 93, 94 | syl5ibr 245 |
. . . . . . . . . . . . . 14
⊢ (𝑖 = 𝑛 → ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ ∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛)) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛))) |
96 | 95 | expd 416 |
. . . . . . . . . . . . 13
⊢ (𝑖 = 𝑛 → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛)))) |
97 | 77, 96 | syl 17 |
. . . . . . . . . . . 12
⊢ (𝑖 ∈ {𝑛} → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛)))) |
98 | 76, 97 | jaoi 854 |
. . . . . . . . . . 11
⊢ ((𝑖 ∈ (𝑦 ∪ {𝑧}) ∨ 𝑖 ∈ {𝑛}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛)))) |
99 | 1, 98 | sylbi 216 |
. . . . . . . . . 10
⊢ (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (∀𝑛 ∈ ℤ
(lcm‘(𝑦 ∪
{𝑛})) =
((lcm‘𝑦) lcm
𝑛) → 𝑖 ∥
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛)))) |
100 | 99 | com13 88 |
. . . . . . . . 9
⊢
(∀𝑛 ∈
ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛) → (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))) |
101 | 100 | expd 416 |
. . . . . . . 8
⊢
(∀𝑛 ∈
ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛) → ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))) |
102 | 101 | adantl 482 |
. . . . . . 7
⊢
((∀𝑘 ∈
ℤ (∀𝑚 ∈
𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛)) → ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))))) |
103 | 102 | impcom 408 |
. . . . . 6
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧
(∀𝑘 ∈ ℤ
(∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))) → (𝑛 ∈ ℤ → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)))) |
104 | 103 | impcom 408 |
. . . . 5
⊢ ((𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧
(∀𝑘 ∈ ℤ
(∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛)))) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))) |
105 | 104 | adantl 482 |
. . . 4
⊢ (((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))))) → (𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) → 𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛))) |
106 | 105 | ralrimiv 3102 |
. . 3
⊢ (((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))))) → ∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)) |
107 | | lcmfunsnlem2lem1 16343 |
. . 3
⊢ (((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))))) → ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ 𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘)) |
108 | 89 | adantr 481 |
. . . . . . . . . . 11
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ)) |
109 | 81 | adantr 481 |
. . . . . . . . . . . . . . 15
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑦 ∪ {𝑧}) ⊆ ℤ) |
110 | 85 | adantr 481 |
. . . . . . . . . . . . . . 15
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → (𝑦 ∪ {𝑧}) ∈ Fin) |
111 | | df-nel 3050 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (0
∉ 𝑦 ↔ ¬ 0
∈ 𝑦) |
112 | 111 | biimpi 215 |
. . . . . . . . . . . . . . . . . . 19
⊢ (0
∉ 𝑦 → ¬ 0
∈ 𝑦) |
113 | 112 | 3ad2ant1 1132 |
. . . . . . . . . . . . . . . . . 18
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ 𝑦) |
114 | | elsni 4578 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (0 ∈
{𝑧} → 0 = 𝑧) |
115 | 114 | eqcomd 2744 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (0 ∈
{𝑧} → 𝑧 = 0) |
116 | 115 | necon3ai 2968 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑧 ≠ 0 → ¬ 0 ∈
{𝑧}) |
117 | 116 | 3ad2ant2 1133 |
. . . . . . . . . . . . . . . . . 18
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ {𝑧}) |
118 | | ioran 981 |
. . . . . . . . . . . . . . . . . 18
⊢ (¬ (0
∈ 𝑦 ∨ 0 ∈
{𝑧}) ↔ (¬ 0 ∈
𝑦 ∧ ¬ 0 ∈
{𝑧})) |
119 | 113, 117,
118 | sylanbrc 583 |
. . . . . . . . . . . . . . . . 17
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧})) |
120 | | elun 4083 |
. . . . . . . . . . . . . . . . 17
⊢ (0 ∈
(𝑦 ∪ {𝑧}) ↔ (0 ∈ 𝑦 ∨ 0 ∈ {𝑧})) |
121 | 119, 120 | sylnibr 329 |
. . . . . . . . . . . . . . . 16
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ (𝑦 ∪ {𝑧})) |
122 | | df-nel 3050 |
. . . . . . . . . . . . . . . 16
⊢ (0
∉ (𝑦 ∪ {𝑧}) ↔ ¬ 0 ∈ (𝑦 ∪ {𝑧})) |
123 | 121, 122 | sylibr 233 |
. . . . . . . . . . . . . . 15
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → 0 ∉ (𝑦 ∪ {𝑧})) |
124 | | lcmfn0cl 16331 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∪ {𝑧}) ⊆ ℤ ∧ (𝑦 ∪ {𝑧}) ∈ Fin ∧ 0 ∉ (𝑦 ∪ {𝑧})) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ) |
125 | 109, 110,
123, 124 | syl2an3an 1421 |
. . . . . . . . . . . . . 14
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (lcm‘(𝑦 ∪ {𝑧})) ∈ ℕ) |
126 | 125 | nnne0d 12023 |
. . . . . . . . . . . . 13
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (lcm‘(𝑦 ∪ {𝑧})) ≠ 0) |
127 | 126 | neneqd 2948 |
. . . . . . . . . . . 12
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬
(lcm‘(𝑦 ∪
{𝑧})) = 0) |
128 | | neneq 2949 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ≠ 0 → ¬ 𝑛 = 0) |
129 | 128 | 3ad2ant3 1134 |
. . . . . . . . . . . . 13
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 𝑛 = 0) |
130 | 129 | adantl 482 |
. . . . . . . . . . . 12
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬ 𝑛 = 0) |
131 | | ioran 981 |
. . . . . . . . . . . 12
⊢ (¬
((lcm‘(𝑦 ∪
{𝑧})) = 0 ∨ 𝑛 = 0) ↔ (¬
(lcm‘(𝑦 ∪
{𝑧})) = 0 ∧ ¬ 𝑛 = 0)) |
132 | 127, 130,
131 | sylanbrc 583 |
. . . . . . . . . . 11
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ¬
((lcm‘(𝑦 ∪
{𝑧})) = 0 ∨ 𝑛 = 0)) |
133 | | lcmn0cl 16302 |
. . . . . . . . . . 11
⊢
((((lcm‘(𝑦 ∪ {𝑧})) ∈ ℤ ∧ 𝑛 ∈ ℤ) ∧ ¬
((lcm‘(𝑦 ∪
{𝑧})) = 0 ∨ 𝑛 = 0)) →
((lcm‘(𝑦 ∪
{𝑧})) lcm 𝑛) ∈
ℕ) |
134 | 108, 132,
133 | syl2anc 584 |
. . . . . . . . . 10
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ) |
135 | | snssi 4741 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈ ℤ → {𝑛} ⊆
ℤ) |
136 | 135 | adantl 482 |
. . . . . . . . . . . . 13
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → {𝑛} ⊆
ℤ) |
137 | 109, 136 | unssd 4120 |
. . . . . . . . . . . 12
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ) |
138 | 137 | adantr 481 |
. . . . . . . . . . 11
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ) |
139 | 83, 84 | mpan2 688 |
. . . . . . . . . . . . . . 15
⊢ (𝑦 ∈ Fin → (𝑦 ∪ {𝑧}) ∈ Fin) |
140 | | snfi 8834 |
. . . . . . . . . . . . . . 15
⊢ {𝑛} ∈ Fin |
141 | | unfi 8955 |
. . . . . . . . . . . . . . 15
⊢ (((𝑦 ∪ {𝑧}) ∈ Fin ∧ {𝑛} ∈ Fin) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin) |
142 | 139, 140,
141 | sylancl 586 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ Fin → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin) |
143 | 142 | 3ad2ant3 1134 |
. . . . . . . . . . . . 13
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin) |
144 | 143 | adantr 481 |
. . . . . . . . . . . 12
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin) |
145 | 144 | adantr 481 |
. . . . . . . . . . 11
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin) |
146 | | elun 4083 |
. . . . . . . . . . . . . . . 16
⊢ (0 ∈
((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ (0 ∈ (𝑦 ∪ {𝑧}) ∨ 0 ∈ {𝑛})) |
147 | | nnel 3058 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (¬ 0
∉ 𝑦 ↔ 0 ∈
𝑦) |
148 | 147 | biimpri 227 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (0 ∈
𝑦 → ¬ 0 ∉
𝑦) |
149 | 148 | 3mix1d 1335 |
. . . . . . . . . . . . . . . . . . 19
⊢ (0 ∈
𝑦 → (¬ 0 ∉
𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
150 | | nne 2947 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (¬
𝑧 ≠ 0 ↔ 𝑧 = 0) |
151 | 115, 150 | sylibr 233 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (0 ∈
{𝑧} → ¬ 𝑧 ≠ 0) |
152 | 151 | 3mix2d 1336 |
. . . . . . . . . . . . . . . . . . 19
⊢ (0 ∈
{𝑧} → (¬ 0 ∉
𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
153 | 149, 152 | jaoi 854 |
. . . . . . . . . . . . . . . . . 18
⊢ ((0
∈ 𝑦 ∨ 0 ∈
{𝑧}) → (¬ 0
∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
154 | 120, 153 | sylbi 216 |
. . . . . . . . . . . . . . . . 17
⊢ (0 ∈
(𝑦 ∪ {𝑧}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
155 | | elsni 4578 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (0 ∈
{𝑛} → 0 = 𝑛) |
156 | 155 | eqcomd 2744 |
. . . . . . . . . . . . . . . . . . 19
⊢ (0 ∈
{𝑛} → 𝑛 = 0) |
157 | | nne 2947 |
. . . . . . . . . . . . . . . . . . 19
⊢ (¬
𝑛 ≠ 0 ↔ 𝑛 = 0) |
158 | 156, 157 | sylibr 233 |
. . . . . . . . . . . . . . . . . 18
⊢ (0 ∈
{𝑛} → ¬ 𝑛 ≠ 0) |
159 | 158 | 3mix3d 1337 |
. . . . . . . . . . . . . . . . 17
⊢ (0 ∈
{𝑛} → (¬ 0 ∉
𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
160 | 154, 159 | jaoi 854 |
. . . . . . . . . . . . . . . 16
⊢ ((0
∈ (𝑦 ∪ {𝑧}) ∨ 0 ∈ {𝑛}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
161 | 146, 160 | sylbi 216 |
. . . . . . . . . . . . . . 15
⊢ (0 ∈
((𝑦 ∪ {𝑧}) ∪ {𝑛}) → (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
162 | | 3ianor 1106 |
. . . . . . . . . . . . . . 15
⊢ (¬ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ↔ (¬ 0 ∉ 𝑦 ∨ ¬ 𝑧 ≠ 0 ∨ ¬ 𝑛 ≠ 0)) |
163 | 161, 162 | sylibr 233 |
. . . . . . . . . . . . . 14
⊢ (0 ∈
((𝑦 ∪ {𝑧}) ∪ {𝑛}) → ¬ (0 ∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) |
164 | 163 | con2i 139 |
. . . . . . . . . . . . 13
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → ¬ 0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})) |
165 | | df-nel 3050 |
. . . . . . . . . . . . 13
⊢ (0
∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ↔ ¬ 0 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})) |
166 | 164, 165 | sylibr 233 |
. . . . . . . . . . . 12
⊢ ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})) |
167 | 166 | adantl 482 |
. . . . . . . . . . 11
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})) |
168 | 138, 145,
167 | 3jca 1127 |
. . . . . . . . . 10
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))) |
169 | 134, 168 | jca 512 |
. . . . . . . . 9
⊢ ((((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) ∧ (0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0)) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))) |
170 | 169 | ex 413 |
. . . . . . . 8
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ 𝑛 ∈ ℤ) → ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))) |
171 | 170 | ex 413 |
. . . . . . 7
⊢ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) → (𝑛 ∈ ℤ → ((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))))) |
172 | 171 | adantr 481 |
. . . . . 6
⊢ (((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧
(∀𝑘 ∈ ℤ
(∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))) → (𝑛 ∈ ℤ → ((0 ∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))))) |
173 | 172 | impcom 408 |
. . . . 5
⊢ ((𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧
(∀𝑘 ∈ ℤ
(∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛)))) → ((0 ∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))))) |
174 | 173 | impcom 408 |
. . . 4
⊢ (((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛})))) |
175 | | lcmf 16338 |
. . . 4
⊢
((((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∈ ℕ ∧ (((𝑦 ∪ {𝑧}) ∪ {𝑛}) ⊆ ℤ ∧ ((𝑦 ∪ {𝑧}) ∪ {𝑛}) ∈ Fin ∧ 0 ∉ ((𝑦 ∪ {𝑧}) ∪ {𝑛}))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) ↔ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ 𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘)))) |
176 | 174, 175 | syl 17 |
. . 3
⊢ (((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))))) → (((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) ↔ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ∧ ∀𝑘 ∈ ℕ (∀𝑖 ∈ ((𝑦 ∪ {𝑧}) ∪ {𝑛})𝑖 ∥ 𝑘 → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) ≤ 𝑘)))) |
177 | 106, 107,
176 | mpbir2and 710 |
. 2
⊢ (((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))))) → ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛) = (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛}))) |
178 | 177 | eqcomd 2744 |
1
⊢ (((0
∉ 𝑦 ∧ 𝑧 ≠ 0 ∧ 𝑛 ≠ 0) ∧ (𝑛 ∈ ℤ ∧ ((𝑧 ∈ ℤ ∧ 𝑦 ⊆ ℤ ∧ 𝑦 ∈ Fin) ∧ (∀𝑘 ∈ ℤ (∀𝑚 ∈ 𝑦 𝑚 ∥ 𝑘 → (lcm‘𝑦) ∥ 𝑘) ∧ ∀𝑛 ∈ ℤ (lcm‘(𝑦 ∪ {𝑛})) = ((lcm‘𝑦) lcm 𝑛))))) → (lcm‘((𝑦 ∪ {𝑧}) ∪ {𝑛})) = ((lcm‘(𝑦 ∪ {𝑧})) lcm 𝑛)) |