Modularity Aspects of Disjunctive Stable Models

01/15/2014
by   Tomi Janhunen, et al.
0

Practically all programming languages allow the programmer to split a program into several modules which brings along several advantages in software development. In this paper, we are interested in the area of answer-set programming where fully declarative and nonmonotonic languages are applied. In this context, obtaining a modular structure for programs is by no means straightforward since the output of an entire program cannot in general be composed from the output of its components. To better understand the effects of disjunctive information on modularity we restrict the scope of analysis to the case of disjunctive logic programs (DLPs) subject to stable-model semantics. We define the notion of a DLP-function, where a well-defined input/output interface is provided, and establish a novel module theorem which indicates the compositionality of stable-model semantics for DLP-functions. The module theorem extends the well-known splitting-set theorem and enables the decomposition of DLP-functions given their strongly connected components based on positive dependencies induced by rules. In this setting, it is also possible to split shared disjunctive rules among components using a generalized shifting technique. The concept of modular equivalence is introduced for the mutual comparison of DLP-functions using a generalization of a translation-based verification method.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/18/2012

Module Theorem for The General Theory of Stable Models

The module theorem by Janhunen et al. demonstrates how to provide a modu...
research
04/29/2014

Generalizing Modular Logic Programs

Even though modularity has been studied extensively in conventional logi...
research
02/12/2021

On Signings and the Well-Founded Semantics

In this note, we use Kunen's notion of a signing to establish two theore...
research
01/08/2013

Lloyd-Topor Completion and General Stable Models

We investigate the relationship between the generalization of program co...
research
07/23/2009

Relativized hyperequivalence of logic programs for modular programming

A recent framework of relativized hyperequivalence of programs offers a ...
research
10/12/2011

Discovering Classes of Strongly Equivalent Logic Programs

In this paper we apply computer-aided theorem discovery technique to dis...
research
09/17/2021

How to Split a Logic Program

Answer Set Programming (ASP) is a successful method for solving a range ...

Please sign up or login with your details

Forgot password? Click here to reset