Search arXiv⌕ Search

arXiv · 2612.01505

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Junjie Li, Yufeng Zhang, Kenli Li, Zhenbang Chen, Ji Wang. 2026-12-03. RelLens: Relational Reasoning for Floating-Point Constraint Solving. https://searcharxiv.org/abs/2612.01505

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Measuring well quasi-ordered finitary powersets

The complexity of a well-quasi-order (wqo) can be measured through three ordinal invariants: the width as a measure of antichains, height as a measure of chains, and maximal order type as a measure of bad sequences. We study these ordinal invariants for the finitary powerset, i.e., the collection Pf(A) of finite subsets of a wqo A ordered with the Hoare embedding relation. We show that the invariants of Pf(A) cannot be expressed as a function of the invariants of A, and provide tight upper and lower bounds for them. We then focus on a family of well-behaved wqos, for which these invariants can be computed compositionally, using a newly defined ordinal invariant called the approximate maximal order type. This family is built from multiplicatively indecomposable ordinals, using classical operations such as disjoint unions, products, finite words, finite multisets, and the finitary powerset construction.

cs.LO↗

Low rank MSO

We introduce a new logic for describing properties of graphs, which we call low rank MSO. This is the fragment of monadic second-order logic in which set quantification is restricted to vertex sets of bounded cutrank. We prove the following statements about the expressive power of low rank MSO. - Over any class of graphs that is weakly sparse, low rank MSO has the same expressive power as separator logic. This equivalence does not hold over all graphs. - Over any class of graphs that has bounded VC dimension, low rank MSO has the same expressive power as flip-connectivity logic. This equivalence does not hold over all graphs. - Over all graphs, low rank MSO has the same expressive power as flip-reachability logic. Here, separator logic is an extension of first-order logic by basic predicates for checking connectivity, which was proposed by Bojańczyk [ArXiv 2107.13953] and by Schirrmacher, Siebertz, and Vigny [ACM ToCL 2023]. Flip-connectivity logic and flip-reachability logic are analogues of separator logic suited for non-sparse graphs, which we propose in this work. In particular, the last statement above implies that every property of undirected graphs expressible in low rank MSO can be decided in polynomial time.

cs.LO↗

Well-Scoped Locally Nameless Representation of Syntax

When using interactive theorem provers based on dependent type theory to define and reason about languages involving binding constructs, we advocate the use of a well-scoped version of the locally nameless method of representing syntax. This paper describes generic code for this style of syntax representation within the Agda theorem prover, parameterized by a notion of binding signature due to Aczel and Plotkin. It gives a proof of its adequacy with respect to naïve nameful syntax modulo alpha-conversion and discusses some examples of its use.

cs.LO↗