Updates of Logic Programs by Logic Programs
Abstract
In this paper we investigate updates of knowledge bases represented by logic programs. In order to represent negative information, we use generalized logic programs which allow default negation not only in rule bodies but also in their heads.We start by introducing the notion of an update P Phi U of a logic program P by another logic program U . Subsequently, we provide a precise semantic characterization of P PhiU , and study some basic properties of program updates. In particular, we show that our update programs generalize the notion of interpretation update. We then extend this notion to compositional sequences of logic programs updates P1 Phi P2 Phi : : : , defining a dynamic program update, and thereby introducing the paradigm of dynamic logic programming. This paradigm significantly facilitates modularization of logic programming, and thus modularization of non-monotonic reasoning as a whole. Specifically, suppose that we are given a set of logic program modules, e...
References (11)
- J. J. Alferes, L. M. Pereira. Update-programs can update programs. In J. Dix, L. M. Pereira and T. Przymusinski, editors, Selected papers from the ICLP'96 Workshop NMELP'96, vol. 1216 of LNAI, pages 110-131. Springer-Verlag, 1997.
- J. J. Alferes, L. M. Pereira and T. Przymusinski. Strong and Explicit Negation in Non-Monotonic Reasoning and Logic Programming. In J. J. Alferes, L. M. Pereira and E. Orlowska, editors, JELIA '96, volume 1126 of LNAI, pages 143-163. Springer-Verlag, 1996.
- M. Gelfond and V. Lifschitz. The stable model semantics for logic programming. In R. Kowalski and K. A. Bowen. editors. 5th International Logic Programming Conference, pages 1070-1080. MIT Press, 1988.
- M. Gelfond and V. Lifschitz. Logic Programs with classical negation. I n W arren and Szeredi, editors, 7th International Logic Programming Conference, pages 579-597. MIT Press, 1990.
- H. Katsuno and A. Mendelzon. On the di erence between updating a knowledge base and revising it. In James Allen, Richard Fikes and Erik Sandewall, editors, Principles of Knowledge Representation and Reasoning: Proceedings of the Second International Conference KR91, pages 230-237, Morgan Kaufmann 1991.
- João A. Leite. Logic Program Updates. M.Sc. Dissertation, Universidade Nova de Lisboa, 1997.
- J. A. Leite and L. M. Pereira. Generalizing updates: from models to programs. In LPKR'97: ILPS'97 Workshop on Logic Programming and Knowledge Representation, Port Je erson, NY, USA, October 13-16, 1997.
- V. Lifschitz and T. Woo.Answer sets in general non-monotonic reasoning preliminary report. In B. Nebel, C. Rich and W. Swartout, editors, Principles of Knowledge Representation and Reasoning, Proceedings of the Third International Conference KR92, pages 603-614. Morgan-Kaufmann, 1992
- V. Marek and M. Truszczynski. Revision speci cations by means of programs. In C. MacNish, D. Pearce and L. M. Pereira, editors, JELIA '94, volume 838 of LNAI, pages 122-136. Springer-Verlag, 1994.
- T. Przymusinski and H. Turner. Update by means of inference rules. In V. Marek, A. Nerode, and M. Truszczynski, editors, LPNMR'95, volume 928 of LNAI, pages 156-174. Springer-Verlag, 1995.
- M. Winslett. Reasoning about action using a possible models approach. In Proceeding of AAAI'88, pages 89-93. 1988.