Explainer ·
Backgammon is in P? What a strongly polynomial linear programming algorithm means
On November 28 the mathematician Gil Kalai wrote "Backgammon is in P" about a manuscript OpenAI posted on November 24. It does not mean anyone has solved backgammon, the board game, or that a perfect backgammon program exists. It is Kalai's nickname for an old question: can you compute, in a reasonable number of steps, the exact winning chances under best play in a two-player game that mixes choices with dice rolls, when the whole game is written out as a map of positions?
OpenAI's manuscript claims yes, as a consequence of a claimed strongly polynomial algorithm for linear programming. Its status is claimed, not yet independently verified.
The explanation here uses plain pictures, and the technical companion has the exact statements.
For the theorem statements, the Hirsch result and what Kalai's post gets slightly ahead of the manuscript on, see the technical companion. My news item covers Kalai's post itself.
The game, as a map of rooms
Picture a game as a building full of rooms, one for each position. Every room has doors to the positions you can reach next. In some rooms you choose the door; in others your opponent chooses; in others dice choose, with fixed odds. One room is marked "you win". Both players play as well as they possibly can. The question is: starting from a given room, what is your exact chance of reaching the winning room?
That number is the value of the game from that position. Chess has no dice, so its value is a plain win, loss or draw. Backgammon has dice, so its value is a probability. Anne Condon studied the cleanest version of this question, which she called simple stochastic games, in work published in 1992, and showed it sits in a class of problems believed not to be the hardest. Nobody had found a polynomial-time method for it. Kalai asked on his blog in 2011 whether there is one, under the title "Is backgammon in P?"
What "in P" means, and why it is not about the board game
"In P" means there is a recipe whose number of steps grows like a fixed power of the size of the input, say its square or cube, rather than exploding exponentially. The idea only makes sense for problems that come in all sizes. Real backgammon is one fixed game. Its map of rooms is astronomically large but finite, so in the strict sense of complexity theory it is a single problem of a fixed size, and "is backgammon in P?" is a nickname for the whole family of such games. Geoffrey Irving asked Kalai on X exactly this, which parameters are fixed and which grow; Kalai replied by restating the theorem. The manuscript's own setting answers it: the result is about games of any size, given as an explicit map of positions.
So nothing here hands anyone a perfect backgammon strategy. Writing out every position of real backgammon is far beyond any computer, and strong backgammon programs already exist from a different tradition, learning from play. The manuscript never mentions backgammon.
Where linear programming comes in
Linear programming is the mathematics of making the best choice under many simple constraints, used every day for airline schedules, factory plans and shipping routes. Game values can be written as solutions of problems closely tied to linear programs: think of assigning a fair price to every room, so that each room's price is consistent with the doors leading out of it. A fast, exact way to solve such price systems gives a fast, exact way to find game values.
Fast methods for linear programming have existed since 1979. Their weak point is that their step counts grow with the number of digits in the input numbers, not only with how many numbers there are. A strongly polynomial algorithm, the subject of Smale's ninth problem, would take a number of steps that depends only on the number of variables and constraints, however many digits each number has. It is like a recipe whose time depends on the number of ingredients, not on how finely you measure each one. What is Smale's ninth problem? explains this with a worked example.
What OpenAI's manuscript actually claims about games
Section 9 of the manuscript has one theorem about games, Theorem 11: for two families of games on a finite map of positions where both players see everything (discounted games and priority mean-payoff games), a deterministic algorithm computes the exact value from every starting position and the best strategies for both players. Simple stochastic games and parity games, a cousin that matters for checking software, follow in one paragraph each. When there are no dice at all, the manuscript says the algorithm is strongly polynomial. When there are dice, its step count is polynomial in the size of the map and in the number of binary digits needed to write the probabilities. Kalai's post and his reply on X describe the dice case as strongly polynomial too; the manuscript's own statement is the more careful one, and the technical companion sets the two side by side.
Why it matters, if it holds
- An old question answered. The question has been open at least since Condon's 1992 paper. The best known method before 2026 for simple stochastic games was a randomized one by Walter Ludwig in 1995 that runs in subexponential time, and an earlier OpenAI manuscript this autumn claimed a quasi-polynomial one.
- Checking software. Parity games, which the same theorem covers, sit underneath the theory of automatically checking that hardware and software meet their specifications. My news item on parity games explains why people in that field care.
- Theory, not a new tool for players. Practical solvers for these games already work well on the sizes people use. A polynomial-time guarantee is about what is possible in the worst case, which is what complexity theory measures.
What has been checked
As far as I can find, nobody outside OpenAI has said they verified the games result, and it is not in OpenAI's Lean code, which covers linear programs with rational data. Kalai treats the results as solved and praises the companion paper on polytopes as well written, which counts for something coming from him: he worked on these exact problems for decades. A seminar to study them is being planned. Until specialists report on Section 9, the right status is claimed, not yet independently verified. The status tracker lists it with the other games.
Short answers
Has backgammon been solved?
No. "Backgammon is in P" is Gil Kalai's nickname for a question about computing exact winning chances in two-player games with dice, given as an explicit map of positions. It does not give a perfect strategy for the board game, and OpenAI's manuscript never mentions backgammon.
What is a simple stochastic game?
A game on a map of positions where one player wants to reach a target, the other wants to stop them, and some moves are coin flips. Anne Condon studied them in 1992; whether their values can be computed in polynomial time was open.
What does strongly polynomial mean?
The number of arithmetic steps depends only on how many numbers the input has, not on how many digits they have. Smale's ninth problem asks for such an algorithm for linear programming.
Is the result verified?
No. As of November 29, 2026, it is claimed in an OpenAI manuscript and not yet independently verified. The games are not in OpenAI's Lean code. Gil Kalai announced it on his blog without saying he checked the proof.
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.