计算机科学 > 软件工程
[提交于 2021年8月9日]
标题:Verifying Time Complexity of Binary Search using Dafny
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Formal software verification techniques are widely used to specify and prove the functional correctness of programs. However, nonfunctional properties such as time complexity are usually carried out with pen and paper. Inefficient code in terms of time complexity may cause massive performance problems in large-scale complex systems. We present a proof of concept for using the Dafny verification tool to specify and verify the worst-case time complexity of binary search. This approach can also be used for academic purposes as a new way to teach algorithms and complexity.
提交历史
来自:EPTCS[v1] 2021年8月9日 星期一 00:00:00 UTC