Achilles, turtle, and undecidable boundedness problems for small DATALOG programs

被引:11
作者
Marcinkowski, J [1 ]
机构
[1] Univ Wroclaw, Inst Comp Sci, PL-51151 Wroclaw, Poland
关键词
DATALOG; query optimization; decidability;
D O I
10.1137/S0097539797322140
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 recursion from a DATALOG program then it is bounded. Since bounded programs can be executed in parallel constant time, the possibility of automatized boundedness detecting is believed to be an important issue and has been studied in many papers. Boundedness was proved to be undecidable for different kinds of semantical assumptions and syntactical restrictions. Many different proof techniques were used. In this paper we propose a uniform proof method based on the discovery of, as we call it, the Achilles-Turtle machine, and make strong improvements on most of the known undecidability results. In particular we solve the famous open problem of Kanellakis showing that uniform boundedness is undecidable for single rule programs (called also sirups). This paper is the full version of [J. Marcinkowski, Proc. 13th STACS, Lecture Notes in Computer Science 1046, pp. 427-438], and [J. Marcinkowski, 11th IEEE Symposium on Logic in Computer Science, pp. 13-24].
引用
收藏
页码:231 / 257
页数:27
相关论文
共 24 条
[1]   BOUNDEDNESS IS UNDECIDABLE FOR DATALOG PROGRAMS WITH A SINGLE RECURSIVE RULE [J].
ABITEBOUL, S .
INFORMATION PROCESSING LETTERS, 1989, 32 (06) :281-287
[2]  
AJTAI M, 1989, P 30 FOCS
[3]  
[Anonymous], FDN DEDUCTIVE DATABA
[4]  
CONWAY JH, 1972, P 1972 NUMB THEOR C, P49
[5]  
Cosmadakis S. S., 1988, Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing, P477, DOI 10.1145/62212.62259
[6]  
Cosmadakis S. S., 1986, PODS, P280
[7]  
DEVIENNE P, 1993, P STACS 93
[8]   UNDECIDABLE OPTIMIZATION PROBLEMS FOR DATABASE LOGIC PROGRAMS [J].
GAIFMAN, H ;
MAIRSON, H ;
SAGIV, Y ;
VARDI, MY .
JOURNAL OF THE ACM, 1993, 40 (03) :683-713
[9]  
HILLEBRAND GG, 1991, P 10 PODS
[10]  
IOANIDIS YE, P 85 VLDB