Theorems · Theorem · group theory
Finset.sum_indicator_eq_sum_filter
∀ {ι : Type u_1} {κ : Type u_2} {β : Type u_4} [inst : AddCommMonoid β] (s : Finset ι) (f : ι → κ → β) (t : ι → Set κ)
(g : ι → κ) [inst_1 : DecidablePred fun i => g i ∈ t i],
∑ i ∈ s, (t i).indicator (f i) (g i) = ∑ i ∈ s with g i ∈ t i, f i (g i)- Cited by
- 5 results in Mathlib
- Foundations
- Depth 66 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- AddCommMonoidDecidablePred
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites13
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Setstatement and proof · cited by 53,352
- Finsetstatement and proof · cited by 13,712
- AddCommMonoidstatement and proof · cited by 12,281
- Finset.sumstatement and proof · cited by 5,195
- add_zeroproof · cited by 2,707
- Finset.sum_congrproof · cited by 2,323
- Finset.filterstatement and proof · cited by 949
- Set.indicatorstatement and proof · cited by 723
- Finset.mem_filterproof · cited by 185
- Set.indicator_of_memproof · cited by 161
- Set.indicator_of_notMemproof · cited by 154
- Finset.sum_eq_zeroproof · cited by 139
Cited by5
Results whose statement or proof uses this declaration.
- MeasureTheory.stoppedValue_eq_of_mem_finsetproof · cited by 3
- BoxIntegral.hasIntegralIndicatorConstproof · cited by 1
- MeasureTheory.stoppedValue_sub_eq_sum'proof · cited by 1
- Finset.sum_indicator_eq_sum_interproof · cited by 1
- MeasureTheory.mul_upcrossingsBefore_leproof · cited by 1