Generalizing Modular Logic Programs

04/29/2014
by   João Moura, et al.
0

Even though modularity has been studied extensively in conventional logic programming, there are few approaches on how to incorporate modularity into Answer Set Programming, a prominent rule-based declarative programming paradigm. A major approach is Oikarinnen and Janhunen's Gaifman-Shapiro-style architecture of program modules, which provides the composition of program modules. Their module theorem properly strengthens Lifschitz and Turner's splitting set theorem for normal logic programs. However, this approach is limited by module conditions that are imposed in order to ensure the compatibility of their module system with the stable model semantics, namely forcing output signatures of composing modules to be disjoint and disallowing positive cyclic dependencies between different modules. These conditions turn out to be too restrictive in practice and in this paper we discuss alternative ways of lift both restrictions independently, effectively solving the first, widening the applicability of this framework and the scope of the module theorem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/15/2014

Modularity Aspects of Disjunctive Stable Models

Practically all programming languages allow the programmer to split a pr...
research
03/18/2023

Modularity and Separate Compilation in Logic Programming

The ability to compose code in a modular fashion is important to the con...
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
08/26/2018

Rule Module Inheritance with Modification Restrictions

Adapting rule sets to different settings, yet avoiding uncontrolled prol...
research
02/21/2014

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

Stable Logic Programming (SLP) is an emergent, alternative style of logi...
research
08/05/2020

Modular Answer Set Programming as a Formal Specification Language

In this paper, we study the problem of formal verification for Answer Se...
research
12/27/2021

A Brief History of Updates of Answer-Set Programs

Over the last couple of decades, there has been a considerable effort de...

Please sign up or login with your details

Forgot password? Click here to reset