Abduction in well-founded semantics and generalized stable models via tabled dual programs

  • Authors:
  • José Júlio Alferes;Luís Moniz Pereira;Terrance Swift

  • Affiliations:
  • A.I. Centre, Faculdade de Ciências e Tecnologia, Universidad Nova de Lisboa, 2825-516 Caparica, Lisbon, Portugal (e-mail: jja@di.fct.unl.pt);A.I. Centre, Faculdade de Ciências e Tecnologia, Universidad Nova de Lisboa, 2825-516 Caparica, Lisbon, Portugal (e-mail: lmp@di.fct.unl.pt);Department of Computer Science, SUNY Stony Brook, Stony Brook, NY, USA (e-mail: tswift@cs.sunysb.edu)

  • Venue:
  • Theory and Practice of Logic Programming
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Abductive logic programming offers a formalism to declaratively express and solve problems in areas such as diagnosis, planning, belief revision and hypothetical reasoning. Tabled logic programming offers a computational mechanism that provides a level of declarativity superior to that of Prolog, and which has supported successful applications in fields such as parsing, program analysis, and model checking. In this paper we show how to use tabled logic programming to evaluate queries to abductive frameworks with integrity constraints when these frameworks contain both default and explicit negation. The result is the ability to compute abduction over well-founded semantics with explicit negation and answer sets. Our approach consists of a transformation and an evaluation method. The transformation adjoins to each objective literal $O$ in a program, an objective literal $\hbox{\it not}(O)$ along with rules that ensure that $\hbox{\it not}(O)$ will be true if and only if $O$ is false. We call the resulting program a dual program. The evaluation method, ABDUAL, then operates on the dual program. ABDUAL is sound and complete for evaluating queries to abductive frameworks whose entailment method is based on either the well-founded semantics with explicit negation, or on answer sets. Further, ABDUAL is asymptotically as efficient as any known method for either class of problems. In addition, when abduction is not desired, ABDUAL operating on a dual program provides a novel tabling method for evaluating queries to ground extended programs whose complexity and termination properties are similar to those of the best tabling methods for the well-founded semantics. A publicly available meta-interpreter has been developed for ABDUAL using the XSB system.