The University of Southampton
University of Southampton Institutional Repository

Causality and minimal supports in recursive Datalog

Causality and minimal supports in recursive Datalog
Causality and minimal supports in recursive Datalog
Explaining an inferred fact under rule evaluation can require identifying the inclusion-minimal input sets that suffice for the inference and the deletions that make the fact disappear. For a fixed union of conjunctive queries, every minimal support is bounded by the query body. For recursive rules, the same answer may depend on large supports, and the number of minimal supports may be exponential in
the input. We study the gap through deletion-based explanation, using inclusion-minimal endogenous input facts that entail the atom together with fixed background facts. We organize these supports as a hypergraph and prove that it determines actual causes, counterfactual causes, responsibility, and deletion robustness. The resulting view separates nonrecursive queries from recursive Datalog at the level of minimal input explanations. For positive-length reachability, minimal supports are exactly simple directed paths, and deletion robustness is the minimum directed edge cut. We also prove invariance under fixed-goal equivalent positive Datalog programs and an NP-hardness calibration for the robustness threshold problem.
Thapa, Ratan Bahadur
a37557ce-552f-43c8-857e-e0ae411040e8
Staab, Steffen
bf48d51b-bd11-4d58-8e1c-4e6e03b30c49
Thapa, Ratan Bahadur
a37557ce-552f-43c8-857e-e0ae411040e8
Staab, Steffen
bf48d51b-bd11-4d58-8e1c-4e6e03b30c49

Thapa, Ratan Bahadur and Staab, Steffen (2026) Causality and minimal supports in recursive Datalog. 10th International Joint Conference on Rules and Reasoning, , Vilnius, Lithuania. 24 - 26 Aug 2026. (In Press)

Record type: Conference or Workshop Item (Paper)

Abstract

Explaining an inferred fact under rule evaluation can require identifying the inclusion-minimal input sets that suffice for the inference and the deletions that make the fact disappear. For a fixed union of conjunctive queries, every minimal support is bounded by the query body. For recursive rules, the same answer may depend on large supports, and the number of minimal supports may be exponential in
the input. We study the gap through deletion-based explanation, using inclusion-minimal endogenous input facts that entail the atom together with fixed background facts. We organize these supports as a hypergraph and prove that it determines actual causes, counterfactual causes, responsibility, and deletion robustness. The resulting view separates nonrecursive queries from recursive Datalog at the level of minimal input explanations. For positive-length reachability, minimal supports are exactly simple directed paths, and deletion robustness is the minimum directed edge cut. We also prove invariance under fixed-goal equivalent positive Datalog programs and an NP-hardness calibration for the robustness threshold problem.

Text
crc-causality-recursive-datalog - Accepted Manuscript
Download (463kB)

More information

Accepted/In Press date: 30 July 2026
Venue - Dates: 10th International Joint Conference on Rules and Reasoning, , Vilnius, Lithuania, 2026-08-24 - 2026-08-26

Identifiers

Local EPrints ID: 514187
URI: https://eprints.soton.ac.uk/id/eprint/514187
PURE UUID: efb89414-4f18-41bd-8fba-d3f609640063
ORCID for Steffen Staab: ORCID iD orcid.org/0000-0002-0780-4154

Catalogue record

Date deposited: 09 Sep 2026 16:40
Last modified: 13 Sep 2026 11:38

Export record

Contributors

Author: Ratan Bahadur Thapa
Author: Steffen Staab ORCID iD

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of https://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×