Complexity of Two-Variable Dependence Logic and IF-Logic

Juha Kontinen, Antti Kuusisto, Peter Lohmann, Jonni Virtema

Abstract

This paper investigates the decidability and complexity of two-variable fragments of logics enriched with dependency and independence features. While first-order logic (FO) is undecidable, its two-variable fragment ($FO^2$) is a well-known decidable subset. This research explores whether this decidability persists when adding "dependence" (Dependence Logic, $D$) or "independence" (Independence-Friendly Logic, $IF$) features. We demonstrate a sharp decidability barrier: the two-variable fragment of dependence logic ($D^2$) remains decidable (NEXPTIME-complete), whereas the two-variable fragment of independence-friendly logic ($IF^2$) is undecidable.

Introduction

In the field of mathematical logic and computer science, identifying decidable fragments of powerful logics is a primary goal. First-order logic (FO) is famously undecidable, but restricting the number of variables often yields decidable subsets. $FO^2$, the fragment of FO using only two variables, is a notable "sweet spot" that remains decidable even with the inclusion of equality.

However, modern applications often require expressing complex dependencies between variables, such as those found in game-theoretic semantics. Two primary frameworks for this are Dependence Logic (D) and Independence-Friendly Logic (IF). In their full forms, both are equivalent in power to existential second-order logic (ESO). This paper examines the complexity of these logics when restricted to the two-variable limit.

Methodology

The authors employ several theoretical techniques to map the landscape of these logics:

  • Logical Translations: Effective translations are developed to compare expressivity. It is shown that $D^2$ can be embedded into $IF^2$, which in turn can be embedded into $D^3$.
  • Tiling Reductions: To establish the undecidability of $IF^2$, the authors reduce the "Domino Problem" (tiling an infinite grid) to the satisfiability problem of $IF^2$. This involves constructing formulas that force models to behave like infinite grids.
  • Complexity Reduction for $D^2$: The decidability of $D^2$ is proven by reducing its satisfiability problem to that of $FOC^2$ (two-variable logic with counting quantifiers), a logic already known to be NEXPTIME-complete.

Key Results and the Decidability Barrier

The central finding is the existence of a "decidability barrier" between $D^2$ and $IF^2$. Despite their similarities in full form, their two-variable fragments behave very differently.

Table 1: Complexity of SAT and FinSAT for various logic fragments, highlighting the gap between $D^2$ and $IF^2$.

As shown in the table above, $D^2$ maintains the same complexity as $FO^2$ with counting quantifiers (NEXPTIME-complete). In contrast, $IF^2$ is powerful enough to describe infinite structures, leading to undecidability ($\Pi^0_1$-complete for SAT and $\Sigma^0_1$-complete for FinSAT).

Expressivity Hierarchy

The research establishes a clear hierarchy of expressivity: $D^2 < IF^2 \leq D^3$. While $D^2$ is weaker than $IF^2$, it is still more expressive than standard FO, capable of expressing properties like domain infinity (given a constant symbol) and cardinality comparisons.

Discussion and Future Work

The results highlight the non-classical behavior of these logics, particularly their departure from the law of excluded middle due to the "team semantics" framework. This framework defines truth over sets of assignments rather than single ones, which is essential for modeling imperfect information.

Future research directions include:

  • Determining the complexity of the validity problem for $D^2$ and $IF^2$, which remains open.
  • Identifying specific sub-problems that might fall into lower complexity classes like NP-complete for practical applications in database theory.
  • Refining the vocabulary constraints required for certain expressivity results in $D^2$.

Summary updated

BibTeX
@article{kontinen2014complexity,
  author = {Juha Kontinen and Antti Kuusisto and Peter Lohmann and Jonni Virtema},
  title = {{Complexity of Two-Variable Dependence Logic and IF-Logic}},
  journal = {Inf. Comput.},
  year = {2014},
  doi = {10.1016/j.ic.2014.08.004},
}
Figure