English

Disjunctions of Two Dependence Atoms

Logic in Computer Science 2025-08-25 v1 Databases

Abstract

Dependence logic is a formalism that augments the syntax of first-order logic with dependence atoms asserting that the value of a variable is determined by the values of some other variables, i.e., dependence atoms express functional dependencies in relational databases. On finite structures, dependence logic captures NP, hence there are sentences of dependence logic whose model-checking problem is NP-complete. In fact, it is known that there are disjunctions of three dependence atoms whose model-checking problem is NP-complete. Motivated from considerations in database theory, we study the model-checking problem for disjunctions of two unary dependence atoms and establish a trichotomy theorem, namely, for every such formula, one of the following is true for the model-checking problem: (i) it is NL-complete; (ii) it is LOGSPACE-complete; (iii) it is first-order definable (hence, in AC[0]). Furthermore, we classify the complexity of the model-checking problem for disjunctions of two arbitrary dependence atoms, and also characterize when such a disjunction is coherent, i.e., when it satisfies a certain small-model property. Along the way, we identify a new class of 2CNF-formulas whose satisfiability problem is LOGSPACE-complete.

Keywords

Cite

@article{arxiv.2508.16146,
  title  = {Disjunctions of Two Dependence Atoms},
  author = {Nicolas Fröhlich and Phokion G. Kolaitis and Arne Meier},
  journal= {arXiv preprint arXiv:2508.16146},
  year   = {2025}
}
R2 v1 2026-07-01T05:01:16.206Z