Bit-Precise CHC Satisfiability Using Theory-Modular Reasoning

arXiv:2608.05337 · cs.LO, cs.PL · Submitted 2026-08-05 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.

Tom: We're looking at the paper: "Bit-Precise CHC Satisfiability Using Theory-Modular Reasoning".

Title and authors: Tom: So we're talking about this paper now called Bit-Precise CHC Satisfiability Using Theory-Modular Reasoning by Omer Rappoport, Orna Grumberg, and Yakir Vizel.

Jane: Right, so essentially they are tackling a really hard problem in bit-precise program verification—deciding if a set of constrained horn clauses can be satisfied when you have fixed-size bit-vectors involved.

Lu: The core idea they're pushing is combining reasoning from two different mathematical worlds: the theory of fixed-size bit-vectors, which handles the actual bit manipulations, and the theory of Integer Arithmetic.

Meng: I'm curious how they actually make that connection work when you're dealing with these complex constraints.

Tom: Well, they use something called Mosaic to do it. They partition the input set of constrained horn clauses into two fragments, one interpreted in bit-vectors and the other in integer arithmetic.

Jane: So it’s like splitting a complicated problem into two smaller pieces that you can solve separately using tools that are best at handling different kinds of math.

Lu: Exactly, and the key is they use sound translations across these theories to connect those pieces together without losing any meaning from the original set.

Meng: That translation part sounds like where things usually get messy, right? Like ensuring that when you move a constraint from one world to another, it still makes sense for the whole problem.

Tom: They address that with theory transformers, which are these special functions that translate formulas between the bit-vector theory and the integer arithmetic theory.

Jane: And they have this idea about modular reasoning, where they don't try to solve everything at once but instead reason about each fragment separately and only talk when it's necessary.

Lu: The structure they use involves creating two copies of every shared symbol—one for the bit-vector side and one for the integer arithmetic side—and then linking them up with some interface constraints.

Meng: So, if I understand right, they are keeping the bit-wise operations in their own world while letting the purely arithmetic parts run in a much more powerful environment?

Tom: That's basically it. They’re trying to get the speed of integer solvers for the arithmetic parts while still respecting the strict rules of fixed-size bit-vectors for everything else.

Title and authors: Jane: The results they show are pretty compelling because they test this on bit-manipulating benchmarks, and Mosaic significantly outperforms a solver called Spacer on those tests.

Lu: It shows that this theory-modular encoding approach actually works better than the existing state of the art solvers when you're dealing with these kinds of bit-vector problems.

Meng: But what about the practical side? I mean, running this framework on real-world, large scale models, what does that cost in terms of computation?

Tom: The implementation they showed uses Z3 and Spacer as prototypes for MosaicSolve, and it scales pretty well with bit-widths up to sixty-three.

Jane: That’s a big deal because most solvers time out on much smaller widths, which means this framework could handle problems that are just too large for current standard tools.

Lu: The paper also mentions an optimization where the translation function, specifically the one going from bit-vector to integer arithmetic, preserves the modular semantics by introducing modular arithmetic into those translated integer formulas.

Meng: So they’re not just translating blindly; they’re actually making sure that when you translate something from bit-vector to integer arithmetic, it still respects how bit-vectors actually work.

Tom: Right, so the translation itself has a specific trick for preserving the semantics of the bit-vector modularity in the integer formulas.

Jane: It makes sense that they focused on those specific translations because bridging that gap between the two theories is where most of these modular approaches fall apart.

Lu: The soundness part they establish is important too; they show a correspondence between solutions found by their new encoding and the actual solutions to the original constrained horn clauses.

Meng: That sounds like a solid foundation, but what’s the one thing they admit isn't perfect? What are the limitations of this Mosaic framework?

Jane: They do discuss that while it handles bit-vector operations in one fragment and arithmetic constraints in another, the way they connect those fragments through interface constraints is still quite complex.

Tom: So, if you were trying to use this on a totally different kind of problem, like something that doesn't fit neatly into these two categories, Mosaic might not be the best tool.

Lu: That’s accurate; the framework is specifically designed around this partition strategy—arithmetic versus bit-wise operations—so its power is tied to that specific structure.

