The Pigeonhole Principle for Finite Labels

If more items than available categories are assigned to exactly one category each, at least one category receives multiple items.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Use a small storage example
  2. Infer a minimum maximum load
  3. Count objects and available labels with compatible units
  4. Check exclusions before making a guarantee

Use a small storage example

Seven keys placed into five hash buckets must share at least one bucket, regardless of the indexing function. It says nothing about which keys collide. See hash bucket collisions.

Infer a minimum maximum load

With thirteen tasks spread across four groups, some group holds at least four, because capacity three per group covers only twelve. Counting with partitions keeps the assumptions about one assigned group explicit.[1]

Count objects and available labels with compatible units

Assign nine distinct items to four category buckets. At least one bucket holds at least three items, since a maximum of two per bucket would allow only eight in total. The claim concerns counts and does not identify which category receives three. See categorical histograms.

Four buckets × capacity 2 would hold at most 8
Actual count: 9
Therefore some bucket count ≥ 3
Distribution 3,2,2,2 attains the bound

Check exclusions before making a guarantee

The argument assumes every item receives one of four categories. Dropping unclassified items changes the objects counted. If labels can be combined, count the number of distinct combinations instead of the number of base symbols.

References

  1. Eric Lehman, F. Thomson Leighton and Albert R. Meyer, Mathematics for Computer Science ↩