English

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

Data Structures and Algorithms 2026-02-05 v3

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), 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 Π\Pi of problems, and for which classes G\mathcal{G} of graphs, all problems in Π\Pi can be solved efficiently in a distributed manner in all graphs of G\mathcal{G}. This paper focuses on two natural candidates for such an approach, namely the class of problems expressible in first-order logic (FO), because of their 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-treewidth, and bounded-degree graphs. The starting point of our work is the decade-old open question of Ne\v{s}et\v{r}il and Ossona de Mendez (Distributed Computing 2016) on the distributed complexity of local FO formula on graphs of bounded expansion, in the standard CONGEST model of distributed computing. A formula φ(x)\varphi(x) is local if the satisfaction of φ(x)\varphi(x) depends only on the rr-neighborhood of its free variable xx, for some fixed rr. For instance, the formula 'xx belongs to a triangle' is local. We resolve the open problem positively by showing that, for every local FO formula φ(x)\varphi(x), and for every graph class G\mathcal{G} of bounded expansion, there exists a deterministic algorithm that identifies, for every nn-vertex graph GGG\in \mathcal{G}, all vertices vv of GG such that Gφ(v)G\models \varphi(v), in O(logn)O(\log n) rounds. When dropping the locality condition, we show that O(D+logn)O(D+\log n) rounds are sufficient for deciding any FO formula φ\varphi on graphs of bounded expansion.

Keywords

Cite

@article{arxiv.2411.14825,
  title  = {What Can Be Computed Locally Revisited: First-Order Logic on Sparse Graphs in Distributed Computing},
  author = {Lélia Blin and Fedor V. Fomin and Pierre Fraigniaud and Sylvain Gay and Petr A. Golovach and Pedro Montealegre and Ivan Rapaport and Ioan Todinca},
  journal= {arXiv preprint arXiv:2411.14825},
  year   = {2026}
}
R2 v1 2026-06-28T20:08:50.463Z