Title and authors: Meng: I worry about deployment. If this needs this complex modular reasoning, it sounds like it might not be something a small startup can just plug into their existing pipeline without a huge engineering lift.

Jane: That’s fair, the complexity of the theory transformers and coordinating those dual reasons means there's a lot of machinery to manage before you get to the actual verification results.

Tom: Still, it's interesting because they are showing how you can actually combine two very different reasoning techniques—bit-vector logic and integer arithmetic—to tackle a problem that standard solvers struggle with.

Lu: The idea is that by isolating the purely arithmetic constraints in one fragment, they let the powerful integer arithmetic solver do its best work, which is where it excels.

Meng: So what does this mean for someone who isn't even doing bit-precise verification, like maybe someone just doing standard symbolic execution?

Jane: It suggests that for problems requiring very specific bit-level control, this modular approach might offer a better performance ceiling than sticking to a single solver that tries to handle everything at once.

Tom: Yeah, it’s about exploiting the complementary strengths of both theories rather than just trying to make one tool do everything poorly.

Lu: The overall implication is showing that theory-modular reasoning can bridge the gap between these two distinct domains effectively for verifying bit-precise computations.

Meng: So, if I had to sum it up for deployment, it’s a way to get better performance on specific problems at the expense of adding a significant layer of theoretical complexity upfront.

Jane: That seems like the trade-off they're making: gain performance on bit-vector tasks by accepting that you need this sophisticated modular encoding setup.

Tom: So, to wrap up our discussion on this paper, Bit-Precise CHC Satisfiability Using Theory-Modular Reasoning is a framework that splits problems into bit-vector and integer arithmetic parts, connects them with sound translations to reason modularly.

Lu: It proves that theory modular reasoning can be effective for deciding the satisfiability of constrained horn clauses modulo fixed-size bit-vectors.

Meng: It definitely shows a way to get better performance on those specific bit-manipulating benchmarks compared to prior solvers like Spacer.

Jane: It’s a really neat way to leverage both the strengths of bit-vector reasoning and integer arithmetic simultaneously for these kinds of verification tasks.

The paper's summary: Tom: So, to recap this bit, they built this whole framework called Mosaic to decide if a set of constrained horn clauses can be satisfied when you’re dealing with fixed-size bit-vectors.

Jane: Right, so it takes something complicated and splits it into two parts—one handled by the bit-vector theory and one handled by integer arithmetic—and they connect them using these sound translations.

Lu: The core idea is to get the best of both worlds, you know? You handle the tricky bit-level stuff in the bit-vector side, but you use a much more powerful tool for the pure math part, which is integer arithmetic.

Meng: But what does that actually look like under the hood when you’re running this thing on a real production system?

Tom: Well, they decompose the input set into two fragments. You get one fragment interpreted over fixed-size bit-vectors and another over integer arithmetic.

Jane: And to make those two worlds talk, they use these theory transformers. These are special functions that translate formulas from one theory into the other while keeping the meaning exactly the same.

Lu: Specifically, there's a transformer that takes a formula written in terms of bit-vectors and translates it into a formula written in terms of integer arithmetic.

Meng: That translation step sounds like where all the trouble happens when you try to bridge two different mathematical languages.

Tom: Exactly, because they have this optimization where that specific bit-vector to integer transformer actually keeps the modular semantics intact by introducing some modular arithmetic into those translated integer formulas.

Jane: So, it’s not just a blind translation; they’re making sure the structure of the bit-vector problem is preserved even when it becomes an integer problem.

Lu: And they do this by creating two copies of every shared symbol—one for each theory—and then linking them up with these interface constraints that manage how those two sides interact.

Meng: So, if I’m trying to deploy this, I have to worry about managing all these translated fragments and making sure the interface constraints are sound.

Tom: That's what the MosaicSolve algorithm handles. It’s a system of transitions where it delegates queries to the right solver—the bit-vector one or the integer arithmetic one—and coordinates everything based on those interface constraints.

Jane: And they claim this coordination, using concepts like proof obligations and under-approximation lemmas, allows for symbolic decision making that works across both theories.

Lu: The soundness part is key here too. They establish a correspondence between the solutions they find in this modular encoding and the actual solutions to the original constrained horn clauses.

