Frog game on tree graphs is in NP but not in P (NP-complete)?
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)
Problem
We can restrict ourselves to tree graphs. What is the complexity of the following problem?
Let be simple connected graph with vertices in , edges in , and a vertex weighted function (counting frogs on vertices). Given and a vertex , is the frog game solvable in ?
Frog game rules
To play the frog game, start by placing one frog on each vertex: .
Given and after moves have been made, a new move consists of:
Selecting two nonempty (contain at least one frog, i.e. ) vertices that are connected by a path of distinct edges.
Moving all frogs from to : and .
That is, all frogs on a vertex must jump over exactly distinct edges and onto a nonempty vertex. (Imagine the vertex being a lily pad and sinking after frogs jump off of it.).
We say that the frog game is solvable in some vertex if there exists a sequence of moves such that all frogs end up in the vertex : Meaning where for and for .
Here is a short presentation with examples.
I suspect this problem is in NP but not in P (NP-complete?), can we prove this?
Algorithmic approach
We can solve this problem recursively.
For example, given a path graph "" and the goal ;
We compute the multiset of path distances from the goal to other vertices: .
We consider all partitions of that can be made with elements of :
Now we check each partition by assigning the respective vertices as new sub-goals (in all possible ways) and applying this procedure recursively. (Set for unusable vertices within the sub-goal.)
For example, when looking at the first partition, we have two possible selections of sub-goals. We can either consider or , as both could be "" in "".
If we take , then the other sub-goal is graph "" in , but cannot be partitioned using elements of , therefore this selection of sub-goals is impossible.
If we take , then the other sub-goal is graph "" in , with and one possible partition "". Going one step deeper, we get a trivial sub-sub-goal of "" in with trivial and partition "". Therefore, this partition and selection of sub-goals gives a solution of the problem in . Therefore, the graph is solvable in .
For example, when looking at the second partition, the jumps at distance are trivial and only possible selection for sub-goals, and the other sub-goal is to have frogs at vertex using the remaining usable vertices ; that is, it is again a trivial sub-goal with and partition "". Therefore, the graph is solvable in .
In general, this procedure is exponential at worst. When the vertex is not solvable, we will need to check all partitions and all selections of sub-goals.
Can we do better? (Is it possible that this problem is in P?)
Note that it is not hard to prove that path graphs specifically, i.e. "", are solvable in every vertex for every . That is, certain classes of graphs can be solved in terms of theorems, by explicitly constructing sequences of jumps that solve vertices or showing certain vertices are never solvable.
But I doubt that can be done for all tree graphs.
Note that I posted a similar question a long time ago on Computer Science, asking about a better approach than the exponential partition analysis (here I ask about complexity class), but there I got nothing new after two bounties. (Not sure if this counts as a cross-post, but I'll link it here just in case).
Énoncé et contexte adaptés de MathOverflow · Vepir
CC BY-SA 4.0 · Mise en forme adaptée ; formules conservées · Historique de la source
Repères pour comprendre
- Graphe
- Un ensemble de sommets reliés par des arêtes. Le degré d’un sommet compte les arêtes qui le touchent ; l’énoncé précise si le graphe est orienté ou autorise des arêtes multiples.
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)