Papers for

query language developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Exponential size gap found between two logic query languages

An Exponential Succinctness Gap between Three-Variable Logic and the Calculus of Relations

Abstract: Three-variable first-order logic (FO3) and the calculus of relations (CoR) define the same binary queries, an equivalence going back to Tarski in the 1940s. While the classical translation $\text{FO3} \Rightarrow \text{CoR}$ is exponential, we prove that this blow-up is unavoidable, resolving a long-standing open question. We construct positive formulas $\varphi$ with a single quantifier whose equivalent terms require size $2^{Ω(|\varphi|)}$, even over finite structures and circuit representations with subterm sharing. Our proof uses a preservation argument over a single finite structure. This approach applies beyond our primary question, establishing the lower bound even for size-specific circuits and bounded-error randomized circuits, and yielding an analogous exponential gap for the matrix query language MATLANG.

Tue 22 SeptLogic in Computer ScienceComputational Complexity
The gist
Some ways of describing database queries use different logical languages. The authors show that when you switch from one language called three-variable logic to another called the calculus of relations, the descriptions can get exponentially larger. This means that certain logical expressions become much more complex and longer when translated between these languages. Their proof works even on small or finite data and applies to related query systems too.
Open 2609.26778v1