Abstract
In this paper, we deal with the problem of verifying local stratifiability of logic programs and databases presented by Przymusinski. The notion of dependency graphs is generalized from representing the priority relation between predicate symbols to representing the priority between atoms. Necessary and sufficient conditions for the local stratifiability of logic programs are presented and algorithms for performing the verification are developed. Finally, we prove that a database DB containing clauses with disjunctive consequents can easily be converted into a logic program P such that DB is locally stratified iff P is locally stratified.
Similar content being viewed by others
References
Apt, K. R., Blair, H. A. and Walker, A., “Towards a Theory of Declarative Knowledge,” inFoundations of Deductive Databases and Logic Programming (J. Minker, ed.), Morgan Kaufmann Publishers, Los Altos, CA, pp. 89–148, 1988.
Clark, K. L., “Negation as Failure,” inLogic and Databases (H. Gallaire and J. Minker, eds.), Plenum, New York, pp. 293–322, 1978.
Lifschitz, V., “On the Declarative Semantics of Logic Programs with Negation,” inFoundations of Deductive Databases and Logic Programming (J. Minker, ed.), Morgan Kaufmann Publishers, Los Altos, CA, pp. 177–192, 1988.
Lloyd, J. W.,Foundations of Logic Programming, Springer-Verlag, 1984.
Loveland, D. B.,Automated Theorem Proving: A Logic Basis, North-Holland, 1978.
McCarthy, J., “Applications of Circumscription to Formalizing Common Sense Knowledge,”Artificial Intelligence, 28, 1, pp. 89–116, 1986.
Minker, J. (ed.),Foundations of Deductive Databases and Logic Programming, Morgan Kaufmann Publishers, Los Altos, CA, 1988.
Przymusinski, T., “On the Declarative Semantics of Deductive Databases and Logic Programs,” inFoundations of Deductive Databases and Logic Programming (J. Minker, ed.), Morgan Kaufmann Publishers, Los Altos, CA, pp. 193–216, 1988.
Van Gelder, A., “Negation as Failure Using Tight Derivations for General Logic Programs,” inFoundations of Deductive Databases and Logic Programming (J. Minker, ed.), Morgan Kaufmann Publishers, Los Altos, CA pp. 149–176, 1988.
Author information
Authors and Affiliations
Additional information
Yi-Dong Shen, Dr.: Department of Computer Science, Chongqing University, Chongqing, 630044, P.R. China (Present Address) c/o Ping Ran, Department of Heat Power Engineering, Chongqing UniversityResearch interests: Artificial Intelligence, Deductive Databases, Logic Programming, Non-Monotonic Reasoning, Parallel Processing
About this article
Cite this article
Shen, YD. Verifying local stratifiability of logic programs and databases. New Gener Comput 11, 23–46 (1992). https://doi.org/10.1007/BF03037526
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF03037526