CIll: CTI-Guided Invariant Generation via LLMs for Model Checking
Yuheng Su, Tianjun Bu, Qiusong Yang, Yiwei Ci, Enyuan Tian

TL;DR
This paper introduces CIll, a novel CTI-guided framework leveraging LLMs to automatically generate inductive invariants for model checking, improving scalability and efficiency over traditional methods like IC3.
Contribution
The paper presents CIll, a new LLM-guided invariant synthesis framework that integrates CTI analysis, bounded model checking, and IC3 to enhance invariant generation in model checking.
Findings
Proved full compliance within RISCV-Formal framework.
Achieved full accuracy of all non-M instructions in NERV and PicoRV32.
Successfully proved M extensions against RVFI ALTOPS semantics.
Abstract
Inductive invariants are crucial in model checking, yet generating effective inductive invariants automatically and efficiently remains challenging. A common approach is to iteratively analyze counterexamples to induction (CTIs) and derive invariants that rule them out, as in IC3. However, IC3's clause-based learning is limited to a CNF representation. For some designs, the resulting invariants may require a large number of clauses, which hurts scalability. We present CIll, a CTI-guided framework that leverages LLMs to synthesize invariants for model checking. CIll alternates between (bounded) correctness checking and inductiveness checking for the generated invariants. In correctness checking, CIll uses BMC to validate whether the generated invariants hold on reachable states within a given bound. In inductiveness checking, CIll checks whether the generated invariants, together with…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Model-Driven Software Engineering Techniques · Machine Learning and Algorithms
