A framework for monitored dynamic slicing of reaction systems

被引:1
作者
Brodo, Linda [1 ]
Bruni, Roberto [2 ]
Falaschi, Moreno [3 ]
机构
[1] Univ Sassari, Dipartimento Sci Econ & Aziendali, Via Muroni 25, I-07100 Sassari, Italy
[2] Univ Pisa, Dipartimento Informat, Largo Bruno Pontecorvo 3, I-56127 Pisa, Italy
[3] Univ Siena, Dipartimento Ingn Informaz & Sci Matemat, Via Roma 56, I-53100 Siena, Italy
关键词
Reaction systems; SOS semantics; Program slicing; Assertions; Monitors; SIMULATION; NETWORKS;
D O I
10.1007/s11047-024-09976-3
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Reaction systems (RSs) are a computational framework inspired by biochemical mechanisms. A RS defines a finite set of reactions over a finite set of entities. Typically each reaction has a local scope, because it is concerned with a small set of entities, but complex models can involve a large number of reactions and entities, and their computation can manifest unforeseen emerging behaviours. When a deviation is detected, like the unexpected production of some entities, it is often difficult to establish its causes, e.g., which entities were directly responsible or if some reaction was misconceived. Slicing is a well-known technique for debugging, which can point out the program lines containing the faulty code. In this paper, we define the first dynamic slicer for RSs and show that it can help to detect the causes of erroneous behaviour and highlight the involved reactions for a closer inspection. To fully automate the debugging process, we propose to distil monitors for starting the slicing whenever a violation from a safety specification is detected. We have integrated our slicer in BioResolve, written in Prolog which provides many useful features for the formal analysis of RSs. We define the slicing algorithm for basic RSs and then enhance it for dealing with quantitative extensions of RSs, where timed processes and linear processes can be represented. Our framework is shown at work on suitable biologically inspired RS models.
引用
收藏
页码:217 / 234
页数:18
相关论文
共 45 条
  • [1] An operational guide to monitorability with applications to regular properties
    Aceto, Luca
    Achilleos, Antonis
    Francalanza, Adrian
    Ingolfsdottir, Anna
    Lehtinen, Karoliina
    [J]. SOFTWARE AND SYSTEMS MODELING, 2021, 20 (02) : 335 - 361
  • [2] Determinizing monitors for HML with recursion
    Aceto, Luca
    Achilleos, Antonis
    Francalanza, Adrian
    Ingolfsdottir, Anna
    Kjartansson, Saevar Orn
    [J]. JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2020, 111
  • [3] Aceto Luca, 2021, LIPICS, V183, DOI [DOI 10.4230/LIPICS.CSL.2021.7, 10.4230/LIPIcs.CSL.2021.7]
  • [4] Debugging Maude programs via runtime assertion checking and trace slicing
    Alpuente, Maria
    Ballis, Demis
    Frechina, Francisco
    Sapina, Julia
    [J]. JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2016, 85 (05) : 707 - 736
  • [5] Using conditional trace slicing for improving Maude programs
    Alpuente, Maria
    Ballis, Demis
    Frechina, Francisco
    Romero, Daniel
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2014, 80 : 385 - 415
  • [6] Alpuente M, 2011, LECT NOTES ARTIF INT, V6803, P34, DOI 10.1007/978-3-642-22438-6_5
  • [7] Steady states of constrained reaction systems
    Azimi, Sepinoud
    [J]. THEORETICAL COMPUTER SCIENCE, 2017, 701 : 20 - 26
  • [8] Complexity of model checking for reaction systems
    Azimi, Sepinoud
    Gratie, Cristian
    Ivanov, Sergiu
    Manzoni, Luca
    Petre, Ion
    Porreca, Antonio E.
    [J]. THEORETICAL COMPUTER SCIENCE, 2016, 623 : 103 - 113
  • [9] Dependency graphs and mass conservation in reaction systems
    Azimi, Sepinoud
    Gratie, Cristian
    Ivanov, Sergiu
    Petre, Ion
    [J]. THEORETICAL COMPUTER SCIENCE, 2015, 598 : 23 - 39
  • [10] Reaction System Models for the Heat Shock Response
    Azimi, Sepinoud
    Iancu, Bogdan
    Petre, Ion
    [J]. FUNDAMENTA INFORMATICAE, 2014, 131 (3-4) : 299 - 312