Nicanor Carrasco-Vargas, Valentino Delle Rose, Cristóbal Rojas
{"title":"On the complexity of the Eulerian path problem for infinite graphs","authors":"Nicanor Carrasco-Vargas, Valentino Delle Rose, Cristóbal Rojas","doi":"arxiv-2409.03113","DOIUrl":null,"url":null,"abstract":"We revisit the problem of algorithmically deciding whether a given infinite\nconnected graph has an Eulerian path, namely, a path that uses every edge\nexactly once. It has been recently observed that this problem is\n$D_3^0$-complete for graphs that have a computable description, whereas it is\n$\\Pi_2^0$-complete for graphs that have a highly computable description, and\nthat this same bound holds for the class of automatic graphs. A closely related\nproblem consists of determining the number of ends of a graph, namely, the\nmaximum number of distinct infinite connected components the graph can be\nseparated into after removing a finite set of edges. The complexity of this\nproblem for highly computable graphs is known to be $\\Pi_2^0$-complete as well.\nThe connection between these two problems lies in that only graphs with one or\ntwo ends can have Eulerian paths. In this paper we are interested in\nunderstanding the complexity of the infinite Eulerian path problem in the\nsetting where the input graphs are known to have the right number of ends. We\nfind that in this setting the problem becomes strictly easier, and that its\nexact difficulty varies according to whether the graphs have one or two ends,\nand to whether the Eulerian path we are looking for is one-way or bi-infinite.\nFor example, we find that deciding existence of a bi-infinite Eulerian path for\none-ended graphs is only $\\Pi_1^0$-complete if the graphs are highly\ncomputable, and that the same problem becomes decidable for automatic graphs.\nOur results are based on a detailed computability analysis of what we call the\nSeparation Problem, which we believe to be of independent interest. For\ninstance, as a side application, we observe that K\\\"onig's infinity lemma, well\nknown to be non-effective in general, becomes effective if we restrict to\ngraphs with finitely many ends.","PeriodicalId":501306,"journal":{"name":"arXiv - MATH - Logic","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - MATH - Logic","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.03113","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We revisit the problem of algorithmically deciding whether a given infinite
connected graph has an Eulerian path, namely, a path that uses every edge
exactly once. It has been recently observed that this problem is
$D_3^0$-complete for graphs that have a computable description, whereas it is
$\Pi_2^0$-complete for graphs that have a highly computable description, and
that this same bound holds for the class of automatic graphs. A closely related
problem consists of determining the number of ends of a graph, namely, the
maximum number of distinct infinite connected components the graph can be
separated into after removing a finite set of edges. The complexity of this
problem for highly computable graphs is known to be $\Pi_2^0$-complete as well.
The connection between these two problems lies in that only graphs with one or
two ends can have Eulerian paths. In this paper we are interested in
understanding the complexity of the infinite Eulerian path problem in the
setting where the input graphs are known to have the right number of ends. We
find that in this setting the problem becomes strictly easier, and that its
exact difficulty varies according to whether the graphs have one or two ends,
and to whether the Eulerian path we are looking for is one-way or bi-infinite.
For example, we find that deciding existence of a bi-infinite Eulerian path for
one-ended graphs is only $\Pi_1^0$-complete if the graphs are highly
computable, and that the same problem becomes decidable for automatic graphs.
Our results are based on a detailed computability analysis of what we call the
Separation Problem, which we believe to be of independent interest. For
instance, as a side application, we observe that K\"onig's infinity lemma, well
known to be non-effective in general, becomes effective if we restrict to
graphs with finitely many ends.