A Hoare logic for the state monad: Proof pearl
Paper in proceeding, 2009

This pearl examines how to verify functional programs written using the state monad. It uses Coq's Program framework to provide strong specifications for the standard operations that the state monad supports, such as return and bind. By exploiting the monadic structure of such programs during the verification process, it becomes easier to prove that they satisfy their specification.

Author

Wouter Swierstra

Chalmers, Computer Science and Engineering (Chalmers), Software Engineering and Technology (Chalmers)

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

03029743 (ISSN) 16113349 (eISSN)

Vol. 5674 LNCS 440-451
978-364203358-2 (ISBN)

Subject Categories

Computer and Information Science

DOI

10.1007/978-3-642-03359-9_30

ISBN

978-364203358-2

More information

Created

12/1/2017