Step | Hyp | Ref
| Expression |
1 | | fsumss.1 |
. . . . . 6
⊢ (𝜑 → 𝐴 ⊆ 𝐵) |
2 | | sseq0 3456 |
. . . . . 6
⊢ ((𝐴 ⊆ 𝐵 ∧ 𝐵 = ∅) → 𝐴 = ∅) |
3 | 1, 2 | sylan 281 |
. . . . 5
⊢ ((𝜑 ∧ 𝐵 = ∅) → 𝐴 = ∅) |
4 | 3 | sumeq1d 11329 |
. . . 4
⊢ ((𝜑 ∧ 𝐵 = ∅) → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ ∅ 𝐶) |
5 | | simpr 109 |
. . . . 5
⊢ ((𝜑 ∧ 𝐵 = ∅) → 𝐵 = ∅) |
6 | 5 | sumeq1d 11329 |
. . . 4
⊢ ((𝜑 ∧ 𝐵 = ∅) → Σ𝑘 ∈ 𝐵 𝐶 = Σ𝑘 ∈ ∅ 𝐶) |
7 | 4, 6 | eqtr4d 2206 |
. . 3
⊢ ((𝜑 ∧ 𝐵 = ∅) → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 𝐶) |
8 | 7 | ex 114 |
. 2
⊢ (𝜑 → (𝐵 = ∅ → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 𝐶)) |
9 | | cnvimass 4974 |
. . . . . . . . 9
⊢ (◡𝑓 “ 𝐴) ⊆ dom 𝑓 |
10 | | simprr 527 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵) |
11 | | f1of 5442 |
. . . . . . . . . 10
⊢ (𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵 → 𝑓:(1...(♯‘𝐵))⟶𝐵) |
12 | 10, 11 | syl 14 |
. . . . . . . . 9
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 𝑓:(1...(♯‘𝐵))⟶𝐵) |
13 | 9, 12 | fssdm 5362 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (◡𝑓 “ 𝐴) ⊆ (1...(♯‘𝐵))) |
14 | 12 | ffnd 5348 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 𝑓 Fn (1...(♯‘𝐵))) |
15 | | elpreima 5615 |
. . . . . . . . . . . 12
⊢ (𝑓 Fn (1...(♯‘𝐵)) → (𝑛 ∈ (◡𝑓 “ 𝐴) ↔ (𝑛 ∈ (1...(♯‘𝐵)) ∧ (𝑓‘𝑛) ∈ 𝐴))) |
16 | 14, 15 | syl 14 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (𝑛 ∈ (◡𝑓 “ 𝐴) ↔ (𝑛 ∈ (1...(♯‘𝐵)) ∧ (𝑓‘𝑛) ∈ 𝐴))) |
17 | 12 | ffvelrnda 5631 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ (1...(♯‘𝐵))) → (𝑓‘𝑛) ∈ 𝐵) |
18 | 17 | ex 114 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (𝑛 ∈ (1...(♯‘𝐵)) → (𝑓‘𝑛) ∈ 𝐵)) |
19 | 18 | adantrd 277 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → ((𝑛 ∈ (1...(♯‘𝐵)) ∧ (𝑓‘𝑛) ∈ 𝐴) → (𝑓‘𝑛) ∈ 𝐵)) |
20 | 16, 19 | sylbid 149 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (𝑛 ∈ (◡𝑓 “ 𝐴) → (𝑓‘𝑛) ∈ 𝐵)) |
21 | 20 | imp 123 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ (◡𝑓 “ 𝐴)) → (𝑓‘𝑛) ∈ 𝐵) |
22 | | fsumss.2 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ) |
23 | 22 | ex 114 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (𝑘 ∈ 𝐴 → 𝐶 ∈ ℂ)) |
24 | 23 | adantr 274 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → (𝑘 ∈ 𝐴 → 𝐶 ∈ ℂ)) |
25 | | eldif 3130 |
. . . . . . . . . . . . . . 15
⊢ (𝑘 ∈ (𝐵 ∖ 𝐴) ↔ (𝑘 ∈ 𝐵 ∧ ¬ 𝑘 ∈ 𝐴)) |
26 | | fsumss.3 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑘 ∈ (𝐵 ∖ 𝐴)) → 𝐶 = 0) |
27 | | 0cn 7912 |
. . . . . . . . . . . . . . . 16
⊢ 0 ∈
ℂ |
28 | 26, 27 | eqeltrdi 2261 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑘 ∈ (𝐵 ∖ 𝐴)) → 𝐶 ∈ ℂ) |
29 | 25, 28 | sylan2br 286 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ (𝑘 ∈ 𝐵 ∧ ¬ 𝑘 ∈ 𝐴)) → 𝐶 ∈ ℂ) |
30 | 29 | expr 373 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → (¬ 𝑘 ∈ 𝐴 → 𝐶 ∈ ℂ)) |
31 | | eleq1w 2231 |
. . . . . . . . . . . . . . . 16
⊢ (𝑗 = 𝑘 → (𝑗 ∈ 𝐴 ↔ 𝑘 ∈ 𝐴)) |
32 | 31 | dcbid 833 |
. . . . . . . . . . . . . . 15
⊢ (𝑗 = 𝑘 → (DECID 𝑗 ∈ 𝐴 ↔ DECID 𝑘 ∈ 𝐴)) |
33 | | fisumss.adc |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → ∀𝑗 ∈ 𝐵 DECID 𝑗 ∈ 𝐴) |
34 | 33 | adantr 274 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → ∀𝑗 ∈ 𝐵 DECID 𝑗 ∈ 𝐴) |
35 | | simpr 109 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → 𝑘 ∈ 𝐵) |
36 | 32, 34, 35 | rspcdva 2839 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → DECID 𝑘 ∈ 𝐴) |
37 | | exmiddc 831 |
. . . . . . . . . . . . . 14
⊢
(DECID 𝑘 ∈ 𝐴 → (𝑘 ∈ 𝐴 ∨ ¬ 𝑘 ∈ 𝐴)) |
38 | 36, 37 | syl 14 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → (𝑘 ∈ 𝐴 ∨ ¬ 𝑘 ∈ 𝐴)) |
39 | 24, 30, 38 | mpjaod 713 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → 𝐶 ∈ ℂ) |
40 | 39 | fmpttd 5651 |
. . . . . . . . . . 11
⊢ (𝜑 → (𝑘 ∈ 𝐵 ↦ 𝐶):𝐵⟶ℂ) |
41 | 40 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (𝑘 ∈ 𝐵 ↦ 𝐶):𝐵⟶ℂ) |
42 | 41 | ffvelrnda 5631 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ (𝑓‘𝑛) ∈ 𝐵) → ((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛)) ∈ ℂ) |
43 | 21, 42 | syldan 280 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ (◡𝑓 “ 𝐴)) → ((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛)) ∈ ℂ) |
44 | | eldifi 3249 |
. . . . . . . . . . . 12
⊢ (𝑛 ∈
((1...(♯‘𝐵))
∖ (◡𝑓 “ 𝐴)) → 𝑛 ∈ (1...(♯‘𝐵))) |
45 | 44, 17 | sylan2 284 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → (𝑓‘𝑛) ∈ 𝐵) |
46 | | eldifn 3250 |
. . . . . . . . . . . . 13
⊢ (𝑛 ∈
((1...(♯‘𝐵))
∖ (◡𝑓 “ 𝐴)) → ¬ 𝑛 ∈ (◡𝑓 “ 𝐴)) |
47 | 46 | adantl 275 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → ¬ 𝑛 ∈ (◡𝑓 “ 𝐴)) |
48 | 16 | adantr 274 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → (𝑛 ∈ (◡𝑓 “ 𝐴) ↔ (𝑛 ∈ (1...(♯‘𝐵)) ∧ (𝑓‘𝑛) ∈ 𝐴))) |
49 | 44 | adantl 275 |
. . . . . . . . . . . . . 14
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → 𝑛 ∈ (1...(♯‘𝐵))) |
50 | 49 | biantrurd 303 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → ((𝑓‘𝑛) ∈ 𝐴 ↔ (𝑛 ∈ (1...(♯‘𝐵)) ∧ (𝑓‘𝑛) ∈ 𝐴))) |
51 | 48, 50 | bitr4d 190 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → (𝑛 ∈ (◡𝑓 “ 𝐴) ↔ (𝑓‘𝑛) ∈ 𝐴)) |
52 | 47, 51 | mtbid 667 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → ¬ (𝑓‘𝑛) ∈ 𝐴) |
53 | 45, 52 | eldifd 3131 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → (𝑓‘𝑛) ∈ (𝐵 ∖ 𝐴)) |
54 | | difss 3253 |
. . . . . . . . . . . . 13
⊢ (𝐵 ∖ 𝐴) ⊆ 𝐵 |
55 | | resmpt 4939 |
. . . . . . . . . . . . 13
⊢ ((𝐵 ∖ 𝐴) ⊆ 𝐵 → ((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ (𝐵 ∖ 𝐴)) = (𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)) |
56 | 54, 55 | ax-mp 5 |
. . . . . . . . . . . 12
⊢ ((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ (𝐵 ∖ 𝐴)) = (𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶) |
57 | 56 | fveq1i 5497 |
. . . . . . . . . . 11
⊢ (((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ (𝐵 ∖ 𝐴))‘(𝑓‘𝑛)) = ((𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)‘(𝑓‘𝑛)) |
58 | | fvres 5520 |
. . . . . . . . . . 11
⊢ ((𝑓‘𝑛) ∈ (𝐵 ∖ 𝐴) → (((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ (𝐵 ∖ 𝐴))‘(𝑓‘𝑛)) = ((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
59 | 57, 58 | eqtr3id 2217 |
. . . . . . . . . 10
⊢ ((𝑓‘𝑛) ∈ (𝐵 ∖ 𝐴) → ((𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)‘(𝑓‘𝑛)) = ((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
60 | 53, 59 | syl 14 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → ((𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)‘(𝑓‘𝑛)) = ((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
61 | | c0ex 7914 |
. . . . . . . . . . . . . . 15
⊢ 0 ∈
V |
62 | 61 | elsn2 3617 |
. . . . . . . . . . . . . 14
⊢ (𝐶 ∈ {0} ↔ 𝐶 = 0) |
63 | 26, 62 | sylibr 133 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑘 ∈ (𝐵 ∖ 𝐴)) → 𝐶 ∈ {0}) |
64 | 63 | fmpttd 5651 |
. . . . . . . . . . . 12
⊢ (𝜑 → (𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶):(𝐵 ∖ 𝐴)⟶{0}) |
65 | 64 | ad2antrr 485 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → (𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶):(𝐵 ∖ 𝐴)⟶{0}) |
66 | 65, 53 | ffvelrnd 5632 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → ((𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)‘(𝑓‘𝑛)) ∈ {0}) |
67 | | elsni 3601 |
. . . . . . . . . 10
⊢ (((𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)‘(𝑓‘𝑛)) ∈ {0} → ((𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)‘(𝑓‘𝑛)) = 0) |
68 | 66, 67 | syl 14 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → ((𝑘 ∈ (𝐵 ∖ 𝐴) ↦ 𝐶)‘(𝑓‘𝑛)) = 0) |
69 | 60, 68 | eqtr3d 2205 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ ((1...(♯‘𝐵)) ∖ (◡𝑓 “ 𝐴))) → ((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛)) = 0) |
70 | | eleq1 2233 |
. . . . . . . . . . . . 13
⊢ (𝑗 = (𝑓‘𝑢) → (𝑗 ∈ 𝐴 ↔ (𝑓‘𝑢) ∈ 𝐴)) |
71 | 70 | dcbid 833 |
. . . . . . . . . . . 12
⊢ (𝑗 = (𝑓‘𝑢) → (DECID 𝑗 ∈ 𝐴 ↔ DECID (𝑓‘𝑢) ∈ 𝐴)) |
72 | 33 | ad3antrrr 489 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ ∀𝑗 ∈
𝐵 DECID
𝑗 ∈ 𝐴) |
73 | 12 | ad2antrr 485 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ 𝑓:(1...(♯‘𝐵))⟶𝐵) |
74 | | simpr 109 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ 𝑢 ∈
(1...(♯‘𝐵))) |
75 | 73, 74 | ffvelrnd 5632 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ (𝑓‘𝑢) ∈ 𝐵) |
76 | 71, 72, 75 | rspcdva 2839 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ DECID (𝑓‘𝑢) ∈ 𝐴) |
77 | 10 | ad2antrr 485 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵) |
78 | | f1ofun 5444 |
. . . . . . . . . . . . . 14
⊢ (𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵 → Fun 𝑓) |
79 | 77, 78 | syl 14 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ Fun 𝑓) |
80 | | f1odm 5446 |
. . . . . . . . . . . . . . 15
⊢ (𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵 → dom 𝑓 = (1...(♯‘𝐵))) |
81 | 77, 80 | syl 14 |
. . . . . . . . . . . . . 14
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ dom 𝑓 =
(1...(♯‘𝐵))) |
82 | 74, 81 | eleqtrrd 2250 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ 𝑢 ∈ dom 𝑓) |
83 | | fvimacnv 5611 |
. . . . . . . . . . . . 13
⊢ ((Fun
𝑓 ∧ 𝑢 ∈ dom 𝑓) → ((𝑓‘𝑢) ∈ 𝐴 ↔ 𝑢 ∈ (◡𝑓 “ 𝐴))) |
84 | 79, 82, 83 | syl2anc 409 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ ((𝑓‘𝑢) ∈ 𝐴 ↔ 𝑢 ∈ (◡𝑓 “ 𝐴))) |
85 | 84 | dcbid 833 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ (DECID (𝑓‘𝑢) ∈ 𝐴 ↔ DECID 𝑢 ∈ (◡𝑓 “ 𝐴))) |
86 | 76, 85 | mpbid 146 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ 𝑢 ∈
(1...(♯‘𝐵)))
→ DECID 𝑢 ∈ (◡𝑓 “ 𝐴)) |
87 | | elpreima 5615 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑓 Fn (1...(♯‘𝐵)) → (𝑢 ∈ (◡𝑓 “ 𝐴) ↔ (𝑢 ∈ (1...(♯‘𝐵)) ∧ (𝑓‘𝑢) ∈ 𝐴))) |
88 | | simpl 108 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑢 ∈
(1...(♯‘𝐵))
∧ (𝑓‘𝑢) ∈ 𝐴) → 𝑢 ∈ (1...(♯‘𝐵))) |
89 | 87, 88 | syl6bi 162 |
. . . . . . . . . . . . . . . 16
⊢ (𝑓 Fn (1...(♯‘𝐵)) → (𝑢 ∈ (◡𝑓 “ 𝐴) → 𝑢 ∈ (1...(♯‘𝐵)))) |
90 | 89 | con3d 626 |
. . . . . . . . . . . . . . 15
⊢ (𝑓 Fn (1...(♯‘𝐵)) → (¬ 𝑢 ∈
(1...(♯‘𝐵))
→ ¬ 𝑢 ∈
(◡𝑓 “ 𝐴))) |
91 | 14, 90 | syl 14 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (¬ 𝑢 ∈
(1...(♯‘𝐵))
→ ¬ 𝑢 ∈
(◡𝑓 “ 𝐴))) |
92 | 91 | adantr 274 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ (¬ 𝑢 ∈
(1...(♯‘𝐵))
→ ¬ 𝑢 ∈
(◡𝑓 “ 𝐴))) |
93 | 92 | imp 123 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ ¬ 𝑢 ∈
(1...(♯‘𝐵)))
→ ¬ 𝑢 ∈
(◡𝑓 “ 𝐴)) |
94 | 93 | olcd 729 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ ¬ 𝑢 ∈
(1...(♯‘𝐵)))
→ (𝑢 ∈ (◡𝑓 “ 𝐴) ∨ ¬ 𝑢 ∈ (◡𝑓 “ 𝐴))) |
95 | | df-dc 830 |
. . . . . . . . . . 11
⊢
(DECID 𝑢 ∈ (◡𝑓 “ 𝐴) ↔ (𝑢 ∈ (◡𝑓 “ 𝐴) ∨ ¬ 𝑢 ∈ (◡𝑓 “ 𝐴))) |
96 | 94, 95 | sylibr 133 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
∧ ¬ 𝑢 ∈
(1...(♯‘𝐵)))
→ DECID 𝑢 ∈ (◡𝑓 “ 𝐴)) |
97 | | eluzelz 9496 |
. . . . . . . . . . . . 13
⊢ (𝑢 ∈
(ℤ≥‘1) → 𝑢 ∈ ℤ) |
98 | 97 | adantl 275 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ 𝑢 ∈
ℤ) |
99 | | 1zzd 9239 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ 1 ∈ ℤ) |
100 | | simplrl 530 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ (♯‘𝐵)
∈ ℕ) |
101 | 100 | nnzd 9333 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ (♯‘𝐵)
∈ ℤ) |
102 | | fzdcel 9996 |
. . . . . . . . . . . 12
⊢ ((𝑢 ∈ ℤ ∧ 1 ∈
ℤ ∧ (♯‘𝐵) ∈ ℤ) →
DECID 𝑢
∈ (1...(♯‘𝐵))) |
103 | 98, 99, 101, 102 | syl3anc 1233 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ DECID 𝑢 ∈ (1...(♯‘𝐵))) |
104 | | exmiddc 831 |
. . . . . . . . . . 11
⊢
(DECID 𝑢 ∈ (1...(♯‘𝐵)) → (𝑢 ∈ (1...(♯‘𝐵)) ∨ ¬ 𝑢 ∈ (1...(♯‘𝐵)))) |
105 | 103, 104 | syl 14 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ (𝑢 ∈
(1...(♯‘𝐵))
∨ ¬ 𝑢 ∈
(1...(♯‘𝐵)))) |
106 | 86, 96, 105 | mpjaodan 793 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑢 ∈ (ℤ≥‘1))
→ DECID 𝑢 ∈ (◡𝑓 “ 𝐴)) |
107 | 106 | ralrimiva 2543 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → ∀𝑢 ∈
(ℤ≥‘1)DECID 𝑢 ∈ (◡𝑓 “ 𝐴)) |
108 | | 1zzd 9239 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 1 ∈
ℤ) |
109 | | fzssuz 10021 |
. . . . . . . . 9
⊢
(1...(♯‘𝐵)) ⊆
(ℤ≥‘1) |
110 | 109 | a1i 9 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) →
(1...(♯‘𝐵))
⊆ (ℤ≥‘1)) |
111 | 103 | ralrimiva 2543 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → ∀𝑢 ∈
(ℤ≥‘1)DECID 𝑢 ∈ (1...(♯‘𝐵))) |
112 | 13, 43, 69, 107, 108, 110, 111 | isumss 11354 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑛 ∈ (◡𝑓 “ 𝐴)((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛)) = Σ𝑛 ∈ (1...(♯‘𝐵))((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
113 | 1 | ad2antrr 485 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐴) → 𝐴 ⊆ 𝐵) |
114 | 113 | resmptd 4942 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐴) → ((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ 𝐴) = (𝑘 ∈ 𝐴 ↦ 𝐶)) |
115 | 114 | fveq1d 5498 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐴) → (((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ 𝐴)‘𝑚) = ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚)) |
116 | | fvres 5520 |
. . . . . . . . . . 11
⊢ (𝑚 ∈ 𝐴 → (((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ 𝐴)‘𝑚) = ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚)) |
117 | 116 | adantl 275 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐴) → (((𝑘 ∈ 𝐵 ↦ 𝐶) ↾ 𝐴)‘𝑚) = ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚)) |
118 | 115, 117 | eqtr3d 2205 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐴) → ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚) = ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚)) |
119 | 118 | sumeq2dv 11331 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚) = Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚)) |
120 | | fveq2 5496 |
. . . . . . . . 9
⊢ (𝑚 = (𝑓‘𝑛) → ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) = ((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
121 | 1 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 𝐴 ⊆ 𝐵) |
122 | | fsumss.4 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝐵 ∈ Fin) |
123 | | ssfidc 6912 |
. . . . . . . . . . . 12
⊢ ((𝐵 ∈ Fin ∧ 𝐴 ⊆ 𝐵 ∧ ∀𝑗 ∈ 𝐵 DECID 𝑗 ∈ 𝐴) → 𝐴 ∈ Fin) |
124 | 122, 1, 33, 123 | syl3anc 1233 |
. . . . . . . . . . 11
⊢ (𝜑 → 𝐴 ∈ Fin) |
125 | 124 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 𝐴 ∈ Fin) |
126 | 121, 10, 125 | preimaf1ofi 6928 |
. . . . . . . . 9
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (◡𝑓 “ 𝐴) ∈ Fin) |
127 | | f1of1 5441 |
. . . . . . . . . . . 12
⊢ (𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵 → 𝑓:(1...(♯‘𝐵))–1-1→𝐵) |
128 | 10, 127 | syl 14 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 𝑓:(1...(♯‘𝐵))–1-1→𝐵) |
129 | | f1ores 5457 |
. . . . . . . . . . 11
⊢ ((𝑓:(1...(♯‘𝐵))–1-1→𝐵 ∧ (◡𝑓 “ 𝐴) ⊆ (1...(♯‘𝐵))) → (𝑓 ↾ (◡𝑓 “ 𝐴)):(◡𝑓 “ 𝐴)–1-1-onto→(𝑓 “ (◡𝑓 “ 𝐴))) |
130 | 128, 13, 129 | syl2anc 409 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (𝑓 ↾ (◡𝑓 “ 𝐴)):(◡𝑓 “ 𝐴)–1-1-onto→(𝑓 “ (◡𝑓 “ 𝐴))) |
131 | | f1ofo 5449 |
. . . . . . . . . . . . 13
⊢ (𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵 → 𝑓:(1...(♯‘𝐵))–onto→𝐵) |
132 | 10, 131 | syl 14 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → 𝑓:(1...(♯‘𝐵))–onto→𝐵) |
133 | | foimacnv 5460 |
. . . . . . . . . . . 12
⊢ ((𝑓:(1...(♯‘𝐵))–onto→𝐵 ∧ 𝐴 ⊆ 𝐵) → (𝑓 “ (◡𝑓 “ 𝐴)) = 𝐴) |
134 | 132, 121,
133 | syl2anc 409 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (𝑓 “ (◡𝑓 “ 𝐴)) = 𝐴) |
135 | | f1oeq3 5433 |
. . . . . . . . . . 11
⊢ ((𝑓 “ (◡𝑓 “ 𝐴)) = 𝐴 → ((𝑓 ↾ (◡𝑓 “ 𝐴)):(◡𝑓 “ 𝐴)–1-1-onto→(𝑓 “ (◡𝑓 “ 𝐴)) ↔ (𝑓 ↾ (◡𝑓 “ 𝐴)):(◡𝑓 “ 𝐴)–1-1-onto→𝐴)) |
136 | 134, 135 | syl 14 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → ((𝑓 ↾ (◡𝑓 “ 𝐴)):(◡𝑓 “ 𝐴)–1-1-onto→(𝑓 “ (◡𝑓 “ 𝐴)) ↔ (𝑓 ↾ (◡𝑓 “ 𝐴)):(◡𝑓 “ 𝐴)–1-1-onto→𝐴)) |
137 | 130, 136 | mpbid 146 |
. . . . . . . . 9
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (𝑓 ↾ (◡𝑓 “ 𝐴)):(◡𝑓 “ 𝐴)–1-1-onto→𝐴) |
138 | | fvres 5520 |
. . . . . . . . . 10
⊢ (𝑛 ∈ (◡𝑓 “ 𝐴) → ((𝑓 ↾ (◡𝑓 “ 𝐴))‘𝑛) = (𝑓‘𝑛)) |
139 | 138 | adantl 275 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ (◡𝑓 “ 𝐴)) → ((𝑓 ↾ (◡𝑓 “ 𝐴))‘𝑛) = (𝑓‘𝑛)) |
140 | 121 | sselda 3147 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐴) → 𝑚 ∈ 𝐵) |
141 | 41 | ffvelrnda 5631 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐵) → ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) ∈ ℂ) |
142 | 140, 141 | syldan 280 |
. . . . . . . . 9
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑚 ∈ 𝐴) → ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) ∈ ℂ) |
143 | 120, 126,
137, 139, 142 | fsumf1o 11353 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) = Σ𝑛 ∈ (◡𝑓 “ 𝐴)((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
144 | 119, 143 | eqtrd 2203 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚) = Σ𝑛 ∈ (◡𝑓 “ 𝐴)((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
145 | | simprl 526 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (♯‘𝐵) ∈
ℕ) |
146 | 145 | nnzd 9333 |
. . . . . . . . 9
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → (♯‘𝐵) ∈
ℤ) |
147 | 108, 146 | fzfigd 10387 |
. . . . . . . 8
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) →
(1...(♯‘𝐵))
∈ Fin) |
148 | | eqidd 2171 |
. . . . . . . 8
⊢ (((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) ∧ 𝑛 ∈ (1...(♯‘𝐵))) → (𝑓‘𝑛) = (𝑓‘𝑛)) |
149 | 120, 147,
10, 148, 141 | fsumf1o 11353 |
. . . . . . 7
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑚 ∈ 𝐵 ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) = Σ𝑛 ∈ (1...(♯‘𝐵))((𝑘 ∈ 𝐵 ↦ 𝐶)‘(𝑓‘𝑛))) |
150 | 112, 144,
149 | 3eqtr4d 2213 |
. . . . . 6
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚) = Σ𝑚 ∈ 𝐵 ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚)) |
151 | 22 | ralrimiva 2543 |
. . . . . . . 8
⊢ (𝜑 → ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) |
152 | | sumfct 11337 |
. . . . . . . 8
⊢
(∀𝑘 ∈
𝐴 𝐶 ∈ ℂ → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐶) |
153 | 151, 152 | syl 14 |
. . . . . . 7
⊢ (𝜑 → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐶) |
154 | 153 | adantr 274 |
. . . . . 6
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑚 ∈ 𝐴 ((𝑘 ∈ 𝐴 ↦ 𝐶)‘𝑚) = Σ𝑘 ∈ 𝐴 𝐶) |
155 | 22 | adantlr 474 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ) |
156 | | simpll 524 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ ¬ 𝑘 ∈ 𝐴) → 𝜑) |
157 | | simplr 525 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ ¬ 𝑘 ∈ 𝐴) → 𝑘 ∈ 𝐵) |
158 | | simpr 109 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ ¬ 𝑘 ∈ 𝐴) → ¬ 𝑘 ∈ 𝐴) |
159 | 157, 158 | eldifd 3131 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ ¬ 𝑘 ∈ 𝐴) → 𝑘 ∈ (𝐵 ∖ 𝐴)) |
160 | 156, 159,
26 | syl2anc 409 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ ¬ 𝑘 ∈ 𝐴) → 𝐶 = 0) |
161 | | 0cnd 7913 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ ¬ 𝑘 ∈ 𝐴) → 0 ∈ ℂ) |
162 | 160, 161 | eqeltrd 2247 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑘 ∈ 𝐵) ∧ ¬ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ) |
163 | 155, 162,
38 | mpjaodan 793 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐵) → 𝐶 ∈ ℂ) |
164 | 163 | ralrimiva 2543 |
. . . . . . . 8
⊢ (𝜑 → ∀𝑘 ∈ 𝐵 𝐶 ∈ ℂ) |
165 | | sumfct 11337 |
. . . . . . . 8
⊢
(∀𝑘 ∈
𝐵 𝐶 ∈ ℂ → Σ𝑚 ∈ 𝐵 ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) = Σ𝑘 ∈ 𝐵 𝐶) |
166 | 164, 165 | syl 14 |
. . . . . . 7
⊢ (𝜑 → Σ𝑚 ∈ 𝐵 ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) = Σ𝑘 ∈ 𝐵 𝐶) |
167 | 166 | adantr 274 |
. . . . . 6
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑚 ∈ 𝐵 ((𝑘 ∈ 𝐵 ↦ 𝐶)‘𝑚) = Σ𝑘 ∈ 𝐵 𝐶) |
168 | 150, 154,
167 | 3eqtr3d 2211 |
. . . . 5
⊢ ((𝜑 ∧ ((♯‘𝐵) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵)) → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 𝐶) |
169 | 168 | expr 373 |
. . . 4
⊢ ((𝜑 ∧ (♯‘𝐵) ∈ ℕ) → (𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵 → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 𝐶)) |
170 | 169 | exlimdv 1812 |
. . 3
⊢ ((𝜑 ∧ (♯‘𝐵) ∈ ℕ) →
(∃𝑓 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵 → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 𝐶)) |
171 | 170 | expimpd 361 |
. 2
⊢ (𝜑 → (((♯‘𝐵) ∈ ℕ ∧
∃𝑓 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵) → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 𝐶)) |
172 | | fz1f1o 11338 |
. . 3
⊢ (𝐵 ∈ Fin → (𝐵 = ∅ ∨
((♯‘𝐵) ∈
ℕ ∧ ∃𝑓
𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵))) |
173 | 122, 172 | syl 14 |
. 2
⊢ (𝜑 → (𝐵 = ∅ ∨ ((♯‘𝐵) ∈ ℕ ∧
∃𝑓 𝑓:(1...(♯‘𝐵))–1-1-onto→𝐵))) |
174 | 8, 171, 173 | mpjaod 713 |
1
⊢ (𝜑 → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 𝐶) |