谷歌浏览器插件
订阅小程序
在清言上使用

Using Small -Step Refinement For Algorithm Verification In Computer Science Education

INTERNATIONAL JOURNAL FOR TECHNOLOGY IN MATHEMATICS EDUCATION(2015)

引用 0|浏览3
暂无评分
摘要
Stepwise program refinement techniques can be used to simplify program verification. Programs are better understood since their main properties are clearly stated, and verification of rather complex algorithms is reduced to proving simple statements connecting successive program specifications. Additionally, it is easy to analyse similar algorithms and to compare their properties within a single formalization. Usually, formal analysis is not done in the educational setting due to complexity of verification and a lack of tools and procedures to make comparison easy. Verification of an algorithm should not only give a correctness proof, but also better understanding of an algorithm. If the verification is based on a small step program refinement, it can become simple enough to be demonstrated within the university-level computer science curriculum. In this paper we demonstrate this and give a formal analysis of two well-known algorithms (Selection Sort and Heap Sort) using the proof assistant Isabelle/HOL and program refinement techniques.
更多
查看译文
关键词
algorithm verification,computer science education,computer science,small-step
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要