arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.02133cs.LO
收藏

通过抽象和测试修复时间自动机时钟保护

Repairing Timed Automata Clock Guards through Abstraction and Testing

Étienne André, Paolo Arcaini, Angelo Gargantini, Marco Radavelli

摘要:

时间自动机(TA)是一种广泛使用的形式化描述具有时间需求的系统。然而,准确地指定系统可能是困难的,因为用户可能不知道触发状态转换的确切时钟约束。在这项工作中,我们假设用户已经指定了一个TA,并且他希望根据可以查询接受的oracle验证它。假设用户只写了错误的保护转换(即,TA的结构是正确的),用于正确TA的搜索空间可以由参数时间自动机(PTA)表示,即,一个TA,其中一些常数是参数化的。该论文提出了一种过程,i)提取PTA pta中的初始(故障)TA taint; ii)生成一些测试数据(即,定时跟踪); iii)用oracle评估迹线的正确评估; iv)使用IMITATOR工具来合成对pta的参数的一些约束phi; v)从phi实例化TA tarep作为最终修复的模型。实验表明,该方法能够成功地部分修复用户的初始设计。

英文摘要:

Timed automata (TAs) are a widely used formalism to specify systems having temporal requirements. However, exactly specifying the system may be difficult, as the user may not know the exact clock constraints triggering state transitions. In this work, we assume the user already specified a TA, and (s)he wants to validate it against an oracle that can be queried for acceptance. Under the assumption that the user only wrote wrong guard transitions (i.e., the structure of the TA is correct), the search space for the correct TA can be represented by a Parametric Timed Automaton (PTA), i.e., a TA in which some constants are parametrized. The paper presents a process that i) abstracts the initial (faulty) TA tainit in a PTA pta; ii) generates some test data (i.e., timed traces) from pta; iii) assesses the correct evaluation of the traces with the oracle; iv) uses the IMITATOR tool for synthesizing some constraints phi on the parameters of pta; v) instantiate from phi a TA tarep as final repaired model. Experiments show that the approach is successfully able to partially repair the initial design of the user.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