使用幽灵锁在Rust中进行细化证明
Refinement Proofs in Rust Using Ghost Locks
AI总结:
本文提出了一种在Rust中使用幽灵锁进行细化证明的新技术,支持多种程序结构和属性推理,提升了验证效率和实用性。
摘要:
细化将抽象系统模型转换为具体的可执行程序,使得在抽象模型中建立的属性能够延续到具体的实现中。细化已被成功用于开发大量已验证的系统。然而,现有的细化技术存在限制,阻碍了其实际应用。一些技术会自动生成可执行代码,通常导致实现性能不佳。其他技术则采用自底向上的程序验证来推导高效的实现,但对代码结构、细化证明结构以及所用的验证逻辑和工具提出了严格的要求。在本文中,我们提出了一种新的细化技术,以消除这些限制。它支持广泛程序结构、数据表示和证明结构。我们的方法支持对安全性和活性属性的推理。我们将在最先进的Rust语言验证器中实现该方法,而Rust本身为内存安全提供了坚实的基础。我们通过多个重要的案例研究展示了该方法的实用性。
英文摘要:
Refinement transforms an abstract system model into a concrete, executable program, such that properties established for the abstract model carry over to the concrete implementation. Refinement has been used successfully in the development of substantial verified systems. Nevertheless, existing refinement techniques have limitations that impede their practical usefulness. Some techniques generate executable code automatically, which generally leads to implementations with sub-optimal performance. Others employ bottom-up program verification to reason about efficient implementations, but impose strict requirements on the structure of the code, the structure of the refinement proofs, as well as the employed verification logic and tools. In this paper, we present a novel refinement technique that removes these limitations. It supports a wide range of program structures, data representations, and proof structures. Our approach supports reasoning about both safety and liveness properties. We implement our approach in a state-of-the-art verifier for the Rust language, which itself offers a strong foundation for memory safety. We demonstrate the practicality of our approach on a number of substantial case studies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。