First order distinguishability of sparse random graphs
Tal Hershko, Maksim Zhukovskii
TL;DR
We study distinguishing two independent sparse random graphs G(n, n^{-α}) by first-order sentences, showing the minimum FO depth k_α depends on α's rational approximability. The key tool is a random balanced graph construction that yields a large family of asymmetric strictly balanced subgraphs, enabling existential FO witnesses to separate the samples with depth k ∼ O_p( ln n / ln ln n ). We prove Ω(ln ln ln n) lower bounds for irrational α that are not Liouville-like, while showing for almost all α the depth is at least (1-o(1))/ln 2 · ln ln ln n, with refined results for well-approximable α. The analysis blends Ehrenfeucht-Fraïssé games, Poisson convergence of subgraph counts, and a randomized sampling of asymmetric graphs, revealing a deep link between Diophantine approximation and logical distinguishability in sparse random graphs and informing average-case complexity aspects of graph isomorphism testing.
Abstract
We study the problem of distinguishing between two independent samples $\mathbf{G}_n^1,\mathbf{G}_n^2$ of a binomial random graph $G(n,p)$ by first order (FO) sentences. Shelah and Spencer proved that, for a constant $α\in(0,1)$, $G(n,n^{-α})$ obeys FO zero-one law if and only if $α$ is irrational. Therefore, for irrational $α\in(0,1)$, any fixed FO sentence does not distinguish between $\mathbf{G}_n^1,\mathbf{G}_n^2$ with asymptotical probability 1 (w.h.p.) as $n\to\infty$. We show that the minimum quantifier depth $\mathbf{k}_α$ of a FO sentence $\varphi=\varphi(\mathbf{G}_n^1,\mathbf{G}_n^2)$ distinguishing between $\mathbf{G}_n^1,\mathbf{G}_n^2$ depends on how closely $α$ can be approximated by rationals: (1) for all non-Liouville $α\in(0,1)$, $\mathbf{k}_α=Ω(\ln\ln\ln n)$ w.h.p.; (2) there are irrational $α\in(0,1)$ with $\mathbf{k}_α$ that grow arbitrarily slowly w.h.p.; (3) $\mathbf{k}_α=O_p(\frac{\ln n}{\ln\ln n})$ for all $α\in(0,1)$. The main ingredients in our proofs are a novel randomized algorithm that generates asymmetric strictly balanced graphs as well as a new method to study symmetry groups of randomly perturbed graphs.
