Theorems · Theorem · combinatorics
Finset.exists_sum_fiber_le_of_sum_fiber_nonneg_of_sum_le_nsmul
∀ {α : Type u} {β : Type v} {M : Type w} [inst : DecidableEq β] {s : Finset α} {t : Finset β} {f : α → β} {w : α → M}
{b : M} [inst_1 : AddCommMonoid M] [inst_2 : LinearOrder M] [IsOrderedCancelAddMonoid M],
(∀ y ∉ t, 0 ≤ ∑ x ∈ s with f x = y, w x) →
t.Nonempty → ∑ x ∈ s, w x ≤ t.card • b → ∃ y ∈ t, ∑ x ∈ s with f x = y, w x ≤ bThe pigeonhole principle for finitely many pigeons counted by weight, non-strict inequality
version: if the total weight of a finite set of pigeons is less than or equal to n • b, they are
sorted into some pigeonholes, and for all but n > 0 pigeonholes the total weight of the pigeons
there is nonnegative, then for at least one of these n pigeonholes, the total weight of the
pigeons in this pigeonhole is less than or equal to b.
- Defined in
- Mathlib.Combinatorics.Pigeonhole
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 79 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites9
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
- AddCommMonoidstatement and proof · cited by 12,281
- LinearOrderstatement and proof · cited by 8,572
- Finset.sumstatement and proof · cited by 5,195
- Finset.cardstatement and proof · cited by 2,327
- Finset.Nonemptystatement and proof · cited by 1,001
- Finset.filterstatement and proof · cited by 949
- IsOrderedCancelAddMonoidstatement and proof · cited by 359
- Finset.exists_le_sum_fiber_of_sum_fiber_nonpos_of_nsmul_le_sumproof · cited by 1
Cited by1
Results whose statement or proof uses this declaration.
- Finset.exists_card_fiber_le_of_card_le_nsmulproof · cited by 2