首页 | 本学科首页   官方微博 | 高级检索  
     


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 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号