Algebraic Semantics of Imperative Programs
暫譯: 命令式程式的代數語義學

Joseph A. Goguen, Grant Malcolm

  • 出版商: MIT
  • 出版日期: 1996-05-22
  • 售價: $710
  • 貴賓價: 9.5$675
  • 語言: 英文
  • 頁數: 228
  • 裝訂: Hardcover
  • ISBN: 026207172X
  • ISBN-13: 9780262071727
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Algebraic Semantics of Imperative Programs presents a self-contained and novel "executable" introduction to formal reasoning about imperative programs. The authors' primary goal is to improve programming ability by improving intuition about what programs mean and how they run. The semantics of imperative programs is specified in a formal, implemented notation, the language OBJ; this makes the semantics highly rigorous yet simple, and provides support for the mechanical verification of program properties. OBJ was designed for algebraic semantics; its declarations introduce symbols for sorts and functions, its statements are equations, and its computations are equational proofs. Thus, an OBJ "program" is an equational theory, and every OBJ computation proves some theorem about such a theory. This means that an OBJ program used for defining the semantics of a program already has a precise mathematical meaning. Moreover, standard techniques for mechanizing equational reasoning can be used for verifying axioms that describe the effect of imperative programs on abstract machines. These axioms can then be used in mechanical proofs of properties of programs. Intended for advanced undergraduates or beginning graduate students, Algebraic Semantics of Imperative Programs contains many examples and exercises in program verification, all of which can be done in OBJ.

商品描述(中文翻譯)

《命令式程式的代數語義》提供了一個自足且新穎的「可執行」介紹,旨在對命令式程式進行形式推理。作者的主要目標是通過改善對程式意義及其運行方式的直覺來提升程式設計能力。

命令式程式的語義是以一種正式且實作的符號表示法來指定的,該語言為OBJ;這使得語義既高度嚴謹又簡單,並支持程式屬性的機械驗證。OBJ是為代數語義而設計的;其聲明引入了類型和函數的符號,其陳述為方程式,而其計算則是方程證明。因此,OBJ的「程式」實際上是一個方程理論,而每個OBJ計算都「證明」了關於該理論的某個定理。這意味著用於定義程式語義的OBJ程式已經具有精確的數學意義。此外,標準的機械化方程推理技術可以用於驗證描述命令式程式對抽象機器影響的公理。這些公理隨後可以用於程式屬性的機械證明。

《命令式程式的代數語義》適合高年級本科生或初級研究生,書中包含許多程式驗證的範例和練習,所有這些都可以在OBJ中完成。

最後瀏覽商品 (20)