Program Proofs (Paperback)

Leino, K. Rustan M., Leino, Kaleb

  • 出版商: Summit Valley Press
  • 出版日期: 2023-03-07
  • 售價: $2,450
  • 貴賓價: 9.5$2,328
  • 語言: 英文
  • 頁數: 496
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 026254623X
  • ISBN-13: 9780262546232
  • 立即出貨(限量) (庫存=2)

商品描述

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

商品描述(中文翻譯)

這本全面且易讀的教科書教導讀者如何使用漸進的方法和具有驗證意識的程式語言Dafny來正式推理計算機程式。《程式證明》向學生展示了為程式撰寫規格的意義,程式滿足這些規格的意義,以及如何撰寫連接規格和程式的證明。K. Rustan M. Leino以清晰和幽默的筆調撰寫,首先概述了關於程式推理的基本理論。然後逐步建立複雜的概念和應用,直到學生面對使用物件、資料結構和非平凡遞迴的真實程式。為了強調程式證明的實用性,所有的材料和例子都使用具有驗證意識的程式語言Dafny,但不需要先備的Dafny知識。

該書以易讀且學生友善的風格撰寫,逐步建立複雜的概念。全面涵蓋如何撰寫證明,以及如何規範和驗證功能性程式和命令式程式。使用真實的程式語言的程式文本,而不是偽代碼。還包含引人入勝的插圖和實踐性的學習練習。

作者簡介

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

作者簡介(中文翻譯)

K. Rustan M. Leino 是亞馬遜網路服務(Amazon Web Services)自動推理小組的高級應用科學家,他是ACM院士、IFIP院士,並且曾獲得CAV獎項。