计算机科学 > 程序设计语言
[提交于 2018年12月21日]
标题:Correct by construction
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Matrix code allows one to discover algorithms and to render them in code that is both compilable and is correct by construction. In this way the difficulty of verifying existing code is avoided. The method is especially important for logically dense code and when precision programming is called for. The paper explains both these concepts. Logically dense code is explained by means of the partition stage of the Quicksort algorithm. Precision programming is explained by means of fast exponentiation.
提交历史
来自:M. H. van Emden[v1] 2018年12月21日 星期五 23:26:07 UTC