arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.07811cs.PLcs.CL
收藏

证明助手中的自然语言规范

Natural Language Specifications in Proof Assistants

Drexel University(德雷塞尔大学)

Colin S. Gordon, Sergey Matskevich

摘要:

交互式证明助手是精心构造的计算机程序,用于检查人类设计的数学声明的证明,并在实现中具有高置信度。然而,这仅仅验证了一个正式声明的真实性,它可能是从自然语言中提出的声明中误译出来的。当使用证明助手来正式验证软件相对于自然语言规范的正确性时,这是特别成问题的。从非正式文件翻译成正式文件仍然是一个具有挑战性的、耗时的过程,而且很难审计其正确性。本文认为,有可能建立支持自然语言规范内现有的证明助手,在某种程度上,补充的原则,用于建立信任和可扩展性的证明助手本身。

英文摘要:

Interactive proof assistants are computer programs carefully constructed to check a human-designed proof of a mathematical claim with high confidence in the implementation. However, this only validates truth of a formal claim, which may have been mistranslated from a claim made in natural language. This is especially problematic when using proof assistants to formally verify the correctness of software with respect to a natural language specification. The translation from informal to formal remains a challenging, time-consuming process that is difficult to audit for correctness. This paper argues that it is possible to build support for natural language specifications within existing proof assistants, in a way that complements the principles used to establish trust and auditability in proof assistants themselves.

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

↑