English

The Complexity of Resilience for Digraph Queries

Logic 2026-01-12 v1 Computational Complexity Databases

Abstract

We prove a complexity dichotomy for the resilience problem for unions of conjunctive digraph queries (i.e., for existential positive sentences over the signature {R}\{R\} of directed graphs). Specifically, for every union μ\mu of conjunctive digraph queries, the following problem is in P or NP-complete: given a directed multigraph GG and a natural number uu, can we remove uu edges from GG so that G¬μG \models \neg \mu? In fact, we verify a more general dichotomy conjecture from (Bodirsky et al., 2024) for all resilience problems in the special case of directed graphs, and show that for such unions of queries μ\mu there exists a countably infinite ('dual') valued structure Δμ\Delta_\mu which either primitively positively constructs 1-in-3-3-SAT, and hence the resilience problem for μ\mu is NP-complete by general principles, or has a pseudo cyclic canonical fractional polymorphism, and the resilience problem for μ\mu is in P.

Keywords

Cite

@article{arxiv.2601.05346,
  title  = {The Complexity of Resilience for Digraph Queries},
  author = {Manuel Bodirsky and Žaneta Semanišinová},
  journal= {arXiv preprint arXiv:2601.05346},
  year   = {2026}
}
R2 v1 2026-07-01T08:56:57.827Z