Programming with Higher-Order Logic
暫譯: 高階邏輯程式設計

Dale Miller, Gopalan Nadathur

  • 出版商: Cambridge
  • 出版日期: 2012-06-11
  • 售價: $2,390
  • 貴賓價: 9.5$2,271
  • 語言: 英文
  • 頁數: 320
  • 裝訂: Hardcover
  • ISBN: 052187940X
  • ISBN-13: 9780521879408
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Formal systems that describe computations over syntactic structures occur frequently in computer science. Logic programming provides a natural framework for encoding and animating such systems. However, these systems often embody variable binding, a notion that must be treated carefully at a computational level. This book aims to show that a programming language based on a simply typed version of higher-order logic provides an elegant, declarative means for providing such a treatment. Three broad topics are covered in pursuit of this goal. First, a proof-theoretic framework that supports a general view of logic programming is identified. Second, an actual language called λProlog is developed by applying this view to higher-order logic. Finally, a methodology for programming with specifications is exposed by showing how several computations over formal objects such as logical formulas, functional programs, and λ-terms and π-calculus expressions can be encoded in λProlog.

商品描述(中文翻譯)

在計算機科學中,描述語法結構上計算的形式系統經常出現。邏輯程式設計提供了一個自然的框架來編碼和動畫化這些系統。然而,這些系統通常體現了變數綁定的概念,這一概念在計算層面上必須謹慎處理。本書旨在展示基於簡單類型的高階邏輯的程式語言提供了一種優雅的、聲明式的方法來處理這一問題。為了實現這一目標,涵蓋了三個廣泛的主題。首先,確定了一個支持邏輯程式設計一般觀點的證明理論框架。其次,通過將這一觀點應用於高階邏輯,開發了一種名為 λProlog 的實際語言。最後,通過展示如何在 λProlog 中編碼多個針對形式對象(如邏輯公式、函數程式和 λ-項及 π-演算表達式)的計算,揭示了一種基於規範的程式設計方法。