Achieving compositionality of the stable model semantics for smodels programs
- 1 July 2008
- journal article
- research article
- Published by Cambridge University Press (CUP) in Theory and Practice of Logic Programming
- Vol. 8 (5-6) , 717-761
Abstract
In this paper, a Gaifman–Shapiro-style module architecture is tailored to the case of smodels programs under the stable model semantics. The composition of smodels program modules is suitably limited by module conditions which ensure the compatibility of the module system with stable models. Hence the semantics of an entire smodels program depends directly on stable models assigned to its modules. This result is formalized as a module theorem which truly strengthens V. Lifschitz and H. Turner's splitting-set theorem (June 1994, Splitting a logic program. In Logic Programming: Proceedings of the Eleventh International Conference on Logic Programming, Santa Margherita Ligure, Italy, P. V. Hentenryck, Ed. MIT Press, 23–37) for the class of smodels programs. To streamline generalizations in the future, the module theorem is first proved for normal programs and then extended to cover smodels programs using a translation from the latter class of programs to the former class. Moreover, the respective notion of module-level equivalence, namely modular equivalence, is shown to be a proper congruence relation: it is preserved under substitutions of modules that are modularly equivalent. Principles for program decomposition are also addressed. The strongly connected components of the respective dependency graph can be exploited in order to extract a module structure when there is no explicit a priori knowledge about the modules of a program. The paper includes a practical demonstration of tools that have been developed for automated (de)composition of smodels programs.Keywords
All Related Versions
This publication has 38 references indexed in Scilit:
- A Translation-based Approach to the Verification of Modular EquivalenceJournal of Logic and Computation, 2008
- Automated Verification of Weak Equivalence within thesmodelsSystemTheory and Practice of Logic Programming, 2007
- Temporal phylogenetic networks and logic programmingTheory and Practice of Logic Programming, 2006
- Some (in)translatability results for normal logic programs and propositional theoriesJournal of Applied Non-Classical Logics, 2006
- ASSAT: computing answer sets of a logic program by SAT solversArtificial Intelligence, 2004
- Transformations of CLP modulesTheoretical Computer Science, 1996
- Structuring logic programs: a modal approachThe Journal of Logic Programming, 1994
- Constraint logic programming: a surveyThe Journal of Logic Programming, 1994
- Modularity in Logic ProgrammingThe Journal of Logic Programming, 1994
- A logical analysis of modules in logic programmingThe Journal of Logic Programming, 1989