coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Kenneth Adam Miller <kennethadammiller AT gmail.com>
- To: coq-club Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Matching logic
- Date: Tue, 31 May 2016 13:46:16 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=kennethadammiller AT gmail.com; spf=Pass smtp.mailfrom=kennethadammiller AT gmail.com; spf=None smtp.helo=postmaster AT mail-vk0-f51.google.com
- Ironport-phdr: 9a23:eWPF4h/ItMvEtv9uRHKM819IXTAuvvDOBiVQ1KB92uocTK2v8tzYMVDF4r011RmSDdSdtq8P0rKH+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuSt+U0pn8jrjjs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cYk7sb+sVBSaT3ebgjBfwdVWx+cjN92Mq+vh7aCACL+3FUeWELmFIcCA/cqRr+Q53Zsy3gt+M71jPMbuPsSrVhejmk6ap3SFfBhC4Cfxs49GXakIQkj69dph+9pxVzyovRYYWROeBWcabUfNdcTm1ECJUCHxddC5+xOtNcR9EKOvxV+syk/wMD
Wow!
Thank you so much to all of you.
On May 31, 2016 1:26 PM, "Xavier Leroy" <Xavier.Leroy AT inria.fr> wrote:
On 31/05/16 07:20, Kenneth Adam Miller wrote:
> I've read seven chapters into Interactive Theorem Proving and
> Program Development, and I don't think either axiomatic or
> operational semantics are mentioned anywhere
Just hold tight for a few more chapters! The chapters Imp, Equiv,
Hoare, Hoare2 and Smallstep explain very well the approach already
mentioned in this thread, namely defining the syntax and (operational or
axiomatic) semantics of a programming language in Coq, and proving
properties about them.
> You can't add a semantics for a language built under and by Coq?
You can certainly define semantics for a programming language in Coq.
> What about Mezzo, there is a language that was built with Coq.
Not really "built with Coq". Rather, its abstract syntax, operational
semantics and type systems were formalized using Coq, then proved sound.
> If you're right, then I guess that the mezzo source files just map
> down to Coq types eventually.
You could look up the terms "shallow embedding" and "deep embedding"
in the literature. What you have in mind sounds like a deep embedding
but the Mezzo formalization, and many other P.L. formalizations in
Coq, use the "shallow embedding" approach.
Hope this helps,
- Xavier Leroy
- Re: [Coq-Club] Matching logic, (continued)
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Thorsten Altenkirch, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Thorsten Altenkirch, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Pierre Courtieu, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Pierre Courtieu, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Pierre Courtieu, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Thorsten Altenkirch, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Thorsten Altenkirch, 05/31/2016
- Re: [Coq-Club] Matching logic, Xavier Leroy, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, roux cody, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, roux cody, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, roux cody, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
- Re: [Coq-Club] Matching logic, Kenneth Adam Miller, 05/31/2016
Archive powered by MHonArc 2.6.18.