English

Improving NLSAT for Nonlinear Real Arithmetic

Symbolic Computation 2025-09-30 v4 Logic in Computer Science

Abstract

The Model-Constructing Satisfiability Calculus (MCSAT) framework has been applied to SMT problems over various arithmetic theories. NLSAT, an implementation using cylindrical algebraic decomposition (CAD) for explanation, is especially competitive for nonlinear real arithmetic (NRA) constraints. However, current Conflict-Driven Clause Learning (CDCL)-style algorithms only consider literal information when making decisions, and thus ignore the influence of clauses on arithmetic variables. This limitation may lead NLSAT to encounter unnecessary conflicts due to suboptimal literal choices. To address this issue, we analyze conflicts caused by literal decisions and incorporate clause-level information that directly affects arithmetic variables. We propose two main algorithmic improvements: a clause-level feasible-set-based look-ahead mechanism and an arithmetic propagation-based branching heuristic. We implement our solver, named clauseSMT, based on a dynamic variable ordering framework. Experiments indicate that clauseSMT is competitive on nonlinear real arithmetic problems compared with existing SMT solvers (CVC5, Z3, YICES2), and it outperforms all of them on satisfiable instances of SMT(QF_NRA) in SMT-LIB. We also evaluate the effectiveness of our proposed methods.

Keywords

Cite

@article{arxiv.2406.02122,
  title  = {Improving NLSAT for Nonlinear Real Arithmetic},
  author = {Zhonghan Wang},
  journal= {arXiv preprint arXiv:2406.02122},
  year   = {2025}
}

Comments

Final version of ASE'2025

R2 v1 2026-06-28T16:52:39.033Z