Theorems · Theorem · ring theory
Finset.prod_sub
∀ {ι : Type u_1} {R : Type u_4} [inst : CommRing R] [inst_1 : DecidableEq ι] (f g : ι → R) (s : Finset ι),
∏ i ∈ s, (f i - g i) = ∑ t ∈ s.powerset, ((-1) ^ t.card * ∏ i ∈ s \ t, f i) * ∏ i ∈ t, g iThe product of f i - g i over all of s is the sum over the powerset of s of the product of
g over a subset t times the product of f over the complement of t times (-1) ^ #t.
- Defined in
- Mathlib.Algebra.BigOperators.Ring.Finset
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 82 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- CommRingDecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites12
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- CommRingstatement and proof · cited by 17,173
- Finsetstatement and proof · cited by 13,712
- Finset.sumstatement and proof · cited by 5,195
- Finset.prodstatement and proof · cited by 2,356
- Finset.cardstatement and proof · cited by 2,327
- Finset.sum_congrproof · cited by 2,323
- Finset.prod_congrproof · cited by 646
- mul_right_commproof · cited by 108
- Finset.powersetstatement and proof · cited by 93
- sub_eq_neg_addproof · cited by 51
- Finset.prod_addproof · cited by 7
- Finset.prod_negproof · cited by 2
Cited by2
Results whose statement or proof uses this declaration.
- Finset.inclusion_exclusion_sum_biUnionproof · cited by 2
- Finset.indicator_biUnion_eq_sum_powersetproof · cited by 1