Mathlib Map

Theorems · Theorem · combinatorics

Finset.exists_card_fiber_le_of_card_le_nsmul

∀ {α : Type u} {β : Type v} {M : Type w} [inst : DecidableEq β] {s : Finset α} {t : Finset β} {f : α → β} {b : M}
  [inst_1 : CommSemiring M] [inst_2 : LinearOrder M] [IsStrictOrderedRing M],
  t.Nonempty → ↑s.card ≤ t.card • b → ∃ y ∈ t, ↑{x ∈ s | f x = y}.card ≤ b

The pigeonhole principle for finitely many pigeons counted by heads: given a function f, a finite sets s and t, and a number b such that #s ≤ #t • b, there exists y ∈ t such that its preimage in s has no more than b elements. See also Finset.exists_card_fiber_lt_of_card_lt_nsmul for a stronger statement.

Defined in
Mathlib.Combinatorics.Pigeonhole
Cited by
2 results in Mathlib
Foundations
Depth 80 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
DecidableEqCommSemiringLinearOrderIsStrictOrderedRing

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 by2

Results whose statement or proof uses this declaration.