Red Spider Meets a Rainworm: Conjunctive Query Finite Determinacy Is Undecidable
Tomasz Gogacz, Jerzy Marcinkowski

TL;DR
This paper proves that the problem of determining whether a set of conjunctive queries finitely determines another is undecidable, resolving a long-standing open problem in database theory using advanced techniques.
Contribution
It establishes the undecidability of the Conjunctive Query Finite Determinacy Problem and introduces a specific instance illustrating finite but not full determinacy.
Findings
Decidability of the problem is impossible in general.
Existence of a specific query instance with finite but not complete determinacy.
No FO-rewriting exists for certain finitely determined queries.
Abstract
We solve a well known and long-standing open problem in database theory, proving that Conjunctive Query Finite Determinacy Problem is undecidable. The technique we use builds on the top of our Red Spider method which we developed in our paper [GM15] to show undecidability of the same problem in the "unrestricted case" -- when database instances are allowed to be infinite. We also show a specific instance , such that the set of CQs does not determine CQ but finitely determines it. Finally, we claim that while is finitely determined by , there is no FO-rewriting of , with respect to , and we outline a proof of this claim
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Cryptography and Data Security · Distributed systems and fault tolerance
