arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.06262cs.FLcs.AI
收藏

关于定时正则表达式的合成

On Synthesis of Timed Regular Expressions

Key Lab. of System Software (CAS) Institute of Software, Chinese Academy of Sciences, \& University of Chinese Academy of Sciences Beijing, China;National Key Lab. of Space Integrated Information System Institute of Software, Chinese Academy of Sciences, \& University of Chinese Academy of Sciences Beijing, China;School of Computer Science \& MoE Key Lab. of High Confidence Software Technologies Peking University Beijing, China;School of Computer Science;Technology Tongji University Shanghai, China;Kyushu University Fukuoka, Japan.

Ziran Wang, Jie An, Naijun Zhan, Miaomiao Zhang, Zhenya Zhang

AI总结:

本文研究定时正则表达式的合成问题,提出一种两步法生成与正负例一致的最小长度定时正则表达式,并证明可判定性,通过基准测试验证有效性。

摘要:

定时正则表达式作为形式化描述信息物理系统实时行为的规范语言。本文研究定时正则表达式的合成问题,重点在于生成与给定系统行为集合(包括正例和负例)一致的定时正则表达式,即接受所有正例并拒绝所有负例。我们首先通过探索简单定时正则表达式证明了合成问题的可判定性。随后,我们提出了一种生成最小长度一致定时正则表达式的方法,该方法分两步进行。第一步是枚举并剪枝候选参数化定时正则表达式。第二步,我们将第一步生成的候选与给定集合一致的要求编码为可满足性模理论(SMT)公式,进而求解该公式以确定参数化时间约束的解。最后,我们在基准测试上评估了我们的方法,包括从目标定时模型随机生成的行为以及一个案例研究。

英文摘要:

Timed regular expressions serve as a formalism for specifying real-time behaviors of Cyber-Physical Systems. In this paper, we consider the synthesis of timed regular expressions, focusing on generating a timed regular expression consistent with a given set of system behaviors including positive and negative examples, i.e., accepting all positive examples and rejecting all negative examples. We first prove the decidability of the synthesis problem through an exploration of simple timed regular expressions. Subsequently, we propose our method of generating a consistent timed regular expression with minimal length, which unfolds in two steps. The first step is to enumerate and prune candidate parametric timed regular expressions. In the second step, we encode the requirement that a candidate generated by the first step is consistent with the given set into a Satisfiability Modulo Theories (SMT) formula, which is consequently solved to determine a solution to parametric time constraints. Finally, we evaluate our approach on benchmarks, including randomly generated behaviors from target timed models and a case study.

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

↑