Verified Functional Programming in Agda

Verified Functional Programming in Agda
Author :
Publisher : Morgan & Claypool
Total Pages : 284
Release :
ISBN-10 : 9781970001266
ISBN-13 : 1970001267
Rating : 4/5 (66 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 284 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: 284
Authors: Aaron Stump
Categories: Computers
Type: BOOK - Published: 2016-02-01 - Publisher: Morgan & Claypool

DOWNLOAD 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
Verified Functional Programming in Agda
Language: en
Pages: 284
Authors: Aaron Stump
Categories: Computers
Type: BOOK - Published: 2016-02-01 - Publisher: Morgan & Claypool

DOWNLOAD 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
Programming Language Foundations
Language: en
Pages: 144
Authors: Aaron Stump
Categories: Computers
Type: BOOK - Published: 2013-09-23 - Publisher: John Wiley & Sons

DOWNLOAD EBOOK

Stump’s Programming Language Foundations is a short concise text that covers semantics, equally weighting operational and denotational semantics for several d
Certified Programming with Dependent Types
Language: en
Pages: 437
Authors: Adam Chlipala
Categories: Computers
Type: BOOK - Published: 2022-06-07 - Publisher: MIT Press

DOWNLOAD EBOOK

A handbook to the Coq software for writing and checking mathematical proofs, with a practical engineering focus. The technology of mechanized program verificati
Concurrency
Language: en
Pages: 365
Authors: Dahlia Malkhi
Categories: Computers
Type: BOOK - Published: 2019-09-16 - Publisher: Morgan & Claypool

DOWNLOAD EBOOK

This book is a celebration of Leslie Lamport's work on concurrency, interwoven in four-and-a-half decades of an evolving industry: from the introduction of the