Abstract
Non-deterministic computation is not really computation, but the difference with real computation is blurred. We study in detail various levels of non-determinism in computations on non-deterministic Turing machines with polynomial bounds on the resources. Meanwhile, we consider numerous query languages, implicit logic, choice logic, order invariant logic, and restrictions of second-order logic, and establish correspondences between all these formalisms for both deterministic and non-deterministic queries. To the degrees of non-determinism in the computations, correspond levels of non-determinism in the logical definitions. Our main contribution is to characterize various complexity classes between PTIME and PSPACE, by several logical means, thus translating open questions in complexity theory to open questions in logic related to the use of the non-determinism.
Similar content being viewed by others
References
S. Abiteboul, R. Hull and V. Vianu, Foundations of Databases (Addison-Wesley, 1994).
S. Abiteboul, E. Simon and V. Vianu, Non-deterministic languages to express deterministic transformations, in: Proc. 9th ACM Symp. on Principles of Database Systems (1990).
S. Abiteboul and V. Vianu, Fixpoint extensions of first-order logic and DATALOG like languages, in: Proc. 4th Symp. on Logic in Computer Science (1989) pp. 71–79.
S. Abiteboul and V. Vianu, Generic computation and its complexity, in: Proc. ACM Symp. on Theory of Computing, New Orleans (May 1991).
S. Abiteboul and V. Vianu, Non-determinism in logic-based languages, Ann. of Math. and AI 3 (1991) 151–186.
E.W. Beth, On Padoa's method in the theory of definition, Indag. Math. 15 (1953) 330–339.
A. Blass and Y. Gurevich, On the unique satisfiability problem, Information and Control 55 (1982) 80–88.
P. Van Emde Boas, Machine models and simulations, in: Handbook of Theorical Computer Science, Vol. A, ed. J. Van Leeuwen (North-Holland, 1990) p. 1–66.
A. Chandra and D. Harel, Computable queries for relational databases, Journal of Computer and System Sciences 21(2) (Oct. 1980) 156–178.
A. Chandra and D. Harel, Structure and complexity of relational queries, Journal of Computer and System Sciences 25(1) (Aug. 1982) 99–128.
A. Dawar, L. Hella and P. Kolaitis, Implicit definability and infinitary logic in finite model theory, in: Proc. 22nd International Colloquium on Automata, Languages and Programming — ICALP '95 (1995).
A. Ehrenfeucht, An application of games to the completeness problem for formalized theories, Fund. Math. 49 (1961).
R. Fagin, Generalized first-order spectra and polynomial-time recognizable sets, Complexity of Computations, SIAM-AMS Proceedings 7 (1974) pp. 43–73.
R. Fagin, Probabilities on finite models, Journal of Symbolic Logic 41(1) (1976) 50–58.
R. Fagin, Finite model theory — a personal perspective, Theoretical Computer Science 116 (1993) 3–31.
R. Fraïssé, Sur les classifications des systèmes de relations, Publ. Sci. Univ Alger. I(1) (1954) 35–182.
M. Garey and D. Johnson, Computers and Intractability. A Guide to the Theory of NP-Completeness (Freeman, 1979).
S. Grumbach, Z. Lacroix and S. Lindell, Implicit definitions on finite structures, in: Computer Science Logic (Paderborn, 1995).
F. Giannotti, D. Pedreschi, D. Saccà and C. Zaniolo, Non-determinsm in deductive databases, in: Proc. 2nd DOOD Conference (1991) pp. 129–146.
Y. Gurevich and S. Shelah, Fixed-point extensions of first-order logic, in: Proc IEEE Foundations of Computer Science (1985).
J. Grollmann and S. Selman, Complexity measures for public-key cryptosystems, SIAM J. Computing 17 (1988) 309–335.
S. Greco, D. Saccà and C. Zaniolo, DATALOG queries with stratified negation and choice: from p to dp, in: Proc. Int. Conf. on Database Theory, eds. G. Gottlob and M. Vardi, Springer LNCS 893 (Prague, 1995) pp. 82–96.
Y. Gurevich, Towards logic tailored for computational complexity, in: Computation and Proof Theory, eds. M. Richter et al., Lecture Notes in Mathematics 1104 (1984) pp. 175–216.
Y. Gurevich, Logic and the challenge of computer science, in: Current Trends in Theoretical Computer Science, ed. E. Borger (Computer Science Press, 1988) pp. 1–57.
J. Hartamis and L.A. Hemachandra, Complexity classes without machines: on complete languages for up, Theoretical Computer Science 58 (1988) 129–142.
T. Imielinski and W. Lipski, Incomplete information in relational databases, J. ACM 31(4) (1984) 761–791.
N. Immerman, Relational queries computable in polynomial time, Inf. and Control 68 (1986) 86–104.
D.S. Johnson, A catalog of complexity classes, in: Handbook of Theorical Computer Science, Vol. A, ed. J. Van Leeuwen (North-Holland, 1990) pp. 67–162.
P. Kanellakis, Elements of relational database theory, in: Handbook of Theorical Computer Science, Vol. B, ed. J. Van Leeuwen (North-Holland, 1990) pp. 1073–1156.
P. Kolaitis, Implicit definability on finite structures and unambiguous computations, in: Proc. 5th Symp. of Logic in Computer Science (1990).
R. Karp and V. Ramachandran, Parallel algorithms for shared memory machines, in: Handbook of Theorical Computer Science, Vol. A, ed. J. Van Leeuwen (North-Holland, 1990) pp. 869–941.
Z. Lacroix, Bases de Données: des Relations Implicites aux Relations Contraintes, Ph.D. Thesis, Université Paris-Sud (1996).
C.H. Papadimitriou and M. Yannakakis, The complexity of facets (and some facets of complexity), in: Proc. of the 14th Annual ACM Symposium on Theory of Computing, San Francisco (1982).
C.H. Papadimitriou and M. Yannakakis, The complexity of facets (and some facets of complexity), Journal of Computer and System Sciences 28 (1984) 244–259.
A.L. Selman, A taxonomy of complexity classes of functions, Journal of Computer and System Sciences 48 (1994) 357–381.
D. Saccà and C. Zaniolo, Stable models and non-determinism in logic programs with negation, in: Proc. 9th ACM Symp. on Principles of Database Systems (1990) pp. 205–217.
B.A. Trakhtenbrot, Impossibility of an algorithm for the decision problem in finite classes, Doklady Akademii Nauk SSSR 70 (1950) 569–572.
L. Valiant, Relative complexity of checking and evaluating, Information Processing 5 (1976) 20–23.
M. Vardi, The complexity of relational query languages, in: Proc. 14th ACM Symp. on Theory of Computing (1982) pp. 137–146.
Rights and permissions
About this article
Cite this article
Grumbach, S., Lacroix, Z. On non-determinism in machines and languages. Annals of Mathematics and Artificial Intelligence 19, 169–213 (1997). https://doi.org/10.1023/A:1018955722107
Issue Date:
DOI: https://doi.org/10.1023/A:1018955722107