skip to main content
article

Semantical characterizations and complexity of equivalences in answer set programming

Published:01 July 2007Publication History
Skip Abstract Section

Abstract

In recent research on nonmonotonic logic programming, repeatedly strong equivalence of logic programs P and Q has been considered, which holds if the programs PR and QR have the same answer sets for any other program R. This property strengthens the equivalence of P and Q with respect to answer sets (which is the particular case for R=∅), and has its applications in program optimization, verification, and modular logic programming. In this article, we consider more liberal notions of strong equivalence, in which the actual form of R may be syntactically restricted. On the one hand, we consider uniform equivalence where R is a set of facts, rather than a set of rules. This notion, which is well-known in the area of deductive databases, is particularly useful for assessing whether programs P and Q are equivalent as components of a logic program which is modularly structured. On the other hand, we consider relativized notions of equivalence where R ranges over rules over a fixed alphabet, and thus generalize our results to relativized notions of strong and uniform equivalence. For all these notions, we consider disjunctive logic programs in the propositional (ground) case as well as some restricted classes, providing semantical characterizations and analyzing the computational complexity. Our results, which naturally extend to answer set semantics for programs with strong negation, complement the results on strong equivalence of logic programs and pave the way for optimizations in answer set solvers as a tool for input-based problem solving.

Skip Supplemental Material Section

Supplemental Material

