English

Assume, Guarantee or Repair -- A Regular Framework for Non Regular Properties (full version)

Formal Languages and Automata Theory 2022-07-22 v1

Abstract

We present Assume-Guarantee-Repair (AGR) - a novel framework which verifies that a program satisfies a set of properties and also repairs the program in case the verification fails. We consider communicating programs - these are simple C-like programs, extended with synchronous actions over communication channels. Our method, which consists of a learning-based approach to assume-guarantee reasoning, performs verification and repair simultaneously: in every iteration, AGR either makes another step towards proving that the (current) system satisfies the required properties, or alters the system in a way that brings it closer to satisfying the properties. To handle infinite-state systems we build finite abstractions, for which we check the satisfaction of complex properties that contain first-order constraints, using both syntactic and semantic-aware methods. We implemented AGR and evaluated it on various communication protocols. Our experiments present compact proofs of correctness and quick repairs.

Keywords

Cite

@article{arxiv.2207.10534,
  title  = {Assume, Guarantee or Repair -- A Regular Framework for Non Regular Properties (full version)},
  author = {Hadar Frenkel and Orna Grumberg and Corina S. Pasareanu and Sarai Sheinvald},
  journal= {arXiv preprint arXiv:2207.10534},
  year   = {2022}
}
R2 v1 2026-06-25T01:07:13.952Z