Synthesizing Multiple Boolean Functions using Interpolation on a Single Proof

Georg Hofferek,Ashutosh Gupta,Bettina Könighofer,Jie-Hong Roland Jiang,Roderick Bloem
DOI: https://doi.org/10.48550/arXiv.1308.4767
2013-08-22
Abstract:It is often difficult to correctly implement a Boolean controller for a complex system, especially when concurrency is involved. Yet, it may be easy to formally specify a controller. For instance, for a pipelined processor it suffices to state that the visible behavior of the pipelined system should be identical to a non-pipelined reference system (Burch-Dill paradigm). We present a novel procedure to efficiently synthesize multiple Boolean control signals from a specification given as a quantified first-order formula (with a specific quantifier structure). Our approach uses uninterpreted functions to abstract details of the design. We construct an unsatisfiable SMT formula from the given specification. Then, from just one proof of unsatisfiability, we use a variant of Craig interpolation to compute multiple coordinated interpolants that implement the Boolean control signals. Our method avoids iterative learning and back-substitution of the control functions. We applied our approach to synthesize a controller for a simple two-stage pipelined processor, and present first experimental results.
Logic in Computer Science
What problem does this paper attempt to address?