A logic-based algorithmic meta-theorem for mim-width
We introduce a logic called distance neighborhood logic with acyclicity and connectivity constraints (๐ &๐ขย ๐ฃ๐ญ for short) which extends existential ๐ฌ๐ฒ๐ฎ_1 with predicates for querying neighborhoods of vertex sets and for verifying connectivity and acyclicity of vertex sets in various powers of a graph. Building upon [Bergougnoux and Kantรฉ, ESA 2019; SIDMA 2021], we show that the model checking problem for every fixed ๐ &๐ขย ๐ฃ๐ญ formula is solvable in n^O(w) time when the input graph is given together with a branch decomposition of mim-width w. Nearly all problems that are known to be solvable in polynomial time given a branch decomposition of constant mim-width can be expressed in this framework. We add several natural problems to this list, including problems asking for diverse sets of solutions. Our model checking algorithm is efficient whenever the given branch decomposition of the input graph has small index in terms of the d-neighborhood equivalence [Bui-Xuan, Telle, and Vatshelle, TCS 2013]. We therefore unify and extend known algorithms for tree-width, clique-width and rank-width. Our algorithm has a single-exponential dependence on these three width measures and asymptotically matches run times of the fastest known algorithms for several problems. This results in algorithms with tight run times under the Exponential Time Hypothesis (๐ค๐ณ๐ง) for tree-width and clique-width; the above mentioned run time for mim-width is nearly tight under the ๐ค๐ณ๐ง for several problems as well. Our results are also tight in terms of the expressive power of the logic: we show that already slight extensions of our logic make the model checking problem para-๐ญ๐ฏ-hard when parameterized by mim-width plus formula length.
READ FULL TEXT