arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.09499cs.LOcs.DB
收藏

线性实数算术中的变量独立性

Variable Independence in Linear Real Arithmetic

Alexander Mayorov

AI总结:

该研究针对线性实数算术(LRA)中变量独立性与可分解性的复杂度开放问题,提出新的公式刻画方法,证明相关复杂度结论,设计出理论最优、速度指数级提升的算法,还可计算分解的最优近似以优化数据库查询。

摘要:

变量独立性与可分解性是通过拆分自由变量之间的关联来简化逻辑公式的算法技术。这些技术最初被提出用于加速约束数据库中的查询求值,具体方式是将查询表示为不含互联变量的公式的布尔组合。它们在可满足性模理论(SMT)、字符串分析、数据库、自动机理论等领域还有诸多其他应用。然而,变量独立性与可分解性的精确复杂度一直悬而未决,尤其是在数据库应用中处于核心地位的无量词线性实数算术(LRA)理论中。\n我们提出了一种适用于可分解公式的全新刻画方式,并借此证明在LRA上判定变量可分解性是coNP完全问题。作为推论,我们得出判定变量独立性属于$Σ_2^p$复杂度类。这些结果大幅优化了已知的用于变量可分解性与独立性判定的双指数时间算法。\n在许多实际应用中,能够尽可能高效地消除变量间的关联至关重要。我们针对该问题设计并实现了一种算法,它在理论上是最优的,与当前最先进的算法相比速度呈指数级提升,且在各类微基准测试中表现高效。值得一提的是,我们的算法是首个突破非离散与离散一阶理论之间基础壁垒的算法。\n实际场景中产生的公式通常很少有甚至没有完全独立的自由变量。在这种情况下,我们的算法可以计算出分解的最优近似值,该近似值可通过利用几乎所有逻辑公式或数据库查询约束中都存在的部分变量独立性来优化数据库查询。

英文摘要:

Variable independence and decomposability are algorithmic techniques for simplifying logical formulas by tearing apart connections between free variables. These techniques were originally proposed to speed up query evaluation in constraint databases, in particular by representing the query as a Boolean combination of formulas with no interconnected variables. They also have many other applications in SMT, string analysis, databases, automata theory and other areas. However, the precise complexity of variable independence and decomposability has been left open especially for the quantifier-free theory of linear real arithmetic (LRA), which is central in database applications. We introduce a novel characterization of formulas admitting decompositions and use it to show that it is coNP-complete to decide variable decomposability over LRA. As a corollary, we obtain that deciding variable independence is in $ Σ_2^p $. These results substantially improve the best known double-exponential time algorithms for variable decomposability and independence. In many practical applications, it is crucial to be able to efficiently eliminate connections between variables whenever possible. We design and implement an algorithm for this problem, which is optimal in theory, exponentially faster compared to the current state-of-the-art algorithm and efficient on various microbenchmarks. In particular, our algorithm is the first one to overcome a fundamental barrier between non-discrete and discrete first-order theories. Formulas arising in practice often have few or even no free variables that are perfectly independent. In this case, our algorithm can compute a best-possible approximation of a decomposition, which can be used to optimize database queries by exploiting partial variable independence, which is present in almost every logical formula or database query constraint.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