English

Quantifier Elimination Meets Treewidth

Logic in Computer Science 2026-01-19 v2 Computational Complexity Symbolic Computation

Abstract

In this paper, we address the complexity barrier inherent in Fourier-Motzkin elimination (FME) and cylindrical algebraic decomposition (CAD) when eliminating a block of (existential) quantifiers. To mitigate this, we propose exploiting structural sparsity in the variable dependency graph of quantified formulas. Utilizing tools from parameterized algorithms, we investigate the role of treewidth, a parameter that measures the graph's tree-likeness, in the process of quantifier elimination. A novel dynamic programming framework, structured over a tree decomposition of the dependency graph, is developed for applying FME and CAD, and is also extensible to general quantifier elimination procedures. Crucially, we prove that when the treewidth is a constant, the framework achieves a significant exponential complexity improvement for both FME and CAD, reducing the worst-case complexity bound from doubly exponential to single exponential. Preliminary experiments on sparse linear real arithmetic (LRA) and nonlinear real arithmetic (NRA) benchmarks confirm that our algorithm outperforms the existing popular heuristic-based approaches on instances exhibiting low treewidth.

Keywords

Cite

@article{arxiv.2601.00312,
  title  = {Quantifier Elimination Meets Treewidth},
  author = {Hao Wu and Jiyu Zhu and Amir Kafshdar Goharshady and Jie An and Bican Xia and Naijun Zhan},
  journal= {arXiv preprint arXiv:2601.00312},
  year   = {2026}
}

Comments

To appear at TACAS 2026

R2 v1 2026-07-01T08:47:47.699Z