Documentation

CslibFrontier.Foundations.Data.Finset.DisjointCard

Disjoint subsets of given sizes #

A finite set with at least i + j elements has disjoint subsets with i and j elements (Finset.exists_disjoint_card_eq). The proof of Theorem D.2 and Lemma F.1 of [Ant26] take such a pair of sets of indices for a transversal pair of matrices.

Main results #

References #

theorem Finset.exists_disjoint_card_eq {α : Type u_1} {s : Finset α} {i j : ℕ} (h : i + j ≤ s.card) :
∃ S ⊆ s, ∃ T ⊆ s, Disjoint S T ∧ S.card = i ∧ T.card = j

A finite set with at least i + j elements has disjoint subsets with i and j elements.