First Experiments with Neural cvc5
Jelle Piepenbrock, Mikoláš Janota, Jan Jakubův
TL;DR
The paper addresses the challenge of guiding instantiation in SMT by introducing a CPU-friendly graph neural network that integrates with cvc5 to score quantified expressions and candidate term substitutions during enumerative instantiation. The approach learns from e-matching proof data and demonstrates substantial real-time improvements over standard enumeration on unseen problems, including up to 72% faster CPU times and, with more aggressive instantiation, up to 109% gains on large datasets. The work provides evidence that real-time neural guidance for SMT solvers is feasible on commodity hardware and offers a path to extend guidance to theories and other proving environments. Overall, the study shows how learned heuristics can bias instantiation decisions to achieve meaningful speedups while remaining tightly coupled to an existing solver.
Abstract
he cvc5 solver is today one of the strongest systems for solving first order problems with theories but also without them. In this work we equip its enumeration-based instantiation with a neural network that guides the choice of the quantified formulas and their instances. For that we develop a relatively fast graph neural network that repeatedly scores all available instantiation options with respect to the available formulas. The network runs directly on a CPU without the need for any special hardware. We train the neural guidance on a large set of proofs generated by the e-matching instantiation strategy and evaluate its performance on a set of previously unseen problems.
