Program Proofs

Program Proofs book cover

Program Proofs

Author(s): K. Rustan M. Leino (Author), Kaleb Leino (Author)

  • Publisher: MIT Press
  • Publication Date: 7 Mar. 2023
  • Language: English
  • Print length: 496 pages
  • ISBN-10: 026254623X
  • ISBN-13: 9780262546232

Book Description

This comprehensive and highly readable textbook teaches how to formally reason about computer programs using an incremental approach and the verification-aware programming language Dafny.

Program Proofs shows students what it means to write specifications for programs, what it means for programs to satisfy those specifications, and how to write proofs that connect specifications and programs. Writing with clarity and humor, K. Rustan M. Leino first provides an overview of the basic theory behind reasoning about programs. He then gradually builds up to complex concepts and applications, until students are facing real programs using objects, data structures, and non-trivial recursion. To emphasize the practical nature of program proofs, all material and examples use the verification-aware programming language Dafny, but no previous knowledge of Dafny is assumed.

  • Written in a highly readable and student-friendly style
  • Builds up to complex concepts in an incremental manner
  • Comprehensively covers how to write proofs and how to specify and verify both functional programs and imperative programs
  • Uses real program text from a real programming language, not psuedo code
  • Features engaging illustrations and hands-on learning exercises

Editorial Reviews

Review

Select Guide Rating

About the Author

K. Rustan M. Leino is a Senior Principal Applied Scientist in the Automated Reasoning Group at Amazon Web Services, an ACM and IRIP Fellow, and a recipient of the CAV Award.

View on Amazon

未经允许不得转载:Wow! eBook » Program Proofs