Learning to adapt GR(1) specifications through degradation
Abstract
Reactive synthesis is a powerful tool for generating correct-by-construction controllers from formal specifications. GR(1) is an assume-guarantee specification framework that enables efficient synthesis, allowing synthesised controllers to be used in a wide array of applications. The limitation of such controllers is that, should they encounter environment behaviour unspecified in the assumptions of the specification, the specified system guarantees are no longer ensured. Our work proposes an approach based on oracle-guided inductive synthesis to adapt the specification to be consistent with the observed assumption violation, while degrading system guarantees as little as possible to maintain realisability. Our methodology discovers multiple potential solutions, so we propose a preference criteria, based on the ability of the specification to enable robustness under adaptation. Although our approach is capable of degrading the entire specification, for our case studies we successfully discover degradations that preserve the entire set of original guarantees.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI, cs.LO
- Comments
- 59 pages (39 pages main text, 20 pages appendices), 24 figures, 5 tables. Submitted to ACM Transactions on Software Engineering and Methodology
Related papers
Managing Specification. Not code: A feasibility study of Graph -> Contract -> Code Deployment and Maintenance
Shared title terminologycs.SEHenry Yeung
SpecBridge: Learning Natural-Language Formalization Plans for the Formal Specification Synthesis Task
Shared title terminologycs.SEWenjie Zhang, Yun Lin, Zining He et al.
OASIS: Static and Dynamic OpenAPI Specification Inference
Shared title terminologycs.SEHamza Bin Mazhar, Yuqing Wang, Jesse Nyyssölä et al.
Separating Configuration from Adaptation: Verifiable Semantic-to-Executable Search for Financial Web Agents
Shared title terminologycs.SEChenxi Wang, Ye Tao, Juncheng Su et al.
SpecEngineeringBench: Evaluating Coding Agents as Autonomous Specification Engineers
Shared title terminologycs.SEXingjian Wang, Shijian Wang, Minghao Liu et al.
VSpector: Specification-Driven Bug Detection for RISC-V CPUs
Shared title terminologycs.SETianyu Jia, Zhaoyang Yu, Yuanliang Chen et al.