Meng: That’s important for reliability; if it finds a solution, it actually means the original problem is solvable, which is what we need for verification.

Tom: It means they've built a way to leverage those complementary strengths of bit-vector logic and integer arithmetic to solve this specific problem set better than existing tools.

Jane: It changes how we think about these verification problems because instead of forcing one solver to handle everything poorly, you can modularly separate the operations and use the right tool for each piece.

Lu: It shows that theory modular reasoning is a viable way to tackle bit-precise verification by combining these two distinct mathematical domains effectively.

Meng: But it’s still an encoding process—you have to do this partitioning and translating setup first, which adds a lot of upfront complexity before you even start the actual solving.

Tom: That's the trade-off they are making; you gain performance on these specific bit-manipulating benchmarks but you pay for that with a complex theoretical encoding layer.

Jane: So it’s about finding a way to get better performance on specific bit-vector tasks by accepting that you need this sophisticated modular setup to manage the two different theories.

Lu: The next thing we look at is how they actually proved this correspondence, because that’s where the real rigor lies in making sure the whole system holds up.

The paper's improvements: Tom: So, we talked about the basic framework of Mosaic for solving bit-precise constrained horn clauses by splitting them into bit-vector and integer arithmetic fragments.

Jane: Right, and now we’re looking at how they improved that initial concept to make it actually work on a bigger scale or with more realistic problems.

Lu: They introduced several key improvements, starting with these theory transformers, like tau B to I and tau I to B.

Meng: What exactly are those doing? Are they just renaming variables or something?

Tom: They’re doing more than that; the first transformer translates formulas written in terms of bit-vectors into a formula written in terms of integer arithmetic.

Jane: That’s the bridge, right? It means we can take a bit-level constraint and turn it into something the integer arithmetic solver can actually process.

Lu: And they made a clever optimization there, so that this translation doesn't just translate blindly; it actively preserves the modular semantics by introducing specific modular arithmetic into those translated integer formulas.

Meng: That sounds like a smart way to ensure that when you move things between theories, you don't accidentally break the bit-vector logic.

Tom: It’s about preserving the structure of the problem while changing its mathematical language, which is crucial for keeping verification sound.

Jane: And they also refined their partitioning strategy, which was how they split the original set into those two fragments in the first place.

Lu: They decided to put all those constrained horn clauses whose function applications consist only of arithmetic operations into the integer fragment, while everything else stays in the bit-vector fragment.

Meng: That sounds logical for performance reasons, isolating the purely arithmetic parts where you can use a faster solver.

Tom: Exactly, but they made sure that even though they're in different worlds, these two fragments are connected by interface constraints that manage their interaction properly.

Jane: So, to sum up the improvements: better translation tools that preserve meaning, a smarter way to partition the problem based on arithmetic versus bit-wise operations, and an optimized algorithm called MosaicSolve that manages the coordination between those two worlds.

Lu: They also established a stronger property for soundness; they show that for every uninterpreted predicate in the original set, its meaning matches exactly what happens when you look at all of its copies in their new encoding.

Meng: That matching property is what gives me confidence; if the encoding is sound and those two worlds communicate correctly, the result should be trustworthy.

Tom: So these improvements mean that for real-world bit-precise verification, we can now expect much better performance on bit-manipulating benchmarks than we got with simpler solvers like Spacer.

Jane: It means that for someone who just listens to the show, it translates to being able to solve larger instances of bit-vector problems that were previously impossible because the standard tools timed out.

Lu: The next thing we need to dig into is the practical costs; how much engineering effort does setting up this entire modular system require before you can even run a single verification job?

Conclusion: Tom: So we’re wrapping up this look at "Bit-Precise CHC Satisfiability Using Theory-Modular Reasoning," which is basically about using bit-vector and integer arithmetic together to solve complicated logic problems.

Jane: Right, so it’s about taking a hard problem in bit-precise verification and splitting it into two parts, one for the bits and one for the math, then connecting them soundly.

Lu: The main implication is that we can handle those bit-level operations in their own space while using integer arithmetic for the purely numerical constraints efficiently.

