Mathlib Map

Theorems · Theorem · combinatorics

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

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

Defined in
Mathlib.Combinatorics.Pigeonhole
Cited by
0 results in Mathlib
Foundations
Depth 68 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.

Cites8

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by0

Results whose statement or proof uses this declaration.

Nothing cites this yet.