Compiling Existential-Positive Queries to Bounded-Variable Fragments
Christoph Berkholz, Hubie Chen
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.
Create a lesson
Related papers
Harmonic-Mean Aggregation of Continuous-Time Markov Chains with Reachability Error Bounds
Shared title terminology · Bingqing Hu, Landon Taylor, Zhen Zhang
Active Learning of Temporal Specifications through Distinguishing Queries
Shared title terminology · Rajarshi Roy, Xiaowei Huang
Lean-PEP: Performance-Estimation Certificates to Formally Verified Algorithmic Bounds
Shared title terminology · Xinyuan Guo, Andersen Ang
Tableaux Rules for Theories of Definite Descriptions in Positive Free Logic with Some Philosophical Remarks
Shared title terminology · Nils Kürbis
Learning Erasing Equal-Length Relational Pattern Languages in the Limit from Positive Data over Binary Alphabets
Shared title terminology · S. Mahmoud Mousawi, Sandra Zilles
Deciding two-variable logic with global and local Presburger quantification
Shared title terminology · Michael Benedikt, Chia-Hsuan Lu, Alex Perry et al.