REVIEW
Causality and Minimal Supports in Recursive Datalog
Databases · Submitted 17 Jul 2026
Pith's verdict: A clean, correct theory paper: the support-hypergraph framing is the right object for deletion-based explanation in positive Datalog, and the reachability/min-cut result is the genuinely nice part; the novelty is modest but the proofs are honest and the scope is well disclosed.
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
The authors prove that for positive Datalog, the support hypergraph — the family of inclusion-minimal input fact sets that entail an answer — completely determines actual causes, counterfactual causes, responsibility, and deletion robustnes
The reading
What carries the argument
The central object is the support hypergraph H_{Π,D,A}=(D_n, S_{Π,D,A}): its vertices are the endogenous (deletable) input facts, and each hyperedge is an inclusion-minimal set of such facts that, together with the exogenous background facts, entails the answer atom A under the program Π. Its work is to absorb all deletion-relevant information: Proposition 1 shows entailment after any retention E is equivalent to E containing some hyperedge, and Theorem 2 shows causes and robustness are membership and hitting properties of the hypergraph. For reachability, the hypergraph becomes the family of simple s-t paths, and the transversal problem becomes a directed edge cut.
Extended reading notes
Core claim
For any positive Datalog program and any partitioned database, the paper claims that the support hypergraph—vertices are the deletable input facts, hyperedges are the inclusion-minimal sets of those facts that entail the target atom together with the fixed background facts—is a complete invariant for deletion-based explanation. Theorem 2 proves that a fact is an actual cause iff it appears in at least one minimal support, a counterfactual cause iff it appears in every minimal support, and that the deletion robustness radius equals the minimum number of facts needed to hit every support (the transversal number). Proposition 2 gives the exact contingency-size formula for responsibility from th
Load-bearing premise
The entire chain rests on monotonicity and finiteness of positive Datalog entailment: only because a retained set either contains a minimal support or not (Proposition 1) do the hypergraph characterizations follow; if negation or non-finite active domains are introduced, the support family need not be upward-closed and the correspondences can break.
Editorial extensions
If this is right
- For any positive Datalog answer, an explanation system only needs to compute or approximate minimal supports; actual causes, counterfactual causes, responsibility, and deletion robustness then follow without inspecting derivation trees.
- Fixed-goal equivalent Datalog programs (e.g., left- vs right-recursive transitive closure) give the same answers and the same explanations, so explanation is a property of the query's semantics, not its rule syntax.
- Reachability explanations are tractable despite exponentially many minimal supports: the minimum number of edge deletions that breaks Path(s,t) is computable in polynomial time as a directed edge cut, without enumerating paths.
- Fixed union-of-conjunctive-query explanations have bounded size and polynomially many minimal supports, while a single recursive rule can force unbounded support size and exponential support count; this is a sharp separation in explanation complexity.
- The deletion-robustness threshold problem is NP-hard even for a fixed positive nonrecursive one-rule program, so no general polynomial algorithm exists for that decision problem.
Reading between the lines
- The support-hypergraph reduction likely transfers to any monotone query language with a finite active domain—for example recursive SQL common table expressions—since the proof only needs upward-closed support families and a least fixpoint; the paper states the result for positive Datalog, but the mechanism is more general.
- The path/cut equivalence suggests a broader program: for a given recursive query, look for a min-cut/max-flow or separation dual whose polynomial-time computability could make robustness tractable even when the support hypergraph is exponentially large; reachability shows the pattern exists, though not every query will have one.
- The divergence between infinite proof trees and a single minimal support implies that provenance systems built on derivation counting may be exponentially more verbose than necessary for deletion-based questions; a testable extension is to compare how often support hypergraphs are drastically smaller than proof-tree and circuit provenance on recursive-rule workloads.
- The empty-support convention (an answer entailed by exogenous facts alone has infinite robustness) is natural but makes robustness a two-valued cliff; an extension to weighted deletions or to robustness excluding exogenous entailment might give finer-grained explanations for mixed endogenous/exogenous databases.
Original 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.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
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.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | 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. | background 1.00 | 0.10 | 0.06 | hedged possibility 0.69 |
| s1 | For a fixed union of conjunctive queries, every minimal support is bounded by the query body. | background 0.75 | 0.44 | 0.07 | asserted 1.00 |
| s2 | For recursive rules, the same answer may depend on large supports, and the number of minimal supports may be exponential in the input. | gap 0.52 | 0.36 | 0.14 | asserted 0.51 |
| s3 | We study the gap through deletion-based explanation, using inclusion-minimal endogenous input facts that entail the atom together with fixed background facts. | contribution 0.67 | 0.89 | 0.11 | asserted 0.95 |
| s4 | We organize these supports as a hypergraph and prove that it determines actual causes, counterfactual causes, responsibility, and deletion robustness. | result 0.46 | 0.94 | 0.32 | asserted 1.00 |
| s5 | The resulting view separates nonrecursive queries from recursive Datalog at the level of minimal input explanations. | interpretation 0.61 | 0.83 | 0.41 | asserted 1.00 |
| s6 | For positive-length reachability, minimal supports are exactly simple directed paths, and deletion robustness is the minimum directed edge cut. | result 1.00 | 0.81 | 0.12 | asserted 1.00 |
| s7 | We also prove invariance under fixed-goal equivalent positive Datalog programs and an NP-hardness calibration for the robustness threshold problem. | result 0.86 | 0.94 | 0.11 | asserted 1.00 |
What was examined, and what was not
- arXiv listing abstract v2
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
References
How the literature uses it
1 arXiv paper cite this in 3 sentences
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.