A correctness proof of sorting by means of formal procedures |
| |
Affiliation: | Faculty of Informatics, University of Twente, 7500 AE Enschede, Netherlands |
| |
Abstract: | We consider a recursive sorting algorithm in which, in each invocation, a new variable and a new procedure (using the variable globally) are defined and the procedure is passed to recursive calls. This algorithm is proved correct with Hoare-style pre- and postassertions. We also discuss the same algorithm expressed as a functional program. |
| |
Keywords: | |
本文献已被 ScienceDirect 等数据库收录! |
|