Quest2GameRead the game. Change the rules.

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 gets 10 for reaching the Continent, 0 for being safe but stranded, -10 for being caught; Moriarty gets the reverse
Holmes
Moriarty
Wait at CanterburyWait at Dover
Leave at Canterbury-10, 100, 0
Ride on to Dover10, -10-10, 10
In each box, Holmes’s payoff comes first, then Moriarty’s. Higher is better.
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

Illustration: 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.

Question 1 of 2

Lamin, a striker in Banjul, reasons before a penalty: "The keeper knows I like the left, so he will dive left, so I will go right. But he knows that I know..."

What way out would Morgenstern and von Neumann offer Lamin?

Question 2 of 2

A weather service in Kraków forecasts heavy rain for the weekend.

Why does Morgenstern's loop not trouble this forecast?

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