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 (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 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 Software: Theories, Tools, Experiments
Language: en
Pages: 566
Authors: Bertrand Meyer
Categories: Computers
Type: BOOK - Published: 2008-07-07 - Publisher: Springer Science & Business Media

DOWNLOAD EBOOK

A Step Towards Verified Software Worries about the reliability of software are as old as software itself; techniques for allaying these worries predate even Jam
Verified Software: Theories, Tools, Experiments
Language: en
Pages: 274
Authors: Natarajan Shankar
Categories: Computers
Type: BOOK - Published: 2008-09-26 - Publisher: Springer

DOWNLOAD EBOOK

This volume contains the proceedings of the second working conference on Verified Software: Theories, Tools, and Experiments, VSTTE 2008, held in Toronto, Canad
Verified Software. Theories, Tools and Experiments
Language: en
Pages: 116
Authors: Andrew Reynolds
Categories:
Type: BOOK - Published: - Publisher: Springer Nature

DOWNLOAD EBOOK

Verified Software. Theories, Tools, and Experiments
Language: en
Pages: 359
Authors: Ruzica Piskac
Categories: Computers
Type: BOOK - Published: 2018-11-23 - Publisher: Springer

DOWNLOAD EBOOK

This volume constitutes the thoroughly refereed post-conference proceedings of the 10th International Conference on Verified Software: Theories, Tools, and Expe
VLISP A Verified Implementation of Scheme
Language: en
Pages: 186
Authors: Joshua D. Guttman
Categories: Computers
Type: BOOK - Published: 2012-12-06 - Publisher: Springer Science & Business Media

DOWNLOAD EBOOK

The VLISP project showed how to produce a comprehensively verified implemen tation for a programming language, namely Scheme [4, 15). Some of the major elements