|
ABSTRACT
Datalog programs, i.e., Prolog programs without function symbols, are considered It is assumed that a variable appearing in the head of a rule must also appear in the body of the rule. The input of a program is a set of ground atoms (which are given in addition to the program's rules) and, therefore, can be viewed as an assignment of relations to some of the program's predicates. Two programs are equivalent if they produce the same result for all possible assignments of relations to the extensional predicates (i.e., the predicates that do not appear as heads of rules). Two programs are uniformly equivalent if they produce the same result for all possible assignments of initial relations to all the predicates (i.e., both extensional and intentional). The equivalence problem for Datalog programs is known to be undecidable. It is shown that uniform equivalence is decidable, and an algorithm is given for minimizing a Datalog program under uniform equivalence. A technique for removing parts of a program that are redundant under equivalence (but not under uniform equivalence) is developed. A procedure for testing uniform equivalence is also developed for the case in which the database satisfies some constraints.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
A V Aho, Y Saglv, and J D Ullman {1979} "Eqmvalences among relational (,xprcsslons," SIAM J Computing, 8:2, pp 218-246
|
| |
2
|
|
 |
3
|
Francois Bancilhon , David Maier , Yehoshua Sagiv , Jeffrey D Ullman, Magic sets and other strange ways to implement logic programs (extended abstract), Proceedings of the fifth ACM SIGACT-SIGMOD symposium on Principles of database systems, p.1-15, March 24-26, 1986, Cambridge, Massachusetts, United States
[doi> 10.1145/6012.15399]
|
 |
4
|
|
 |
5
|
|
| |
6
|
U S Chakravarthy, J Mlnker, and J Grant {1986} "Semantic Query Optlmlzatmn Addltmnal Constraants and Control Strategies," Proc First Int Conf on Expert Database Systems, April 1-4, Charleston, S C, pp 259-269
|
 |
7
|
|
 |
8
|
|
 |
9
|
|
| |
10
|
|
| |
11
|
H Gaffman {1986} Private commumcatmn
|
| |
12
|
|
 |
13
|
|
| |
14
|
|
| |
15
|
|
 |
16
|
|
 |
17
|
|
| |
18
|
|
 |
19
|
|
| |
20
|
D McKay and S Shapiro {1981} "Using active connection graphs for reasoning wlth recurmve rules," Proc 7th IJCAL pp 368- 374
|
| |
21
|
S A Naqvl {1986} "A logic for negation m database systems," Preprmts of Workshop on Founda~lons of Deduc~lve Databases and Logic Programming, (:I Mmker, ed ), August 18--22, Washington, D C, pp 378- 387
|
| |
22
|
J F Naughton {1986} "Redundancy m functmn-free recurmve rules," Proc 1986 Syrup on Logic Progrm'nmmg, September 22-25, Salt Lake C~ty, pp 236-245
|
| |
23
|
Rohmer and R Lescoeur {1985} "The Alexander Method A Technique fol the Processing of Recurmve Axioms an Deductive Databases," Bull Internal Repol t
|
 |
24
|
|
 |
25
|
|
| |
26
|
O Shmueh {1986} "Decldablhty and expressiveness aspects of logic querms," unpublished manuscript, Computer Scmnce Dept, Techmon - Israel Institute of Tcchllolog, b, Haafa 32000, Israel
|
 |
27
|
|
 |
28
|
|
 |
29
|
|
| |
30
|
A Van Gelder {1986b} "Ncgatmn ,l~ failure using tlght derlvatmns fol gener.i1 logic programs," Proc 1986 Syrup cm Logl~ Programming, September 22-25, Salt L,~k~' CaW, pp 127-138
|
| |
31
|
M Yannakak~s and C H Pap~d~m~t~ou
|
| |
1982
|
"Algebrmc dependencies," J Cornput Syst Sc~ , 25, pp 2-41
|
CITED BY 29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
R. Ramakrishnan , Y. Sagiv , J. D. Ullman , M. Y Vardi, Proof-tree transformation theorems and their applications, Proceedings of the eighth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.172-181, March 1989, Philadelphia, Pennsylvania, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Serge Abiteboul , Eric Simon , Victor Vianu, Non-deterministic languages to express deterministic transformations, Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.218-229, April 02-04, 1990, Nashville, Tennessee, United States
|
|
|
|
|
|
C. Beeri , P. Kanellakis , F. Bancilhon , R. Ramakrishnan, Bounds on the propagation of selection into logic programs, Proceedings of the sixth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.214-226, March 23-25, 1987, San Diego, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|