coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Satrajit Roy <satrajit.roy AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Verified Functional Algorithms, beta release
- Date: Sat, 23 Jul 2016 12:25:01 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=satrajit.roy AT gmail.com; spf=Pass smtp.mailfrom=satrajit.roy AT gmail.com; spf=None smtp.helo=postmaster AT mail-oi0-f45.google.com
- Ironport-phdr: 9a23:yZecjhZjFc49+Lrr+GZjjYX/LSx+4OfEezUN459isYplN5qZpc++bnLW6fgltlLVR4KTs6sC0LuO9f2xEjVYud6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JXvkb3jsMSLO01hv3mUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86Fpy8kVWqLjOq88ULZwDTI8Mmlz6te4mwPESF6072cGW2cXjlJyBBmNuArzQo34sCrm8PB6yQGVOMT3SfY/XjH0vPQjcwPhlCpSb21xy2rQkMEl1K8=
This is awesome!!! Thank you folks; now I can almost see how to write a real program and have it verified.
However, are these Coq scripts supposed to be readily compile-able as downloaded?
Or are these meant to be exercises for readers to get these files to compile?
For example, I am receiving the following error while compiling ADT:
D:\VerifiedFunctionalAlgorithms\vfa>coqc ADT.v
= bool
: MapsTable.V
File ".\ADT.v", line 75, characters 0-26:
Error: Compiled library SearchTree.vo makes inconsistent assumptions over library Maps
On Wed, Jul 13, 2016 at 10:54 AM, Andrew W. Appel <appel AT cs.princeton.edu> wrote:
I am pleased to announce the beta release of Verified Functional Algorithms,a new volume in the Software Foundations series.
Do you teach with Software Foundations? Did you ever want to teacha week or two (or 6) about applications of Coq to functional programming?Did you ever want to tell your students that there are applications of Coqother than reasoning about the operational semantics of programming languages?Now you can use VFA, the whole thing or just a chapter or two,after just the first few chapters of Software Foundations.
Software Foundations is the successful and widely used interactive-in-Coqtextbook by Benjamin Pierce et al. Starting with the its next release (5.0,expected in early 2017), Software Foundations will be divided into these volumes:
Volume 1: Logical Foundations, by Benjamin Pierce et al.Chapters Preface, Basics, Induction, Lists, Poly, Tactics, Logic, IndProp,Maps, ProofObjects, IndPrinciples.
Volume 2: Programming Language Foundations, by Benjamin Pierce et al.Chapters Rel, Imp, ImpParser, ImpCEvalFun, Extraction, Equiv, Hoare, Hoare2,HoareAsLogic, Smallstep, Auto, Types, Stlc, StlcProp, MoreStlc, Sub, Typechecking,Records, References, RecordSub, Norm, LibTactics, UseTactics, UseAuto, PE,Postscript, Bib.
And now, the new,Volume 3: Verified Functional Algorithms, by Andrew W. AppelChapters VFA, Perm, Sort, Multiset, Selection, SearchTree, ADT, Extraction,Redblack, Trie, Priqueue, Binom, Decide, Color.
The material in Volume 3 depends only on the Volume 1 material; youcan use VFA as an alternative to Programming Language Foundations, oryou can do some of each. Students learn how to specify and verify sortingalgorithms, binary search trees, balanced binary search trees, and priority queues.Encapsulation of abstract data types is covered, using Modules and(a very limited use of) dependent types.
The textbook covers issues in specification methods in their own right:How do you know you have the right specification?Should sorting be specified using permutations or multisets?
Tactic automation is covered, a little bit, as necessary: the correctness proofsfor red-black trees have hundreds of cases, easily dispatched by a disciplined use of Ltac.
If you wish to teach using Verified Functional Algorithms during the comingacademic year, read the beta release (and try the exercises!), and send me mail.
Sincerely,
Andrew Appel
Satrajit
- [Coq-Club] Verified Functional Algorithms, beta release, Andrew W. Appel, 07/13/2016
- Re: [Coq-Club] Verified Functional Algorithms, beta release, Satrajit Roy, 07/23/2016
- Re: [Coq-Club] Verified Functional Algorithms, beta release, Andrew Appel, 07/24/2016
- Re: [Coq-Club] Verified Functional Algorithms, beta release, mukesh tiwari, 07/25/2016
- Re: [Coq-Club] Verified Functional Algorithms, beta release, Satrajit Roy, 07/23/2016
Archive powered by MHonArc 2.6.18.