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)φ(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(log⁡log⁡n)O(\log \log n): given w1,…,wkw_1,\ldots,w_k, decide whether ϕ(w1,…,wk)ϕ(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)ϕ(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)φ(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 ϕϕ using ll-tuples of vertices from GG as parameters, is bounded by O(∣A∣l)O(|A|^l).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.