Meng: But what does this mean when I’m trying to deploy this on a real system? What’s the real cost of setting up all these theory transformers and interface constraints?

Tom: Well, the paper shows it scales well, hitting bit-widths up to sixty-three, which is way better than what standard solvers can handle for those bit-vector problems.

Jane: It changes things because it means we might actually be able to verify safety properties on programs that involve complex bit manipulation, not just simple arithmetic ones.

Lu: The soundness property they established is pretty solid; the encoding they create truly reflects the original problem's solutions, which gives us confidence in the results.

Meng: I still have reservations about deploying something with this much theoretical overhead before you even run a single piece of real traffic through it.

Tom: That’s fair, but for specific bit-precise tasks, they show this modular approach outperforms existing tools like Spacer on those bit-manipulating benchmarks.

Jane: It’s a strong result because they used concrete examples like the abs-ge benchmark and the swap-sum benchmark to prove it works in practice.

Lu: The paper lays out a clear path forward, focusing on how these theory modular reasoning techniques can be extended to other types of constraints in the future.

Meng: I’m still waiting for more data on how this performs when we introduce real-world complexity and noise, because benchmarks don't always reflect production traffic.

Tom: That’s where the next paper will likely focus; moving from these clean benchmarks to messy, real-world constraints is the natural next step for this framework.

Jane: It sounds like we need to keep an eye on how they handle those real-world complexities in their future work, because that’s where the practical utility really comes into play.

Lu: I think the potential here is huge; if they can generalize this modular separation method, it could apply to much broader classes of verification problems.

Meng: For now, I see it as a powerful tool for niche problems with high bit-precision needs, not necessarily a universal replacement for every symbolic solver.

Tom: So that’s the picture on "Bit-Precise CHC Satisfiability Using Theory-Modular Reasoning," combining the strengths of bit and integer arithmetic through sound translations.

Jane: It’s a solid piece of work showing how modular reasoning can bridge those two different mathematical worlds to tackle verification problems effectively.

Lu: We have to see if they can push this technique beyond just constrained horn clauses into more general program verification settings.

Technion - Israel Institute of Technology

cs.LO, cs.PL

Submitted: 2026-08-05

Updated: 2026-08-05

Comments: Accepted at ATVA 2026

Journal ref: ATVA 2026, Lecture Notes in Computer Science, vol 17229, pp. 187-207, Springer

DOI: 10.1007/978-3-032-45597-0_10

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 100/100

The gist: Deciding satisfiability of Constrained Horn Clauses (CHCs) modulo the theory of fixed-size bit-vectors (TB) is fundamental to bitprecise program verification.<ref:2608.05337#pg1…

Key concepts

Theory Modular Reasoning Framework
Mosaic splits a set of CHCs into two fragments interpreted over TB (bit-vectors) and TI (integer arithmetic). It connects these fragments using sound translations, allowing the system to use the strengths of both theories simultaneously. This modular approach is key to handling complex constraints that mix bit-wise and arithmetic operations effectively.
Theory Transformers
These are translation functions, like $ au_{B o I}$, that convert formulas from one theory into another without losing their meaning. For example, a transformer can translate a bit-vector formula into an integer arithmetic formula, ensuring that the logical constraints remain equivalent across the different mathematical systems.
Theory Modular Encoding
The input CHC set is partitioned into two subsets, $\Pi_B$ (containing bit-wise operations) and $\Pi_I$ (containing only arithmetic operations). These fragments are then reencoded using theory transformers, and shared predicate symbols are duplicated to maintain consistency between the TB and TI interpretations.

Terminology

Summary

Deciding satisfiability of Constrained Horn Clauses (CHCs) modulo the theory of fixed-size bit-vectors (TB) is fundamental to bitprecise program verification. p. 0<ref:2608.05337#pg1, Deciding satisfiability of Constrained Horn Clauses (CHCs) modulo the theory of fixed-size bit-vectors (TB) is fundamental to bitprecise program verification>. p. 0 Mosaic, a theory-modular framework for deciding satisfiability of CHCs modulo TB by combining reasoning in TB and the theory of Integer Arithmetic (TI), significantly outperforms state-of-the-art solvers on bit-manipulating benchmarks. p. 0<ref:2608.05337#pg1, We present Mosaic, a theory-modular framework for deciding satisfiability of CHCs modulo TB by combining reasoning in TB and the theory of Integer Arithmetic (TI), significantly outperforms state-of-the-art solvers on bit-manipulating benchmarks>. p. 0

Framework Introduction

Mosaic partitions a set of CHCs into two fragments, interpreted over TB and TI, connected by sound translations across theories.<ref:2608.05337#pg2, Given a CHC set modulo TB, Mosaic partitions it into two fragments interpreted over TB and TI. p. 0 The core intuition behind Mosaic is to exploit the fact that CHC-solvers handle CHCs modulo TI effectively when limited to arithmetic operations while retaining bit-wise operations in TB for superior performance >

Encoding and Decomposition

The decomposition of a set of CHCs into (ΠB, ΠI) involves partitioning the set based on whether clauses include only arithmetic or bit-wise operations.<ref:2608.05337#pg2, Specifically, CHCs that include only arithmetic operations are placed in ΠI, while CHCs that include bit-wise operations are placed in ΠB >

  1. The set Π is partitioned into two distinct subsets (ΠB, ΠI) such that their union is Π <ref:2608. p. 105337#pg2, While the partitioning can be done arbitrarily, in our prototype implementation it is performed according to the constraints that appear in the body of CHCs in Π >

  2. ΠI is reencoded w. p. 1r.t. TI using a theory transformer, which translates constraints over TB to constraints over TI. p. 1<ref:2608.05337#pg2, Next, ΠI is reencoded w. p. 1r.t. TI using a theory transformer, which translates constraints over TB to constraints over TI >

  3. ΠB and ΠI share uninterpreted predicate symbols, where for every shared predicate symbol p, two copies, pB and pI are created. p. 1<ref:2608.05337#pg2, Then, p is substituted with pB and pI in ΠB and ΠI respectively >

  4. If a predicate is an interface predicate, a set of interface constraints Θ is generated to ensure consistency w. p. 1r.t. interpretations of the newly created copies. p. 1<ref:2608.05337#pg2, To achieve that, a set of interface constraints Θ is generated for all such interface predicates >

Reasoning Mechanism

Reasoning over the theory-modular encoding ΠBI = (ΠB, ΠI, Θ) is performed by MosaicSolve using existing CHC-solvers for TB and TI.<ref:2608.05337#pg2, The procedure relies on existing CHC-solvers for TB and TI. p. 1 It generates single-theory queries, delegates them to the corresponding CHC solvers, and coordinates the exchange of information between fragments as dictated by the interface constraints >

  1. MosaicSolve generates a query over a single theory and delegates it to the corresponding oracle. p. 1<ref:2608.05337#pg1>

  2. The procedure is defined as a transition system with states specified below and transitions given by the inference rules in Fig. p. 5 2.<ref:2608.05337#pg1>

Soundness and Correctness

The satisfiability of a theory-modular encoding is defined in terms of the semantics of its uninterpreted predicates, where the semantics decompose into a local component and an external component mediated by interface constraints.<ref:2608.05337#pg1>

  1. Definition 9 defines Jp⋄KMBI n as (Jp⋄KMBI n)→ ∪ (Jp⋄KMBI n)⇝ such that: <ref:2608. p. 005337#pg1>

  2. Theorem 1 establishes a correspondence between solutions of the encoding and solutions of the original CHCs. p. 2<ref:2608.05337#pg1>

Implementation Details

The implementation uses Z3 and Spacer as prototypes for MosaicSolve.<ref:2608.05337#pg2, The prototype is implemented using Z3 [12] and Spacer [11] where Spacer serves as the CHC-SAT oracle for both TB and TI >

**) Theory Transformers: The transformers translate formulas between theories, preserving semantics even though fragments are defined over different signatures and theories <ref:2608.05337/pg8, We introduce a pair of translation functions, called theory transformers. p. 6 The first transformer, denoted τB⇝I, translates bit-vector formulas into integer arithmetic <ref:2608. p. 605337#pg12> and the second transformer, denoted τI⇝B, translates formulas in the opposite direction > **

**) Encoding Optimization: An optimization is applied where the transformer τB⇝I preserves bit-vector modular semantics by introducing modular arithmetic into translated integer formulas **

**) Partitioning Strategy: The partitioning strategy places CHCs whose function applications consist only of arithmetic operations in the integer fragment while all other CHCs remain in the bit-vector fragment **

Experimental Results

The experimental evaluation shows that Mosaic significantly outperforms Spacer on bit-manipulating benchmarks.<ref:2608.05337#pg1, Our evaluation shows that Mosaic significantly outperforms Spacer on these benchmarks >

**) Performance Comparison: Table 1 compares the performance of BV, IA, and BV+IA configurations across different maximal bit-widths and runtimes <ref:2608.05337#pg20> Overall, BV+IA achieves the largest bitwidth on most benchmarks, often by a wide margin > **

**) Scaling: In several cases, it scales to large bit-widths (up to 63), while BV and IA time out at much smaller widths <ref:2608.05337#pg20> **

Conclusion

The paper concludes that Mosaic successfully decides the satisfiability of CHCs modulo TB by leveraging complementary strengths of TB and TI.<ref:2608.05337#pg1, We presented Mosaic, a theory-modular framework for deciding satisfiability of CHCs modulo TB >

Benchmarks

The evaluation uses several benchmarks to highlight the benefits of Mosaic over a standard CHC-solver.<ref:2608.05337#pg1>

**) Examples: The benchmarks include small realistic programs that use bit-manipulating, as well as arithmetic operations <ref:2608.05337#pg12> This benchmark set consists of small realistic programs that use bit-manipulating, as well as arithmetic, operations > **

**) Specific Benchmarks: Examples include the abs-ge benchmark (Fig. 4), the cond-neg benchmark (Fig. p. 2 6), and the swap-sum benchmark (Fig. p. 2 10) <ref:2608. p. 005337#pg30> These benchmarks are used to evaluate Mosaic > **

**) Results: The results show that while Spacer cannot solve it for bit-vectors of width 9, Mosaic easily solves these instances for much larger bit-vector sizes > **

References

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 21 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 24 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 25 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 27 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 28 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 29 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 30 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 31 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 32 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 34 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 35 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 36 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 48 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 49 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 50 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 51 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 52 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 53 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 54 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 55 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 56 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 57 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 58 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 59 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 60 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 61 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 62 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 63 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 64 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 65 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 66 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 67 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 68 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 69 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 70 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 71 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 72 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.05337#pg1, The work in [16] partitions a set of CHCs based on its structure, but all subsets are interpreted over the same background theory >

--- Page 73 ---

The paper cites several related works in formal methods and SMT solvers.<ref:2608.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Theory Modular Reasoning Framework: The Mosaic framework can decide satisfiability of Constrained Horn Clauses modulo Fixed-Size Bit-Vectors (TB) by combining reasoning in TB and Integer Arithmetic (TI). This allows for efficient verification of program safety relative to bit-precise semantics, overcoming the limitations where standard CHC solvers struggle with TB.

  2. Theory Transformers: The system utilizes theory transformers like tau B to I and tau I to B to translate formulas between theories while preserving their semantics. For instance, tau B to I translates bit-vector formulas into integer arithmetic formulas such that JphiKMB = delta x'ItoB JtauBtoI(phi)KMI with restriction is satisfied.

  3. Theory Modular Encoding: The framework partitions the input CHC set Π into two fragments, (ΠB, ΠI), interpreted over TB and TI respectively, connected by interface constraints Θ. This decomposition allows the system to enjoy the best of both worlds, handling bit-wise operations in TB and arithmetic constraints in TI modularly.

  4. MosaicSolve Algorithm: The MosaicSolve procedure is a transition system that coordinates reasoning across fragments using proof obligations, under-approximation lemmas (∆u), and over-approximation lemmas (∆o). This enables symbolic decision making by delegating queries to the appropriate CHC satisfiability oracles for TB and TI while propagating constraints via interface constraints.

  5. Soundness Preservation: The system maintains a key property that the semantics of each uninterpreted predicate p occurring in Π coincides with the union of the semantics of its copies in the encoding, ensuring that the existence of a ΣB-solution implies the satisfiability of the theory-modular encoding.

Related papers