Iterative Circuit Repair Against Formal Specifications

Matthias Cosler, Frederik Schmitt, Christopher Hahn, B. Finkbeiner
2/12/2026

No official code found. Best implementation: reactive-systems/circuit-repair (6 stars, MIT, last commit 2023-03-03).

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.

View on arXivView PDF

Code Implementations(1)

MIT

Iterative Circuit Repair Against Formal Specifications

63Shell, PythonFeb 28, 20233 years agoMIT

Similar Papers

Cite this paper

@article{cosler2026iterative,
  title  = {Iterative Circuit Repair Against Formal Specifications},
  author = {Matthias Cosler and Frederik Schmitt and Christopher Hahn and B. Finkbeiner},
  year   = {2026},
  eprint = {2303.01158},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.01158},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.01158.svg)](https://codeofpaper.com/paper/2303.01158)

Discussion