arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1601.07724cs.LO
收藏

认证上下文无关解析:Agda中Valiant算法的形式化

Certified Context-Free Parsing: A formalisation of Valiant's Algorithm in Agda

Jean-Philippe Bernardy, Patrik Jansson

摘要:

Valiant(1975)开发了一种识别上下文无关语言的算法。到今天为止,它仍然是用于此目的的最佳渐近复杂度的算法。在本文中,我们提出了一个代数规范,实现,并证明了正确性的一个概括的Valiant的算法。推广可用于识别,解析或一般计算的传递闭包的上三角矩阵。该证明由Agda证明助手认证。该证明是基于类型理论的证明助手中规范和证明的最先进方法的代表。因此,本文件可作为Agda系统的教程。

英文摘要:

Valiant (1975) has developed an algorithm for recognition of context free languages. As of today, it remains the algorithm with the best asymptotic complexity for this purpose. In this paper, we present an algebraic specification, implementation, and proof of correctness of a generalisation of Valiant's algorithm. The generalisation can be used for recognition, parsing or generic calculation of the transitive closure of upper triangular matrices. The proof is certified by the Agda proof assistant. The certification is representative of state-of-the-art methods for specification and proofs in proof assistants based on type-theory. As such, this paper can be read as a tutorial for the Agda system.

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

↑