Theorems · Theorem · combinatorics
Finset.filter_product_card
∀ {α : Type u_1} {β : Type u_2} (s : Finset α) (t : Finset β) (p : α → Prop) (q : β → Prop) [inst : DecidablePred p]
[inst_1 : DecidablePred q],
{x ∈ s ×ˢ t | p x.1 = q x.2}.card =
(Finset.filter p s).card * (Finset.filter q t).card + {x ∈ s | ¬p x}.card * {x ∈ t | ¬q x}.card- Defined in
- Mathlib.Data.Finset.Prod
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 69 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- DecidablePredDecidablePred
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites11
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Finsetstatement and proof · cited by 13,712
- Finset.cardstatement and proof · cited by 2,327
- SProd.sprodstatement and proof · cited by 1,750
- Finset.filterstatement and proof · cited by 949
- disjoint_compl_rightproof · cited by 47
- Finset.card_productproof · cited by 39
- Finset.card_union_of_disjointproof · cited by 37
- Disjoint.inf_rightproof · cited by 6
- Disjoint.inf_leftproof · cited by 5
- Finset.disjoint_filter_filter'proof · cited by 3
- Finset.filter_productproof · cited by 3
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.