Skip to main content
QUICK REVIEW

[Paper Review] Unfolding Partiality and Disjunctions in Stable Model Semantics

Tomi Janhunen, Ilkka Niemelä|ArXiv.org|Mar 14, 2003
Semantic Web and OntologiesComputer Science47 citations
TL;DR

This paper presents a two-step transformation method to implement partial and disjunctive stable models using an existing stable model solver for normal (disjunction-free) programs as a core engine. First, it unfolds partiality into total stable models via a linear, modular program transformation; second, it reduces disjunctive stable model computation to normal program solving using a generate-and-test approach. The approach enables efficient reasoning with disjunctive and partial stable models using optimized engines like smodels, with performance competitive to state-of-the-art systems like dlv.

ABSTRACT

The paper 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. Firstly, 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. Secondly, it is shown how total stable models of disjunctive programs can be determined by computing stable models for normal programs. Hence, 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 special purpose system for disjunctive programs.

Motivation & Objective

  • To enable efficient computation of partial and disjunctive stable models using existing implementations of stable model semantics for normal programs.
  • To address the lack of efficient implementations for partial and disjunctive stable models despite their theoretical importance.
  • To develop a modular, efficient, and structurally preserving translation method that preserves program intuition for debugging and analysis.
  • To demonstrate feasibility and performance of the approach using smodels as the core engine, comparing it to dlv.

Proposed method

  • First, a linear and modular program transformation maps partial stable models to total stable models, allowing reasoning about partiality using total model solvers.
  • Second, a generate-and-test approach computes total stable models of disjunctive programs by reducing them to normal programs, leveraging the core engine's efficiency.
  • The transformation preserves modularity and structure, enabling independent compilation and easier debugging of program components.
  • The approach uses query translation to support query answering over partial models, extending the utility of total model engines.
  • The implementation integrates with lparse and smodels, extending them with minimal code to handle disjunctive and partial logic programs.
  • Performance evaluation uses synthetic QBF instances and planning problems to compare the extended system (GnT2) against dlv and smodels.

Experimental results

Research questions

  • RQ1Can partial stable models be effectively captured using total stable model solvers via a simple, linear program transformation?
  • RQ2Can disjunctive stable model computation be reduced to stable model computation for normal programs using an efficient and modular method?
  • RQ3Does the resulting system achieve competitive performance compared to state-of-the-art systems like dlv?
  • RQ4To what extent does the translation preserve program structure and support debugging and query answering?

Key findings

  • The proposed transformation for partial models achieves a polynomial-time reduction that preserves both correctness and modularity, enabling use of total model solvers for partial reasoning.
  • The generate-and-test approach for disjunctive programs reduces the search space from O(2^v) to O(2^√(v/2)) when translating QBFs, significantly improving scalability.
  • The extended system (GnT2) solved larger QBF instances than previously reported for similar tools, handling up to 3500 variables, demonstrating improved performance.
  • For planning problems, GnT2 was 2–4 times slower than smodels on normal programs, but still competitive given the added complexity of disjunctive reasoning.
  • The performance of GnT2 was more stable than dlv on large QBF instances, with dlv degrading faster as problem size increased.
  • The method successfully enables the use of efficient normal program solvers as core engines for disjunctive and partial stable model computation, validating the approach's feasibility and efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.