Theta as a Horn Solver
Levente Bajczi, Milán Mondok, Vince Molnár
TL;DR
Theta tackles verification of Constrained Horn Clauses by transforming CHCs into control-flow automata and applying a modular, portfolio-driven verification pipeline. The paper details the CHC-to-CFA transformation, CEGAR-based abstraction with two abstract domains, and a suite of bounded and diagram-based techniques that are integrated via a sequential portfolio. It also discusses model generation, software architecture, and a corrected re-evaluation on CHC-COMP benchmarks, highlighting improvements after fixing a misconfiguration. The findings demonstrate Theta’s competitive performance on linear CHCs and emphasize the value of modular design for scalable CHC solving in practice.
Abstract
Theta is a verification framework that has participated in the CHC-COMP competition since 2023. While its core approach -- based on transforming constrained Horn clauses (CHCs) into control-flow automata (CFAs) for analysis -- has remained mostly unchanged, Theta's verification techniques, design trade-offs, and limitations have remained mostly unexplored in the context of CHCs. This paper fills that gap: we provide a detailed description of the algorithms employed by Theta, highlighting the unique features that distinguish it from other CHC solvers. We also analyze the strengths and weaknesses of the tool in the context of CHC-COMP benchmarks. Notably, in the 2025 edition of the competition, Theta's performance was impacted by a configuration issue, leading to suboptimal results. To provide a clearer picture of Theta's actual capabilities, we re-execute the tool on the competition benchmarks under corrected settings and report on the resulting performance.
