Copyright © 2002 Elsevier Science (USA). All rights reserved.
Regular Article
First-Order Logic with Two Variables and Unary Temporal Logic*1
Kousha Etessamia, 2, Moshe Y. Vardib, 3 and Thomas Wilkec
Received 23 February 1998.
Abstract
We investigate the power of first-order logic with only two variables over ω-words and finite words, a logic denoted by FO2. We prove that FO2 can express precisely the same properties as linear temporal logic with only the unary temporal operators: “next,” “previously,” “sometime in the future,” and “sometime in the past,” a logic we denote by unary-TL Moreover, our translation from FO2 to unary-TL converts every FO2 formula to an equivalent unary-TL formula that is at most exponentially larger and whose operator depth is at most twice the quantifier depth of the first-order formula. We show that this translation is essentially optimal. While satisfiability for full linear temporal logic, as well as for unary-TL, is known to be PSPACE-complete, we prove that satisfiability for FO2 is NEXP-complete, in sharp contrast to the fact that satisfiability for FO3 has nonelementary computational complexity. Our NEXP upper bound for FO2 satisfiability has the advantage of being in terms of the quantifier depth of the input formula. It is obtained using a small model property for FO2 of independent interest, namely, a satisfiable FO2 formula has a model whose size is at most exponential in the quantifier depth of the formula. Using our translation from FO2 to unary-TL we derive this small model property from a corresponding small model property for unary-TL. Our proof of the small model property for unary-TL is based on an analysis of unary-TL types.
References
1. K. Etessami and Th. Wilke , An until hierarchy for temporal logic. 11th Annual IEEE Symposium on Logic in Computer Science, New Brunswick, New Jersey (1996) p. 108–117 .
2. M. Fürer , The computational complexity of the unconstrained domino problem (with implications for logical decision problems). Logic and Machines: Decision Problems and Complexity, Springer-Verlag, Berlin (1984) p. 312–319 .
3. D. M. Gabbay, I. Hodkinson and M. Reynolds Temporal Logic, Clarendon Press, Oxford (1994).
4. D. M. Gabbay, A. Pnueli, S. Shelah and J. Stavi , On the temporal analysis of fairness. Conference Record of the 7th Annual ACM Symposium on Principles of Programming Languages, Las Vegas, NV (1980) p. 163–173 .
5. E. Grädel, Ph. G. Kolaitis and M. Y. Vardi , On the decision problem for two-variable first-order logic. Bull. Assoc. Symbolic Logic 3 (1997), pp. 53–69. View Record in Scopus | Cited By in Scopus (42)
6. N. Immerman and D. Kozen , Definability with bounded number of bound variables. Inform. and Comput. 83 (1989), pp. 121–139. Abstract | Article |
PDF (1029 K)
| View Record in Scopus | Cited By in Scopus (18)
7. J. A. W. Kamp Tense Logic and the Theory of Linear Order, University of California, Los Angeles (1968).
8. H. R. Lewis , Complexity results for classes of quantificational formulas. J. Comput. System Sci. 21 (1980), pp. 317–353. Abstract | Article |
PDF (2125 K)
| View Record in Scopus | Cited By in Scopus (19)
9. Z. Manna and A. Pnueli The Temporal Logic of Reactive and Concurrent Systems, Springer-Verlag, Berlin/New York (1992).
10. M. Mortimer , On languages with two variables. Z. Math. Logik Grundlag. Math. 21 (1975), pp. 135–140.
11. A. Pnueli , The temporal logic of programs. Proceedings of the 18th Annual Symposium on Foundations of Computer Science, Providence, RI (1977) p. 46–57 .
12. Sistla, A. P., and Clarke, E. M.The complexity of propositional linear temporal logics, J. Assoc. Comput. Mach.32, 733–749.
13. L. J. Stockmeyer The Complexity of Decision Problems in Automata Theory and Logic, MITDepartment of Electrical Engineering (1974).
14. D. Thérien and Th. Wilke , Over words, two variables are as powerful as one quantifier alternation: FO2=Σ2∩Π2. Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing (STOC), Dallas, Texas (1998) p. 41–47 .
15. M. Y. Vardi and P. Wolper , An automata-theoretic approach to automatic program verification. Proceedings of the First Annual IEEE Symposium on Logic in Computer Science, Cambridge, MA (1986) p. 322–331 .
*1 Part of the research reported here was conducted while the authors were visiting DIMACS as part of the Special Year on Logic and Algorithms. A preliminary version of this paper appeared in the Proceedings of the 12th IEEE Symposium on Logic in Computer Science, 1997.
2 Part of this research conducted while this author was at Basic Research in Computer Science (BRICS), Centre of the Danish National Research Foundation. The research was supported by the ESPRIT Long Term Research Programme of the EU under Project 20244 (ALCOM-IT).
3 Work done as a visitor to DIMACS as part of the DIMACS Special Year on Logic and Algorithms and supported in part by NSF Grants CCR-9628400 and CCR-9700061.
f1 kousha@research.bell-labs.com
f2 vardi@cs.rice.edu
f3 wilke@informatik.rwth-aachen.de







E-mail Article
Add to my Quick Links

Cited By in Scopus (22)



