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
TL;DR
This work reframes distributed locality through first-order logic (FO) on sparse graphs, focusing on bounded expansion classes and the CONGEST model. It shows that every local FO formula can be decided in $O( ext{log } n)$ rounds and every FO formula in $O(D+ ext{log } n)$ rounds on graphs of bounded expansion, by combining low-treedepth colorings, skeletons, and distributed quantifier elimination. The authors develop locality-preserving and controlled quantifier-elimination techniques to handle universal quantifiers and counting, extendable to counting, optimization, and distributed certification. They also establish tight lower bounds, demonstrating MSO cannot be incorporated in this framework and outlining the limitations on extending FO to bounded degeneracy and to MSO in planar/other sparse regimes. The results advance distributed meta-theorems for FO on sparse graphs and pave the way for practical certification schemes in distributed networks, with potential applications to subgraph testing, counting, and optimization tasks in planar and minor-free contexts.
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 $Π$ of problems, and for which classes $\mathcal{G}$ of graphs, all problems in $Π$ can be solved efficiently in a distributed manner in all graphs of $\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šetř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 $\varphi(x)$ is local if the satisfaction of $\varphi(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 positively by showing that, for every local FO formula $\varphi(x)$, and for every graph class $\mathcal{G}$ of bounded expansion, there exists a deterministic algorithm that identifies, for every $n$-vertex graph $G\in \mathcal{G}$, all vertices $v$ of $G$ such that $G\models \varphi(v)$, in $O(\log n)$ rounds. When dropping the locality condition, we show that $O(D+\log n)$ rounds are sufficient for deciding any FO formula $\varphi$ on graphs of bounded expansion.
