# LLM-Assisted Bi-Approximate CHC Solving

arXiv: https://arxiv.org/abs/2610.23771 · HTML: https://mlsanity.com/paper/2610.23771/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 20 of its 50 references that are in the map.
- Submitted 16 Oct 2026.

## Builds on (most cited first, 20 of 20)

- [Lemur: Integrating Large Language Models in Automated Program Verification](https://mlsanity.com/paper/2310.04870/) (2023)
- [Ranking LLM-Generated Loop Invariants for Program Verification](https://mlsanity.com/paper/2310.09342/) (2023)
- [SMT-based Model Checking for Recursive Programs](https://mlsanity.com/paper/1405.4028/) (2014)
- [Horn-ICE Learning for Synthesizing Invariants and Contracts](https://mlsanity.com/paper/1712.09418/) (2017)
- [Quokka: Accelerating Program Verification with LLMs via Invariant Synthesis](https://mlsanity.com/paper/2509.21629/) (2025)
- [RustHorn: CHC-based Verification for Rust Programs (full version)](https://mlsanity.com/paper/2002.09002/) (2020)
- [Global Guidance for Local Generalization in Model Checking](https://mlsanity.com/paper/2005.13301/) (2020)
- [CIll: CTI-Guided Invariant Generation via LLMs for Model Checking](https://mlsanity.com/paper/2602.23389/) (2026)
- [Large Lemma Miners: Can LLMs do Induction Proofs for Hardware?](https://mlsanity.com/paper/2511.02521/) (2025)
- [Can LLM Aid in Solving Constraints with Inductive Definitions?](https://mlsanity.com/paper/2603.03668/) (2026)
- [Guiding LLM-based Loop Invariant Synthesis via Feedback on Local Reasoning Errors](https://mlsanity.com/paper/2605.17914/) (2026)
- [Enhancing Word-Level Property Directed Reachability with LLM-Driven Semantic Guidance](https://mlsanity.com/paper/2609.30131/) (2026)
- [HornDroid: Practical and Sound Static Analysis of Android Applications by SMT Solving](https://mlsanity.com/paper/1707.07866/) (2017)
- [Ultimate TreeAutomizer (CHC-COMP Tool Description)](https://mlsanity.com/paper/1907.03998/) (2019)
- [ADCL: Acceleration Driven Clause Learning for Constrained Horn Clauses](https://mlsanity.com/paper/2303.01827/) (2023)
- [Infinite State Model Checking by Learning Transitive Relations](https://mlsanity.com/paper/2502.04761/) (2025)
- [Theta as a Horn Solver](https://mlsanity.com/paper/2510.26430/) (2025)
- [Automatic Detection of Reference Counting Bugs in Linux Kernel Drivers](https://mlsanity.com/paper/2605.13246/) (2026)
- [LimICE: Integrating LLM into ICE Framework for Efficient Loop Invariant Inference](https://mlsanity.com/paper/2607.27606/) (2026)
- [Schwarz: Solver-Aware Agentic Program Verification](https://mlsanity.com/paper/2608.30803/) (2026)

## Abstract (arXiv)

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.
