Semantics of Division for Polynomial Solvers
Christopher W. Brown
TL;DR
This paper tackles the challenging problem of handling division in first-order real-closed-shaped formulas within polynomial solvers. It introduces fair-SAT as a semantics that captures division behavior without fixating on a single divide-by-zero convention, and defines the concept of well-defined formulas to decide when naive denominator clearing preserves meaning. A translation algorithm translate(F) is developed to convert division-containing formulas into purely polynomial constraints, preserving fair-SAT for non-well-defined cases and equivalence to the naive polynomial form for well-defined cases; key notions include partial evaluation and the use of U_i/V_i guards to manage undefined divisions. The work provides rigorous proofs of properties such as preservation of fair-SAT under logical rewritings and quantifier handling and demonstrates an implementation in the Tarski system, suggesting a principled, practically viable path for computer algebra solvers while clarifying scope for SMT/theorem-proving contexts. Overall, the paper delivers a formal, implementable framework for division semantics in quantified polynomial constraints with concrete definitions, proofs, and a working translation pipeline.
Abstract
How to handle division in systems that compute with logical formulas involving what would otherwise be polynomial constraints over the real numbers is a surprisingly difficult question. This paper argues that existing approaches from both the computer algebra and computational logic communities are unsatisfactory for systems that consider the satisfiability of formulas with quantifiers or that perform quantifier elimination. To address this, we propose the notion of the fair-satisfiability of a formula, use it to characterize formulas with divisions that are well-defined, meaning that they adequately guard divisions against division by zero, and provide a translation algorithm that converts a formula with divisions into a purely polynomial formula that is satisfiable if and only if the original formula is fair-satisfiable. This provides a semantics for division with some nice properties, which we describe and prove in the paper.
