Verified Functional Programming in Agda

Verified Functional Programming in Agda
Author :
Publisher : Morgan & Claypool
Total Pages : 328
Release :
ISBN-10 : 9781970001266
ISBN-13 : 1970001267
Rating : 4/5 (267 Downloads)

Book Synopsis Verified Functional Programming in Agda by : Aaron Stump

Download or read book Verified Functional Programming in Agda written by Aaron Stump and published by Morgan & Claypool. This book was released on 2016-02-01 with total page 328 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


Verified Functional Programming in Agda Related Books

Verified Functional Programming in Agda
Language: en
Pages: 328
Authors: Aaron Stump
Categories: Computers
Type: BOOK - Published: 2016-02-01 - Publisher: Morgan & Claypool

GET EBOOK

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 t
Certified Programming with Dependent Types
Language: en
Pages: 437
Authors: Adam Chlipala
Categories: Computers
Type: BOOK - Published: 2013-12-06 - Publisher: MIT Press

GET EBOOK

A handbook to the Coq software for writing and checking mathematical proofs, with a practical engineering focus. The technology of mechanized program verificati
Programming Language Foundations
Language: en
Pages: 144
Authors: Aaron Stump
Categories: Computers
Type: BOOK - Published: 2013-09-23 - Publisher: John Wiley & Sons

GET EBOOK

Programming Language Foundations is a concise text that covers a wide range of topics in the mathematical semantics of programming languages, for readers withou
Concrete Semantics
Language: en
Pages: 304
Authors: Tobias Nipkow
Categories: Computers
Type: BOOK - Published: 2014-12-03 - Publisher: Springer

GET EBOOK

Part I of this book is a practical introduction to working with the Isabelle proof assistant. It teaches you how to write functional programs and inductive defi
Type-Driven Development with Idris
Language: en
Pages: 744
Authors: Edwin Brady
Categories: Computers
Type: BOOK - Published: 2017-03-13 - Publisher: Simon and Schuster

GET EBOOK

Summary Type-Driven Development with Idris, written by the creator of Idris, teaches you how to improve the performance and accuracy of your programs by taking