Jadwal Sholat

Memuat jadwal sholat…

Computer Science editorial

Open AccessOA2026

Will My Favorite Chases Terminate if Evaluating Conjunctive Queries Does? One Does Not Simply Decide This

A digest of Larroque & Manière (2026) on the undecidability of recognizing chase-terminating classes within decidable query entailment
Lucas Larroque; Quentin Manière· 2026· DOI 10.48550/arXiv.2605.12349

The core problem

Existential rules (also known as tuple-generating dependencies, TGDs) are a central formalism for enriching databases with domain knowledge. A knowledge base consists of a database and a set of existential rules ; reasoning amounts to querying the finite or infinite universal model obtained by applying the chase procedure. However, reasoning with arbitrary existential rules is undecidable, even for basic tasks such as conjunctive query (CQ) entailment. To regain decidability, the community has identified numerous classes of rules with useful properties. One prominent family consists of rule sets on which the chase algorithm always terminates, guaranteeing a finite universal model. Another is the bounded treewidth set (BTS) class, which ensures that the chase has bounded treewidth and thus supports decidable CQ entailment. A recurring problem is that these classes are often *abstract*: given a set of rules, it may be undecidable to check whether it belongs to the class. Since the most studied classes of existential rules are designed for database reasoning and guarantee decidable CQ entailment, the authors ask a natural question: within a class that supports decidable qu

Innovation

The main result is negative: for classes based on the termination of all classical chase variants (oblivious, semi-oblivious, restricted, core) and for the BTS class, membership is undecidable even when the ambient class guarantees decidable conjunctive query entailment. Formally, let

be a class of existential rules such that CQ entailment is decidable for every
. Then the problem of deciding, for a given
, whether the oblivious chase terminates on all databases is undecidable; similarly for the semi-oblivious, restricted, and core chase. Likewise, deciding whether
is a bounded treewidth set is undecidable. The authors provide explicit reductions that preserve membership in common decidable classes, such as guarded rules or weakly acyclic rules, showing that the undecidability is robust. They also show that the same holds for the problem of deciding whether the chase terminates on a specific database, under the same promise. These results hold even if the ambient class is restricted to rule sets with a single rule or with a bounded number of rules, as long as the class is sufficiently expressive

Existential rules (also known as tuple-generating dependencies, TGDs) are a central formalism for enriching databases with domain knowledge. A knowledge base consists of a database and a set of existential rules ; reasoning amounts to querying the finite or infinite universal model obtained by applying the chase procedure. However, reasoning with arbitrary existential rules is undecidable, even for basic tasks such as conjunctive query (CQ) entailment. To regain decidability, the community has identified numerous classes of rules with useful properties. One prominent family consists of rule sets on which the chase algorithm always terminates, guaranteeing a finite universal model. Another is the bounded treewidth set (BTS) class, which ensures that the chase has bounded treewidth and thus supports decidable CQ entailment. A recurring problem is that these classes are often *abstract*: given a set of rules, it may be undecidable to check whether it belongs to the class. Since the most studied classes of existential rules are designed for database reasoning and guarantee decidable CQ entailment, the authors ask a natural question: within a class that supports decidable query entailment, do the usual abstract classes become concrete? In other words, if we restrict attention to rule sets for which CQ entailment is decidable, can we decide whether the chase terminates (for various variants) or whether the set is BTS? This paper answers this question in the negative.
The authors conduct a decidability analysis of membership problems for chase-termination classes and the BTS class, under the assumption that the ambient class already enjoys decidable conjunctive query entailment. The study covers all classical chase variants: the oblivious chase, the semi-oblivious chase, the restricted chase, and the core chase. For each variant, the termination problem asks whether, for a given finite set of existential rules , the chase terminates on every database (or on a given database). The BTS membership problem asks whether the set of rules is a bounded treewidth set. The technical approach reduces from known undecidable problems, such as the halting problem for Turing machines or the Post correspondence problem, by encoding computations into rule sets that remain within a decidable CQ-entailment class. The reductions are carefully designed so that the resulting rule sets satisfy the conditions of the ambient class (e.g., guardedness or weak acyclicity) while simulating the undecidable behavior. This establishes that even under the promise of decidable CQ entailment, the membership problems remain undecidable. The paper also clarifies the relationships between the different chase variants and the BTS class in this restricted setting.

Why it matters

The findings have significant implications for knowledge representation and database theory. They imply that one cannot simply rely on decidable CQ entailment to obtain a decision procedure for chase termination or BTS membership. In practice, this means that tools that check whether a given rule set belongs to a chase-terminating class must either be incomplete or rely on sufficient conditions that are not necessary. The authors discuss the boundaries of their result: undecidability holds for all classical chase variants, but the situation may differ for non-classical variants or for classes defined by syntactic restrictions that are decidable by construction. They also note that the BTS class, despite its semantic definition, remains undecidable to recognize even under the promise of decidable query entailment. This work clarifies the landscape of existential rule classes and highlights a fundamental limitation: decidability of query answering does not automatically transfer to decidability of meta-properties of the rule set. Future work may explore whether there exist natural, decidable subclasses that are both expressive and recognizable, or whether one must settle for approximations. The paper's title, echoing a famous meme, underscores the surprising nature of the negative answer.

Who should read this

CS practitioners and researchers

Opening member content…