Aller au contenu
m·amathatlas
ExplorerÀ proposProblèmes ouvertsAuteurs citésMa bibliothèqueFeedback
Se connecter
FRENES
Chargement des vues…Comptage récent seulement, toutes langues réunies. L’historique Vercel n’est pas disponible pour cette page. Les visites rapprochées dans un même onglet sont regroupées pendant 30 minutes.
PartagerLinkedInXFacebookWhatsApp
← Tous les problèmes ouverts
Question sans réponse

Frog game on tree graphs is in NP but not in P (NP-complete)?

CombinatoireDynamique et ergodicitéInformatique théorique

Import du 28 novembre 2026

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 GGG be simple connected graph with vertices in VVV, edges in EEE, and a vertex weighted function fff (counting frogs on vertices). Given GGG and a vertex v∈Vv\in Vv∈V, is the frog game solvable in vvv?

Frog game rules

To play the frog game, start by placing one frog on each vertex: f0(u)=1,u∈Vf_0(u)=1,u\in Vf0​(u)=1,u∈V.

Given GGG and fk=ff_k=ffk​=f after kkk moves have been made, a new move consists of:

Selecting two nonempty (contain at least one frog, i.e. f(v1),f(v2)>0f(v_1),f(v_2)\gt 0f(v1​),f(v2​)>0) vertices v1,v2∈Vv_1, v_2\in Vv1​,v2​∈V that are connected by a path of f(v1)f(v_1)f(v1​) distinct edges.

Moving all frogs from v1v_1v1​ to v2v_2v2​: fk+1(v1)=0f_{k+1}(v_1)=0fk+1​(v1​)=0 and fk+1(v2)=fk(v2)+fk(v1)f_{k+1}(v_2)=f_k(v_2)+f_k(v_1)fk+1​(v2​)=fk​(v2​)+fk​(v1​).

That is, all frogs on a vertex vvv must jump over exactly f(v)f(v)f(v) 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 v∈Vv\in Vv∈V if there exists a sequence of moves such that all frogs end up in the vertex vvv: Meaning f0,f1,…,fn−1,n=∣V∣f_0, f_1, \dots, f_{n-1}, n=|V|f0​,f1​,…,fn−1​,n=∣V∣ where fn−1(u)=∣V∣f_{n-1}(u)=|V|fn−1​(u)=∣V∣ for u=vu=vu=v and fn−1(u)=0f_{n-1}(u)=0fn−1​(u)=0 for u≠vu\ne vu=v.

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 "v1−v2−v3−v4−v5v_1 - v_2 - v_3 - v_4 - v_5v1​−v2​−v3​−v4​−v5​" and the goal v2v_2v2​;

We compute the multiset of path distances from the goal v2v_2v2​ to other vertices: D={1,1,2,3}D=\{1,1,2,3\}D={1,1,2,3}.

We consider all partitions of ∣V∣−1=4|V|-1=4∣V∣−1=4 that can be made with elements of DDD:

A.4=3+1B.4=2+1+1\begin{array}{} \text{A.} & 4 & = & 3 + 1\\ \text{B.} & 4 & = & 2 + 1 + 1\\ \end{array}A.B.​44​==​3+12+1+1​

Now we check each partition by assigning the respective vertices as new sub-goals (in all possible ways) and applying this procedure recursively. (Set f(w)=0f(w)=0f(w)=0 for unusable vertices www within the sub-goal.)

A.\text{A.}A. For example, when looking at the first partition, we have two possible selections of sub-goals. We can either consider v1v_1v1​ or v3v_3v3​, as both could be "111" in "4=3+14=3+14=3+1".

If we take v3v_3v3​, then the other sub-goal is graph "v1−0−0−v4−v5v_1 - 0 - 0 - v_4 - v_5v1​−0−0−v4​−v5​" in v5v_5v5​, but 222 cannot be partitioned using elements of D={4,1}D=\{4,1\}D={4,1}, therefore this selection of sub-goals is impossible.

If we take v1v_1v1​, then the other sub-goal is graph "0−0−v3−v4−v50 - 0 - v_3 - v_4 - v_50−0−v3​−v4​−v5​" in v5v_5v5​, with D={1,2}D=\{1,2\}D={1,2} and one possible partition "2=22=22=2". Going one step deeper, we get a trivial sub-sub-goal of "v3−v4v_3 - v_4v3​−v4​" in v3v_3v3​ with trivial D={1}D=\{1\}D={1} and partition "1=11=11=1". Therefore, this partition and selection of sub-goals gives a solution of the problem in v2v_2v2​. Therefore, the graph is solvable in v2v_2v2​.

B.\text{B.}B. For example, when looking at the second partition, the jumps at distance 111 are trivial and only possible selection for sub-goals, and the other sub-goal is to have 222 frogs at vertex v4v_4v4​ using the remaining usable vertices v4−v5v_4-v_5v4​−v5​; that is, it is again a trivial sub-goal with D={1}D=\{1\}D={1} and partition "1=11=11=1". Therefore, the graph is solvable in v2v_2v2​.

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 PkP_kPk​ specifically, i.e. "v1−v2−⋯−vkv_1-v_2-\dots-v_kv1​−v2​−⋯−vk​", are solvable in every vertex for every k∈Nk\in\mathbb Nk∈N. 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.

Thèmes : graph-theory · computational-complexity · trees · discrete-dynamical-systems

Auteurs indiqués par la source : Vepir

Sources et statut d’origine

  • MathOverflow Statut dans la source : unanswered at collection

Dernière activité sur la question : 18 octobre 2022

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)
Signaler une évolution ou une correction
mathatlas

Un atlas indépendant pour comprendre, lire et questionner la recherche.

Les articles présentent des résultats annoncés, à des stades de vérification différents.
NewsletterDonner un avisÀ propos Données et confidentialité
Created by Sonny Mupfuni