Hostname: page-component-77f85d65b8-242vh Total loading time: 0 Render date: 2026-03-26T08:42:33.321Z Has data issue: false hasContentIssue false

Splitting a Disjunctive Logic Program

Published online by Cambridge University Press:  17 October 2025

RACHEL BEN-ELIYAHU-ZOHARY*
Affiliation:
School of Software and Electrical Engineering, Azrieli College of Engineering (JCE), Jerusalem, Israel (e-mail: rbz@jce.ac.il)
Rights & Permissions [Opens in a new window]

Abstract

Answer Set Programming (ASP) is a successful method for solving a range of real-world applications. Despite the availability of fast ASP solvers, computing answer sets demands significant computational resources, since the problem tackled is on the second level of the polynomial hierarchy. Answer set computation can be accelerated if the program is split into two disjoint parts, bottom and top. Thus, the bottom part is evaluated independently of the top part, and the results of the bottom part evaluation are used to simplify the top part. Lifschitz and Turner have introduced the concept of a splitting set, that is, a set of atoms that defines the splitting.

In a previous paper, the notion of g-splitting set, which generalize the concept of splitting sets for disjunctive logic programs, was introduced. In this paper, we further investigate the topic of splitting sets and g-splitting sets. We show that the set inclusion problem for splitting sets can be reduced to a classic Search Problem and solved in polynomial time. We also show that the task of computing g-splitting sets with desirable properties is relatively easy and straightforward. Finally, we show that stable models can be decomposed to models of rules inspired by g-splitting sets and models of the rest of the program. This interesting property can assist in incremental computation of stable models.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Fig. 1. The [super]dependency graph of the program $\mathcal{P}$.

Figure 1

Algorithm 1 Reduce (P, X, Y)

Figure 2

Algorithm 2: Tree Search Algorithm