SOTAVerified

Iterative Circuit Repair Against Formal Specifications

2023-03-02Code Available0· sign in to hype

Matthias Cosler, Frederik Schmitt, Christopher Hahn, Bernd Finkbeiner

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

We present a deep learning approach for repairing sequential circuits against formal specifications given in linear-time temporal logic (LTL). Given a defective circuit and its formal specification, we train Transformer models to output circuits that satisfy the corresponding specification. We propose a separated hierarchical Transformer for multimodal representation learning of the formal specification and the circuit. We introduce a data generation algorithm that enables generalization to more complex specifications and out-of-distribution datasets. In addition, our proposed repair mechanism significantly improves the automated synthesis of circuits from LTL specifications with Transformers. It improves the state-of-the-art by 6.8 percentage points on held-out instances and 11.8 percentage points on an out-of-distribution dataset from the annual reactive synthesis competition.

Tasks

Reproductions