Please use this identifier to cite or link to this item: https://research.matf.bg.ac.rs/handle/123456789/2463
Title: Using small-step refinement for algorithm verification in computer science education
Authors: Simić, Danijela 
Issue Date: 1-Jan-2015
Rank: M24+
Publisher: Burnham : Ingenta, Research Information LTD
Journal: International Journal for Technology in Mathematics Education
Abstract: 
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.
URI: https://research.matf.bg.ac.rs/handle/123456789/2463
ISSN: 17442710
DOI: 10.1564/tme_v22.4.03
Appears in Collections:Research outputs

Show full item record

Google ScholarTM

Check

Altmetric

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.