Does the Angel have to be really smart?
Import du
Cette question était classée sans réponse par le forum à la collecte. Cela ne certifie pas qu’elle est un problème ouvert de recherche ; consultez les réponses et l’historique de la source.
Les énoncés et les résumés sont en anglais. Les repères ci-dessous et les articles Wikipédia disponibles en français vous aident à les lire. La source permet de retrouver la formulation complète et les discussions.
Énoncé du problème (anglais)
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 -angel game for completeness. Two players, Angel and Devil, playing alternately. The set of game positions is and the initial position is . A move of the Angel consist in moving by chess king moves so that after the move the new pair is in (so the constraint on is ). A move of the Devil consists in turning a coordinate of to , so that after the move the new pair is in . 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 . Indeed, it was proved in 2007 that the -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 .)
Let's concentrate on the -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 "-angel" loses, so is the most interesting speed in that sense too.)
Quick descriptions of the -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 as the word where , and gives the coordinates of in binary, while other list the support of .
Is there a polynomial time winning strategy for the Angel in the -angel game? I.e., is there a function in FP that gives a winning strategy for the -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 -finitary -angel game as the same game played with replaced by the box , 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 -finitary -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.
Énoncé et contexte adaptés de MathOverflow · Ville Salo
CC BY-SA 4.0 · Mise en forme adaptée ; formules conservées · Historique de la source
Sources et statut d’origine
- MathOverflow Statut dans la source : unanswered at collection
Dernière activité sur la question :
Couverture, sources et méthode
Ce compteur mesure les fiches importées, y compris des variantes distinctes. Il ne mesure pas le nombre total de questions mathématiques ouvertes dans le monde. Une même fiche peut appartenir à plusieurs domaines et sources.
Le répertoire n’est ni exhaustif ni actualisé en temps réel. « Signalé ouvert » décrit le classement observé dans la source à la date d’import ; chaque fiche importée n’a pas fait l’objet d’une vérification scientifique indépendante. Les 32 fiches expliquées ont été examinées séparément.
Formal Conjectures : seuls les énoncés « research open » sans preuve formelle signalée sont retenus ; leur balise est contrôlée dans une version précise du dépôt. Les variantes restent distinctes. Un « sorry » ne suffit pas à établir qu’un problème est ouvert.
Erdős : les problèmes résolus, indépendants ou accompagnés d’une solution Lean sont exclus, y compris « open (Lean) ». Les correspondances exactes avec les énoncés principaux de Formal Conjectures sont fusionnées.
Open Problem Garden : l’index des problèmes ouverts est croisé avec celui des résolus ; le spam, les clones identifiés et certains statuts obsolètes sont écartés. Les énoncés et leurs définitions sont attribués aux pages originales ; les formules sont conservées et le contenu reste sous GFDL. Les doublons reconnus entre sources sont regroupés, sans prétendre résoudre toutes les équivalences mathématiques.
OEIS : extraction directe des commentaires et formules conjecturaux, une fiche par suite, avec exclusion des résolutions mentionnées. MathOverflow et Math Stack Exchange : questions classées sans réponse par leur API, hors publications fermées et rubriques non scientifiques. Ces questions restent distinctes des conjectures signalées ouvertes. La collecte est partielle et datée ; les auteurs et licences figurent sur chaque fiche.
Des exclusions documentées tiennent compte des annonces récentes et des conflits de statut. Une variante plus forte ou un cas particulier peut rester ouvert après la résolution d’un autre énoncé.
Attribution : The Formal Conjectures Authors ; teorth/erdosproblems et ses contributeurs ; Open Problem Garden et ses contributeurs. Chaque source conserve sa licence.
- 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)