English

Twin-width and types

Logic in Computer Science 2022-06-17 v1 Data Structures and Algorithms Logic

Abstract

We study problems connected to first-order logic in graphs of bounded twin-width. Inspired by the approach of Bonnet et al. [FOCS 2020], we introduce a robust methodology of local types and describe their behavior in contraction sequences -- the decomposition notion underlying twin-width. We showcase the applicability of the methodology by proving the following two algorithmic results. In both statements, we fix a first-order formula φ(x1,,xk)\varphi(x_1,\ldots,x_k) and a constant dd, and we assume that on input we are given a graph GG together with a contraction sequence of width at most dd. (A) One can in time O(n)O(n) construct a data structure that can answer the following queries in time O(loglogn)O(\log \log n): given w1,,wkw_1,\ldots,w_k, decide whether ϕ(w1,,wk)\phi(w_1,\ldots,w_k) holds in GG. (B) After O(n)O(n)-time preprocessing, one can enumerate all tuples w1,,wkw_1,\ldots,w_k that satisfy ϕ(x1,,xk)\phi(x_1,\ldots,x_k) in GG with O(1)O(1) delay. In the case of (A), the query time can be reduced to O(1/ε)O(1/\varepsilon) at the expense of increasing the construction time to O(n1+ε)O(n^{1+\varepsilon}), for any fixed ε>0\varepsilon>0. Finally, we also apply our tools to prove the following statement, which shows optimal bounds on the VC density of set systems that are first-order definable in graphs of bounded twin-width. (C) Let GG be a graph of twin-width dd, AA be a subset of vertices of GG, and φ(x1,,xk,y1,,yl)\varphi(x_1,\ldots,x_k,y_1,\ldots,y_l) be a first-order formula. Then the number of different subsets of AkA^k definable by ϕ\phi using ll-tuples of vertices from GG as parameters, is bounded by O(Al)O(|A|^l).

Keywords

Cite

@article{arxiv.2206.08248,
  title  = {Twin-width and types},
  author = {Jakub Gajarský and Michał Pilipczuk and Wojciech Przybyszewski and Szymon Toruńczyk},
  journal= {arXiv preprint arXiv:2206.08248},
  year   = {2022}
}

Comments

35 pages. Full version of an extended abstract to appear in the proceedings of ICALP 2022