Vera Logo
Culture

A 14th-century donkey paradox explains a real glitch in every computer chip

Imagine a donkey standing exactly halfway between two identical piles of hay, equally hungry for both. With no reason to prefer one over the other, the old thought experiment goes, it would starve rather than choose. It's usually told as a joke about indecision. It turns out to describe a real, measurable glitch inside every computer.

From philosophy to physics

The puzzle is named for Jean Buridan, a 14th-century French philosopher, though Aristotle described a version of it centuries earlier and never actually attributed it to a donkey himself; that detail was added later by critics mocking the idea. Buridan used it to probe free will: can a rational chooser with no tiebreaker ever act at all?

In 1984, computer scientist Leslie Lamport showed the same logic applies to electronics. Every digital circuit eventually has to take some continuously varying signal, a voltage that could be anywhere along a scale, and force it into one of two discrete boxes: on or off. Lamport proved that because the signal changes smoothly and the decision is a sudden jump, there will always be some starting voltage so perfectly in between that the circuit takes an unpredictably long time to decide. He called it Buridan's Principle: a discrete decision based on a continuous input cannot be made in a bounded length of time.

A donkey frozen between two haystacks, echoed by a circuit signal frozen between two states

The donkey inside your phone

Engineers call the real-world version metastability. It was first measured in the 1970s, when a computer at Cambridge University kept freezing at random for no software reason; a signal was occasionally arriving at a memory switch at just the wrong fraction of a second, leaving the switch hovering between its two states like the donkey between its haystacks.

The fix isn't to eliminate the problem, since Lamport's proof says you can't. Instead, every modern chip quietly budgets extra time and layers of backup circuits, so that by the time an answer is needed, the signal has almost certainly settled one way or the other. It doesn't happen often. But every processor on Earth is built around the assumption that, every so often, its donkey will freeze.

Sources

#buridans ass#philosophy#metastability#computer science#world philosophy day

Comments

No comments yet. Start the conversation.