Forgetting in Modular Answer Set Programming

  • Ricardo Gonçalves Universidade Nova de Lisboa
  • Tomi Janhunen Aalto University
  • Matthias Knorr Universidade Nova de Lisboa
  • João Leite Universidade Nova de Lisboa
  • Stefan Woltran TU Wien

Abstract

Modular programming facilitates the creation and reuse of large software, and has recently gathered considerable interest in the context of Answer Set Programming (ASP). In this setting, forgetting, or the elimination of middle variables no longer deemed relevant, is of importance as it allows one to, e.g., simplify a program, make it more declarative, or even hide some of its parts without affecting the consequences for those parts that are relevant. While forgetting in the context of ASP has been extensively studied, its known limitations make it unsuitable to be used in Modular ASP. In this paper, we present a novel class of forgetting operators and show that such operators can always be successfully applied in Modular ASP to forget all kinds of atoms – input, output and hidden – overcoming the impossibility results that exist for general ASP. Additionally, we investigate conditions under which this class of operators preserves the module theorem in Modular ASP, thus ensuring that answer sets of modules can still be composed, and how the module theorem can always be preserved if we further allow the reconfiguration of modules.

Published
2019-07-17
Section
AAAI Technical Track: Knowledge Representation and Reasoning