Mathlib Map

Theorems · Theorem · combinatorics

Finset.exists_le_sum_fiber_of_maps_to_of_nsmul_le_sum

∀ {α : 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],
  (∀ a ∈ s, f a ∈ t) → t.Nonempty → t.card • b ≤ ∑ x ∈ s, w x → ∃ y ∈ t, b ≤ ∑ x ∈ s with f x = y, w x

The pigeonhole principle for finitely many pigeons counted by weight, non-strict inequality version: if the total weight of a finite set of pigeons is greater than or equal to n • b, and they are sorted into n > 0 pigeonholes, then for some pigeonhole, the total weight of the pigeons in this pigeonhole is greater than or equal to b.

Defined in
Mathlib.Combinatorics.Pigeonhole
Cited by
3 results in Mathlib
Foundations
Depth 67 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
DecidableEqAddCommMonoidLinearOrderIsOrderedCancelAddMonoid

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.

Cited by3

Results whose statement or proof uses this declaration.