Abstract
DATALOG is the language of logic programs without function symbols. It is considered to be the paradigmatic database query language. If it is possible to eliminate the recursion from the program then it is uniformly bounded. We show that the uniform boundedness is undecidable for ternary DATALOG programs containing only one recursive rule, and for linear programs of arity 3. The proof is based on the discovery of, how we call it, Achilles-Turtle machine. It computes the subsequent iterations of a Conway function and is, up to our knowledge, the simplest known universal machine.
The three Frenchmen are Philippe Devienne, Patrick Lebègue and Jean-Christophe Routier. They encoded Conway functions to prove undecidability of the cycle unification problem ([DLR93],[DLR93a]) turning a toy into a powerful tool. My codification of Conway functions is different, but I still feel that this paper would not have been written without their previous work. I also thank Philippe Devienne and Jean-Christophe Routier for helpful discussion.
The paper has been written while the author was visiting Laboratoire d'Informatique Fondamentale in Lille, being supported by CNRS and the University of Lille.
Partly supported by Polish KBN grant 8S 503 022 07.
Preview
Unable to display preview. Download preview PDF.
References
S. Abiteboul, Boundedness is Undecidable for Daialog Programs with a Single Recursive Rule, Information Processing Letters 32 (1989) pp. 281–287.
M. Ajtai, Y. Gurevich, DATALOG versus First Order Logic, Proc. of 30th FOCS, 1989.
J.H. Conway, Unpredictable Iterations, Proceedings of 1972 Number Theory Conference, University of Colorado, pp. 49–52, 1972.
S.S. Cosmadakis, P. C. Kanellakis, Parallel evaluation of recursive rule queries, Proc. of 5th ACM PODS, ACM, New York, 1986, pp 280–293.
S.S. Cosmadakis, H. Gaifman, P. C. Kanellakis, M.Y. Vardi, Decidable Optimization Problems for Database Logic Programs, Proceedings of 20th ACM STOC (1988) pp. 477–490.
P. Devienne, P. Lebègue, J.C. Routier, Halting Problem of One Binary Recursive Horn Clause is Undecidable, Proc. of STACS'93, Springer 1993.
P. Devienne, P. Lebègue, J.C. Routier, The Emptiness Problem of One Binary Recursive Horn Clause is Undecidable, Proc. of ILPS'93, MIT 93.
H. Gaifman, H. G. Mairson, Y. Sagiv, M.Y. Vardi, Undecidable Optimization Problems for Database Logic Programs, Journal of the ACM, vol 40, no 3, July 1993, pp. 683–713.
I. Guessarian, Deciding Boundedness for Uniformly Connected Datalog Programs ICDT 1990, (Springer, LNCS 470, pp 395–405).
G.G. Hillebrand, P. C. Kanellakis, H. G. Mairson, M.Y. Vardi, Undecidable Boundedness Problems for Datalog Programs, Proc. of 10th PODS, 1991.
P.C. Kanellakis Elements of Relational Database Theory in Handbook of Theoretical Computer Science, vol B, J. van Leeuven ed. North-Holland 1990.
P.C. Kanellakis Logic Programming and Parallel Complexity, in: J. Minker ed., Foundations of Deductive Databases and Logic Programming (Morgan Kaufman 1988, pp 547–586)
J.C. Lagarias, The 3x+1 problem and its generalizations, Amer. Math. Monthly 92, 1985.
Ke Wang, Some Positive Results for Boundedness of Multiple Recursive Rules, 95 International Conference on Database Theory, 1995
M.Y. Vardi, Decidability and undecidability results for boundedness of linear recursive queries, Proc. of 8th PODS, ACM 1988, pp 341–351.
Zeno of Elea, Achilles will never catch the Turtle, private comm. 467 BC.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1996 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Marcinkowski, J. (1996). The 3 Frenchmen method proves undecidability of the uniform boundedness for single recursive rule ternary DATALOG Programs. In: Puech, C., Reischuk, R. (eds) STACS 96. STACS 1996. Lecture Notes in Computer Science, vol 1046. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-60922-9_35
Download citation
DOI: https://doi.org/10.1007/3-540-60922-9_35
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-60922-3
Online ISBN: 978-3-540-49723-3
eBook Packages: Springer Book Archive