Modular Verification of Recursive Programs
Krzysztof R. Apt, Frank S. de Boer, Ernst-R\"udiger Olderog

TL;DR
This paper proposes a modular reasoning approach to verify recursive programs, simplifying the assertional method of Hoare by establishing properties in stages, demonstrated through a correctness proof of Quicksort.
Contribution
It introduces a modular verification method for recursive programs that enhances the traditional assertional approach, exemplified with Quicksort.
Findings
Modular reasoning simplifies recursive program verification.
Proof of Quicksort correctness using the proposed method.
Enhanced understanding of property establishment in recursive verification.
Abstract
We argue that verification of recursive programs by means of the assertional method of C.A.R. Hoare can be conceptually simplified using a modular reasoning. In this approach some properties of the program are established first and subsequently used to establish other program properties. We illustrate this approach by providing a modular correctness proof of the Quicksort program.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Formal Methods in Verification · Logic, Reasoning, and Knowledge
