Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > sumss2 | Structured version Visualization version GIF version |
Description: Change the index set of a sum by adding zeroes. (Contributed by Mario Carneiro, 15-Jul-2013.) (Revised by Mario Carneiro, 20-Apr-2014.) |
Ref | Expression |
---|---|
sumss2 | ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ (𝐵 ⊆ (ℤ≥‘𝑀) ∨ 𝐵 ∈ Fin)) → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 if(𝑘 ∈ 𝐴, 𝐶, 0)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpll 765 | . . . 4 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ⊆ (ℤ≥‘𝑀)) → 𝐴 ⊆ 𝐵) | |
2 | iftrue 4471 | . . . . . . 7 ⊢ (𝑚 ∈ 𝐴 → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = ⦋𝑚 / 𝑘⦌𝐶) | |
3 | 2 | adantl 483 | . . . . . 6 ⊢ ((∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ ∧ 𝑚 ∈ 𝐴) → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = ⦋𝑚 / 𝑘⦌𝐶) |
4 | nfcsb1v 3862 | . . . . . . . . 9 ⊢ Ⅎ𝑘⦋𝑚 / 𝑘⦌𝐶 | |
5 | 4 | nfel1 2921 | . . . . . . . 8 ⊢ Ⅎ𝑘⦋𝑚 / 𝑘⦌𝐶 ∈ ℂ |
6 | csbeq1a 3851 | . . . . . . . . 9 ⊢ (𝑘 = 𝑚 → 𝐶 = ⦋𝑚 / 𝑘⦌𝐶) | |
7 | 6 | eleq1d 2821 | . . . . . . . 8 ⊢ (𝑘 = 𝑚 → (𝐶 ∈ ℂ ↔ ⦋𝑚 / 𝑘⦌𝐶 ∈ ℂ)) |
8 | 5, 7 | rspc 3554 | . . . . . . 7 ⊢ (𝑚 ∈ 𝐴 → (∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ → ⦋𝑚 / 𝑘⦌𝐶 ∈ ℂ)) |
9 | 8 | impcom 409 | . . . . . 6 ⊢ ((∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ ∧ 𝑚 ∈ 𝐴) → ⦋𝑚 / 𝑘⦌𝐶 ∈ ℂ) |
10 | 3, 9 | eqeltrd 2837 | . . . . 5 ⊢ ((∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ ∧ 𝑚 ∈ 𝐴) → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) ∈ ℂ) |
11 | 10 | ad4ant24 752 | . . . 4 ⊢ ((((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ⊆ (ℤ≥‘𝑀)) ∧ 𝑚 ∈ 𝐴) → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) ∈ ℂ) |
12 | eldifn 4068 | . . . . . 6 ⊢ (𝑚 ∈ (𝐵 ∖ 𝐴) → ¬ 𝑚 ∈ 𝐴) | |
13 | 12 | iffalsed 4476 | . . . . 5 ⊢ (𝑚 ∈ (𝐵 ∖ 𝐴) → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = 0) |
14 | 13 | adantl 483 | . . . 4 ⊢ ((((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ⊆ (ℤ≥‘𝑀)) ∧ 𝑚 ∈ (𝐵 ∖ 𝐴)) → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = 0) |
15 | simpr 486 | . . . 4 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ⊆ (ℤ≥‘𝑀)) → 𝐵 ⊆ (ℤ≥‘𝑀)) | |
16 | 1, 11, 14, 15 | sumss 15485 | . . 3 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ⊆ (ℤ≥‘𝑀)) → Σ𝑚 ∈ 𝐴 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = Σ𝑚 ∈ 𝐵 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0)) |
17 | simpll 765 | . . . 4 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ∈ Fin) → 𝐴 ⊆ 𝐵) | |
18 | 10 | ad4ant24 752 | . . . 4 ⊢ ((((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ∈ Fin) ∧ 𝑚 ∈ 𝐴) → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) ∈ ℂ) |
19 | 13 | adantl 483 | . . . 4 ⊢ ((((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ∈ Fin) ∧ 𝑚 ∈ (𝐵 ∖ 𝐴)) → if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = 0) |
20 | simpr 486 | . . . 4 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ∈ Fin) → 𝐵 ∈ Fin) | |
21 | 17, 18, 19, 20 | fsumss 15486 | . . 3 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ 𝐵 ∈ Fin) → Σ𝑚 ∈ 𝐴 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = Σ𝑚 ∈ 𝐵 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0)) |
22 | 16, 21 | jaodan 956 | . 2 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ (𝐵 ⊆ (ℤ≥‘𝑀) ∨ 𝐵 ∈ Fin)) → Σ𝑚 ∈ 𝐴 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) = Σ𝑚 ∈ 𝐵 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0)) |
23 | iftrue 4471 | . . . 4 ⊢ (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐶, 0) = 𝐶) | |
24 | 23 | sumeq2i 15460 | . . 3 ⊢ Σ𝑘 ∈ 𝐴 if(𝑘 ∈ 𝐴, 𝐶, 0) = Σ𝑘 ∈ 𝐴 𝐶 |
25 | nfcv 2905 | . . . 4 ⊢ Ⅎ𝑚if(𝑘 ∈ 𝐴, 𝐶, 0) | |
26 | nfv 1915 | . . . . 5 ⊢ Ⅎ𝑘 𝑚 ∈ 𝐴 | |
27 | nfcv 2905 | . . . . 5 ⊢ Ⅎ𝑘0 | |
28 | 26, 4, 27 | nfif 4495 | . . . 4 ⊢ Ⅎ𝑘if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) |
29 | eleq1w 2819 | . . . . 5 ⊢ (𝑘 = 𝑚 → (𝑘 ∈ 𝐴 ↔ 𝑚 ∈ 𝐴)) | |
30 | 29, 6 | ifbieq1d 4489 | . . . 4 ⊢ (𝑘 = 𝑚 → if(𝑘 ∈ 𝐴, 𝐶, 0) = if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0)) |
31 | 25, 28, 30 | cbvsumi 15458 | . . 3 ⊢ Σ𝑘 ∈ 𝐴 if(𝑘 ∈ 𝐴, 𝐶, 0) = Σ𝑚 ∈ 𝐴 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) |
32 | 24, 31 | eqtr3i 2766 | . 2 ⊢ Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑚 ∈ 𝐴 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) |
33 | 25, 28, 30 | cbvsumi 15458 | . 2 ⊢ Σ𝑘 ∈ 𝐵 if(𝑘 ∈ 𝐴, 𝐶, 0) = Σ𝑚 ∈ 𝐵 if(𝑚 ∈ 𝐴, ⦋𝑚 / 𝑘⦌𝐶, 0) |
34 | 22, 32, 33 | 3eqtr4g 2801 | 1 ⊢ (((𝐴 ⊆ 𝐵 ∧ ∀𝑘 ∈ 𝐴 𝐶 ∈ ℂ) ∧ (𝐵 ⊆ (ℤ≥‘𝑀) ∨ 𝐵 ∈ Fin)) → Σ𝑘 ∈ 𝐴 𝐶 = Σ𝑘 ∈ 𝐵 if(𝑘 ∈ 𝐴, 𝐶, 0)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 397 ∨ wo 845 = wceq 1539 ∈ wcel 2104 ∀wral 3062 ⦋csb 3837 ∖ cdif 3889 ⊆ wss 3892 ifcif 4465 ‘cfv 6458 Fincfn 8764 ℂcc 10919 0cc0 10921 ℤ≥cuz 12632 Σcsu 15446 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1911 ax-6 1969 ax-7 2009 ax-8 2106 ax-9 2114 ax-10 2135 ax-11 2152 ax-12 2169 ax-ext 2707 ax-rep 5218 ax-sep 5232 ax-nul 5239 ax-pow 5297 ax-pr 5361 ax-un 7620 ax-inf2 9447 ax-cnex 10977 ax-resscn 10978 ax-1cn 10979 ax-icn 10980 ax-addcl 10981 ax-addrcl 10982 ax-mulcl 10983 ax-mulrcl 10984 ax-mulcom 10985 ax-addass 10986 ax-mulass 10987 ax-distr 10988 ax-i2m1 10989 ax-1ne0 10990 ax-1rid 10991 ax-rnegex 10992 ax-rrecex 10993 ax-cnre 10994 ax-pre-lttri 10995 ax-pre-lttrn 10996 ax-pre-ltadd 10997 ax-pre-mulgt0 10998 ax-pre-sup 10999 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 846 df-3or 1088 df-3an 1089 df-tru 1542 df-fal 1552 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2538 df-eu 2567 df-clab 2714 df-cleq 2728 df-clel 2814 df-nfc 2887 df-ne 2942 df-nel 3048 df-ral 3063 df-rex 3072 df-rmo 3304 df-reu 3305 df-rab 3306 df-v 3439 df-sbc 3722 df-csb 3838 df-dif 3895 df-un 3897 df-in 3899 df-ss 3909 df-pss 3911 df-nul 4263 df-if 4466 df-pw 4541 df-sn 4566 df-pr 4568 df-op 4572 df-uni 4845 df-int 4887 df-iun 4933 df-br 5082 df-opab 5144 df-mpt 5165 df-tr 5199 df-id 5500 df-eprel 5506 df-po 5514 df-so 5515 df-fr 5555 df-se 5556 df-we 5557 df-xp 5606 df-rel 5607 df-cnv 5608 df-co 5609 df-dm 5610 df-rn 5611 df-res 5612 df-ima 5613 df-pred 6217 df-ord 6284 df-on 6285 df-lim 6286 df-suc 6287 df-iota 6410 df-fun 6460 df-fn 6461 df-f 6462 df-f1 6463 df-fo 6464 df-f1o 6465 df-fv 6466 df-isom 6467 df-riota 7264 df-ov 7310 df-oprab 7311 df-mpo 7312 df-om 7745 df-1st 7863 df-2nd 7864 df-frecs 8128 df-wrecs 8159 df-recs 8233 df-rdg 8272 df-1o 8328 df-er 8529 df-en 8765 df-dom 8766 df-sdom 8767 df-fin 8768 df-sup 9249 df-oi 9317 df-card 9745 df-pnf 11061 df-mnf 11062 df-xr 11063 df-ltxr 11064 df-le 11065 df-sub 11257 df-neg 11258 df-div 11683 df-nn 12024 df-2 12086 df-3 12087 df-n0 12284 df-z 12370 df-uz 12633 df-rp 12781 df-fz 13290 df-fzo 13433 df-seq 13772 df-exp 13833 df-hash 14095 df-cj 14859 df-re 14860 df-im 14861 df-sqrt 14995 df-abs 14996 df-clim 15246 df-sum 15447 |
This theorem is referenced by: fsumsplit 15502 sumsplit 15529 isumless 15606 rpnnen2lem11 15982 sumhash 16646 prmrec 16672 plyeq0lem 25420 prmorcht 26376 musumsum 26390 pclogsum 26412 dchrhash 26468 rpvmasum2 26709 pntlemj 26800 plymulx0 32575 hashreprin 32649 circlemeth 32669 |
Copyright terms: Public domain | W3C validator |