Hostname: page-component-89b8bd64d-n8gtw Total loading time: 0 Render date: 2026-05-07T09:43:54.545Z Has data issue: false hasContentIssue false

Model Explanation via Support Graphs

Published online by Cambridge University Press:  29 February 2024

PEDRO CABALAR
Affiliation:
University of A Coruña, Spain (e-mails: cabalar@udc.es, brais.mcastro@udc.es)
BRAIS MUÑIZ
Affiliation:
University of A Coruña, Spain (e-mails: cabalar@udc.es, brais.mcastro@udc.es)
Rights & Permissions [Opens in a new window]

Abstract

In this note, we introduce the notion of support graph to define explanations for any model of a logic program. An explanation is an acyclic support graph that, for each true atom in the model, induces a proof in terms of program rules represented by labels. A classical model may have zero, one or several explanations: when it has at least one, it is called a justified model. We prove that all stable models are justified, whereas, for disjunctive programs, some justified models may not be stable. We also provide a meta-programming encoding in Answer Set Programming that generates the explanations for a given stable model of some program. We prove that the encoding is sound and complete, that is, there is a one-to-one correspondence between each answer set of the encoding and each explanation for the original stable model.

Information

Type
Technical Note
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press
Figure 0

Fig. 1. Some results for model $\{p,q,r\}$ of program in Example 2.