Indexing the archive…
Your Universe of Digital Possibilities
Five philosophers, five forks, and a meal needs two. Each obeys one line — take your left fork, then your right — and one day all five hold a left fork and starve. Number the forks and the circle can never close; make the forks clean or dirty and nobody starves. A crash mid-meal still starves the table, fork by fork.
Neighbours share a fork, so whoever eats at one instant forms an independent set on the ring — at most ⌊n/2⌋ of the n. A waiter who sees the whole table can seat that many; rules that see only two forks can only approach it.
All four are necessary. Left first has every one: a fork is one philosopher’s at a time, the left is held while the right is awaited, nobody snatches, and the wait-for graph can close into a ring. Break any one and the cycle cannot form.
Number the forks and take the lower one first. A circle of waits would need someone holding a higher fork while waiting for a lower one, which the rule forbids. On the ring exactly one philosopher now reaches right first, and the circle can never close — paid for in fairness.
A dirty fork means its holder ate last, so it yields; a clean fork has just been handed over and stays. The priority this sets between neighbours starts acyclic (every fork at the lower id) and stays acyclic, so no circle of waits can form and every hungry philosopher eats — while nobody dies holding forks.
The Bucket kept a link fair; The Fork keeps a program alive. Every philosopher is a process and every fork a lock, and the four Coffman conditions are the whole story of the naive rule: it has all four, so one day the ring closes. Dijkstra breaks the circle with an order; Chandy and Misra break it with a priority that moves — the dirty fork — and get fairness for free. What no local rule fixes is a philosopher who dies holding forks: the waiter would lose two seats, the table loses all of them. The same question returns in The Snapshot (what is true when nobody can stop the table to look) and The Term (who may speak when the last speaker has gone quiet).