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

反例引导的区间弱化

Counterexample-Guided Interval Weakening

University of Manchester(曼彻斯特大学)

Ben M. Andrew, Louise A. Dennis, Michael Fisher, Marie Farrell

AI总结:

本文提出CEGIW算法,用于自动弱化MTL规范中的时间区间,以保证系统模型满足要求。算法保持原规范的逻辑结构,仅弱化区间边界,并通过实验证明其正确性和实用性。

摘要:

在动态环境中长期运行的系统可能因性能退化影响定时保证,即使其功能行为未变。在关键系统设计和验证中,此类定时保证常通过度量时序逻辑(MTL)表达。在退化情况下,这些规范可能不再成立,但较弱的变体可能仍满足并保持意义。例如,电梯初始要求在30秒内响应,但电机退化可能只能保证60秒内响应。尽管较弱,此保证仍具实用性。本文提出CEGIW,一种迭代的反例引导算法,用于自动弱化MTL规范中的时间区间,使其对给定系统模型成立。算法保持原规范的逻辑结构,仅弱化区间边界。我们证明了CEGIW的正确性和最优性,并通过实证评估展示使用形式化需求进行区间弱化的实用性。通过模型检查器生成反例,CEGIW要么确定规范在何种最弱区间下成立,要么确定不存在此类弱化。

英文摘要:

Systems deployed for long periods of time in dynamic environments may experience performance degradation that affects timing guarantees, even when their functional behaviour remains unchanged. In the design and verification of critical systems, such timing guarantees are often expressed using Metric Temporal Logic (MTL). Under degradation, these specifications may no longer hold as stated, although weaker variants that relax timing bounds may still be satisfied and remain meaningful. For example, while an elevator may initially be required to arrive within 30 seconds of a request, degradation of its motor may only allow us to guarantee arrival within 60 seconds. Although weaker, this guarantee is still useful and allows the system to maintain a reasonable level of operation. In this paper we present CEGIW, an iterative, counterexample-guided algorithm for automatically weakening timing intervals in MTL specifications so that they hold for a given system model. The algorithm preserves the logical structure of the original specification and weakens only interval bounds. We prove the correctness and optimality of CEGIW, and conduct an empirical evaluation to demonstrate the practicality of interval weakening using formalised requirements from a number of real-world case-studies. Using a model checker to produce counterexamples, CEGIW either identifies the strongest interval weakening under which the specification holds, or determines that no such weakening exists.

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

↑