Step | Hyp | Ref
| Expression |
1 | | addid2 11088 |
. . 3
⊢ (𝑛 ∈ ℂ → (0 +
𝑛) = 𝑛) |
2 | 1 | adantl 481 |
. 2
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ ℂ) → (0 + 𝑛) = 𝑛) |
3 | | 0cnd 10899 |
. 2
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 0 ∈
ℂ) |
4 | | sumrb.3 |
. . 3
⊢ (𝜑 → 𝑁 ∈ (ℤ≥‘𝑀)) |
5 | 4 | adantr 480 |
. 2
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 𝑁 ∈ (ℤ≥‘𝑀)) |
6 | | iftrue 4462 |
. . . . . . . . . 10
⊢ (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) = 𝐵) |
7 | 6 | adantl 481 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) = 𝐵) |
8 | | summo.2 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
9 | 7, 8 | eqeltrd 2839 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
10 | 9 | ex 412 |
. . . . . . 7
⊢ (𝜑 → (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ)) |
11 | | iffalse 4465 |
. . . . . . . 8
⊢ (¬
𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) = 0) |
12 | | 0cn 10898 |
. . . . . . . 8
⊢ 0 ∈
ℂ |
13 | 11, 12 | eqeltrdi 2847 |
. . . . . . 7
⊢ (¬
𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
14 | 10, 13 | pm2.61d1 180 |
. . . . . 6
⊢ (𝜑 → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
15 | 14 | adantr 480 |
. . . . 5
⊢ ((𝜑 ∧ 𝑘 ∈ ℤ) → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
16 | | summo.1 |
. . . . 5
⊢ 𝐹 = (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 0)) |
17 | 15, 16 | fmptd 6970 |
. . . 4
⊢ (𝜑 → 𝐹:ℤ⟶ℂ) |
18 | 17 | adantr 480 |
. . 3
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 𝐹:ℤ⟶ℂ) |
19 | | eluzelz 12521 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → 𝑁 ∈ ℤ) |
20 | 4, 19 | syl 17 |
. . . 4
⊢ (𝜑 → 𝑁 ∈ ℤ) |
21 | 20 | adantr 480 |
. . 3
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → 𝑁 ∈ ℤ) |
22 | 18, 21 | ffvelrnd 6944 |
. 2
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → (𝐹‘𝑁) ∈ ℂ) |
23 | | elfzelz 13185 |
. . . . 5
⊢ (𝑛 ∈ (𝑀...(𝑁 − 1)) → 𝑛 ∈ ℤ) |
24 | 23 | adantl 481 |
. . . 4
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝑛 ∈ ℤ) |
25 | | simplr 765 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝐴 ⊆ (ℤ≥‘𝑁)) |
26 | 20 | zcnd 12356 |
. . . . . . . . 9
⊢ (𝜑 → 𝑁 ∈ ℂ) |
27 | 26 | ad2antrr 722 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝑁 ∈ ℂ) |
28 | | ax-1cn 10860 |
. . . . . . . 8
⊢ 1 ∈
ℂ |
29 | | npcan 11160 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℂ ∧ 1 ∈
ℂ) → ((𝑁 −
1) + 1) = 𝑁) |
30 | 27, 28, 29 | sylancl 585 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → ((𝑁 − 1) + 1) = 𝑁) |
31 | 30 | fveq2d 6760 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) →
(ℤ≥‘((𝑁 − 1) + 1)) =
(ℤ≥‘𝑁)) |
32 | 25, 31 | sseqtrrd 3958 |
. . . . 5
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝐴 ⊆
(ℤ≥‘((𝑁 − 1) + 1))) |
33 | | fznuz 13267 |
. . . . . 6
⊢ (𝑛 ∈ (𝑀...(𝑁 − 1)) → ¬ 𝑛 ∈ (ℤ≥‘((𝑁 − 1) +
1))) |
34 | 33 | adantl 481 |
. . . . 5
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → ¬ 𝑛 ∈
(ℤ≥‘((𝑁 − 1) + 1))) |
35 | 32, 34 | ssneldd 3920 |
. . . 4
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → ¬ 𝑛 ∈ 𝐴) |
36 | 24, 35 | eldifd 3894 |
. . 3
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → 𝑛 ∈ (ℤ ∖ 𝐴)) |
37 | | fveqeq2 6765 |
. . . 4
⊢ (𝑘 = 𝑛 → ((𝐹‘𝑘) = 0 ↔ (𝐹‘𝑛) = 0)) |
38 | | eldifi 4057 |
. . . . . 6
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → 𝑘 ∈ ℤ) |
39 | | eldifn 4058 |
. . . . . . . 8
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → ¬ 𝑘 ∈ 𝐴) |
40 | 39, 11 | syl 17 |
. . . . . . 7
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) = 0) |
41 | 40, 12 | eqeltrdi 2847 |
. . . . . 6
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) |
42 | 16 | fvmpt2 6868 |
. . . . . 6
⊢ ((𝑘 ∈ ℤ ∧ if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℂ) → (𝐹‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 0)) |
43 | 38, 41, 42 | syl2anc 583 |
. . . . 5
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 0)) |
44 | 43, 40 | eqtrd 2778 |
. . . 4
⊢ (𝑘 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑘) = 0) |
45 | 37, 44 | vtoclga 3503 |
. . 3
⊢ (𝑛 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑛) = 0) |
46 | 36, 45 | syl 17 |
. 2
⊢ (((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) ∧ 𝑛 ∈ (𝑀...(𝑁 − 1))) → (𝐹‘𝑛) = 0) |
47 | 2, 3, 5, 22, 46 | seqid 13696 |
1
⊢ ((𝜑 ∧ 𝐴 ⊆ (ℤ≥‘𝑁)) → (seq𝑀( + , 𝐹) ↾
(ℤ≥‘𝑁)) = seq𝑁( + , 𝐹)) |