Vandermonde Count for Subsets of an Intersection
ProvedFunctionalInequalities.Analysis.Tensor.sum_choose_mul_card_filter_subset_modularThis is a finite-set identity expressing a Vandermonde convolution for two fixed subsets.
Let be a type with decidable equality, let be a finite subset of , let be a natural number, and let be -element subsets of . For each natural number from through , count the -element subsets of satisfying . Then
This identity is a reusable combinatorial summation formula, with the summands counting subsets of the intersection and weighting them by binomial coefficients.
Formalization Note The summation is implemented over Finset.range (d + 1), and the counted families use Finset.powersetCard followed by Finset.filter; binomial coefficients are represented by Nat.choose.
Superseded upload. This snapshot was replaced by FunctionalInequalities.Analysis.Tensor.sum_choose_mul_card_filter_subset_readable: open the readable replacement. The replacement preserves the frozen source and mathematical statement, with a compact declaration context. This historical node remains available for existing imports.
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_Tensor_Symmetrization
noncomputable section
open Finset
section
namespace FunctionalInequalities
end FunctionalInequalities
open FunctionalInequalities
section
namespace FunctionalInequalities.Analysis
end FunctionalInequalities.Analysis
open FunctionalInequalities FunctionalInequalities.Analysis
section
namespace FunctionalInequalities.Analysis.Tensor
end FunctionalInequalities.Analysis.Tensor
open FunctionalInequalities FunctionalInequalities.Analysis FunctionalInequalities.Analysis.Tensor
variable {Ω : Type*} [Fintype Ω] [DecidableEq Ω]
variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V]
section SubsetSum
variable {α : Type*} [DecidableEq α]
theorem FunctionalInequalities.Analysis.Tensor.sum_choose_mul_card_filter_subset_modular (U : Finset α) {d : ℕ} {F F' : Finset α}
(hF : F ∈ U.powersetCard d) (hF' : F' ∈ U.powersetCard d) :
∑ s ∈ range (d + 1), d.choose s * ((U.powersetCard s).filter fun S => S ⊆ F ∩ F').card =
(d + (F ∩ F').card).choose d := by sorry