
Lesson · 6 min Steady
Holmes and Moriarty
In one line Outguessing a thinking opponent can loop forever; mixing in the right proportions is the way out.
In Arthur Conan Doyle's story The Final Problem, Sherlock Holmes flees London by train for the Continent, with Professor Moriarty in pursuit on a special train. Holmes guesses that Moriarty will expect him to ride on to Dover, so he gets off at Canterbury and watches Moriarty's train rush past. The Austrian economist Oskar Morgenstern was fond of this scene, and from 1928 he used it to show a problem at the heart of forecasting.
The problem is a loop. If Moriarty is clever, he will guess that Holmes will get off early, and wait at Canterbury. But Holmes can guess that guess, and ride on. Each step of reasoning about the other's reasoning reverses the last, and the chain has no natural end. Earlier in the course, I Think That You Think met this loop in small games. Morgenstern drew a hard conclusion: a forecast of people who will read it and react can chase itself in circles.
After he published a paper on this theme in 1935, the Czech mathematician Eduard Čech pointed him to John von Neumann's paper of 1928, which held the way out: stop trying to outguess, and mix. Put numbers on it. Reaching the Continent scores 10 for Holmes, being caught costs him 10, and leaving at Canterbury while Moriarty waits at Dover leaves him safe but stranded, 0. Moriarty gains what Holmes loses, and no box is a resting point. The mixes that end the loop have Holmes leave at Canterbury two times in three, and Moriarty wait at Dover two times in three.
Neither man can then gain by being cleverer, since each is already as hard to read as he can be. The puzzle that had stalled Morgenstern became the seed of a partnership, and the two men later worked the Holmes chase into their book.
| Holmes Moriarty | Wait at Canterbury | Wait at Dover |
|---|---|---|
| Leave at Canterbury | -10, 10 | 0, 0 |
| Ride on to Dover | 10, -10 | -10, 10 |
Go deeper
Why two in three? Holmes's mix must leave Moriarty with no reason to prefer either station. If Holmes leaves at Canterbury two times in three, a Moriarty waiting at Canterbury catches him two times in three and loses him to the Continent once. A Moriarty waiting at Dover finds a stranded Holmes twice and catches him once. Both stations then give Moriarty the same average, so reading Holmes is pointless. In the story itself the chase did not end at Canterbury: it ended at the Reichenbach Falls in Switzerland.
The inspector's lines in Vienna

Liesl leads a team of ticket inspectors on Vienna's trams, and each morning the team chooses which of two busy lines to check. People who dodge fares swap tips online, and one tip had spread widely: at the start of each week, the inspectors check the line past the university. It was true. Liesl had chosen that line at the start of the week for years, because it was busiest then.
She stopped trying to stay one step ahead of the tips and began choosing with a coin from her pocket, weighted towards the busier line by tossing twice and taking the quieter line only when both tosses came up heads. Within a month the tips had stopped being useful, and dodging on both lines fell. A colleague asked whether she had found a cleverer pattern. She said she had found something better than a clever pattern: none at all.
Try this today Next time you try to outguess someone, count how many steps of "they think that I think" you take before you stop, and ask why you stopped there.
Cite or share this lesson
A plain reference you can paste into notes or an essay:
Quest2Game. “Holmes and Moriarty.” https://quest2game.com/learn/lesson/holmes-and-moriarty. Accessed 30 November 2026.
Sources
- Oskar Morgenstern — The economist, his 1935 paper on perfect foresight, and his meeting with von Neumann.
- The Adventure of the Final Problem — Conan Doyle's story of Holmes's flight from Moriarty.
- Minimax theorem — Von Neumann's result that ends the loop of guessing in pure contests.