Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Does the Angel have to be really smart?

Theoretical computer science

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

My question is about the computational complexity of the Angel's strategy in the Angels and Devils game, tl;dr does the Angel have a polynomial time strategy.

I'm a big Conway fan, so as you can guess I found myself looking through his works in April. One thing that occurred to me was it might be fun to implement the Angels and Devils game, as I have never actually played it / seen it played, and I figured it's not the kind of game you want to play with a human, since it seems likely that the interesting stuff happens only in very large-scale games.

Let me recall the kkk-angel game for completeness. Two players, Angel and Devil, playing alternately. The set of game positions is X={(x,p)∈{0,1}Z2×Z2  ∣  xp=0},X = \{(x, p) \in \{0,1\}^{\mathbb{Z}^2} \times \mathbb{Z^2} \;|\; x_p = 0 \},X={(x,p)∈{0,1}Z2×Z2∣xp​=0}, and the initial position is (0Z2,(0,0))(0^{\mathbb{Z}^2},(0,0))(0Z2,(0,0)). A move of the Angel consist in moving ppp by kkk chess king moves so that after the move the new pair (x,p′)(x,p')(x,p′) is in XXX (so the constraint on p′p'p′ is ∣p−p′∣∞≤k|p - p'|_\infty \leq k∣p−p′∣∞​≤k). A move of the Devil consists in turning a coordinate of xxx to 111, so that after the move the new pair (x′,p)(x',p)(x′,p) is in XXX. The Devil wins if the Angel does not have a valid move after finitely many steps, and otherwise the Angel wins.

This is an open game so one of the players have a winning strategy for each kkk. Indeed, it was proved in 2007 that the 222-angel wins in Máthé, András, The angel of power 2 wins, Comb. Probab. Comput. 16, No. 3, 363-374 (2007). ZBL1222.91012. and also in Kloster, Oddvar, A solution to the angel problem, Theor. Comput. Sci. 389, No. 1-2, 152-161 (2007). ZBL1210.91023. . (Two more papers from the same year proved this for larger kkk.)

Let's concentrate on the 222-angel situation, I think it's the most interesting one, especially in light of how the solutions work. (Also, it turns out that there is a way to generalize this to real speeds so that any "(2−ϵ)(2-\epsilon)(2−ϵ)-angel" loses, so 222 is the most interesting speed in that sense too.)

Quick descriptions of the 222-angel solutions. The paper of Máthé is very short and easy: the strategy is "follow the left wall", up to a reduction to another game (where there are some additional requirements for the players). The reduction is also not much different than one already explained by Conway's 1996 advertisement paper for this problem. So obviously my first thought was to implement that. Unfortunately it seems that Máthé's proof does not actually easily give a computable strategy; you get an "explicit" strategy, but you can't actually compute moves from it algorithmically, or at least I don't see how to.

Kloster's paper has a similar strategy, but a longer proof. You walk along the left border of the set of positions you have deemed dangerous (I don't recall the exact terminology they use). Kloster's strategy is explicitly computable, as they themselves note, but you have to quantify over all / an exponential number of paths so it's not so great from a computational complexity perspective.

So let me state my questions now. Observe first that we may clearly base our strategies on only the current state of the board matters, so a strategy for either player is just a function that produces a new state from old, according to the rules. I am interested in computational complexity of strategies, so we have to be a bit more careful with encodings than for just computability considerations. I give two possible formulations that I think are in the correct spirit.

Define the list encoding of (x,p)∈X(x,p) \in X(x,p)∈X as the word w03w13w23...3wnw_0 3 w_1 3 w_2 3 ... 3 w_nw0​3w1​3w2​3...3wn​ where wi∈{0,1}∗2{0,1}∗w_i \in \{0,1\}^* 2 \{0,1\}^*wi​∈{0,1}∗2{0,1}∗, and w0w_0w0​ gives the coordinates of ppp in binary, while other wiw_iwi​ list the support of xxx.

Is there a polynomial time winning strategy for the Angel in the 222-angel game? I.e., is there a function in FP that gives a winning strategy for the 222-angel, when the current position is given with the list encoding?

More generally, "what is the complexity"? (One could obviously also ask things like, if the Devil is playing with a polynomial strategy, can the Angel win with a polynomial strategy, and so one.)

Another possibility is to define the nnn-finitary 222-angel game as the same game played with Z\mathbb{Z}Z replaced by the box {−n,−n+1,...,n}2\{-n, -n+1, ..., n\}^2{−n,−n+1,...,n}2, and the Angel wins by exiting the box. (There's a relevant compactness phenomenon so this captures the same game as the original in a sense.) Now we can give the complete board state explicitly to each player.

Is there a polynomial time winning strategy for the Angel in the nnn-finitary 222-angel game?

More generally, "what is the complexity"? In this sense, Kloster's strategy is explicitly in EXPTIME if I'm not mistaken. You quantify over paths that minimize a certain cost function that I won't reproduce here. I don't know if this strategy can already be computed in polynomial time. I would not be surprised if it is possible to encode some NP-hard (or more) problem to it at the very least. (Also I think just from general considerations there is a PSPACE strategy.)

As for implementing the game, since this turned out to be a can of worms I ended up implementing Conway's Soldiers instead, as I hadn't played that either. It turned out to be the easiest game ever. If this question is not answered, I may later try implementing the obvious heuristic strategy based on Kloster's proof, i.e. pick random paths (with some reasonable distribution), optimize locally, take the path that minimizes the cost. If you have more intelligent practical suggestions you can share those too.

Statement and context adapted from MathOverflow · Ville Salo

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : computational-complexity · combinatorial-game-theory · chess

Authors listed by the source : Ville Salo

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : January 12, 2025

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni