Unsatisfiability Proofs for Horn Solving

TitleUnsatisfiability Proofs for Horn Solving
Publication TypeConference Paper
Year of Publication2025
AuthorsOtoni, Rodrigo, Blicha Martin, Rivera Matias Barandiara, Eugster Patrick, Kofron Jan, and Sharygina Natasha
Conference NameTACAS
Abstract

Many verification tools currently rely on logic solvers as backend reasoning engines. Despite playing such a pivotal role, bugs are not uncommon in the complex codebases of these solvers. Validating their results is thus critical, with correctness witnesses often being used for this end. Output validation for constrained Horn clauses (CHC) solvers is not a well explored topic though, especially in regards to unsatisfiability results. This is a significant issue, given that CHC solvers are being increasingly employed in verification tooling. To address it, we propose an approach to validate CHC unsatisfiability results based on independently checkable proofs. Our approach is generic in regards to the solving algorithm, preprocessing steps, and exact proof format used, and works by first producing a coarse-grained proof during solving and then instantiating it into a suitable proof format by adding missing details, at which point the instantiated proof can be checked by an independent proof checker. We instrumented a state-of-the-art CHC solver to generate proofs in the Alethe format and performed a large-scale evaluation. Our results indicate that proofs can be produced with minimal overhead, can be efficiently checked, and have tractable sizes.

DOI10.1007/978-3-031-90653-4_4