Restricted Chase Termination: You Want More than Fairness
David Carral, Lukas Gerlach, Lucas Larroque, Michaël Thomazo
TL;DR
The paper addresses the fundamental problem of universal termination for the restricted chase under existential rules, showing that the problem sits at the high end of the analytical hierarchy with $\Pi_1^1$-hardness due to the fairness condition. It develops a TM-based reduction framework that encodes computation in a knowledge base using emergency brakes and bow-tie structures to relate infinite TM runs to nonterminating chase derivations. The main contributions establish $\Pi_1^1$-completeness for both knowledge-base and rule-set termination under the restricted chase, and propose a breadth-first derivation criterion as a finitely verifiable alternative to fairness that preserves semi-decidability. The findings have significant implications for the theory of chase termination and for practical reasoning under complex constraints, guiding both theoretical understanding and design of termination checks.
Abstract
The chase is a fundamental algorithm with ubiquitous uses in database theory. Given a database and a set of existential rules (aka tuple-generating dependencies), it iteratively extends the database to ensure that the rules are satisfied in a most general way. This process may not terminate, and a major problem is to decide whether it does. This problem has been studied for a large number of chase variants, which differ by the conditions under which a rule is applied to extend the database. Surprisingly, the complexity of the universal termination of the restricted (aka standard) chase is not fully understood. We close this gap by placing universal restricted chase termination in the analytical hierarchy. This higher hardness is due to the fairness condition, and we propose an alternative condition to reduce the hardness of universal termination.
