Step | Hyp | Ref
| Expression |
1 | | addid2 11158 |
. . 3
⊢ (𝑛 ∈ ℂ → (0 +
𝑛) = 𝑛) |
2 | 1 | adantl 482 |
. 2
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ ℂ) → (0 + 𝑛) = 𝑛) |
3 | | 0cnd 10968 |
. 2
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 0 ∈
ℂ) |
4 | | sumrb.3 |
. . 3
⊢ (𝜑 → 𝑁 ∈ (ℤ≥‘𝑀)) |
5 | 4 | adantr 481 |
. 2
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 𝑁 ∈ (ℤ≥‘𝑀)) |
6 | | iftrue 4465 |
. . . . . . . . . 10
⊢ (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) = 𝐵) |
7 | 6 | adantl 482 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) = 𝐵) |
8 | | summo.2 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
9 | 7, 8 | eqeltrd 2839 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
10 | 9 | ex 413 |
. . . . . . 7
⊢ (𝜑 → (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ)) |
11 | | iffalse 4468 |
. . . . . . . 8
⊢ (¬
𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) = 0) |
12 | | 0cn 10967 |
. . . . . . . 8
⊢ 0 ∈
ℂ |
13 | 11, 12 | eqeltrdi 2847 |
. . . . . . 7
⊢ (¬
𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
14 | 10, 13 | pm2.61d1 180 |
. . . . . 6
⊢ (𝜑 → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
15 | 14 | adantr 481 |
. . . . 5
⊢ ((𝜑 ∧ 𝑘 ∈ ℤ) → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
16 | | summo.1 |
. . . . 5
⊢ 𝐹 = (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 0)) |
17 | 15, 16 | fmptd 6988 |
. . . 4
⊢ (𝜑 → 𝐹:ℤ⟶ℂ) |
18 | 17 | adantr 481 |
. . 3
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 𝐹:ℤ⟶ℂ) |
19 | | eluzelz 12592 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → 𝑁 ∈ ℤ) |
20 | 4, 19 | syl 17 |
. . . 4
⊢ (𝜑 → 𝑁 ∈ ℤ) |
21 | 20 | adantr 481 |
. . 3
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 𝑁 ∈ ℤ) |
22 | 18, 21 | ffvelrnd 6962 |
. 2
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → (𝐹‘𝑁) ∈ ℂ) |
23 | | elfzelz 13256 |
. . . . 5
⊢ (𝑛 ∈ (𝑀...(𝑁 − 1)) → 𝑛 ∈ ℤ) |
24 | 23 | adantl 482 |
. . . 4
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝑛 ∈ ℤ) |
25 | | simplr 766 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝐴 ⊆ (ℤ≥‘𝑁)) |
26 | 20 | zcnd 12427 |
. . . . . . . . 9
⊢ (𝜑 → 𝑁 ∈ ℂ) |
27 | 26 | ad2antrr 723 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝑁 ∈ ℂ) |
28 | | ax-1cn 10929 |
. . . . . . . 8
⊢ 1 ∈
ℂ |
29 | | npcan 11230 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℂ ∧ 1 ∈
ℂ) → ((𝑁 −
1) + 1) = 𝑁) |
30 | 27, 28, 29 | sylancl 586 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → ((𝑁 − 1) + 1) = 𝑁) |
31 | 30 | fveq2d 6778 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) →
(ℤ≥‘((𝑁 − 1) + 1)) =
(ℤ≥‘𝑁)) |
32 | 25, 31 | sseqtrrd 3962 |
. . . . 5
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝐴 ⊆
(ℤ≥‘((𝑁 − 1) + 1))) |
33 | | fznuz 13338 |
. . . . . 6
⊢ (𝑛 ∈ (𝑀...(𝑁 − 1)) → ¬ 𝑛 ∈ (ℤ≥‘((𝑁 − 1) +
1))) |
34 | 33 | adantl 482 |
. . . . 5
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → ¬ 𝑛 ∈
(ℤ≥‘((𝑁 − 1) + 1))) |
35 | 32, 34 | ssneldd 3924 |
. . . 4
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → ¬ 𝑛 ∈ 𝐴) |
36 | 24, 35 | eldifd 3898 |
. . 3
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝑛 ∈ (ℤ ∖ 𝐴)) |
37 | | fveqeq2 6783 |
. . . 4
⊢ (𝑘 = 𝑛 → ((𝐹‘𝑘) = 0 ↔ (𝐹‘𝑛) = 0)) |
38 | | eldifi 4061 |
. . . . . 6
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → 𝑘 ∈ ℤ) |
39 | | eldifn 4062 |
. . . . . . . 8
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → ¬ 𝑘 ∈ 𝐴) |
40 | 39, 11 | syl 17 |
. . . . . . 7
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) = 0) |
41 | 40, 12 | eqeltrdi 2847 |
. . . . . 6
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
42 | 16 | fvmpt2 6886 |
. . . . . 6
⊢ ((𝑘 ∈ ℤ ∧ if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) → (𝐹‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 0)) |
43 | 38, 41, 42 | syl2anc 584 |
. . . . 5
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 0)) |
44 | 43, 40 | eqtrd 2778 |
. . . 4
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑘) = 0) |
45 | 37, 44 | vtoclga 3513 |
. . 3
⊢ (𝑛 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑛) = 0) |
46 | 36, 45 | syl 17 |
. 2
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → (𝐹‘𝑛) = 0) |
47 | 2, 3, 5, 22, 46 | seqid 13768 |
1
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → (seq𝑀( + , 𝐹) ↾
(ℤ≥‘𝑁)) = seq𝑁( + , 𝐹)) |