Unfolding partiality and disjunctions in stable model semantics

  • Authors:
  • Tomi Janhunen;Ilkka Niemelä;Dietmar Seipel;Patrik Simons;Jia-Huai You

  • Affiliations:
  • Helsinki University of Technology, TKK, Finland;Helsinki University of Technology, TKK, Finland;University of Würzburg, Würzburg, Germany;Neotide Oy, Vaasa, Finland;University of Alberta, Alberta, Canada

  • Venue:
  • ACM Transactions on Computational Logic (TOCL)
  • Year:
  • 2006

Quantified Score

Hi-index 0.01

Visualization

Abstract

This article studies an implementation methodology for partial and disjunctive stable models where partiality and disjunctions are unfolded from a logic program so that an implementation of stable models for normal (disjunction-free) programs can be used as the core inference engine. The unfolding is done in two separate steps. First, it is shown that partial stable models can be captured by total stable models using a simple linear and modular program transformation. Hence, reasoning tasks concerning partial stable models can be solved using an implementation of total stable models. Disjunctive partial stable models have been lacking implementations which now become available as the translation handles also the disjunctive case. Second, it is shown how total stable models of disjunctive programs can be determined by computing stable models for normal programs. Thus an implementation of stable models of normal programs can be used as a core engine for implementing disjunctive programs. The feasibility of the approach is demonstrated by constructing a system for computing stable models of disjunctive programs using the SMODELS system as the core engine. The performance of the resulting system is compared to that of DLV, which is a state-of-the-art system for disjunctive programs.