Step | Hyp | Ref
| Expression |
1 | | fsumcl2lem.5 |
. . . 4
⊢ (𝜑 → 𝐴 ≠ ∅) |
2 | 1 | neneqd 2357 |
. . 3
⊢ (𝜑 → ¬ 𝐴 = ∅) |
3 | 2 | pm2.21d 609 |
. 2
⊢ (𝜑 → (𝐴 = ∅ → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
4 | | fsumcllem.1 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝑆 ⊆ ℂ) |
5 | 4 | adantr 274 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝑆 ⊆ ℂ) |
6 | | fsumcllem.4 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ 𝑆) |
7 | 5, 6 | sseldd 3143 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
8 | 7 | ralrimiva 2539 |
. . . . . . . . 9
⊢ (𝜑 → ∀𝑘 ∈ 𝐴 𝐵 ∈ ℂ) |
9 | | sumfct 11315 |
. . . . . . . . 9
⊢
(∀𝑘 ∈
𝐴 𝐵 ∈ ℂ → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐵) |
10 | 8, 9 | syl 14 |
. . . . . . . 8
⊢ (𝜑 → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐵) |
11 | 10 | adantr 274 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐵) |
12 | | fveq2 5486 |
. . . . . . . 8
⊢ (𝑚 = (𝑓‘𝑎) → ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = ((𝑘 ∈ 𝐴 ↦ 𝐵)‘(𝑓‘𝑎))) |
13 | | simprl 521 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (♯‘𝐴) ∈
ℕ) |
14 | | simprr 522 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴) |
15 | 4 | ad2antrr 480 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑚 ∈ 𝐴) → 𝑆 ⊆ ℂ) |
16 | 6 | fmpttd 5640 |
. . . . . . . . . . 11
⊢ (𝜑 → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆) |
17 | 16 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆) |
18 | 17 | ffvelrnda 5620 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑚 ∈ 𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) ∈ 𝑆) |
19 | 15, 18 | sseldd 3143 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑚 ∈ 𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) ∈ ℂ) |
20 | | f1of 5432 |
. . . . . . . . . 10
⊢ (𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴 → 𝑓:(1...(♯‘𝐴))⟶𝐴) |
21 | 14, 20 | syl 14 |
. . . . . . . . 9
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → 𝑓:(1...(♯‘𝐴))⟶𝐴) |
22 | | fvco3 5557 |
. . . . . . . . 9
⊢ ((𝑓:(1...(♯‘𝐴))⟶𝐴 ∧ 𝑎 ∈ (1...(♯‘𝐴))) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎) = ((𝑘 ∈ 𝐴 ↦ 𝐵)‘(𝑓‘𝑎))) |
23 | 21, 22 | sylan 281 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑎 ∈ (1...(♯‘𝐴))) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎) = ((𝑘 ∈ 𝐴 ↦ 𝐵)‘(𝑓‘𝑎))) |
24 | 12, 13, 14, 19, 23 | fsum3 11328 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐵)‘𝑚) = (seq1( + , (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)))‘(♯‘𝐴))) |
25 | 11, 24 | eqtr3d 2200 |
. . . . . 6
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑘 ∈ 𝐴 𝐵 = (seq1( + , (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)))‘(♯‘𝐴))) |
26 | | nnuz 9501 |
. . . . . . . 8
⊢ ℕ =
(ℤ≥‘1) |
27 | 13, 26 | eleqtrdi 2259 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (♯‘𝐴) ∈
(ℤ≥‘1)) |
28 | | elnnuz 9502 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ ℕ ↔ 𝑥 ∈
(ℤ≥‘1)) |
29 | 28 | biimpri 132 |
. . . . . . . . . 10
⊢ (𝑥 ∈
(ℤ≥‘1) → 𝑥 ∈ ℕ) |
30 | 29 | adantl 275 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ 𝑥 ∈
ℕ) |
31 | 4 | ad3antrrr 484 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑆 ⊆ ℂ) |
32 | 17 | ad2antrr 480 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆) |
33 | 21 | ad2antrr 480 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑓:(1...(♯‘𝐴))⟶𝐴) |
34 | | fco 5353 |
. . . . . . . . . . . . . 14
⊢ (((𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶𝑆 ∧ 𝑓:(1...(♯‘𝐴))⟶𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶𝑆) |
35 | 32, 33, 34 | syl2anc 409 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → ((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶𝑆) |
36 | | 1zzd 9218 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 1 ∈ ℤ) |
37 | 13 | ad2antrr 480 |
. . . . . . . . . . . . . . . 16
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (♯‘𝐴) ∈ ℕ) |
38 | 37 | nnzd 9312 |
. . . . . . . . . . . . . . 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 9312 |
. . . . . . . . . . . . . . 15
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑥 ∈ ℤ) |
42 | 36, 38, 41 | 3jca 1167 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (1 ∈ ℤ ∧
(♯‘𝐴) ∈
ℤ ∧ 𝑥 ∈
ℤ)) |
43 | 40 | nnge1d 8900 |
. . . . . . . . . . . . . . 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 9951 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈
(1...(♯‘𝐴))
↔ ((1 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ ∧ 𝑥 ∈ ℤ) ∧ (1 ≤ 𝑥 ∧ 𝑥 ≤ (♯‘𝐴)))) |
47 | 42, 45, 46 | sylanbrc 414 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → 𝑥 ∈ (1...(♯‘𝐴))) |
48 | 35, 47 | ffvelrnd 5621 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥) ∈ 𝑆) |
49 | 31, 48 | sseldd 3143 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ 𝑥 ≤ (♯‘𝐴)) → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥) ∈ ℂ) |
50 | | 0cnd 7892 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) ∧ ¬ 𝑥 ≤ (♯‘𝐴)) → 0 ∈
ℂ) |
51 | 39 | nnzd 9312 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → 𝑥 ∈ ℤ) |
52 | 13 | adantr 274 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → (♯‘𝐴) ∈
ℕ) |
53 | 52 | nnzd 9312 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → (♯‘𝐴) ∈
ℤ) |
54 | | zdcle 9267 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ ℤ ∧
(♯‘𝐴) ∈
ℤ) → DECID 𝑥 ≤ (♯‘𝐴)) |
55 | 51, 53, 54 | syl2anc 409 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → DECID
𝑥 ≤ (♯‘𝐴)) |
56 | 49, 50, 55 | ifcldadc 3549 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ ℕ) → if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ ℂ) |
57 | 30, 56 | syldan 280 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ if(𝑥 ≤
(♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ ℂ) |
58 | | breq1 3985 |
. . . . . . . . . . 11
⊢ (𝑎 = 𝑥 → (𝑎 ≤ (♯‘𝐴) ↔ 𝑥 ≤ (♯‘𝐴))) |
59 | | fveq2 5486 |
. . . . . . . . . . 11
⊢ (𝑎 = 𝑥 → (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎) = (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥)) |
60 | 58, 59 | ifbieq1d 3542 |
. . . . . . . . . 10
⊢ (𝑎 = 𝑥 → if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0) = if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0)) |
61 | | eqid 2165 |
. . . . . . . . . 10
⊢ (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)) = (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)) |
62 | 60, 61 | fvmptg 5562 |
. . . . . . . . 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 5350 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶ℂ) |
66 | 65 | ad2antrr 480 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶ℂ) |
67 | 21 | ad2antrr 480 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
𝑓:(1...(♯‘𝐴))⟶𝐴) |
68 | | fco 5353 |
. . . . . . . . . . 11
⊢ (((𝑘 ∈ 𝐴 ↦ 𝐵):𝐴⟶ℂ ∧ 𝑓:(1...(♯‘𝐴))⟶𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ) |
69 | 66, 67, 68 | syl2anc 409 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ) |
70 | | 1zzd 9218 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) → 1
∈ ℤ) |
71 | 13 | ad2antrr 480 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(♯‘𝐴) ∈
ℕ) |
72 | 71 | nnzd 9312 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(♯‘𝐴) ∈
ℤ) |
73 | | eluzelz 9475 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈
(ℤ≥‘1) → 𝑥 ∈ ℤ) |
74 | 73 | ad2antlr 481 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
𝑥 ∈
ℤ) |
75 | 70, 72, 74 | 3jca 1167 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(1 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ ∧ 𝑥 ∈ ℤ)) |
76 | 29 | nnge1d 8900 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈
(ℤ≥‘1) → 1 ≤ 𝑥) |
77 | 76 | ad2antlr 481 |
. . . . . . . . . . . 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 414 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
𝑥 ∈
(1...(♯‘𝐴))) |
81 | 69, 80 | ffvelrnd 5621 |
. . . . . . . . 9
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ 𝑥 ≤
(♯‘𝐴)) →
(((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥) ∈ ℂ) |
82 | | 0cnd 7892 |
. . . . . . . . 9
⊢ ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
∧ ¬ 𝑥 ≤
(♯‘𝐴)) → 0
∈ ℂ) |
83 | 30, 55 | syldan 280 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ DECID 𝑥 ≤ (♯‘𝐴)) |
84 | 81, 82, 83 | ifcldadc 3549 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ if(𝑥 ≤
(♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) ∈ ℂ) |
85 | 63, 84 | eqeltrd 2243 |
. . . . . . 7
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (ℤ≥‘1))
→ ((𝑎 ∈ ℕ
↦ if(𝑎 ≤
(♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0))‘𝑥) ∈ ℂ) |
86 | | elfzle2 9963 |
. . . . . . . . . . 11
⊢ (𝑥 ∈
(1...(♯‘𝐴))
→ 𝑥 ≤
(♯‘𝐴)) |
87 | 86 | adantl 275 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → 𝑥 ≤ (♯‘𝐴)) |
88 | 87 | iftrued 3527 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ 𝑥 ∈ (1...(♯‘𝐴))) → if(𝑥 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥), 0) = (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑥)) |
89 | | elfznn 9989 |
. . . . . . . . . . 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 2243 |
. . . . . . . 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 2235 |
. . . . . . . . 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 469 |
. . . . . . 7
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 + 𝑦) ∈ 𝑆) |
99 | | addcl 7878 |
. . . . . . . 8
⊢ ((𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (𝑥 + 𝑦) ∈ ℂ) |
100 | 99 | adantl 275 |
. . . . . . 7
⊢ (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) ∧ (𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ)) → (𝑥 + 𝑦) ∈ ℂ) |
101 | 27, 85, 96, 98, 64, 100 | seq3clss 10402 |
. . . . . 6
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → (seq1( + , (𝑎 ∈ ℕ ↦ if(𝑎 ≤ (♯‘𝐴), (((𝑘 ∈ 𝐴 ↦ 𝐵) ∘ 𝑓)‘𝑎), 0)))‘(♯‘𝐴)) ∈ 𝑆) |
102 | 25, 101 | eqeltrd 2243 |
. . . . 5
⊢ ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴)) → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆) |
103 | 102 | expr 373 |
. . . 4
⊢ ((𝜑 ∧ (♯‘𝐴) ∈ ℕ) → (𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴 → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
104 | 103 | exlimdv 1807 |
. . 3
⊢ ((𝜑 ∧ (♯‘𝐴) ∈ ℕ) →
(∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴 → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
105 | 104 | expimpd 361 |
. 2
⊢ (𝜑 → (((♯‘𝐴) ∈ ℕ ∧
∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴) → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆)) |
106 | | fsumcllem.3 |
. . 3
⊢ (𝜑 → 𝐴 ∈ Fin) |
107 | | fz1f1o 11316 |
. . 3
⊢ (𝐴 ∈ Fin → (𝐴 = ∅ ∨
((♯‘𝐴) ∈
ℕ ∧ ∃𝑓
𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴))) |
108 | 106, 107 | syl 14 |
. 2
⊢ (𝜑 → (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧
∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto→𝐴))) |
109 | 3, 105, 108 | mpjaod 708 |
1
⊢ (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 ∈ 𝑆) |