ATS中以程序员为中心的程序验证方法
A Programmer-Centric Approach to Program Verification in ATS
摘要:
形式化规格说明在高质量软件的构造中得到了广泛的应用。然而,在正式规范和实际实现之间往往存在着巨大的差距。虽然已经有大量的工作在软件测试和验证,任务,以确保实现确实符合其规格仍然是不可避免的巨大困难。ATS是一种程序设计语言,它配备了一个高度表达的类型系统,允许程序员指定和实现,然后在语言本身中验证实现是否符合其规范。在本文中,我们主要是通过例子程序员为中心的风格的程序验证,强调要求程序员解释在一个文学的方式,为什么他或她的代码的作品。这是追求软件构造的坚实的一步,根据规范是可验证的正确的。
英文摘要:
Formal specification is widely employed in the construction of high-quality software. However, there is often a huge gap between formal specification and actual implementation. While there is already a vast body of work on software testing and verification, the task to ensure that an implementation indeed meets its specification is still undeniably of great difficulty. ATS is a programming language equipped with a highly expressive type system that allows the programmer to specify and implement and then verify within the language itself that an implementation meets its specification. In this paper, we present largely through examples a programmer-centric style of program verification that puts emphasis on requesting the programmer to explain in a literate fashion why his or her code works. This is a solid step in the pursuit of software construction that is verifiably correct according to specification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。