The complexity of first-order and monadic second-order logic revisited

M. Frick1, M. Grohe1
1Division of Informatics, University of Edinburgh, Edinburgh, UK

Tóm tắt

The model-checking problem for a logic L on a class C of structures asks whether a given L-sentence holds in a given structure in C. In this paper, we give super-exponential lower bounds for fixed-parameter tractable model-checking problems for first-order and monadic second-order logic. We show that unless PTIME=NP, the model-checking problem for monadic second-order logic on finite words is not solvable in time f(k)/spl middot/p(n), for any elementary function f and any polynomial p. Here k denotes the size of the input sentence and n the size of the input word. We prove the same result for first-order logic under a stronger complexity theoretic assumption from parameterized complexity theory. Furthermore, we prove that the model-checking problems for first-order logic on structures of degree 2 and of bounded degree d/spl ges/3 are not solvable in time 2(2/sup o(k)/)/spl middot/p(n) (for degree 2) and 2(2/sup 2o(k)/)/spl middot/p(n) (for degree d), for any polynomial p, again under an assumption from parameterized complexity theory. We match these lower bounds by corresponding upper bounds.

Từ khóa

#Logic #Complexity theory #Polynomials #Databases #Computer science #Informatics #Upper bound #Artificial intelligence #State-space methods

Tài liệu tham khảo

vardi, 1982, The complexity of relational query languages, Proceedings of the 14th ACM Symposium on Theory of Computing, 137 stockmeyer, 1974, The Complexity of Decision Problems in Automata Theory 10.1145/800125.804029 10.1145/318593.318622 seese, 1996, Linear time computable problems and first-order descriptions, Mathematical Structures in Computer Science, 6, 505, 10.1017/S0960129500070079 kamp, 1968, Tense logic and the theory of linear order 10.1145/343369.343376 10.1016/B978-0-444-88074-1.50010-X 10.1002/malq.19600060105 10.1016/0168-0072(94)00034-Z hanf, 1965, Model-theoretic methods in the study of elementary logic, Model Theory, 132 downey, 1999, Parameterized Complexity, 10.1007/978-1-4612-0515-9 10.1016/0304-3975(94)00097-3 10.1137/S0097539792228228 cutland, 1980, Computability, 10.1017/CBO9781139171496 10.1145/504794.504798 10.1007/978-1-4757-2355-7