Hostname: page-component-77f85d65b8-lfk5g Total loading time: 0 Render date: 2026-04-18T04:20:11.410Z Has data issue: false hasContentIssue false

Tabling with Sound Answer Subsumption

Published online by Cambridge University Press:  14 October 2016

ALEXANDER VANDENBROUCKE
Affiliation:
KU Leuven, Belgium (e-mail: alexander.vandenbroucke@kuleuven.be)
MACIEJ PIRÓG
Affiliation:
KU Leuven, Belgium (e-mail: maciej.pirog@kuleuven.be)
BENOIT DESOUTER
Affiliation:
Ghent University, Belgium (e-mail: benoit.desouter@ugent.be)
TOM SCHRIJVERS
Affiliation:
KU Leuven, Belgium (e-mail: tom.schrijvers@kuleuven.be)

Abstract

Tabling is a powerful resolution mechanism for logic programs that captures their least fixed point semantics more faithfully than plain Prolog. In many tabling applications, we are not interested in the set of all answers to a goal, but only require an aggregation of those answers. Several works have studied efficient techniques, such as lattice-based answer subsumption and mode-directed tabling, to do so for various forms of aggregation.

While much attention has been paid to expressivity and efficient implementation of the different approaches, soundness has not been considered. This paper shows that the different implementations indeed fail to produce least fixed points for some programs. As a remedy, we provide a formal framework that generalises the existing approaches and we establish a soundness criterion that explains for which programs the approach is sound.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2016 

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.)

Article purchase

Temporarily unavailable

Supplementary material: PDF

Vandenbroucke supplementary material

Appendix A and B

Download Vandenbroucke supplementary material(PDF)
PDF 169.8 KB