Compiling Existential-Positive Queries to Bounded-Variable Fragments
Christoph Berkholz, Hubie Chen
Key points
From the paper's conclusion- We investigate this trade-off for the existential-positive fragment of first-order queries, where variable minimisation is decidable in general.
Abstract
A crucial property of bounded-variable fragments of first-order logic is that they can be evaluated in polynomial time. It is therefore a useful preprocessing step to rewrite, if possible, a first-order query to a logically equivalent one with a minimum number of variables. However, it may occur that reducing the number of variables causes an increase in formula size. We investigate this trade-off for the existential-positive fragment of first-order queries, where variable minimisation is decidable in general. In particular, we study the blow-up in the formula size when compiling existential-positive queries to the bounded variable fragment of positive first-order logic. While the increase of the formula size is always at most exponential, we identify situations (based on the signature and the number of variables) where only a polynomial blow-up is needed. In all other cases, we show that an exponential lower bound on the formula size of the compiled formula that matches the general upper bound. This exponential lower bound is unconditional, and is the first unconditional lower bound for formula size with respect to the studied compilation; it is proved via establishing a novel interface with circuit complexity which may be of future interest.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The Complexity of Choosing Parity ProjectionsarXiv · 2026
- Propositional formula minimization is $\Sigma_2^p$-complete under many-one reductionsarXiv · 2026
- Unconditional Lower Bounds for the Fredman--Khachiyan Algorithms for Monotone Boolean Duality TestingarXiv · 2026
- Short Point Lists for CNFs and Stronger Constant-Depth Circuit HardnessarXiv · 2026
- Order-Invariant CFO Contains Local-Order-Invariant FOarXiv · 2026
- Running-Time Lower Bounds under FPT $\neq$ W[1]arXiv · 2026