Validating the correctness of reactive systems specifications through systematic exploration

Dor Ma'ayan, Shahar Maoz, Roey Rozi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Reactive synthesis is an automated procedure to obtain a correct-by-construction reactive system from its temporal logic specification. While the synthesized system is guaranteed to be correct w.r.t. the specification, the specification itself may be incorrect w.r.t. the engineers' intention or w.r.t. the requirements or the environment in which the system should execute in. It thus requires validation. Combinatorial coverage (CC) is a well-known coverage criterion. Its rationale and key for effectiveness is the empirical observation that in many cases, the presence of a defect depends on the interaction between a small number of features of the system at hand. In this work we propose a validation approach for a reactive system specification, based on a systematic combinatorial exploration of the behaviors of a controller that was synthesized from it. Specifically, we present an algorithm to generate and execute a small scenario suite that covers all tuples of given variable value combinations over the reachable states of the controller. We have implemented our work in the Spectra synthesis environment. We evaluated it over benchmarks from the literature using a mutation approach, specifically tailored for evaluating scenario suites of temporal specifications for reactive synthesis. The evaluation shows that for pairwise coverage, our CC algorithms are feasible and provide a 1.7 factor of improvement in mutation score compared to random scenario generation. We further report on a user study with students who have participated in a workshop class at our university and have used our tool to validate their specifications. The user study results demonstrate the potential effectiveness of our work in helping engineers detect real bugs in the specifications they write.

Original languageEnglish
Title of host publicationProceedings - 25th ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2022
PublisherAssociation for Computing Machinery, Inc
Pages132-142
Number of pages11
ISBN (Electronic)9781450394666
DOIs
StatePublished - 23 Oct 2022
Event25th ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2022 - Montreal, Canada
Duration: 23 Oct 202228 Oct 2022

Publication series

NameProceedings - 25th ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2022

Conference

Conference25th ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2022
Country/TerritoryCanada
CityMontreal
Period23/10/2228/10/22

Fingerprint

Dive into the research topics of 'Validating the correctness of reactive systems specifications through systematic exploration'. Together they form a unique fingerprint.

Cite this