RelLens: Relational Reasoning for Floating-Point Constraint Solving
Abstract
We present Rellens, a floating-point constraint solver that extends interval-based CP with relational reasoning. To support this reasoning, we develop rounding-aware Taylor models for arithmetic expressions in floating-point constraints. Each Taylor model consists of a polynomial part and an interval remainder. The former captures dependencies among the original variables, while the latter bounds higher-order terms and accumulated rounding errors. Building on these models, Rellens strengthens floating-point constraint solving in three ways. First, Taylor model-based contraction strengthens domain contraction within individual constraints beyond interval propagation. Second, joint conflict detection detects conflicts across constraints by checking the satisfiability of joint linear relaxations derived from these models. Third, Taylor model-guided search exploits the retained relational information to guide variable selection and branch ordering. Finally, we show that integrating these techniques yields a floating-point CP solver that is both sound and complete. We conduct extensive experiments comparing Rellens with five complete and six incomplete floating-point solvers on SMT-LIB and program-derived benchmarks. Compared with the state-of-the-art (SOTA) complete baselines, Rellens solves the most instances on both benchmark sets, solving all 40,651 SMT-LIB instances and 1,637 of the 1,678 program-derived instances. It further achieves PAR-2 reductions of 98.6\% and 44.9\%, respectively. On the common satisfiable subsets supported by all incomplete solvers, Rellens solves the most instances, finding models for all 240 SMT-LIB instances and all 834 program-derived instances. It further achieves PAR-2 reductions of 99.0\% and 98.6\%, respectively, relative to the corresponding SOTA incomplete baselines. An ablation study further demonstrates the effectiveness of the key components.
Create a lesson
Metadata
- Categories
- cs.LO, cs.PL
Related papers
Linear Logic via Dependency Relations
Shared title terminologycs.LOTorben Braüner, Valeria de Paiva
Normal Forms and Complete Relations for Circuits in Agda
Shared title terminologycs.LOXiaoning Bian, Yuan Feng
SAT Solving for Power Peak Minimization in the Parallel--Serial--with--Crossover Assembly Line Balancing Problem
Shared title terminologycs.LOChi Phong Nguyen, Khanh Van To
Self-Reference and Relative Incompleteness: From Logical Obstructions to Hardness Hypotheses
Shared title terminologycs.LOJie Luo, Ke Xu
The Necessity of Acceptance & Rejection in Inferential Reasoning
Shared title terminologycs.LOKhashayar Irani
From Constraints to Causality: Petri net Encodings for Explaining Binary Neural Network Inference
Shared title terminologycs.LOAlex Chan, Mohamed Tarraf, Alex Yakovlev et al.