Characterizing and computing stable models of logic programs: The non-stratified case

02/21/2014
by   Gianpaolo Brignoli, et al.
0

Stable Logic Programming (SLP) is an emergent, alternative style of logic programming: each solution to a problem is represented by a stable model of a deductive database/function-free logic program encoding the problem itself. Several implementations now exist for stable logic programming, and their performance is rapidly improving. To make SLP generally applicable, it should be possible to check for consistency (i.e., existence of stable models) of the input program before attempting to answer queries. In the literature, only rather strong sufficient conditions have been proposed for consistency, e.g., stratification. This paper extends these results in several directions. First, the syntactic features of programs, viz. cyclic negative dependencies, affecting the existence of stable models are characterized, and their relevance is discussed. Next, a new graph representation of logic programs, the Extended Dependency Graph (EDG), is introduced, which conveys enough information for reasoning about stable models (while the traditional Dependency Graph does not). Finally, we show that the problem of the existence of stable models can be reformulated in terms of coloring of the EDG.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/18/1998

Stable models and an alternative logic programming paradigm

In this paper we reexamine the place and role of stable model semantics ...
research
07/18/2022

Positive Dependency Graphs Revisited

Theory of stable models is the mathematical basis of answer set programm...
research
09/25/2018

Syntactic Conditions for Antichain Property in Consistency Restoring Prolog

We study syntactic conditions which guarantee when a CR-Prolog (Consiste...
research
02/13/2023

Right-Adjoints for Datalog Programs, and Homomorphism Dualities over Restricted Classes

A Datalog program can be viewed as a syntactic specification of a functo...
research
02/03/2000

Computing large and small stable models

In this paper, we focus on the problem of existence and computing of sma...
research
04/29/2014

Generalizing Modular Logic Programs

Even though modularity has been studied extensively in conventional logi...
research
06/08/2023

Capturing (Optimal) Relaxed Plans with Stable and Supported Models of Logic Programs

We establish a novel relation between delete-free planning, an important...

Please sign up or login with your details

Forgot password? Click here to reset