NeuroSynTheos: Learning to Accelerate Counterexample-Guided Reactive Synthesis Modulo Theories
Andoni Rodríguez ⋅ Cesar Sanchez
Abstract
Reactive synthesis from temporal logic modulo theories ($\mathrm{LTL}^{\mathcal{T}}$) automatically constructs correct-by-construction controllers for systems with arithmetic constraints, but CEGRES, the state-of-the-art algorithm for $\mathrm{LTL}^{\mathcal{T}}$ synthesis via Boolean abstraction, times out on 77% of the existing benchmarks due to a fundamental bottleneck: it discovers the universally valid theory tautologies needed to refine its Boolean abstraction iteration by iteration, through expensive counterexample analysis. We present NeuroSynTheos, a neural augmentation of the CEGRES loop that predicts batches of tautologies at each refinement step. We formalize template invariance for parametric specification families, showing that, when specifications share algebraic structure, predicting tautologies reduces to re-instantiating known templates at new constants. We train a graph neural network over formula abstract syntax trees and an autoregressive transformer on tautology traces from 104 solved benchmarks. NeuroSynTheos establishes a new state of the art for $\mathrm{LTL}^{\mathcal{T}}$ synthesis: on 48 standard benchmarks that plain CEGRES cannot solve within 5 minutes and whose traces are never used for training, it solves $41 \pm 1.2$ (mean $\pm$ standard deviation over 5 random seeds), against 21 for the best non-learned heuristic, with a median of just 3 CEGRES iterations and under 3 seconds of neural overhead. All predictions are SMT-verified before injection, preserving full soundness guarantees.
Successful Page Load