计算机科学 > 程序设计语言
[提交于 2023年9月27日]
标题:Making Logical Relations More Relatable (Proof Pearl)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Mechanical proofs by logical relations often involve tedious reasoning about substitution. In this paper, we show that this is not necessarily the case, by developing, in Agda, a proof that all simply typed lambda calculus expressions evaluate to values. A formalization of the proof is remarkably short (~40 lines of code), making for an excellent introduction to the technique of proofs by logical relations not only on paper but also in a mechanized setting. We then show that this process extends to more sophisticated reasoning by also proving the totality of normalization by evaluation. Although these proofs are not new, we believe presenting them will empower both new and experienced programming language theorists in their use of logical relations.
提交历史
来自:Stephanie Weirich[v1] 2023年9月27日 星期三 15:32:02 UTC