Skip to main navigation Skip to search Skip to main content

What Can Be Computed Locally Revisited: First-Order Logic on Sparse Graphs in Distributed Computing

  • Lélia Blin
  • , Fedor V. Fomin
  • , Pierre Fraigniaud
  • , Sylvain Gay
  • , Petr A. Golovach
  • , Pedro Montealegre
  • , Ivan Rapaport
  • , Ioan Todinca

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The question of "what can be computed locally?"lies at the heart of distributed computing in networks. As established in Naor and Stockmeyer's seminal paper (STOC 1993, Edsger W. Dijkstra Prize in Distributed Computing 2025), this question is undecidable, even for graph problems whose solutions can be checked locally. In this paper, we adopt a novel perspective on the question, by asking for which classes of problems, and for which classes G of graphs, all problems in can be solved efficiently in a distributed manner in all graphs of G. This paper focuses on two natural candidates for such an approach, namely the class of problems expressible in first-order logic (FO), because they possess an intrinsic form of locality thanks to Gaifman's theorem, and the class of graphs with bounded expansion, because they form a large class of graphs encompassing, e.g., planar, bounded-genus, bounded-treewidth, and bounded-degree graphs, as well as graphs excluding a fixed minor or topological minor, sparse Erdös - Rényi graphs (a.a.s.), and several network models such as stochastic block models for suitable parameter ranges. The starting point of our work is the decade-old open question of Nešetril and Ossona de Mendez (Distributed Computing 2016) on the distributed complexity of local FO formulas on graphs of bounded expansion, in the standard CONGEST model of distributed computing. Recall that a formula (x) is local if the satisfaction of (x) depends only on the r-neighborhood of its free variable x, for some fixed r. For instance, the formula "x belongs to a triangle"is local. We resolve the open problem of Nešetril and Ossona de Mendez positively by showing that, for every local FO formula (x), and for every graph class G of bounded expansion, there exists a deterministic algorithm that identifies, for every n-vertex graph GeG, all vertices v of G such that G (v), in O(log n) rounds. The requirement of locality is unavoidable, as even the simple FO formula "there exist two vertices of degree 3"requires ω(D) rounds in CONGEST, even on trees of diameter D. Nevertheless, we establish a second result, which goes beyond the question of Nešetril and Ossona de Mendez. We show that O(D + log n) rounds are sufficient for deciding any FO formula on graphs of bounded expansion. That is, the overhead to be paid over the diameter is just O(log n). We underline that the techniques behind our two distributed "meta-theorems"extend to distributed counting, optimization, and certification problems. Our results are tight in several ways. Regarding the choice of the graph class G, we show that deciding FO formulas may have high round complexity in CONGEST on larger classes of graphs, even if they remain sparse. For instance, the simple local FO formula expressing C6-freeness requires O∼(sqrt(n)) rounds to be decided in graphs of degeneracy 2 with constant diameter. Regarding the choice of the class of problems, we show that deciding problems expressible in monadic second-order (MSO) logic may have high round complexity in CONGEST, even in classes of graphs with bounded expansion. For example, deciding non-3-colorability requires O∼(n) rounds in bounded-degree graphs with logarithmic diameter.

Original languageEnglish
Title of host publicationSTOC 2026 - Proceedings of the 58th Annual ACM Symposium on Theory of Computing
EditorsAditya Bhaskara, Artur Czumaj
PublisherAssociation for Computing Machinery
Pages1397-1408
Number of pages12
ISBN (Electronic)9798400725364
DOIs
StatePublished - 9 Jun 2026
Event58th Annual ACM Symposium on Theory of Computing, STOC 2026 - Salt Lake City, United States
Duration: 22 Jun 202626 Jun 2026

Publication series

NameProceedings of the Annual ACM Symposium on Theory of Computing
ISSN (Print)0737-8017

Conference

Conference58th Annual ACM Symposium on Theory of Computing, STOC 2026
Country/TerritoryUnited States
CitySalt Lake City
Period22/06/2626/06/26

Keywords

  • CONGEST model
  • Distributed computing
  • Graph algorithms

Fingerprint

Dive into the research topics of 'What Can Be Computed Locally Revisited: First-Order Logic on Sparse Graphs in Distributed Computing'. Together they form a unique fingerprint.

Cite this