Step | Hyp | Ref
| Expression |
1 | | fsumcl2lem.5 |
. . . 4
⊢ (𝜑 → 𝐴 ≠ ∅) |
2 | 1 | neneqd 2361 |
. . 3
⊢ (𝜑 → ¬ 𝐴 = ∅) |
3 | 2 | pm2.21d 614 |
. 2
⊢ (𝜑 → (𝐴 = ∅ → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
4 | | fsumcllem.1 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝑆 ⊆ ℂ) |
5 | 4 | adantr 274 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝑆 ⊆ ℂ) |
6 | | fsumcllem.4 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ 𝑆) |
7 | 5, 6 | sseldd 3148 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
8 | 7 | ralrimiva 2543 |
. . . . . . . . 9
⊢ (𝜑 → ∀𝑘 ∈ 𝐴 𝐵 ∈ ℂ) |
9 | | sumfct 11337 |
. . . . . . . . 9
⊢
(∀𝑘 ∈
𝐴 𝐵 ∈ ℂ → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐵) |
10 | 8, 9 | syl 14 |
. . . . . . . 8
⊢ (𝜑 → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐵) |
11 | 10 | adantr 274 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐵) |
12 | | fveq2 5496 |
. . . . . . . 8
⊢ (𝑚 = (𝑓‘𝑎) → ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = ((𝑘 ∈ 𝐴 ↦ 𝐵)‘(𝑓‘𝑎))) |
13 | | simprl 526 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (♯‘𝐴) ∈
ℕ) |
14 | | simprr 527 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴) |
15 | 4 | ad2antrr 485 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑚 ∈ 𝐴) → 𝑆 ⊆ ℂ) |
16 | 6 | fmpttd 5651 |
. . . . . . . . . . 11
⊢ (𝜑 → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆) |
17 | 16 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆) |
18 | 17 | ffvelrnda 5631 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑚 ∈ 𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) ∈ 𝑆) |
19 | 15, 18 | sseldd 3148 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑚 ∈ 𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) ∈ ℂ) |
20 | | f1of 5442 |
. . . . . . . . . 10
⊢ (𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴 → 𝑓:(1...(♯‘𝐴))⟶𝐴) |
21 | 14, 20 | syl 14 |
. . . . . . . . 9
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → 𝑓:(1...(♯‘𝐴))⟶𝐴) |
22 | | fvco3 5567 |
. . . . . . . . 9
⊢ ((𝑓:(1...(♯‘𝐴))⟶𝐴 ∧ 𝑎 ∈ (1...(♯‘𝐴))) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎) = ((𝑘 ∈ 𝐴 ↦ 𝐵)‘(𝑓‘𝑎))) |
23 | 21, 22 | sylan 281 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑎 ∈ (1...(♯‘𝐴))) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎) = ((𝑘 ∈ 𝐴 ↦ 𝐵)‘(𝑓‘𝑎))) |
24 | 12, 13, 14, 19, 23 | fsum3 11350 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = (seq1( + , (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)))‘(♯‘𝐴))) |
25 | 11, 24 | eqtr3d 2205 |
. . . . . 6
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑘 ∈ 𝐴 𝐵 = (seq1( + , (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)))‘(♯‘𝐴))) |
26 | | nnuz 9522 |
. . . . . . . 8
⊢ ℕ =
(ℤ≥‘1) |
27 | 13, 26 | eleqtrdi 2263 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (♯‘𝐴) ∈
(ℤ≥‘1)) |
28 | | elnnuz 9523 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ ℕ ↔ 𝑥 ∈
(ℤ≥‘1)) |
29 | 28 | biimpri 132 |
. . . . . . . . . 10
⊢ (𝑥 ∈
(ℤ≥‘1) → 𝑥 ∈ ℕ) |
30 | 29 | adantl 275 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ 𝑥 ∈
ℕ) |
31 | 4 | ad3antrrr 489 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑆 ⊆ ℂ) |
32 | 17 | ad2antrr 485 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆) |
33 | 21 | ad2antrr 485 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑓:(1...(♯‘𝐴))⟶𝐴) |
34 | | fco 5363 |
. . . . . . . . . . . . . 14
⊢ (((𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆 ∧ 𝑓:(1...(♯‘𝐴))⟶𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶𝑆) |
35 | 32, 33, 34 | syl2anc 409 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → ((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶𝑆) |
36 | | 1zzd 9239 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 1 ∈ ℤ) |
37 | 13 | ad2antrr 485 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (♯‘𝐴) ∈ ℕ) |
38 | 37 | nnzd 9333 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (♯‘𝐴) ∈ ℤ) |
39 | | simpr 109 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → 𝑥 ∈ ℕ) |
40 | 39 | adantr 274 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑥 ∈ ℕ) |
41 | 40 | nnzd 9333 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑥 ∈ ℤ) |
42 | 36, 38, 41 | 3jca 1172 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (1 ∈ ℤ ∧
(♯‘𝐴) ∈
ℤ ∧ 𝑥 ∈
ℤ)) |
43 | 40 | nnge1d 8921 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 1 ≤ 𝑥) |
44 | | simpr 109 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑥 ≤ (♯‘𝐴)) |
45 | 43, 44 | jca 304 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (1 ≤ 𝑥 ∧ 𝑥 ≤ (♯‘𝐴))) |
46 | | elfz2 9972 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈
(1...(♯‘𝐴))
↔ ((1 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ ∧ 𝑥 ∈ ℤ) ∧ (1 ≤ 𝑥 ∧ 𝑥 ≤ (♯‘𝐴)))) |
47 | 42, 45, 46 | sylanbrc 415 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑥 ∈ (1...(♯‘𝐴))) |
48 | 35, 47 | ffvelrnd 5632 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥) ∈ 𝑆) |
49 | 31, 48 | sseldd 3148 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥) ∈ ℂ) |
50 | | 0cnd 7913 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ ¬ 𝑥 ≤ (♯‘𝐴)) → 0 ∈
ℂ) |
51 | 39 | nnzd 9333 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → 𝑥 ∈ ℤ) |
52 | 13 | adantr 274 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → (♯‘𝐴) ∈
ℕ) |
53 | 52 | nnzd 9333 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → (♯‘𝐴) ∈
ℤ) |
54 | | zdcle 9288 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ ℤ ∧
(♯‘𝐴) ∈
ℤ) → DECID 𝑥 ≤ (♯‘𝐴)) |
55 | 51, 53, 54 | syl2anc 409 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → DECID
𝑥 ≤ (♯‘𝐴)) |
56 | 49, 50, 55 | ifcldadc 3555 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ ℂ) |
57 | 30, 56 | syldan 280 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ if(𝑥 ≤
(♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ ℂ) |
58 | | breq1 3992 |
. . . . . . . . . . 11
⊢ (𝑎 = 𝑥 → (𝑎 ≤ (♯‘𝐴) ↔ 𝑥 ≤ (♯‘𝐴))) |
59 | | fveq2 5496 |
. . . . . . . . . . 11
⊢ (𝑎 = 𝑥 → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎) = (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥)) |
60 | 58, 59 | ifbieq1d 3548 |
. . . . . . . . . 10
⊢ (𝑎 = 𝑥 → if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0) = if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0)) |
61 | | eqid 2170 |
. . . . . . . . . 10
⊢ (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)) = (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)) |
62 | 60, 61 | fvmptg 5572 |
. . . . . . . . 9
⊢ ((𝑥 ∈ ℕ ∧ if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ ℂ) → ((𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) = if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0)) |
63 | 30, 57, 62 | syl2anc 409 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ ((𝑎 ∈ ℕ
↦ if(𝑎 ≤
(♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) = if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0)) |
64 | 4 | adantr 274 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → 𝑆 ⊆ ℂ) |
65 | 17, 64 | fssd 5360 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶ℂ) |
66 | 65 | ad2antrr 485 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶ℂ) |
67 | 21 | ad2antrr 485 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
𝑓:(1...(♯‘𝐴))⟶𝐴) |
68 | | fco 5363 |
. . . . . . . . . . 11
⊢ (((𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶ℂ ∧ 𝑓:(1...(♯‘𝐴))⟶𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ) |
69 | 66, 67, 68 | syl2anc 409 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ) |
70 | | 1zzd 9239 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) → 1
∈ ℤ) |
71 | 13 | ad2antrr 485 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(♯‘𝐴) ∈
ℕ) |
72 | 71 | nnzd 9333 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(♯‘𝐴) ∈
ℤ) |
73 | | eluzelz 9496 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈
(ℤ≥‘1) → 𝑥 ∈ ℤ) |
74 | 73 | ad2antlr 486 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
𝑥 ∈
ℤ) |
75 | 70, 72, 74 | 3jca 1172 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(1 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ ∧ 𝑥 ∈ ℤ)) |
76 | 29 | nnge1d 8921 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈
(ℤ≥‘1) → 1 ≤ 𝑥) |
77 | 76 | ad2antlr 486 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) → 1
≤ 𝑥) |
78 | | simpr 109 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
𝑥 ≤ (♯‘𝐴)) |
79 | 77, 78 | jca 304 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(1 ≤ 𝑥 ∧ 𝑥 ≤ (♯‘𝐴))) |
80 | 75, 79, 46 | sylanbrc 415 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
𝑥 ∈
(1...(♯‘𝐴))) |
81 | 69, 80 | ffvelrnd 5632 |
. . . . . . . . 9
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥) ∈ ℂ) |
82 | | 0cnd 7913 |
. . . . . . . . 9
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ ¬ 𝑥 ≤
(♯‘𝐴)) → 0
∈ ℂ) |
83 | 30, 55 | syldan 280 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ DECID 𝑥 ≤ (♯‘𝐴)) |
84 | 81, 82, 83 | ifcldadc 3555 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ if(𝑥 ≤
(♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ ℂ) |
85 | 63, 84 | eqeltrd 2247 |
. . . . . . 7
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ ((𝑎 ∈ ℕ
↦ if(𝑎 ≤
(♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) ∈ ℂ) |
86 | | elfzle2 9984 |
. . . . . . . . . . 11
⊢ (𝑥 ∈
(1...(♯‘𝐴))
→ 𝑥 ≤
(♯‘𝐴)) |
87 | 86 | adantl 275 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → 𝑥 ≤ (♯‘𝐴)) |
88 | 87 | iftrued 3533 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) = (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥)) |
89 | | elfznn 10010 |
. . . . . . . . . . 11
⊢ (𝑥 ∈
(1...(♯‘𝐴))
→ 𝑥 ∈
ℕ) |
90 | 89 | anim2i 340 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ)) |
91 | 90, 87, 48 | syl2anc 409 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥) ∈ 𝑆) |
92 | 88, 91 | eqeltrd 2247 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ 𝑆) |
93 | 39, 56, 62 | syl2anc 409 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → ((𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) = if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0)) |
94 | 93 | eleq1d 2239 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → (((𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) ∈ 𝑆 ↔ if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ 𝑆)) |
95 | 90, 94 | syl 14 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → (((𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) ∈ 𝑆 ↔ if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ 𝑆)) |
96 | 92, 95 | mpbird 166 |
. . . . . . 7
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → ((𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) ∈ 𝑆) |
97 | | fsumcllem.2 |
. . . . . . . 8
⊢ ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 + 𝑦) ∈ 𝑆) |
98 | 97 | adantlr 474 |
. . . . . . 7
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 + 𝑦) ∈ 𝑆) |
99 | | addcl 7899 |
. . . . . . . 8
⊢ ((𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (𝑥 + 𝑦) ∈ ℂ) |
100 | 99 | adantl 275 |
. . . . . . 7
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ (𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ)) → (𝑥 + 𝑦) ∈ ℂ) |
101 | 27, 85, 96, 98, 64, 100 | seq3clss 10423 |
. . . . . 6
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (seq1( + , (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)))‘(♯‘𝐴)) ∈ 𝑆) |
102 | 25, 101 | eqeltrd 2247 |
. . . . 5
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆) |
103 | 102 | expr 373 |
. . . 4
⊢ ((𝜑 ∧ (♯‘𝐴) ∈ ℕ) → (𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴 → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
104 | 103 | exlimdv 1812 |
. . 3
⊢ ((𝜑 ∧ (♯‘𝐴) ∈ ℕ) →
(∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴 → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
105 | 104 | expimpd 361 |
. 2
⊢ (𝜑 → (((♯‘𝐴) ∈ ℕ ∧
∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴) → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
106 | | fsumcllem.3 |
. . 3
⊢ (𝜑 → 𝐴 ∈ Fin) |
107 | | fz1f1o 11338 |
. . 3
⊢ (𝐴 ∈ Fin → (𝐴 = ∅ ∨
((♯‘𝐴) ∈
ℕ ∧ ∃𝑓
𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴))) |
108 | 106, 107 | syl 14 |
. 2
⊢ (𝜑 → (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧
∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴))) |
109 | 3, 105, 108 | mpjaod 713 |
1
⊢ (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆) |