Manuscript Offprint
arXiv:2610.23771LLM-Assisted Bi-Approximate CHC Solving
BAITING JIANG, Tsinghua University, China, jbt24@mails.tsinghua.edu.cn
Constrained Horn clause (CHC) solvers often struggle to discover deep counterexamples whose derivations may require extensive rule unfolding. Although large language models (LLMs) can propose long-range symbolic relations, prior work on formally checked LLM-assisted verification has mainly focused on generating inductive invariants and concrete traces. We exploit this broader capability through Derivation Power Under-approximations (DPUs). Each DPU is a solver-certified under-approximation of the relation induced by a multi-step CHC derivation. An LLM proposes each DPU with symbolic intermediate-state witnesses that enable SMT validation without introducing additional quantifiers. Validated DPUs can be composed and reused soundly. Building on this mechanism, our LLM-assisted framework HornCraft combines invariant generation for over-approximation with DPU generation for under-approximation in CHC solving. On 260 linear and nonlinear integer-arithmetic CHC-COMP benchmarks left unresolved by a 30-minute Spacer run, HornCraft returns certified verdicts for 228 instances. It certifies 42 instances as unsafe, compared with 22 when DPU construction and reuse are disabled.
CCS Concepts: • Theory of computation → Verification by model checking; Logic and verification; Automated reasoning.
Additional Key Words and Phrases: model checking, constrained Horn clauses, large language models
1 Introduction
Constrained Horn clauses (CHCs) provide a general intermediate representation for a wide range of formal verification problems across programming languages and application domains, including tools for C [17, 25, 26], Java [31], Android [10], Rust [39], and Solidity [1, 49]. Many solvers have been developed for the CHC satisfiability problem, including Spacer [36], MuCyc [46], Eldarica [29], Golem [5], and LoAT [22]. A CHC solver can prove query unreachability by finding an inductive interpretation, or prove query reachability by applying CHC rules until a query is reached. Such a finite proof is called a derivation.
For reachable instances, a counterexample derivation may be deep, requiring many rule applications before reaching the query [7, 22]. A solver that reasons one rule application at a time has to traverse the whole derivation, making deep counterexamples hard to find and validate. Besides, a derivation may also branch because one rule application can depend on multiple reachable predecessors. Reasoning across several steps at once can avoid this repeated unfolding. TPA does so by building over-approximate relations for increasingly long transition sequences [7], whereas LoAT learns under-approximate relations [22].
On the other hand, LLM-assisted verification has recently been applied to both proof construction and bug finding. We follow the guess-and-check paradigm in which an LLM proposes candidate artifacts and a formal backend validates them, keeping the LLM outside the trusted reasoning core. Prior work in this paradigm has mainly used LLMs to construct over-approximations of reachable states, especially inductive invariants, for unreachability proofs [20, 32, 42, 44, 50, 51]. On the reachability side, recent approaches produce concrete inputs or execution traces as evidence of reachability [34, 45].
However, LLMs are well suited to proposing long-range symbolic relations that cross many derivation steps. Yet existing guess-and-check interfaces still require a complete trace for solver validation and thus lack a direct way to use this ability.
To bridge this gap, we propose Derivation Power Under-approximation (DPU). A DPU represents a solver-certified subset of feasible multi-step CHC derivations. It can reduce the number of steps needed to represent a deep derivation. To obtain this compression within the guess-and-check paradigm, the LLM proposes candidate DPUs together with symbolic witnesses for their
Baiting Jiang
intermediate states. A solver then validates each proposal through SMT queries without introducing additional quantifiers. Once certified, DPUs can be reused to construct new DPUs and combined to compress longer linear and branching derivations. In this way, DPUs serve as a formally checkable interface between an untrusted generative proposer and a trusted verifier.
We develop HornCraft, an LLM-assisted framework for CHC solving. HornCraft combines LLM-proposed DPU candidates for under-approximating feasible multi-step derivations with LLM-proposed invariant candidates for over-approximating reachable states.
Experimental results show that HornCraft certifies 228 of 260 (88%) linear and nonlinear integer-arithmetic CHC-COMP instances that time out under a 30-minute Spacer run in Z3 4.17 [14]. This includes all 35 instances in the expected-unsafe group and 26 of 40 instances with unknown expected verdicts. On six parameterized CHC families used to study scalability with derivation depth and branching, it solves 30 of 37 instances left unresolved by a 30-minute Spacer run. With DPU, HornCraft certifies 42 Spacer-hard instances as unsafe (vs. 22 without DPU) and solves larger unsafe instances in four nonlinear families.
Our main contributions are as follows:
-
We introduce witness-carrying DPUs, solver-certified under-approximations of multi-step CHC derivations that connect LLM proposals with solver validation. Symbolic witnesses enable certification without introducing additional quantifiers.
-
We give a sound calculus for composing and reusing DPU relations over mixed rule applications and branching derivations.
-
We develop HornCraft, an LLM-assisted framework that combines LLM-proposed DPU and invariant candidates for reachability and unreachability.
2.1 Motivating Example
Figure 1(a) gives a representation of the verification task encoded by the CHC-COMP 2026 [2] benchmark s_split_15_000_001 in Figure 1(b). The example features a multi-phase loop. During the first 500 iterations, and increases by two at each step, reaching 1,000; we call this the phase. During the next 500 iterations, and remains fixed; we call this the phase. After the phase, and , violating the assertion.
int p = 0, i = 0, x = 0; while (true) { assert!(p == 0 && i == x && i > 0); if (p < 500) { x += 2; } p = (p + 1) % 1000; i++; }
(a) Verification task
(b) CHC encoding
Fig. 1. A multi-phase loop and its CHC encoding.
Figure 2 shows the 1,000-step counterexample from the initial state to the violating state . Explicitly unfolding it requires 1,000 applications of . A stepwise search must propagate reachability through all 1,000 applications of before the query rule can be triggered.
We let an LLM propose a DPU, namely a restricted endpoint relation for a finite CHC derivation, together with witnesses for its hidden states. An SMT check without new quantifiers certifies that every admitted endpoint pair expands to a valid sequence of original-rule steps. Thus, the DPU

Fig. 2. DPU compression in the motivating example.
can compress reachability proofs while preserving soundness. It may omit valid paths but cannot introduce spurious ones.
For each of the two 500-iteration phases described above, we let the LLM propose how the state changes across the whole phase instead of listing every application of . Let and denote the states before and after a phase, respectively. This gives the following candidate relations:
Assume that both candidates have been certified, as shown in Fig. 2. The following formula checks whether they connect the initial state to the bad state:
A candidate relation proposed by the LLM can be used as a DPU only after it passes the solver-backed certification check. Once the two 500-step DPUs have been certified, the two-step SMT query above can yield a witness to the assertion violation without unfolding 1,000 individual applications of in the final reachability query. However, certifying either 500-step relation by unfolding 500 copies of is still a challenge. Following prior work [7], the framework can first certify shorter DPUs, such as those spanning 2, 4, or 8 steps (the 2- and 4-step cases are illustrated in Fig. 2), and reuse them to certify the 500-step candidates. More generally, the framework can also support branching derivations.
2.2 Framework
Figure 3 summarizes HornCraft. HornCraft first runs Spacer on the input CHCs for a short time. This initial run reflects the practical observation that Spacer often resolves instances it can solve quickly. For unresolved instances, the LLM inspects the CHCs and the certified banks, then proposes invariant atoms, witness-carrying DPUs, and reach facts (RFs) with derivations. The formal engine checks these candidates and allows only those that pass its checks to cross the trusted boundary and enter the certified banks.
HornCraft then uses the certified banks to search for proofs of query unreachability and reachability. On the reachability side, a DPU under-approximates the relation induced by a derivation fragment. The witness check certifies the proposed relation using the supplied symbolic witnesses. Certified DPUs can be reused to construct further DPUs and derive RFs, which record concrete reachable states. The BMC-like check validates each proposed RF by checking a finite derivation built from original rules, certified DPUs, and previously certified RFs. HornCraft uses certified
Baiting Jiang
RFs to extend the reachability search and proves unsafety when they establish reachability of an original query. On the unreachability side, Houdini [21] filters invariant atoms to obtain inductive invariants that over-approximate reachable states. HornCraft proves safety when these invariants exclude every original query.
The LLM revises its proposals using the certified banks and verification feedback, and can request guided Spacer calls using certified invariants and RFs. If the shared resource budget is exhausted without a proof, HornCraft returns unknown. Section 5 details the algorithm.

Fig. 3. Overview of the HornCraft framework.
3 Preliminaries
We introduce CHCs and their satisfiability problem, whose satisfiable and unsatisfiable cases are certified by inductive interpretations and finite CHC derivations, respectively.
Constrained Horn clauses (CHCs). CHCs are a fragment of first-order logic modulo background theories. Let be a first-order theory and be a finite set of uninterpreted relation symbols. A CHC system over and is a finite set of CHC rules. Each rule is a universally quantified formula
Here , and denotes all variables occurring in . The quantifier-free -formula is called the constraint of and contains no relation symbols from . For every , is a relation atom with , where is a tuple of -terms matching the arity of . The relation symbols need not be distinct. is either a relation atom with or . We call the antecedent of its body and its head.
A rule with no relation atom in its body, i.e., m = 0, and one relation atom in its head is called a fact. A rule whose head is is called a query.
A rule is linear if , and nonlinear otherwise. C is linear if every rule in C is linear, and nonlinear otherwise. We omit leading universal quantifiers from CHC rules and the background theory T from the notation when clear from context.
The CHC satisfiability problem asks whether C admits an interpretation of the relation symbols in P that satisfies every rule in C.
CHC satisfiability as a query-reachability problem. For , this problem can be viewed as a query-reachability problem over the state spaces associated with its predicates. For each predicate , the state space is the Cartesian product of its argument domains. A tuple represents a state associated with . A valuation for a rule assigns values to the variables in and extends to terms in the usual way; we write when the constraint holds under . Facts with head generate initial states at , whereas other rules with relation-atom heads propagate reachability from the states represented by their body atoms to a state represented by their head. For a query with body atoms , its reachability target is defined over the product of the corresponding state spaces.
For each , let be the set of all states generated by any fact rule of the form , under any valuation for such that . The reachable-state sets form the least family that contains every and is closed under all non-fact, non-query rules. In particular, consider such a rule with head and body atoms . For every valuation for , if and , , then .
A query is reachable if some valuation satisfies its constraint and instantiates every body atom with a reachable state. Consequently, C is unsafe (unsatisfiable) iff some query is reachable; otherwise it is safe (satisfiable).
Certificates for the query-reachability problem. Unreachability certificates use over-approximations of the reachable-state set of each predicate, while reachability certificates use under-approximations.
Unreachability certificate. An inductive interpretation assigns to every relation symbol a background-theory formula of the same arity. For an atom , write , and let . It is inductive for if, for every rule ,
The formulas form a family of inductive invariants, one for each relation symbol . For every , the set of states satisfying over-approximates . Together, these invariants prove every query unreachable.
Reachability certificate. A CHC derivation is a finite tree of rule applications. An application of a rule under a valuation derives its instantiated head from its instantiated body atoms. These body atoms are established at its child nodes in the derivation tree. Fact applications are leaves of the derivation tree. A derivation rooted at a query application concluding is a reachability certificate. For example, consider the following CHCs:
The fact derives . Then two applications of the second rule can derive and . Finally, the query can derive using . These applications form one derivation. As this example shows, linear CHC derivations are paths, while nonlinear CHC derivations may branch.
In the derivation , the fact leaves and all intermediate nodes derive reachable states. The root query is therefore reachable, proving C unsatisfiable.
Baiting Jiang
4 Compressing CHC Derivations
4.1 Derivation Power Under-approximations
A reachability certificate can be highly redundant when every state in its derivation tree is represented explicitly. It is therefore reasonable to reduce the number of intermediate states by using sound CHC rules derived from the original C. For the CHC system in Fig. 1, a certified compresses 500 applications of into one such rule.
Consider two CHC rules in the form of Eq. (3), with their variables renamed apart. If the head of the first rule matches a selected body-atom occurrence of the second, we compose the two rules by replacing that occurrence with the body atoms of the first rule and equating the argument tuples of the matched atoms. The composed rule has the head of the second rule. For a rule , let denote its multiset of body atoms and let denote its head.
We can compose the rules in in order. At each step , we select a body-atom occurrence of with the same predicate symbol as the head of the rule composed so far. These selections define the composition plan .
Let denote the remaining body atoms, head, and constraint after composing the first rules according to . For the first rule, . For , let equate the arguments of and . Then
Here denotes multiset addition. We write and . Let collect the variables occurring in or , and let collect the remaining variables of . To express the composition over , we existentially quantify and obtain the exact composed constraint:
Obtaining an equivalent quantifier-free constraint may require expensive quantifier elimination. To construct a reachability certificate, we can use sound derived rules that cover selected feasible derivations. We therefore seek a Derivation Power Under-approximation (DPU) of .
Definition 4.1 (Derivation Power Under-approximation). For a composition plan , a relation is a DPU if every assignment to satisfying also satisfies . We write for this inclusion.
A DPU D for the composition plan induces the following CHC rule , which can be used to compress reachability certificates:
4.2 Witness-Carrying DPUs for Linear CHCs
To certify a candidate relation proposed by the LLM to be a valid DPU, we should ensure the inclusion in Definition 4.1. This requires showing that every assignment admitted by can be extended with values for the internal variables that satisfy the composed constraints. We first illustrate this requirement with two composable linear CHC rules:
Their exact composed constraint is:
For this two-rule composition, we write for the candidate relation and for the exact composed rule with constraint . Since the equality in Eq. (10) identifies and , we denote their shared value by . By Definition 4.1, the DPU condition is
Checking the implication in Eq. (11) directly requires reasoning about the existentially quantified intermediate state . We want to avoid quantifier elimination to keep certification scalable. Since is intended to describe selected endpoint pairs of the exact two-rule composition, we ask the LLM to also provide a symbolic Skolem witness for their intermediate states. is a tuple of background-theory terms specifying an intermediate state from the two given endpoints. It therefore suffices to check the following stronger implication:
The witness-based check extends directly to the composition plans defined in Section 4.1. For a plan , the LLM supplies a tuple of background-theory terms that assigns values to all internal variables . Substituting these terms into the accumulated constraint gives the sufficient condition . We check this condition by testing the following formula for unsatisfiability without introducing additional quantifiers:
An unsat result proves . For a chain of transition rules of the form illustrated above, the witnesses specify the intermediate states.
THEOREM 4.2 (SOUNDNESS OF WITNESS-CARRYING DPUs). For a composition plan over , suppose for every source rule . If is unsat, then the derived rule in Eq. (8) is a logical consequence of . Consequently, adding to preserves satisfiability.
PROOF. Let , so satisfies every source rule. For any valuation satisfying the body of under , assign the internal variables the values of . The unsat condition ensures that every source constraint and matching equality in holds under this extended valuation. The open body atoms in remain true, so successive applications of the source rules in plan order establish . Thus . Since was arbitrary, , and and have the same models.
We now illustrate this certification using the CHC system in Figure 1. Let and denote the source and destination states, respectively, and write for the -fold self-composition . For , let denote a candidate relation intended to satisfy .
For , the LLM proposes the following two candidate relations, each compressing two applications of :
(14)
The witnesses for the intermediate states given by the LLM are and . For , substituting the witness into the two copies of the original transition relation gives
(15)
Baiting Jiang
Therefore, the solver checks the following formula for unsatisfiability to verify as a DPU:
The certification for is analogous.
Semantically, the guard in ensures that both the source value and the intermediate value remain below 500. The witness check therefore establishes without explicitly quantifying over the intermediate state.
For , the LLM proposes the following candidate relation:
The LLM provides three witnesses , , and for the hidden intermediate states. The guard keeps all four applications within the phase, so an unsat result for the witness check establishes .
In the reachability semantics of Section 3, either certified two-step DPU can propagate any reachable source state across both applications: . Figure 2 illustrates this correspondence. Within the phase, the original 500-step trace can therefore be represented using as , yielding a 250-step derivation. The analogous use of compresses the phase from 500 steps to 250 steps, reducing the complete two-phase derivation to 500 steps. Using the direct four-step candidates and instead reduces each phase to 125 steps, yielding a 250-step derivation overall.
4.3 Compositional Construction of DPUs
Due to the monotonicity of relational composition, if and , where and are the corresponding exact endpoint relations, then . Consequently, certifying can prove .
We therefore can reuse previously certified DPUs to certify new ones. For a composition plan over , each is either an original rule or a rule induced by a previously certified DPU. Let be the rule in Eq. (8). We define by finite applications of the following rules:
Induction on the finite derivation of shows that . The BASE case holds because . For DPU-DERIVE, the induction hypothesis gives for every source rule, and Theorem 4.2 then yields .
For the CHC system in Figure 1, Section 4.2 certified directly against four copies of using three witnesses. We can instead certify the same relation from two instances of the certified in Eq. (14), using only the midpoint witness :
This establishes . We now explain how to repeatedly apply the construction to yield and as shown in Fig. 4. For each , the candidates have the form:
(20)

Fig. 4. Compositional DPU certification for the motivating example.
The candidates are certified by Eq. (16) and its -phase analogue. For each , we certify using the symbolic midpoint witnesses
The certified powers are then recombined to obtain and , each with five intermediate-state witnesses:
Together, the certified and establish the unsafe path shown in Figure 2.
4.4 DPUs for Nonlinear CHCs and Reach-Fact Reuse
We now consider DPU certification for nonlinear CHCs. The witness-based check in Eq. (13) and the DPU-DERIVE rule in Eq. (18) remain sound for compositions of nonlinear rules. When the check is unsat and all source rules are logical consequences of C, Theorem 4.2 still guarantees that the derived rule is a logical consequence of C.
Unlike linear DPU compositions, nonlinear compositions can leave multiple open body atoms. By Eq. (6), composing two rules with m and body-atom occurrences leaves such atoms in . The DPU relates the states at these frontiers to a successor state, as illustrated by the following two rules:
(23)
Composing and with as the pivot imposes , yielding . A certified induces . The resulting rule has three open frontier atoms: , and . As composition continues in this way, the number of open frontiers grows.
To reduce the number of open frontiers, following GPDR [28] and Spacer [36], we record reach facts (RFs). A point RF records a concrete reachable state together with its derivation. Initially, RFs record initial states generated by fact rules. The LLM can propose a finite derivation
Baiting Jiang
from known RFs to a target, using original rules and certified DPUs. As in bounded model checking, an SMT solver checks whether the resulting constraints are jointly satisfiable. A satisfying model establishes the proposed derivation. If it concludes with a query application deriving , the CHC system is unsafe. Otherwise, the derived relation atom is recorded as a new RF. A recorded RF can close an open frontier in a nonlinear composition by adding to the constraint. RFs can also serve as intermediate results and act as initial facts in subsequent derivations.
5 LLM-Assisted Bi-Approximate CHC Solving
We combine witness-carrying DPUs and invariant atoms proposed by an LLM in a CHC-solving framework called HornCraft, as shown in Figure 3. Given an input CHC system C, HornCraft maintains a certified bank of DPUs, reach facts, and invariants, respectively. The invariant family I satisfies all non-query rules. The procedures below share a resource budget . We present LLM-guided reachability search, invariant synthesis, and the overall algorithm below.
5.1 LLM-Guided Reachability Search
To prove query reachability, HornCraft searches for a valuation that satisfies a query’s constraint and matches each of its body atoms to a certified RF. The LLM guides this search by proposing DPU candidates to compress derivations and RF candidates with finite derivations that may reuse certified DPUs. The LLM bases its proposals on the input CHC system C, the certified bank B, and feedback. As described in Sections 4.3 and 4.4, certified DPUs and RFs can be reused in later derivations. The LLM therefore submits dependent candidates in an ordered batch K for certification by Algorithm 1.
Algorithm 1 REACHSTEP: certifying a batch of DPUs and RFs
Input: CHC system C, certified bank B, candidate batch K, budget .
Output: Updated bank B and feedback f.
1
2 for each in submission order while permits certification do
3 if not READY( ) then
4 record rejection in f; continue
5 end if
6 if c is a DPU candidate ( ) then
7
8
9 if s = unsat then
10
11 RECORDDPU( )
12 end if
13 else
14
15
16 if s = sat then RECORDRF( )
17 end if
18 append the check result and available diagnostics to f
19 end for
20 return B, f
Each DPU candidate specifies source rules, a composition plan, a candidate relation, and witnesses. SMT checks each formula within the remaining budget and returns a status s of unsat, unknown, or sat with a model .
The formal engine processes candidates in submission order within the budget, rejecting those with uncertified dependencies. A candidate certified earlier can be reused by later candidates within the same batch (lines 2–5).
For a DPU candidate, the engine first renames the source variables apart and then composes the rules according to using Eq. (6). It then checks the formula in Eq. (13) for unsatisfiability to certify the candidate (lines 6–8). Sources can include certified RFs as ground facts. If the check returns unsat, the engine adds the certified rule to (lines 9–11). A sat result instead supplies an endpoint valuation where the proposed witnesses fail. The engine adds this valuation to .
For an RF candidate c, the engine encodes its proposed derivation as an SMT formula (lines 13–15). The formula conjoins equalities matching open frontiers to certified RFs, constraints encoding rule applications, and any target conditions. On sat, the engine records the concrete root atom in together with the satisfying model and the supporting derivation (line 16). On unsat, the engine attempts to extract an unsat core by tracking the constraints of each derivation step separately. Any resulting core is added to f. On unknown, the solver's reason is recorded in f.
After processing the batch or exhausting the budget, the procedure returns the updated bank and f for subsequent LLM proposals (lines 18–20).
To close an original query q, QUERYREACHED checks whether one valuation satisfies its constraint and matches every body atom to a certified RF in R. A sat result derives and proves unsafe. The formal engine retains the query valuation and the supporting RF certificates. Failure to find a matching that passes this check leaves the query unresolved.
To justify this unsafe verdict, we show that every certified RF has a finite derivation over the original rules.
PROPOSITION 5.1 (SOUNDNESS OF JOINT DPU AND RF REUSE). Suppose the input bank has a finite acyclic certificate graph, every input DPU application expands to finitely many original rule applications with the same head and open premises, and every input RF has a finite derivation over C. Algorithm 1 preserves these properties. Consequently, every RF in the updated bank is reachable, and a successful QUERYREACHED check yields a finite derivation of over the original rules.
PROOF. Induct jointly on DPU and RF admissions in certification order, with the input bank as the base case. READY restricts sources to original rules and previously certified DPUs or RFs, so each admission preserves acyclicity.
For a DPU, the witness construction in the proof of Theorem 4.2 expands each application into its source rule applications. By the induction hypothesis, expanding the DPU and RF sources yields finitely many original rule applications with the same head and open premises.
For an RF, the satisfying model instantiates its proposed derivation. Expanding its certified sources by the induction hypothesis yields a finite derivation of the recorded atom over C. Finally, attaching these RF derivations to the query application validated by QUERYREACHED yields a finite derivation of over C.
5.2 LLM-Guided Invariant Synthesis
To prove query unreachability, HornCraft follows prior work on LLM-guided invariant generation [11, 20, 42, 44, 50, 51]. As in Loopy [32], we use Houdini [21] to filter candidate atoms.
Beyond proposing invariant atoms, the LLM may also request a short guided Spacer call. HornCraft passes the certified invariants and RFs in the current bank to Spacer as guidance. Following CIII's reuse of IC3's infinite frame [44], HornCraft uses Spacer's infinity-level lemmas to strengthen
Baiting Jiang
its invariant bank. If the call leaves the query unresolved, the formal engine splits the infinity-level lemmas exported by Spacer for each predicate into invariant atoms and adds these atoms with their solver evidence to I for the next LLM turn. The LLM proposes a finite set of invariant atoms for each predicate . We write .
The INVARIANTSTEP procedure certifies invariants for proving query unreachability. Its candidate family consists of for each predicate . For each original non-query rule, the SMT check uses the current candidate family in the body and tests whether the newly proposed atoms satisfy the inductive obligations in Eq. (4). On sat, it removes the new atoms falsified at the rule's head and repeats the checks on the weakened family. If all checks return unsat, replaces . An unknown result or an exhausted budget leaves the previously certified family unchanged. The procedure returns and feedback containing the check results and available diagnostics.
QUERYEXCLUDED checks for every original query . If all checks return unsat, the certified invariants exclude every query and prove safe. Models from sat query checks are also recorded in .
5.3 The HornCraft Algorithm
Algorithm 2 shows HornCraft’s overall workflow. For instances that Spacer does not solve within 10 seconds, HornCraft starts the LLM-guided search loop. At each turn, the LLM receives the CHCs, the current bank, and feedback from previous checks. It may then propose a mixed batch of invariant atoms, DPU candidates, and RF candidates with finite derivations, or request a guided Spacer call (lines 4–5).
Algorithm 2 HornCraft's LLM-guided certification loop
Input: CHC system C and shared resource budget .
Output: safe, unsafe, or unknown.
1 ;
2
3 if then return v
4 while permits interaction do
5
6 if a is a mixed candidate batch then
7
8 if QUERYREACHED(C, ) then return unsafe
9 if QUERYEXCLUDED(C, ) then return safe
10 else
11 if then return v
12 end if
13 end while
14 return unknown
If the action is a mixed batch, CERTIFYBATCH applies REACHSTEP to DPU/RF candidates and INVARIANTSTEP to invariant atoms. It records their check results and diagnostics in (lines 6–7). Either part of the batch may be empty. The updated bank is then used to check the original queries. QUERYREACHED returns unsafe when certified RFs close a query, while QUERYEXCLUDED returns safe when the certified invariants exclude every query (lines 8–9). If neither check returns a verdict, their feedback guides the next LLM proposal.
If the LLM requests a guided Spacer call, APPLYGUIDANCE invokes the call described in Section 5.2 (lines 10–11). The loop continues until a verdict is returned or the interaction budget is exhausted. If no verdict is returned, HornCraft returns unknown.
6 Evaluation
Our evaluation addresses the following research questions.
RQ1. How effective is HornCraft at solving hard linear and nonlinear CHC instances?
RQ2. How does HornCraft scale with the size of deep and branching CHC derivations?
RQ3. How much do DPUs contribute to HornCraft’s solving coverage and scalability?
Experimental Setup. We implemented HornCraft in Python, using Z3 4.17.0 for SMT solving and its Spacer engine for CHC solving. For the LLM-guided search, we used gpt-5.6-sol through Codex CLI 0.154.0, with reasoning effort set to high. We ran five benchmark instances concurrently on a server with two AMD EPYC 7H12 processors and 1 TiB of RAM.
For RQ1, we start from the complete benchmark sets of the CHC-COMP 2026 LIA-Lin and LIA tracks. We select all instances left unresolved by Spacer (Z3 4.16.0) in the published results [2], yielding 220 LIA-Lin and 64 LIA instances. Since Spacer is sensitive to solver heuristics [37], we rescreen all 284 candidates using standalone Spacer with HornCraft's Z3 4.17.0 and solver configuration. Each screening run has a 30-minute time limit and a 30 GB address-space limit. We retain only the instances that time out, yielding a Spacer-hard evaluation set of 202 LIA-Lin and 58 LIA instances.
For RQ2, we manually develop and adapt six parameterized CHC encodings to evaluate scalability on deep and branching derivations. We instantiate these encodings at different parameter values to obtain 49 benchmarks, collectively called the Depth-and-Branching CHC Suite. Section 6.2 describes their sources, encodings, and parameter choices.
For RQ3, we disable DPU construction and reuse and rerun HornCraft on both benchmark sets to evaluate the contribution of DPUs to solving coverage and scalability.
All configurations use a 30-minute end-to-end time limit per instance and a 30 GB memory limit. These budget values match those used in CHC-COMP 2026 [2]. After solving, we replay the certificates produced by the formal engine to recheck their proof steps. Replay time is excluded from the 30-minute time limit.
6.1 RQ1: Overall Effectiveness
Overall results. On the Spacer-hard CHC-COMP benchmarks, HornCraft solves 228 of 260 instances (88%), including 186 of 202 LIA-Lin instances and 42 of 58 LIA instances. It proves query reachability for all 35 instances with an expected unsafe verdict. Among the 40 instances with unknown expected verdicts, HornCraft returns 19 safe and 7 unsafe results. Table 1 summarizes the results by track and expected verdict. Tables 1 and 2 report solved/total (percentage), with S and U denoting safe and unsafe results. HornCraft thus achieves broad coverage on hard CHCs, including instances with previously unknown verdicts. The coverage difference between tracks is most pronounced among instances with unknown expected verdicts.
HornCraft disables relation-rewriting transformations to preserve predicates for guidance injection. The rescreening excludes 20 solved instances and 4 execution errors.
CHC-COMP 2026 labels aeval-unsafe/s_split_50_000.smt2 as safe based solely on LoAT's result. HornCraft produces an unsafe certificate that passes replay, so we count this instance in the expected-unsafe group.
Baiting Jiang
Table 1. HornCraft on Spacer-hard CHC-COMP instances.
| Track | Expected safe | Expected unsafe | Expected unknown | Overall |
|---|---|---|---|---|
| LIA-Lin | 137/149 (92%) | 32/32 (100%) | 17/21 (81%; 11 S + 6 U) | 186/202 (92%) |
| LIA | 30/36 (83%) | 3/3 (100%) | 9/19 (47%; 8 S + 1 U) | 42/58 (72%) |
| Total | 167/185 (90%) | 35/35 (100%) | 26/40 (65%; 19 S + 7 U) | 228/260 (88%) |
Hard instances for other traditional solvers. Table 2 reports HornCraft's coverage on instances unresolved by other CHC-COMP 2026 solvers. On our Spacer-hard LIA-Lin instances, HornCraft solves 45 of 52 instances unresolved by LoAT and 103 of 118 unresolved by Golem. On LIA, it solves 20 of 35 instances unresolved by Eldarica. HornCraft thus provides complementary coverage on instances unresolved by both Spacer and another competition solver.
Table 2. HornCraft on instances unresolved by other solvers in CHC-COMP 2026.
| Solver and track | Cases | Expected safe | Expected unsafe | Expected unknown | Overall |
|---|---|---|---|---|---|
| LoAT-LIA-Lin | 52 | 18/21 (86%) | 10/10 (100%) | 17/21 (81%; 11 S + 6 U) | 45/52 (87%) |
| Golem-LIA-Lin | 118 | 80/91 (88%) | 6/6 (100%) | 17/21 (81%; 11 S + 6 U) | 103/118 (87%) |
| Eldarica-LIA | 35 | 10/15 (67%) | 1/1 (100%) | 9/19 (47%; 8 S + 1 U) | 20/35 (57%) |
Token usage. Figure 5 reports token use for all 260 runs, including unresolved cases. Input includes cached tokens and output includes reasoning tokens. Median input and output counts are 97.3k and 4.5k for LIA-Lin, and 1.94M and 21.3k for LIA. Median per-instance input cache hit rates are 85.4% and 94.2%, respectively. Cached tokens account for 94.0% and 96.6% of total input in the two tracks, or 95.8% overall. LIA is more token-intensive, although most input tokens in both tracks are served from cache.


Fig. 5. Input and output token use.
Results for LoAT, Golem, and Eldarica are taken from the published CHC-COMP 2026 records [2].
Execution time. Figure 6 breaks down elapsed time for all 260 runs, including unresolved cases. Among solved instances, median end-to-end times are 105.1 seconds for LIA-Lin and 384.3 seconds for LIA, both well within the 30-minute budget. Across all runs, median per-instance Agent shares are 86% and 88%, respectively. Agent interaction thus accounts for most elapsed time in both tracks. In some long runs, the formal engine also takes up much of the time. Bars are ordered by total time within each track, excluding certificate replay. Agent includes communication and waiting. Formal Engine covers Spacer calls and certificate processing. The dashed line marks the 30-minute budget.
Agent
Formal Engine

(a) LIA-Lin (n = 202)
(b) LIA (n = 58)
Fig. 6. Execution-time breakdown.
6.2 RQ2: Scalability on Deep and Branching Derivations
Benchmark sources. The Depth-and-Branching CHC Suite contains one linear and five nonlinear families. We adapt Ackermann from existing CHCs in the HOPV benchmark collection [33], preserving its recursive clauses. The remaining families are our CHC encodings of Hanoi's legal moves, the Chinese Rings rules [27], the binomial recurrence [16] (Pascal), and Takeuchi's triple recursion [35] (Tarai).
Encodings and parameters. For both Hanoi encodings and Chinese Rings, denotes the number of disks and rings, respectively. The linear encoding derives reachable configurations one move at a time. The two nonlinear encodings use a predicate that relates two configurations if one can reach the other through legal moves. Starting from single moves, a rule builds a longer path by joining two paths when the first ends where the second begins. The recursive queries are Ackermann, , and Tarai. The nonlinear encodings have at most two predicate premises per rule, except Tarai, which has four. All solver configurations use the full suite, including instances solved by Spacer.
Overall results. HornCraft solves 42 of the 49 instances, including 30 of the 37 left unresolved by the 30-minute Spacer baseline. The solved range extends beyond Spacer's in all six families (Table 3). Full is the complete HornCraft solver. Without DPU disables DPU construction and reuse. Each configuration also solves every smaller tested n. Tokens include all input and output. Parentheses give the cached fraction of input.
Baiting Jiang
Table 3. Maximum solved across benchmark families.
| Family | Tested n (instances) | Maximum solved n | Full at maximum n | |||
|---|---|---|---|---|---|---|
| Spacer | Without DPU | Full | Time (s) | Tokens (M) | ||
| Hanoi (linear) | 4-20 (9) | 4 | 12 | 20 | 207.5 | 0.63 (93%) |
| Hanoi (path) | 4-20 (9) | 4 | 12 | 20 | 238.3 | 0.59 (91%) |
| Ackermann | 3-10 (8) | 4 | 6 | 8 | 841.3 | 3.34 (96%) |
| Chinese Rings | 4-20 (9) | 6 | 12 | 20 | 682.5 | 3.24 (95%) |
| Pascal | 10-10,000 (7) | 100 | 300 | 1,000 | 601.5 | 2.38 (96%) |
| Tarai | 2-300 (7) | 10 | 20 | 20 | 464.8 | 2.43 (96%) |
Execution time. Figure 7 compares solving times as increases. For both Hanoi encodings and Chinese Rings, Full takes less time at the largest parameter solved by Without DPU and continues to solve larger tested parameters. In Ackermann and Pascal, Full takes longer at the largest parameter solved by both configurations but extends the solved range. Tarai shows similar times and the same solved range with and without DPU. The shared time axis breaks above 1200 s. Markers on the 1800 s budget line identify the first unsolved , with all larger tested also unsolved. These markers denote outcomes, not measured times. Pascal and Tarai use logarithmic axes.

(a) Hanoi (linear)

(b) Hanoi (path)

(c) Ackermann
(d) Chinese Rings
(e) Pascal
(f) Tarai
Fig. 7. Scalability across the six CHC families.
Derivation compression. Following the refutation-length comparison in ADCL [22], Table 4 compares compact and expanded proof sizes for the largest solved instance in each nonlinear family. The compact count sums the source steps in each distinct evidence entry used by the final proof. The expanded count includes every occurrence of an original initialization or transition clause after expanding all DPU and RF references. Both proof counts exclude the final query. The last column gives the largest expanded span of a DPU used by the final proof.
For Hanoi (path), 82 source uses in the compact proof represent more than 2 million original clause uses. For Chinese Rings, the corresponding counts are 213 and about 1.4 million. In both cases, the largest used DPU represents almost the entire expanded derivation, allowing a long derivation to be reused through a single certified relation. Tarai's proof contains no DPU. It relies on RF reuse to represent original clause uses with 3,478 compact source uses.
These results show that DPUs can compress long derivations, while Tarai demonstrates that RF reuse can also achieve substantial compression without DPUs.
Table 4. Derivation compression on selected nonlinear instances.
| Family | n | Used DPUs | Compact proof source uses | Expanded original clause uses | Largest used DPU expanded span |
|---|---|---|---|---|---|
| Hanoi (path) | 20 | 20 | 82 | 2,097,153 | 2,097,150 |
| Ackermann | 8 | 122 | 3,922 | 2,785,999 | 40,630 |
| Chinese Rings | 20 | 83 | 213 | 1,398,103 | 1,398,100 |
| Pascal | 1,000 | 282 | 4,275 | 998,999 | 61,024 |
| Tarai | 20 | 0 | 3,478 | — |
6.3 RQ3: Ablation of DPU
We compare the full framework with a variant that disables DPU construction and reuse. The variant retains RFs, invariant search, Houdini, and Spacer. It can still guide Spacer with RFs derived through multiple original rules. Both configurations use the same CHC-COMP instances and parameterized families under the same resource limits.
CHC-COMP hard instances. Enabling DPU increases the number of solved Spacer-hard instances from 202 (78%) to 228 (88%) on the 260-instance set from RQ1 (Table 5). This raises coverage by 10 percentage points. Most of the gain comes from unsafe results, which increase from 22 to 42. On LIA-Lin, the unsafe count grows from 17 to 38. This gain indicates that DPUs help establish query reachability on unsafe LIA-Lin instances. On nonlinear LIA, Full certifies four unsafe instances and Without DPU certifies five. Safe results increase from 180 to 186 across both tracks. As these are single-run results, this small difference may reflect variability in LLM-guided search.
Table 5. DPU ablation on Spacer-hard CHC-COMP instances.
| Track | Configuration | Safe | Unsafe | Solved / Cases |
|---|---|---|---|---|
| LIA-Lin | Full | 148 | 38 | 186/202 (92%) |
| Without DPU | 146 | 17 | 163/202 (81%) | |
| LIA | Full | 38 | 4 | 42/58 (72%) |
| Without DPU | 34 | 5 | 39/58 (67%) | |
| Total | Full | 186 | 42 | 228/260 (88%) |
| Without DPU | 180 | 22 | 202/260 (78%) |
On LIA-Lin, Full certifies 21 unsafe instances that remain unresolved without DPU (Figure 8). Among the 17 unsafe instances solved by both configurations, Full is slower on 10 and faster on 7. In the figure, denotes unresolved runs. Instances unresolved by both configurations are omitted.
Baiting Jiang


Fig. 8. Runtime comparison with and without DPU.
Depth-and-Branching CHC Suite. Enabling DPU also increases the number of solved family instances from 27 to 42 out of 49. On the five nonlinear families, coverage increases from 22/40 to 33/40. Four of these families reach larger parameters with DPU (Table 3). The maximum solved parameter rises from 12 to 20 for Hanoi (path) and Chinese Rings, from 6 to 8 for Ackermann, and from 300 to 1000 for Pascal. Both configurations reach n = 20 on Tarai.
6.4 Limitations
Our CHC-COMP evaluation is limited to integer-arithmetic instances left unresolved by the selected Spacer configuration. The parameterized families probe specific patterns of deep and branching derivations. These benchmark sets support conclusions about hard-instance solving and derivation scalability, but not an overall ranking on the full CHC-COMP suite.
LLM-guided search can vary across runs and model revisions. We report results from the recorded campaigns without repeated-run averages. Although all configurations share benchmark sets and resource limits, repeated runs are needed to assess the stability of the observed differences in solving coverage and runtime.
7 Related Work
Traditional CHC Solving. Recent advances in CHC solving have led to mature solvers based on a diverse set of techniques [5, 24]. Spacer extends IC3 with reachable-state under-approximations and model-based projection for lazy quantifier elimination [8, 24, 36]. HornCraft's reach facts play a similar role but record only individual SMT models. Subsequent work further develops Spacer through global guidance and inductive reformulations [37, 46]. Eldarica and Ultimate TreeAutomizer both use tree interpolation [15, 29]. Theta translates CHCs to control-flow automata for model checking [3]. PCSat combines CEGIS with probabilistic inference [43]. Horn-ICE learns invariants and contracts from Horn implication counterexamples [18]. Beyond solving, PyCHC validates CHC solver results using independent SMT solvers and proof checkers [4].
Related approaches summarize multi-step behavior through acceleration, transition powers, or cycle summaries [7, 9, 22]. ADCL, implemented in LoAT [23], learns accelerated clauses that capture or under-approximate the closure of repeated recursive derivations [22]. TPA, implemented in Golem, maintains over-approximations of bounded transition powers [5–7]. ADCL and TPA have shown strong empirical performance on deep linear instances. DPUs resemble ADCL accelerations in under-approximating multi-step behavior and TPA in composing shorter relations into longer ones. DPUs additionally support nonlinear CHCs.
LLM-Assisted Formal Verification. For software verification, LLMs have been used to predict program invariants [40], generate loop invariants for symbolic validation [11, 13, 19, 32, 38, 42, 48, 50], and propose auxiliary assertions for symbolic checking [51]. The guess-and-check paradigm has also been studied in model checking through invariant and lemma generation [12, 41, 44] and verifier-checked semantic guidance for word-level PDR [30], as well as in automated inductive reasoning [20]. LLM agents have also been used to construct checked program proofs [47] and to repair failed proofs using verifier feedback [34, 52]. Following this paradigm, HornCraft asks the LLM to propose reusable under-approximations of multi-step CHC derivations together with symbolic witnesses that enable validation by the solver without introducing additional quantifiers.
8 Conclusion
We present HornCraft, an LLM-assisted bi-approximate framework for CHC solving that combines DPU-based compression of reachability derivations with invariant generation for unreachability. Symbolic witnesses enable SMT certification of DPU relations without introducing additional quantifiers, and certified DPUs can be soundly composed and reused in linear and branching derivations. HornCraft solved 228 of 260 CHC-COMP instances unresolved by a 30-minute Spacer run. Compared with the variant without DPUs, the full framework certified 42 rather than 22 unsafe instances. On the Depth-and-Branching CHC Suite, it also solved larger instances in four nonlinear families. DPUs thus provide a formally checked interface for using LLM-proposed symbolic relations as reusable proof steps for discovering deep and branching counterexamples.
References
[1] Leonardo Alt, Martin Blicha, Antti E. J. Hyvärinen, and Natasha Sharygina. 2022. SolCMC: Solidity Compiler's Model Checker. In Computer Aided Verification - 34th International Conference, CAV 2022, Haifa, Israel, August 7-10, 2022, Proceedings, Part I (Lecture Notes in Computer Science, Vol. 13371), Sharon Shoham and Yakir Vizel (Eds.). Springer, 325–338. doi:10.1007/978-3-031-13185-1_16
[2] Levente Bajczi and Konstantin Britikov. 2026. CHC-COMP'26 results and competition infrastructure. doi:10.5281/zenodo.20413019
[3] Levente Bajczi, Milán Mondok, and Vince Molnár. 2025. Theta as a Horn Solver. In Proceedings of the 12th Workshop on Horn Clauses for Verification and Synthesis, HCVS@CAV 2025, Zagreb, Croatia, 22 July 2025 (EPTCS, Vol. 434), Emanuele De Angelis and Florian Frohn (Eds.). 27–39. doi:10.4204/EPTCS.434.5
[4] Anna Becchi, Martin Blicha, Rodrigo Otoni, and Natasha Sharygina. 2026. PyCHC: A Framework for Certified Horn Solving and CHC-Based Design. In Computer Aided Verification - 38th International Conference, CAV 2026, Lisbon, Portugal, July 26-29, 2026, Proceedings, Part III (Lecture Notes in Computer Science, Vol. 16684), Eva Darulova, Anthony W. Lin, and Philipp Rümmer (Eds.). Springer, 261–275. doi:10.1007/978-3-032-32537-2_13
[5] Martin Blicha, Konstantin Britikov, and Natasha Sharygina. 2023. The Golem Horn Solver. In Computer Aided Verification - 35th International Conference, CAV 2023, Paris, France, July 17-22, 2023, Proceedings, Part II (Lecture Notes in Computer Science, Vol. 13965), Constantin Enea and Akash Lal (Eds.). Springer, 209–223. doi:10.1007/978-3-031-37703-7_10
[6] Martin Blicha, Grigory Fedyukovich, Antti E. J. Hyvärinen, and Natasha Sharygina. 2022. Split Transition Power Abstraction for Unbounded Safety. In 22nd Formal Methods in Computer-Aided Design, FMCAD 2022, Trento, Italy, October 17-21, 2022, Alberto Griggio and Neha Rungta (Eds.). IEEE, 349–358. doi:10.34727/2022/ISBN.978-3-85448-053-2_42
[7] Martin Blicha, Grigory Fedyukovich, Antti E. J. Hyvärinen, and Natasha Sharygina. 2022. Transition Power Abstractions for Deep Counterexample Detection. In Tools and Algorithms for the Construction and Analysis of Systems - 28th International Conference, TACAS 2022, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2022, Munich, Germany, April 2-7, 2022, Proceedings, Part I (Lecture Notes in Computer Science, Vol. 13243), Dana Fisman and Grigore Rosu (Eds.). Springer, 524–542. doi:10.1007/978-3-030-99524-9_29
[8] Aaron R. Bradley. 2011. SAT-Based Model Checking without Unrolling. In Verification, Model Checking, and Abstract Interpretation - 12th International Conference, VMCAI 2011, Austin, TX, USA, January 23-25, 2011. Proceedings (Lecture
Baiting Jiang
Notes in Computer Science, Vol. 6538), Ranjit Jhala and David A. Schmidt (Eds.). Springer, 70–87. doi:10.1007/978-3-642-18275-4_7
[9] Konstantin Britikov, Grigory Fedyukovich, and Natasha Sharygina. 2025. CHC-Based Reachability Analysis via Cycle Summarization. In Integrated Formal Methods - 20th International Conference, iFM 2025, Paris, France, November 19-21, 2025, Proceedings (Lecture Notes in Computer Science, Vol. 16194), Ferruccio Damiani and Marie Farrell (Eds.). Springer, 205–225. doi:10.1007/978-3-032-10794-7_11
[10] Stefano Calzavara, Ilya Grishchenko, and Matteo Maffei. 2016. HornDroid: Practical and Sound Static Analysis of Android Applications by SMT Solving. In IEEE European Symposium on Security and Privacy, EuroS&P 2016, Saarbrücken, Germany, March 21-24, 2016. IEEE, 47–62. doi:10.1109/EUROSP.2016.16
[11] Weining Cao, Guangyuan Wu, Tangzhi Xu, Yuan Yao, Hengfeng Wei, Taolue Chen, and Xiaoxing Ma. 2025. Clause2Inv: A Generate-Combine-Check Framework for Loop Invariant Inference. Proc. ACM Softw. Eng. 2, ISSTA (2025), 1009–1030. doi:10.1145/3728920
[12] Weining Cao, Guangyuan Wu, Yuan Yao, Hengfeng Wei, Taolue Chen, and Xiaoxing Ma. 2026. Synthesizing Inductive Invariants for Distributed Protocols via IC3 and Large Language Models. CoRR abs/2605.24619 (2026). arXiv:2605.24619 doi:10.48550/ARXIV.2605.24619
[13] Saikat Chakraborty, Shuvendu K. Lahiri, Sarah Fakhoury, Akash Lal, Madanlal Musuvathi, Aseem Rastogi, Aditya Senthilnathan, Rahul Sharma, and Nikhil Swamy. 2023. Ranking LLM-Generated Loop Invariants for Program Verification. In Findings of the Association for Computational Linguistics: EMNLP 2023, Singapore, December 6-10, 2023 (Findings of ACL, Vol. EMNLP 2023), Houda Bouamor, Juan Pino, and Kalika Bali (Eds.). Association for Computational Linguistics, 9164–9175. doi:10.18653/V1/2023.FINDINGS-EMNLP.614
[14] Leonardo Mendonça de Moura and Nikolaj S. Bjørner. 2008. Z3: An Efficient SMT Solver. In Tools and Algorithms for the Construction and Analysis of Systems, 14th International Conference, TACAS 2008, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2008, Budapest, Hungary, March 29-April 6, 2008. Proceedings (Lecture Notes in Computer Science, Vol. 4963), C. R. Ramakrishnan and Jakob Rehof (Eds.). Springer, 337–340. doi:10.1007/978-3-540-78800-3_24
[15] Daniel Dietsch, Matthias Heizmann, Jochen Hoenicke, Alexander Nutz, and Andreas Podelski. 2019. Ultimate TreeAutomizer (CHC-COMP Tool Description). In Proceedings of the Sixth Workshop on Horn Clauses for Verification and Synthesis and Third Workshop on Program Equivalence and Relational Reasoning, HCVS/PERR@ETAPS 2019, Prague, Czech Republic, 6-7th April 2019 (EPTCS, Vol. 296), Emanuele De Angelis, Grigory Fedyukovich, Nikos Tzevelekos, and Mattias Ulbrich (Eds.). 42–47. doi:10.4204/EPTCS.296.7
[16] DLMF [n. d.]. NIST Digital Library of Mathematical Functions. https://dlmf.nist.gov/, Release 1.2.8 of 2026-09-15. https://dlmf.nist.gov/ F. W. J. Olver, A. B. Olde Daalhuis, D. W. Lozier, B. I. Schneider, R. F. Boisvert, C. W. Clark, B. R. Miller, B. V. Saunders, H. S. Cohl, and M. A. McClain, eds..
[17] Gidon Ernst. 2022. Loop Verification with Invariants and Contracts. In Verification, Model Checking, and Abstract Interpretation - 23rd International Conference, VMCAI 2022, Philadelphia, PA, USA, January 16-18, 2022, Proceedings (Lecture Notes in Computer Science, Vol. 13182), Bernd Finkbeiner and Thomas Wies (Eds.). Springer, 69–92. doi:10.1007/978-3-030-94583-1_4
[18] P. Ezudheen, Daniel Neider, Deepak D'Souza, Pranav Garg, and P. Madhusudan. 2018. Horn-ICE learning for synthesizing invariants and contracts. Proc. ACM Program. Lang. 2, OOPSLA (2018), 131:1–131:25. doi:10.1145/3276501
[19] Kai Fan, ShiWen Yu, GuangSheng Fan, HaoAng Chi, WanWei Liu, and Ji Wang. 2026. LimICE: Integrating LLM into ICE Framework for Efficient Loop Invariant Inference. CoRR abs/2607.27606 (2026). arXiv:2607.27606 doi:10.48550/ARXIV.2607.27606
[20] Weizhi Feng, Shidong Shen, Jiaxiang Liu, Taolue Chen, Fu Song, and Zhilin Wu. 2026. Can LLM Aid in Solving Constraints with Inductive Definitions? In Formal Methods - 27th International Symposium, FM 2026, Tokyo, Japan, May 18-22, 2026, Proceedings, Part II (Lecture Notes in Computer Science, Vol. 16557), Augusto Sampaio and Mariëlle Stoelinga (Eds.). Springer, 111–132. doi:10.1007/978-3-032-26220-2_6
[21] Cormac Flanagan and K. Rustan M. Leino. 2001. Houdini, an Annotation Assistant for ESC/Java. In FME 2001: Formal Methods for Increasing Software Productivity, International Symposium of Formal Methods Europe, Berlin, Germany, March 12-16, 2001, Proceedings (Lecture Notes in Computer Science, Vol. 2021), José Nuno Oliveira and Pamela Zave (Eds.). Springer, 500–517. doi:10.1007/3-540-45251-6_29
[22] Florian Frohn and Jürgen Giesl. 2023. ADCL: Acceleration Driven Clause Learning for Constrained Horn Clauses. In Static Analysis - 30th International Symposium, SAS 2023, Cascais, Portugal, October 22-24, 2023, Proceedings (Lecture Notes in Computer Science, Vol. 14284), Manuel V. Hermenegildo and José F. Morales (Eds.). Springer, 259–285. doi:10.1007/978-3-031-44245-2_13
[23] Florian Frohn and Jürgen Giesl. 2025. Infinite State Model Checking by Learning Transitive Relations. In Automated Deduction - CADE 30 - 30th International Conference on Automated Deduction, Stuttgart, Germany, July 28-31, 2025,
Proceedings (Lecture Notes in Computer Science, Vol. 15943), Clark W. Barrett and Uwe Waldmann (Eds.). Springer, 468–489. doi:10.1007/978-3-031-99984-0_25
[24] Arie Gurfinkel. 2022. Program Verification with Constrained Horn Clauses (Invited Paper). In Computer Aided Verification - 34th International Conference, CAV 2022, Haifa, Israel, August 7-10, 2022, Proceedings, Part I (Lecture Notes in Computer Science, Vol. 13371), Sharon Shoham and Yakir Vizel (Eds.). Springer, 19–29. doi:10.1007/978-3-031-13185-1_2
[25] Arie Gurfinkel, Temesghen Kahsai, Anvesh Komuravelli, and Jorge A. Navas. 2015. The SeaHorn Verification Framework. In Computer Aided Verification - 27th International Conference, CAV 2015, San Francisco, CA, USA, July 18-24, 2015, Proceedings, Part I (Lecture Notes in Computer Science, Vol. 9206), Daniel Kroening and Corina S. Pasareanu (Eds.). Springer, 343–361. doi:10.1007/978-3-319-21690-4_20
[26] Joe Hattori, Naoki Kobayashi, and Ken Sakayori. 2026. Automatic Detection of Reference Counting Bugs in Linux Kernel Drivers. In Computer Aided Verification - 38th International Conference, CAV 2026, Lisbon, Portugal, July 26-29, 2026, Proceedings, Part III (Lecture Notes in Computer Science, Vol. 16684), Eva Darulova, Anthony W. Lin, and Philipp Rümmer (Eds.). Springer, 191–203. doi:10.1007/978-3-032-32537-2_9
[27] Heeffer, Albrecht and Hinz, Andreas M. 2017. 'A difficult case': Pacioli and Cardano on the Chinese Rings. RECREATIONAL MATHEMATICS MAGAZINE 4, 8 (2017), 5–23. http://doi.org/10.1515/rmm-2017-0017
[28] Krystof Hoder and Nikolaj S. Bjørner. 2012. Generalized Property Directed Reachability. In Theory and Applications of Satisfiability Testing - SAT 2012 - 15th International Conference, Trento, Italy, June 17-20, 2012. Proceedings (Lecture Notes in Computer Science, Vol. 7317), Alessandro Cimatti and Roberto Sebastiani (Eds.). Springer, 157–171. doi:10.1007/978-3-642-31612-8_13
[29] Hossein Hojjat and Philipp Rümmer. 2018. The ELDARICA Horn Solver. In 2018 Formal Methods in Computer Aided Design, FMCAD 2018, Austin, TX, USA, October 30 - November 2, 2018, Nikolaj S. Bjørner and Arie Gurfinkel (Eds.). IEEE, 1–7. doi:10.23919/FMCAD.2018.8603013
[30] Guangyu Hu, Mingkai Miao, Zhiyuan Yan, Xiaofeng Zhou, Wei Zhang, and Hongce Zhang. 2026. Enhancing Word-Level Property Directed Reachability with LLM-Driven Semantic Guidance. CoRR abs/2609.30131 (2026). arXiv:2609.30131 doi:10.48550/ARXIV.2609.30131
[31] Temesghen Kahsai, Philipp Rümmer, Huascar Sanchez, and Martin Schäf. 2016. JayHorn: A Framework for Verifying Java programs. In Computer Aided Verification - 28th International Conference, CAV 2016, Toronto, ON, Canada, July 17-23, 2016, Proceedings, Part I (Lecture Notes in Computer Science, Vol. 9779), Swarat Chaudhuri and Azadeh Farzan (Eds.). Springer, 352–358. doi:10.1007/978-3-319-41528-4_19
[32] Adharsh Kamath, J. Nausheen Mohammed, Aditya Senthilnathan, Saikat Chakraborty, Pantazis Deligiannis, Shuvendu K. Lahiri, Akash Lal, Aseem Rastogi, Subhajit Roy, and Rahul Sharma. 2024. Leveraging LLMs for Program Verification. In Formal Methods in Computer-Aided Design, FMCAD 2024, Prague, Czech Republic, October 15-18, 2024, Nina Narodytska and Philipp Rümmer (Eds.). IEEE, 107–118. doi:10.34727/2024/ISBN.978-3-85448-065-5_16
[33] Hiroyuki Katsura, Naoki Kobayashi, Ken Sakayori, and Ryosuke Sato. 2024. Mode-based Reduction from Validity Checking of Fixpoint Logic Formulas to Test-Friendly Reachability Problem. In Programming Languages and Systems - 22nd Asian Symposium, APLAS 2024, Kyoto, Japan, October 22-24, 2024, Proceedings (Lecture Notes in Computer Science, Vol. 15194), Oleg Kiselyov (Ed.). Springer, 325–345. doi:10.1007/978-981-97-8943-6_16
[34] Jingyu Ke, Ling-I Wu, and Guoqiang Li. 2026. Schwarz: Solver-Aware Agentic Program Verification. CoRR abs/2608.30803 (2026). arXiv:2608.30803 doi:10.48550/ARXIV.2608.30803
[35] Donald E. Knuth. 1991. Textbook Examples of Recursion. In Artificial and Mathematical Theory of Computation, Papers in Honor of John McCarthy on the occasion of his sixty-fourth birthday, Vladimir Lifschitz (Ed.). Academic Press / Elsevier, 207–229. doi:10.1016/B978-0-12-450010-5.50018-9
[36] Anvesh Komuravelli, Arie Gurfinkel, and Sagar Chaki. 2014. SMT-Based Model Checking for Recursive Programs. In Computer Aided Verification - 26th International Conference, CAV 2014, Held as Part of the Vienna Summer of Logic, VSL 2014, Vienna, Austria, July 18-22, 2014. Proceedings (Lecture Notes in Computer Science, Vol. 8559), Armin Biere and Roderick Bloem (Eds.). Springer, 17–34. doi:10.1007/978-3-319-08867-9_2
[37] Hari Govind Vediramana Krishnan, Yuting Chen, Sharon Shoham, and Arie Gurfinkel. 2020. Global Guidance for Local Generalization in Model Checking. In Computer Aided Verification - 32nd International Conference, CAV 2020, Los Angeles, CA, USA, July 21-24, 2020, Proceedings, Part II (Lecture Notes in Computer Science, Vol. 12225), Shuvendu K. Lahiri and Chao Wang (Eds.). Springer, 101–125. doi:10.1007/978-3-030-53291-8_7
[38] Tianchi Li, Zhenyu Yan, Junhao Liu, Peng Di, and Xin Zhang. 2026. Guiding LLM-Based Loop Invariant Synthesis via Feedback on Local Reasoning Errors. ACM Trans. Program. Lang. Syst. 48, 2 (2026), 8:1–8:30. doi:10.1145/3806652
[39] Yusuke Matsushita, Takeshi Tsukada, and Naoki Kobayashi. 2021. RustHorn: CHC-based Verification for Rust Programs. ACM Trans. Program. Lang. Syst. 43, 4 (2021), 15:1–15:54. doi:10.1145/3462205
[40] Kexin Pei, David Bieber, Kensen Shi, Charles Sutton, and Pengcheng Yin. 2023. Can Large Language Models Reason about Program Invariants? In International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA (Proceedings of Machine Learning Research, Vol. 202), Andreas Krause, Emma Brunskill, Kyunghyun Cho,
Baiting Jiang
Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (Eds.). PMLR, 27496–27520. https://proceedings.mlr.press/v202/pei23a.html
[41] Romy Peled, Daniel Kroening, Michael Tautschnig, and Yakir Vizel. 2026. Large Lemma Miners: Can LLMs Do Induction Proofs for Hardware? In Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence and the 29th European Conference on Artificial Intelligence, IJCAI/ECAI 2026, Bremen, Germany, 15-21 August 2026. ijcai.org, 3988–3998. doi:10.24963/IJCAI.2026/444
[42] Muhammad A. A. Pirzada, Giles Reger, Ahmed Bhayat, and Lucas C. Cordeiro. 2024. LLM-Generated Invariants for Bounded Model Checking Without Loop Unrolling. In Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering, ASE 2024, Sacramento, CA, USA, October 27 - November 1, 2024, Vladimir Filkov, Baishakhi Ray, and Minghui Zhou (Eds.). ACM, 1395–1407. doi:10.1145/3691620.3695512
[43] Yuki Satake, Hiroshi Unno, and Hinata Yanagi. 2020. Probabilistic Inference for Predicate Constraint Satisfaction. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020. AAAI Press, 1644–1651. doi:10.1609/AAAI.V34I02.5526
[44] Yuheng Su, Tianjun Bu, Qiusong Yang, Yiwei Ci, and Enyuan Tian. 2026. Cill: CTI-Guided Invariant Generation via LLMs for Model Checking. CoRR abs/2602.23389 (2026). arXiv:2602.23389 doi:10.48550/ARXIV.2602.23389
[45] Youcheng Sun, Jiawen Liu, Daniel Kroening, and Jason Xue. 2026. Agentic Model Checking. CoRR abs/2605.21434 (2026). arXiv:2605.21434 doi:10.48550/ARXIV.2605.21434
[46] Takeshi Tsukada and Hiroshi Unno. 2024. Inductive Approach to Spacer. Proc. ACM Program. Lang. 8, PLDI (2024), 1979–2002. doi:10.1145/3656457
[47] Haoxin Tu, Huan Zhao, Yahui Song, Mehtab Zafar, Ruijie Meng, and Abhik Roychoudhury. 2026. Agentic Verification of Software Systems. Proc. ACM Softw. Eng. 3, FSE (2026), 3558–3581. doi:10.1145/3808164
[48] Anjiang Wei, Tianran Sun, Tarun Suresh, Haoze Wu, Ke Wang, and Alex Aiken. 2025. Quokka: Accelerating Program Verification with LLMs via Invariant Synthesis. arXiv preprint arXiv:2509.21629 (2025).
[49] Scott Wesley, Maria Christakis, Jorge A. Navas, Richard J. Trefler, Valentin Wüstholz, and Arie Gurfinkel. 2022. Verifying Solidity Smart Contracts via Communication Abstraction in SmartACE. In Verification, Model Checking, and Abstract Interpretation - 23rd International Conference, VMCAI 2022, Philadelphia, PA, USA, January 16-18, 2022, Proceedings (Lecture Notes in Computer Science, Vol. 13182), Bernd Finkbeiner and Thomas Wies (Eds.). Springer, 425–449. doi:10.1007/978-3-030-94583-1_21
[50] Guangyuan Wu, Weining Cao, Yuan Yao, Hengfeng Wei, Taolue Chen, and Xiaoxing Ma. 2024. LLM Meets Bounded Model Checking: Neuro-symbolic Loop Invariant Inference. In Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering, ASE 2024, Sacramento, CA, USA, October 27 - November 1, 2024, Vladimir Filkov, Baishakhi Ray, and Minghui Zhou (Eds.). ACM, 406–417. doi:10.1145/3691620.3695014
[51] Haoze Wu, Clark W. Barrett, and Nina Narodytska. 2024. Lemur: Integrating Large Language Models in Automated Program Verification. In The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net. https://openreview.net/forum?id=Q3YaCghZNt
[52] Jun Yang, Yuechun Sun, Yi Wu, Rodrigo Caridad, Yongwei Yuan, Jianan Yao, Shan Lu, and Kexin Pei. 2026. ExVerus: Verus Proof Repair via Counterexample Reasoning. CoRR abs/2603.25810 (2026). arXiv:2603.25810 doi:10.48550/ARXIV.2603.25810