Quicksort Revisited [chapter]

Razvan Certezeanu, Sophia Drossopoulou, Benjamin Egelund-Muller, K. Rustan M. Leino, Sinduran Sivarajan, Mark Wheelhouse
2016 Lecture Notes in Computer Science  
We verify the correctness of a recursive version of Tony Hoare's quicksort algorithm using the Hoare-logic based verification tool Dafny. We then develop a non-standard, iterative version which is based on a stack of pivot-locations rather than the standard stack of ranges. We outline an incomplete Dafny proof for the latter.
doi:10.1007/978-3-319-30734-3_27 fatcat:mvuulyl3dzfsnnbxavebyfafhu