On the Decision Problem for Two-Variable First-Order Logic

Erich Grädel, Phokion G. Kolaitis, Moshe Y. Vardi

Bulletin of Symbolic Logic · 1997 · 324 citations · 36 references

Concepts

TL;DR

The FO 2 fragment is decidable, but its decision problem’s complexity was unknown, and Mortimer’s finite‑model property guarantees a model of at most doubly exponential size. We aim to tighten Mortimer’s bound and determine the exact complexity of FO 2 satisfiability. We show that every satisfiable FO 2 sentence has a model of size at most exponential in the sentence length, improving the previous doubly exponential bound. Consequently, the FO 2 satisfiability problem is NEXPTIME‑complete.

Abstract

Abstract We identify the computational complexity of the satisfiability problem for FO 2 , the fragment of first-order logic consisting of all relational first-order sentences with at most two distinct variables. Although this fragment was shown to be decidable a long time ago, the computational complexity of its decision problem has not been pinpointed so far. In 1975 Mortimer proved that FO 2 has the finite-model property , which means that if an FO 2 -sentence is satisiable, then it has a finite model. Moreover, Mortimer showed that every satisfiable FO 2 -sentence has a model whose size is at most doubly exponential in the size of the sentence. In this paper, we improve Mortimer's bound by one exponential and show that every satisfiable FO 2 -sentence has a model whose size is at most exponential in the size of the sentence. As a consequence, we establish that the satisfiability problem for FO 2 is NEXPTIME-complete.

References

36