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

具有自动化预言机生成的 Timed Automata 模型检测器的随机测试

Random Testing of Model Checkers for Timed Automata with Automated Oracle Generation

Andrea Manini, Matteo Rossi, Pierluigi San Pietro

AI总结:

本文提出基于 Tiled Timed Automata 的理论框架,通过 Weighted Automata 构建自动化预言机,随机测试 Timed Automata 模型检测器,并用 TABEC 工具验证了其在 Parametric TA 空性问题上的有效性。

摘要:

形式化验证(特别是 Model Checking)中的一个关键挑战是确保验证工具的正确性。复杂模型上的错误结果可能难以检测,但人们对结果仍期望有高置信度。事实上,这些工具通常是新颖的,可能尚未经过充分测试。当标准基准测试不足或不可用时,随机测试用例生成提供了一种有前景的方法。为了扩大规模,随机测试需要比较实际与预期结果,即解决预言机问题。为应对这一挑战,本工作引入了一个基于 Timed Automata (TA) 模块化变体(称为 Tiled Timed Automata (TTA))的新颖理论框架,通过构建基于 Weighted Automata 的预言机,来测试处理 TA 变体的模型检测器。该框架最初被应用于验证解决 Parametric TA 空性问题的模型检测器,并在该特定场景下由我们的工具 TABEC 进行了验证,TABEC 随机生成测试,并通过自动化预言机生成预测其预期结果。此外,TTA 的一般特性促进了该框架向解决 TA 上其他可判定问题的模型检测器的适配,如针对 Priced TA 最小代价可达性问题的详述。

英文摘要:

A key challenge in formal verification, particularly in Model Checking, is ensuring the correctness of the verification tools. Erroneous results on complex models can be difficult to detect, yet a high level of confidence in the outcome is expected. Indeed, these tools are frequently novel and may not have been thoroughly tested. When standard benchmarks may be insufficient or unavailable, random test case generation offers a promising approach. To scale up, random testing requires comparing actual versus expected results, i.e., solving the oracle problem. To address this challenge, this work introduces a novel theoretical framework based on a modular variant of Timed Automata (TA), called Tiled Timed Automata (TTA), for testing model checkers operating with variations of TA, by building oracles based on Weighted Automata. The framework is initially applied to verify model checkers solving the emptiness problem for Parametric TA and it is validated, in this specific scenario, by our tool, TABEC, which randomly generates tests predicting their expected outcome through automated oracle generation. Furthermore, the general nature of TTA facilitates the framework adaptation to model checkers solving other decidable problems on TA, as detailed for the minimum-cost reachability problem of Priced TA.

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

↑