Hostname: page-component-76fb5796d-45l2p Total loading time: 0 Render date: 2024-04-29T21:52:51.839Z Has data issue: false hasContentIssue false

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

Published online by Cambridge University Press:  07 June 2004

JOSÉ JÚLIO ALFERES
Affiliation:
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)
LUÍS MONIZ PEREIRA
Affiliation:
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)
TERRANCE SWIFT
Affiliation:
Department of Computer Science, SUNY Stony Brook, Stony Brook, NY, USA (e-mail: tswift@cs.sunysb.edu)

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.

Type
Regular Papers
Copyright
© 2004 Cambridge University Press

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)