反例分类
Counterexample Classification
摘要:
在模型检验中,当给定的模型不能满足所需的规范时,典型的模型检验器会提供一个反例来说明违规是如何发生的。一般来说,存在许多不同的反例,它们表现出不同的违规行为,用户可能希望在决定如何修复模型之前检查这些行为。不幸的是,在现有的模型检查器中获得该信息是具有挑战性的,因为(1)反例的数量可能太大而不能一一枚举,以及(2)这些反例中的许多是冗余的,因为它们描述了相同类型的违规行为。在本文中,我们提出了一种技术称为反例分类。分类的目标是将所有反例的空间划分为有限的反例类集合,每个反例类描述给定规范的不同类型的违反行为。然后,这些类作为系统中可能的违规行为的摘要呈现,使用户不必手动检查或分析大量反例以提取相同的信息。我们已经实现了一个原型,我们的技术上现有的正式建模和验证工具,合金分析仪,并评估了该技术的有效性的案例研究,涉及著名的李约瑟-施罗德协议有希望的结果。
英文摘要:
In model checking, when a given model fails to satisfy the desired specification, a typical model checker provides a counterexample that illustrates how the violation occurs. In general, there exist many diverse counterexamples that exhibit distinct violating behaviors, which the user may wish to examine before deciding how to repair the model. Unfortunately, obtaining this information is challenging in existing model checkers since (1) the number of counterexamples may be too large to enumerate one by one, and (2) many of these counterexamples are redundant, in that they describe the same type of violating behavior. In this paper, we propose a technique called counterexample classification. The goal of classification is to partition the space of all counterexamples into a finite set of counterexample classes, each of which describes a distinct type of violating behavior for the given specification. These classes are then presented as a summary of possible violating behaviors in the system, freeing the user from manually having to inspect or analyze numerous counterexamples to extract the same information. We have implemented a prototype of our technique on top of an existing formal modeling and verification tool, the Alloy Analyzer, and evaluated the effectiveness of the technique on case studies involving the well-known Needham-Schroeder protocol with promising results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。