Verified Functional Programming in Agda by Aaron Stump

Regular price
Checking stock...
Regular price
Checking stock...
The feel-good place to buy books
  • Free UK delivery over £5
  • 10% off preloved books when you join +Plus
  • Buying preloved emits 46% less CO2 than new
  • Give your books a new home - sell them back to us!

Verified Functional Programming in Agda by Aaron Stump

Agda is an advanced programming language based on Type Theory. Agda's type system is expressive enough to support full functional verification of programs, in two styles. In external verification, we write pure functional programs and then write proofs of properties about them. The proofs are separate external artifacts, typically using structural induction. In internal verification, we specify properties of programs through rich types for the programs themselves. This often necessitates including proofs inside code, to show the type checker that the specified properties hold. The power to prove properties of programs in these two styles is a profound addition to the practice of programming, giving programmers the power to guarantee the absence of bugs, and thus improve the quality of software more than previously possible. Verified Functional Programming in Agda is the first book to provide a systematic exposition of external and internal verification in Agda, suitable for undergraduate students of Computer Science. No familiarity with functional programming or computer-checked proofs is presupposed. The book begins with an introduction to functional programming through familiar examples like booleans, natural numbers, and lists, and techniques for external verification. Internal verification is considered through the examples of vectors, binary search trees, and Braun trees. More advanced material on type-level computation, explicit reasoning about termination, and normalization by evaluation is also included. The book also includes a medium-sized case study on Huffman encoding and decoding.
Stump, Aaron: - Aaron Stump is a professor of Computer Science at The University of Iowa. His research interests are in Computational Logic and Programming Languages, especially Type Theory. He received a Bachelor's degree in Computer Science and Philosophy from Cornell University in 1997, and a PhD in Computer Science from Stanford University in 2002.
SKU Unavailable
ISBN 13 9781970001242
ISBN 10 1970001240
Title Verified Functional Programming in Agda
Author Aaron Stump
Series Acm Bks
Condition Unavailable
Binding Type Paperback
Publisher Morgan & Claypool Publishers
Year published 2016-02-29
Number of pages 284
Cover note Book picture is for illustrative purposes only, actual binding, cover or edition may vary.