Model and Program Repair via Group Actions

Paul C. Attie, William L. Cocke

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Given a textual representation of a finite-state concurrent program P, one can construct the corresponding Kripke structure M. However, the size of M can be exponentially larger than the textual size of P. This state explosion can make model checking properties of P via M expensive or even infeasible. The action of a symmetry group G on M can be used to produce a smaller Kripke structure M¯. Various authors have exploited the direct correspondence between M and M¯ to perform model checking. When the structure M does not satisfy a formula, one can look for a substructure that will satisfy the formula. We call this substructure-repair: identifying a substructure N of M that satisfies a given temporal logic formula. In this paper we extend previous work by showing that repairs of M¯ lift to repairs of M. In other words, we can repair a computer program P, which exhibits a high degree of symmetry, by repairing the smaller Kripke structure M¯ and then symmetrizing the corresponding program. To do this we arrange the substructures of M and M¯ into substructure lattices that are ordered by substructure inclusion. We show that the substructures of M preserved by G form a (sub)lattice that maps to the substructure lattice of M¯. When restricted to the lattice of substructures of M that are “maximal” with the action of G on M, the above map is a lattice isomorphism. These results enable us to repair M¯ and then to lift the repair to M. In cases where a program has a high degree of symmetry, such as in many concurrent programs, we can repair the program by repairing the small Kripke structure M¯.

Original languageEnglish (US)
Title of host publicationFoundations of Software Science and Computation Structures - 26th International Conference, FoSSaCS 2023, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2023, Proceedings
EditorsOrna Kupferman, Pawel Sobocinski
PublisherSpringer Science and Business Media Deutschland GmbH
Pages520-540
Number of pages21
ISBN (Print)9783031308284
DOIs
StatePublished - 2023
Event26th International Conference on Foundations of Software Science and Computational Structures, FOSSACS 2023, held as part of the 26th European Joint Conferences on Theory and Practice of Software, ETAPS 2023 - Paris, France
Duration: Apr 22 2023Apr 27 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13992 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference26th International Conference on Foundations of Software Science and Computational Structures, FOSSACS 2023, held as part of the 26th European Joint Conferences on Theory and Practice of Software, ETAPS 2023
Country/TerritoryFrance
CityParis
Period4/22/234/27/23

Keywords

  • Model checking
  • model repair
  • symmetry reduction

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Model and Program Repair via Group Actions'. Together they form a unique fingerprint.

Cite this