计算机科学 > 计算机科学中的逻辑
[提交于 2019年1月10日]
标题:PML 2 : Integrated Program Verification in ML
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present the PML 2 language, which provides a uniform environment for programming, and for proving properties of programs in an ML-like setting. The language is Curry-style and call-by-value, it provides a control operator (interpreted in terms of classical logic), it supports general recursion and a very general form of (implicit, non-coercive) subtyping. In the system, equational properties of programs are expressed using two new type formers, and they are proved by constructing terminating programs. Although proofs rely heavily on equational reasoning, equalities are exclusively managed by the type-checker. This means that the user only has to choose which equality to use, and not where to use it, as is usually done in mathematical proofs. In the system, writing proofs mostly amounts to applying lemmas (possibly recursive function calls), and to perform case analyses (pattern matchings).
提交历史
来自:Rodolphe Lepigre[v1] 2019年1月10日 星期四 15:05:43 UTC