Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  indsumin Structured version   Visualization version   GIF version

Theorem indsumin 33410
Description: Finite sum of a product with the indicator function / Cartesian product with the indicator function. (Contributed by Thierry Arnoux, 11-Dec-2021.)
Hypotheses
Ref Expression
indsumin.1 (𝜑 → 𝑂 ∈ 𝑉)
indsumin.2 (𝜑 → 𝐴 ∈ Fin)
indsumin.3 (𝜑 → 𝐴 ⊆ 𝑂)
indsumin.4 (𝜑 → 𝐵 ⊆ 𝑂)
indsumin.5 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
Assertion
Ref Expression
indsumin (𝜑 → Σ𝑘 ∈ 𝐴 ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = Σ𝑘 ∈ (𝐴 ∩ 𝐵)𝐶)
Distinct variable groups:   𝐴,𝑘   𝐵,𝑘   𝑘,𝑂   𝜑,𝑘
Allowed substitution hints:   𝐶(𝑘)   𝑉(𝑘)

Proof of Theorem indsumin
StepHypRef Expression
1 inindif 4324 . . . 4 ((𝐴 ∩ 𝐵) ∩ (𝐴 ∖ 𝐵)) = ∅
21a1i 11 . . 3 (𝜑 → ((𝐴 ∩ 𝐵) ∩ (𝐴 ∖ 𝐵)) = ∅)
3 inundif 4435 . . . . 5 ((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)) = 𝐴
43eqcomi 2770 . . . 4 𝐴 = ((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵))
54a1i 11 . . 3 (𝜑 → 𝐴 = ((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)))
6 indsumin.2 . . 3 (𝜑 → 𝐴 ∈ Fin)
7 pr01ssre 11293 . . . . . 6 {0, 1} ⊆ ℝ
8 ax-resscn 11238 . . . . . 6 ℝ ⊆ ℂ
97, 8sstri 3940 . . . . 5 {0, 1} ⊆ ℂ
10 indsumin.1 . . . . . . . 8 (𝜑 → 𝑂 ∈ 𝑉)
11 indsumin.4 . . . . . . . 8 (𝜑 → 𝐵 ⊆ 𝑂)
12 indf 12307 . . . . . . . 8 ((𝑂 ∈ 𝑉 ∧ 𝐵 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐵):𝑂⟶{0, 1})
1310, 11, 12syl2anc 596 . . . . . . 7 (𝜑 → ((𝟭‘𝑂)‘𝐵):𝑂⟶{0, 1})
1413adantr 486 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → ((𝟭‘𝑂)‘𝐵):𝑂⟶{0, 1})
15 indsumin.3 . . . . . . 7 (𝜑 → 𝐴 ⊆ 𝑂)
1615sselda 3931 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝑘 ∈ 𝑂)
1714, 16ffvelcdmd 7077 . . . . 5 ((𝜑 ∧ 𝑘 ∈ 𝐴) → (((𝟭‘𝑂)‘𝐵)‘𝑘) ∈ {0, 1})
189, 17sselid 3929 . . . 4 ((𝜑 ∧ 𝑘 ∈ 𝐴) → (((𝟭‘𝑂)‘𝐵)‘𝑘) ∈ ℂ)
19 indsumin.5 . . . 4 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
2018, 19mulcld 11310 . . 3 ((𝜑 ∧ 𝑘 ∈ 𝐴) → ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) ∈ ℂ)
212, 5, 6, 20fsumsplit 15887 . 2 (𝜑 → Σ𝑘 ∈ 𝐴 ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = (Σ𝑘 ∈ (𝐴 ∩ 𝐵)((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) + Σ𝑘 ∈ (𝐴 ∖ 𝐵)((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶)))
2210adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → 𝑂 ∈ 𝑉)
2311adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → 𝐵 ⊆ 𝑂)
24 inss2 4183 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐵
2524a1i 11 . . . . . . . 8 (𝜑 → (𝐴 ∩ 𝐵) ⊆ 𝐵)
2625sselda 3931 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → 𝑘 ∈ 𝐵)
27 ind1 12310 . . . . . . 7 ((𝑂 ∈ 𝑉 ∧ 𝐵 ⊆ 𝑂 ∧ 𝑘 ∈ 𝐵) → (((𝟭‘𝑂)‘𝐵)‘𝑘) = 1)
2822, 23, 26, 27syl3anc 1398 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → (((𝟭‘𝑂)‘𝐵)‘𝑘) = 1)
2928oveq1d 7427 . . . . 5 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = (1 · 𝐶))
30 inss1 4182 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
3130a1i 11 . . . . . . . 8 (𝜑 → (𝐴 ∩ 𝐵) ⊆ 𝐴)
3231sselda 3931 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → 𝑘 ∈ 𝐴)
3332, 19syldan 603 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → 𝐶 ∈ ℂ)
3433mullidd 11308 . . . . 5 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → (1 · 𝐶) = 𝐶)
3529, 34eqtrd 2796 . . . 4 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∩ 𝐵)) → ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = 𝐶)
3635sumeq2dv 15849 . . 3 (𝜑 → Σ𝑘 ∈ (𝐴 ∩ 𝐵)((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = Σ𝑘 ∈ (𝐴 ∩ 𝐵)𝐶)
3710adantr 486 . . . . . . . 8 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → 𝑂 ∈ 𝑉)
3811adantr 486 . . . . . . . 8 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → 𝐵 ⊆ 𝑂)
3915ssdifd 4092 . . . . . . . . 9 (𝜑 → (𝐴 ∖ 𝐵) ⊆ (𝑂 ∖ 𝐵))
4039sselda 3931 . . . . . . . 8 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → 𝑘 ∈ (𝑂 ∖ 𝐵))
41 ind0 12311 . . . . . . . 8 ((𝑂 ∈ 𝑉 ∧ 𝐵 ⊆ 𝑂 ∧ 𝑘 ∈ (𝑂 ∖ 𝐵)) → (((𝟭‘𝑂)‘𝐵)‘𝑘) = 0)
4237, 38, 40, 41syl3anc 1398 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → (((𝟭‘𝑂)‘𝐵)‘𝑘) = 0)
4342oveq1d 7427 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = (0 · 𝐶))
44 difssd 4084 . . . . . . . . 9 (𝜑 → (𝐴 ∖ 𝐵) ⊆ 𝐴)
4544sselda 3931 . . . . . . . 8 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → 𝑘 ∈ 𝐴)
4645, 19syldan 603 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → 𝐶 ∈ ℂ)
4746mul02d 11489 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → (0 · 𝐶) = 0)
4843, 47eqtrd 2796 . . . . 5 ((𝜑 ∧ 𝑘 ∈ (𝐴 ∖ 𝐵)) → ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = 0)
4948sumeq2dv 15849 . . . 4 (𝜑 → Σ𝑘 ∈ (𝐴 ∖ 𝐵)((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = Σ𝑘 ∈ (𝐴 ∖ 𝐵)0)
50 diffi 9174 . . . . . 6 (𝐴 ∈ Fin → (𝐴 ∖ 𝐵) ∈ Fin)
516, 50syl 18 . . . . 5 (𝜑 → (𝐴 ∖ 𝐵) ∈ Fin)
52 sumz 15868 . . . . . 6 (((𝐴 ∖ 𝐵) ⊆ (ℤ≥‘0) ∨ (𝐴 ∖ 𝐵) ∈ Fin) → Σ𝑘 ∈ (𝐴 ∖ 𝐵)0 = 0)
5352olcs 890 . . . . 5 ((𝐴 ∖ 𝐵) ∈ Fin → Σ𝑘 ∈ (𝐴 ∖ 𝐵)0 = 0)
5451, 53syl 18 . . . 4 (𝜑 → Σ𝑘 ∈ (𝐴 ∖ 𝐵)0 = 0)
5549, 54eqtrd 2796 . . 3 (𝜑 → Σ𝑘 ∈ (𝐴 ∖ 𝐵)((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = 0)
5636, 55oveq12d 7430 . 2 (𝜑 → (Σ𝑘 ∈ (𝐴 ∩ 𝐵)((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) + Σ𝑘 ∈ (𝐴 ∖ 𝐵)((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶)) = (Σ𝑘 ∈ (𝐴 ∩ 𝐵)𝐶 + 0))
57 infi 9245 . . . . 5 (𝐴 ∈ Fin → (𝐴 ∩ 𝐵) ∈ Fin)
586, 57syl 18 . . . 4 (𝜑 → (𝐴 ∩ 𝐵) ∈ Fin)
5958, 33fsumcl 15879 . . 3 (𝜑 → Σ𝑘 ∈ (𝐴 ∩ 𝐵)𝐶 ∈ ℂ)
6059addridd 11491 . 2 (𝜑 → (Σ𝑘 ∈ (𝐴 ∩ 𝐵)𝐶 + 0) = Σ𝑘 ∈ (𝐴 ∩ 𝐵)𝐶)
6121, 56, 603eqtrd 2800 1 (𝜑 → Σ𝑘 ∈ 𝐴 ((((𝟭‘𝑂)‘𝐵)‘𝑘) · 𝐶) = Σ𝑘 ∈ (𝐴 ∩ 𝐵)𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ∖ cdif 3896   ∪ cun 3897   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279  {cpr 4586  ⟶wf 6527  ‘cfv 6531  (class class class)co 7412  Fincfn 8957  ℂcc 11179  ℝcr 11180  0cc0 11181  1c1 11182   + caddc 11184   · cmul 11186  𝟭cind 12301  ℤ≥cuz 12946  Σcsu 15833
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-inf2 9626  ax-cnex 11237  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258  ax-pre-sup 11259
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-isom 6540  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-er 8701  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-sup 9418  df-oi 9488  df-card 10001  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-div 11955  df-ind 12302  df-nn 12317  df-2 12386  df-3 12387  df-n0 12588  df-z 12675  df-uz 12947  df-rp 13102  df-fz 13621  df-fzo 13769  df-seq 14125  df-exp 14185  df-hash 14455  df-cj 15246  df-re 15247  df-im 15248  df-sqrt 15382  df-abs 15383  df-clim 15635  df-sum 15834
This theorem is used by:  breprexpnat  35246
  Copyright terms: Public domain W3C validator