References

  1. Alferes, J. J., Leite, J. A., Pereira, L. M., Przymusinska, H., and Przymusinski, T. C. 2000. Dynamic updates of non-monotonic knowledge bases. J. Logic Program. 45, 1-3, 43--70.Google ScholarGoogle ScholarCross RefCross Ref
  2. Anger, C., Konczak, K., and Linke, T. 2001. NoMoRe: A system for non-monotonic reasoning. In Proceedings of the 6th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), T. Eiter et al., Eds. vol. 2173. Springer Verlag, 406--410. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Barrington, D., Immerman, N., and Straubing, H. 1990. On uniformity within NC1. J. Comput. Syst. Sci. 41, 274--306. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Ben-Eliyahu, R. and Dechter, R. 1994. Propositional semantics for disjunctive logic programs. Annals Math. Artif. Intell. 12, 53--87.Google ScholarGoogle ScholarCross RefCross Ref
  5. Buntine, W. 1988. Generalised subsumption and its applications to induction and redundancy. Artif. Intell. 36, 2, 149--176. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Buss, S. 1987. The Boolean formula value problem is in ALOGTIME. In Proceedings of the 19th Annual ACM Symposium on Theory of Computing. 123--131. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Cabalar, P. 2002. A three-valued characterization for strong equivalence of logic programs. In Proceedings of the 18th National Conference on Artificial Intelligence (AAAI). AAAI Press/MIT Press, Cambridge, MA, 106--111. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Cadoli, M. and Lenzerini, M. 1994. The complexity of propositional closed world reasoning and circumscription. J. Comput. Syst. Sci. 48, 2, 255--310. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Chaudhuri, S. and Vardi, M. Y. 1992. On the equivalence of recursive and nonrecursive datalog programs. In Proceedings of the 11th ACM SIGACT-SIGMOD Symposium on Principles of Database Systems (PODS). ACM Press, New York, 55--66. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Cosmadakis, S. and Kanellakis, P. 1986. Parallel evaluation of recursive rule queries. In Proceedings of the 5th ACM SIGACT-SIGMOD Symposium on Principles of Database Systems (PODS). ACM Press, New York, 280--293. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. de Jongh, D. and Hendriks, L. 2003. Characterizations of strongly equivalent logic programs in intermediate logics. Theory Pract. Logic Program. 3, 3, 259--270. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Dimopoulos, Y., Nebel, B., and Koehler, J. 1997. Encoding planning problems in nonmonotonic logic programs. In Proceedings of the European Conference on Planning (ECP), S. Steel and R. Alami, Eds. Lecture Notes in Computer Science, vol. 1348. Springer Verlag, 169--181. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Eiter, T., Faber, W., Leone, N., Pfeifer, G., and Polleres, A. 2003. A logic programming approach to knowledge-state planning, II: The small DLVK system. Artif. Intell. 144, 1-2, 157--211. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Eiter, T., Faber, W., Leone, N., Pfeifer, G., and Polleres, A. 2004. A logic programming approach to knowledge-state planning: Semantics and complexity. ACM Trans. Comput. Logic 5, 2, 206--263. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Eiter, T. and Fink, M. 2003a. Uniform equivalence of logic programs under the stable model semantics. In Proceedings of the 19th International Conference on Logic Programming (ICLP), C. Palamidessi, Ed. Lecture Notes in Computer Science, vol. 2916. Springer Verlag, 224--238.Google ScholarGoogle Scholar
  16. Eiter, T. and Fink, M. 2003b. Uniform equivalence of logic programs under the stable model semantics. Tech. Rep. INFSYS RR-1843-03-08, Institut für Informationssysteme, Technische Universität Wien, Austria.Google ScholarGoogle Scholar
  17. Eiter, T., Fink, M., Sabbatini, G., and Tompits, H. 2001. A framework for declarative update specifications in logic programs. In Proceedings of the 17th International Joint Conference on Artificial Intelligence (IJCAI), B. Nebel, Ed. Morgan Kaufmann, San Fransisco, CA; 649--654.Google ScholarGoogle Scholar
  18. Eiter, T., Fink, M., Tompits, H., and Woltran, S. 2004a. On eliminating disjunctions in stable logic programming. In Proceedings of the 9th International Conference on Principles of Knowledge Representation and Reasoning (KR), D. Dubois et al., Eds. AAAI Press, 447--458.Google ScholarGoogle Scholar
  19. Eiter, T., Fink, M., Tompits, H., and Woltran, S. 2004b. Simplifying logic programs under uniform and strong equivalence. In Proceedings of the 7th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), V. Lifschitz and I. Niemelä, Eds. Lecture Notes in Computer Science, vol. 2923. Springer Verlag, 87--99.Google ScholarGoogle Scholar
  20. Eiter, T., Fink, M., Tompits, H., and Woltran, S. 2005. Strong and uniform equivalence in answer-set programming: Characterizations and complexity results for the non-ground case. Accepted for publication in the Proceedings of the 20th National Conference on Artificial Intelligence (AAAI). Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Eiter, T. and Gottlob, G. 1995. On the computational cost of disjunctive logic programming: Propositional case. Annals Math. Artif. Intell. 15, 3/4, 289--323.Google ScholarGoogle ScholarCross RefCross Ref
  22. Eiter, T., Gottlob, G., and Mannila, H. 1997. Disjunctive datalog. ACM Trans. Database Syst. 22, 3, 364--418. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Erdem, E., Lifschitz, V., Nakhleh, L., and Ringe, D. 2003. Reconstructing the evolutionary history of Indo-European languages using answer set programming. In Proceedings of the 5th International Symposium on Practical Aspects of Declarative Languages (PADL), V. Dahl and P. Wadler, Eds. Lecture Notes in Computer Science, vol. 2562. Springer Verlag, 160--176. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Gelfond, M. and Lifschitz, V. 1988. The stable model semantics for logic programming. In Proceedings of the 5th International Conference on Logic Programming (ICLP), R. Kowalski and K. Bowen, Eds. MIT Press, Cambridge, MA, 1070--1080.Google ScholarGoogle Scholar
  25. Gelfond, M. and Lifschitz, V. 1991. Classical negation in logic programs and disjunctive databases. New Gen. Comput. 9, 365--385.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Giorgini, P., Massacci, F., Mylopoulos, J., and Zannone, N. 2004. Requirements engineering meets trust management: Model, methodology, and reasoning. In Proceedings of the 2nd International Conference on Trust Management (iTrust). Lecture Notes in Computer Science, vol. 2995. Springer Verlag, 176--190.Google ScholarGoogle Scholar
  27. Halevy, A. Y., Mumick, I. S., Sagiv, Y., and Shmueli, O. 2001. Static analysis in datalog extensions. J. ACM 48, 5, 971--1012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Heljanko, K. and Niemelä, I. 2001. Bounded LTL model checking with stable models. In Proceedings of the 6th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), T. Eiter et al., Eds. Lecture Notes in Computer Science, vol. 2173. Springer Verlag, 200--212. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Immerman, N. 1999. Descriptive Complexity. Springer Verlag.Google ScholarGoogle Scholar
  30. Inoue, K. and Sakama, C. 1999. Updating extended logic programs through abduction. In Proceedings of the 5th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), M. Gelfond et al., Eds. Lecture Notes in Computer Science, vol. 1730. Springer Verlag, 147--161. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Inoue, K. and Sakama, C. 2004. Equivalence of logic programs under updates. In Proceedings of the 9th European Conference on Logics in Artificial Intelligence (JELIA), J. J. Alferes and J. A. Leite, Eds. Lecture Notes in Computer Science, vol. 3229. Springer Verlag, 174--186.Google ScholarGoogle Scholar
  32. Janhunen, T. and Oikarinen, E. 2004. LPEQ and DLPEQ-Translators for automated equivalence testing of logic programs. In Proceedings of the 7th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), V. Lifschitz and I. Niemelä, Eds. Lecture Notes in Computer Science, vol. 2923. Springer Verlag, 336--340.Google ScholarGoogle Scholar
  33. Kautz, H. and Selman, B. 1992. Planning as satisfiability. In Proceedings of the 10th European Conference on Artificial Intelligence (ECAI), B. Neumann, Ed. Wiley, 359--363. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Kowalski, V. 1968. The calculus of the weak “Law of Excluded Middle”. Math. USSR 8, 648--658.Google ScholarGoogle Scholar
  35. Leone, N., Pfeifer, G., Faber, W., Eiter, T., Gottlob, G., Perri, S., and Scarcello, F. 2002. The DLV system for knowledge representation and reasoning. Tech. Rep. cs.AI/0211004, arXiv.org. November. To appear in ACM Trans. Comput. Logic.Google ScholarGoogle Scholar
  36. Lifschitz, V. 1999. Action languages, answer sets and planning. In The Logic Programming Paradigm -- A 25-Year Perspective, K. Apt et al., Eds. Springer Verlag, 357--373.Google ScholarGoogle Scholar
  37. Lifschitz, V., Pearce, D., and Valverde, A. 2001. Strongly equivalent logic programs. ACM Trans. Comput. Logic 2, 4, 526--541. Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Lifschitz, V., Tang, L., and Turner, H. 1999. Nested expressions in logic programs. Annals Math. Artif. Intell. 25, 3-4, 369--389. Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. Lifschitz, V. and Turner, H. 1994. Splitting a logic program. In Proceedings of the 11th International Conference on Logic Programming (ICLP), P. Van Hentenryck, Ed. MIT-Press, Cambridge, MA, 23--38. Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. Lin, F. 2002. Reducing strong equivalence of logic programs to entailment in classical propositional logic. In Proceedings of the 8th International Conference on Principles of Knowledge Representation and Reasoning (KR), D. Fensel et al., Eds. Morgan Kaufmann, San Fransisco, CA, 170--176.Google ScholarGoogle Scholar
  41. Lin, F. and Zhao, Y. 2002. ASSAT: Computing answer sets of a logic program by SAT solvers. In Proceedings of the 18th National Conference on Artificial Intelligence (AAAI). AAAI Press /MIT Press, Cambridge, MA, 112--117. Google ScholarGoogle ScholarDigital LibraryDigital Library
  42. Linke, T., Tompits, H., and Woltran, S. 2004. On acyclic and head-cycle free nested logic programs. In Proceedings of the 20th International Conference on Logic Programming (ICLP), B. Demoen and V. Lifschitz, Eds. Lecture Notes in Computer Science, vol. 3132. Springer Verlag, 225--239.Google ScholarGoogle Scholar
  43. Maher, M. J. 1988. Equivalences of logic programs. In Foundations of Deductive Databases and Logic Programming, J. Minker. Morgan, Kauffman, San Fransico, CA, 627--658. Google ScholarGoogle ScholarDigital LibraryDigital Library
  44. Minker, J., 1988. Foundations of Deductive Databases and Logic Programming. Morgan Kaufmann, San Fransico, CA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  45. Osorio, M., Navarro, J., and Arrazola, J. 2001. Equivalence in answer set programming. In Proceedings of the 11th International Workshop on Logic Based Program Synthesis and Transformation (LOPSTR), A. Pettorossi, Ed. Lecture Notes in Computer Science, vol. 2372. Springer Verlag, 57--75. Google ScholarGoogle ScholarDigital LibraryDigital Library
  46. Pearce, D. 2004. Simplifying logic programs under answer set semantics. In Proceedings of the 20th International Conference on Logic Programming (ICLP), B. Demoen and V. Lifschitz, Eds. Lecture Notes in Computer Science, vol. 3132. Springer Verlag.Google ScholarGoogle Scholar
  47. Pearce, D., Tompits, H., and Woltran., S. 2001. Encodings for equilibrium logic and logic programs with nested expressions. In Proceedings of the 10th Portuguese Conference on Artificial Intelligence (EPIA), P. Brazdil and A. Jorge, Eds. Lecture Notes in Computer Science, vol. 2258. Springer Verlag, 306--320. Google ScholarGoogle ScholarDigital LibraryDigital Library
  48. Pearce, D. and Valverde, A. 2004a. Synonymous theories in answer set programming and equilibrium logic. In Proceedings of the 16th European Conference on Artificial Intelligence (ECAI), R. L. de Mántaras and L. Saitta, Eds. IOS Press, Amsterdam, the Netherland, 388--392.Google ScholarGoogle Scholar
  49. Pearce, D. and Valverde, A. 2004b. Uniform equivalence for equilibrium logic and logic programs. In Proceedings of the 7th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), V. Lifschitz and I. Niemelä, Eds. Lecture Notes in Computer Science, vol. 2923. Springer Verlag, 194--206.Google ScholarGoogle Scholar
  50. Provetti, A. and Son, T. C. 2001. Proceedings of the Spring Symposium on Answer Set Programming: Towards Efficient and Scalable Knowledge Representation and Reasoning. AAAI Press.Google ScholarGoogle Scholar
  51. Przymusinski, T. 1991. Stable semantics for disjunctive programs. New Gen. Comput. 9, 401--424.Google ScholarGoogle ScholarDigital LibraryDigital Library
  52. Sagiv, Y. 1988. Optimizing datalog programs. In Foundations of Deductive Databases and Logic Programming, J. Minker. Morgan, Kauffman, San Fransico, CA, 659--698. Google ScholarGoogle ScholarDigital LibraryDigital Library
  53. Shmueli, O. 1993. Equivalence of datalog queries is undecidable. J. Logic Program. 15, 3, 231--242. Google ScholarGoogle ScholarDigital LibraryDigital Library
  54. Simons, P., Niemelä, I., and Soininen, T. 2002. Extending and implementing the stable model semantics. Artif. Intell. 138, 1-2, 181--234. Google ScholarGoogle ScholarDigital LibraryDigital Library
  55. Subrahmanian, V. S. and Zaniolo, C. 1995. Relating stable models and AI planning domains. In Proceedings of the 12th International Conference on Logic Programming (ICLP), L. Sterling, Ed. MIT Press, Cambridge, MA, 233--247.Google ScholarGoogle Scholar
  56. Turner, H. 2003. Strong equivalence made easy: Nested expressions and weight constraints. Theory Pract. Logic Programm. 3, 4-5, 602--622. Google ScholarGoogle ScholarDigital LibraryDigital Library
  57. Turner, H. 2001. Strong equivalence for logic programs and default theories (made easy). In Proceedings of the 6th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), T. Eiter et al., Eds. Lecture Notes in Computer Science, vol. 2173. Springer Verlag, 81--92. Google ScholarGoogle ScholarDigital LibraryDigital Library
  58. Woltran, S. 2004. Characterizations for relativized notions of equivalence in answer set programming. In Proceedings of the 9th European Conference on Logics in Artificial Intelligence (JELIA), J. J. Alferes and J. A. Leite, Eds. Lecture Notes in Computer Science, vol. 3229. Springer Verlag, 161--173.Google ScholarGoogle Scholar
  59. Zhang, Y. and Foo, N. Y. 1998. Updating logic programs. In Proceedings of the 13th European Conference on Artificial Intelligence (ECAI), H. Prade, Ed. Wiley, 403--407.Google ScholarGoogle Scholar

Index Terms

  1. Semantical characterizations and complexity of equivalences in answer set programming

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader