Context: Ensuring safety for any sophisticated system is getting more complex due to the rising number of features and functionalities. This calls for formal methods to entrust confidence in such systems. Nevertheless, using formal methods in industry is demanding because of their lack of usability and the difficulty of understanding verification results. Objective: We evaluate the acceptance of formal methods by Bosch automotive engineers, particularly whether the difficulty of understanding verification results can be reduced. Method: We perform two different exploratory studies. First, we conduct a user survey to explore challenges in identifying inconsistent specifications and using formal methods by Bosch automotive engineers. Second, we perform a one-group pretest-posttest experiment to collect impressions from Bosch engineers familiar with formal methods to evaluate whether understanding verification results is simplified by our counterexample explanation approach. Results: The results from the user survey indicate that identifying refinement inconsistencies, understanding formal notations, and interpreting verification results are challenging. Nevertheless, engineers are still interested in using formal methods in real-world development processes because it could reduce the manual effort for verification. Additionally, they also believe formal methods could make the system safer. Furthermore, the one-group pretest-posttest experiment results indicate that engineers are more comfortable understanding the counterexample explanation than the raw model checker output. Limitations: The main limitation of this study is the generalizability beyond the target group of Bosch automotive engineers.
翻译:背景:由于特性和功能的不断增加,确保任何复杂系统的安全性越来越复杂。这要求采用形式化方法对这些系统进行可信度评估。尽管如此,由于缺乏易用性以及难以理解验证结果等原因,使用形式化方法也很具挑战性。目标:我们评估了宝马汽车工程师对形式化方法的接受程度,特别是是否能够减少理解验证结果的难度。方法:我们进行了两个不同的探索性研究。首先,我们进行了用户调查,以探讨宝马汽车工程师在识别不一致规范和使用形式化方法方面面临的挑战。其次,我们进行了一个单组前后测实验,以收集熟悉形式化方法的宝马工程师的印象,以评估我们的反例解释方法是否简化了对验证结果的理解。结果:用户调查的结果表明,识别精化的不一致性、理解形式化符号和解释验证结果等方面存在困难。尽管如此,工程师们仍然对在实际开发过程中使用形式化方法感兴趣,因为这可以减少验证的手动工作量。此外,他们还相信形式化方法可以使系统更加安全。此外,单组前后测实验的结果表明,工程师们更容易理解反例解释而不是模型检查器的原始输出。局限性:此研究的主要局限性是泛化能力不足,可能无法超出宝马汽车工程师的目标群体。