coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan Leivent <jonikelee AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?
- Date: Sun, 6 Mar 2016 11:34:02 -0500
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f180.google.com
- Ironport-phdr: 9a23:ODqm5h1rLyJbNxvxsmDT+DRfVm0co7zxezQtwd8ZsegTKfad9pjvdHbS+e9qxAeQG96LtLQb2qGH6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6NyZvmnLHqs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cYjdt6qJUFCfmyP/lgDO8QMDNzOGcsocbvqBPrTA2V53JaXH9FvABPBl3n6xfzQpf4tGPeu+tj1S+GdZn0SrY1Wjmm4qpDRxrhiSNBPDk8pjKEwvdshb5W9Ury7yd0xJTZNdzNOQ==
On 03/06/2016 09:52 AM, Matej Kosik wrote:
Hi,
On 03/06/2016 02:39 AM, Xiaoyu Zhou wrote:
I think that formal description will facilitate automatic use of tactics.I am not sure what you mean by "facilitating automatic use of tactics".
I also don't understand what is meant here. Is it to facilitate wider direct use of tactics by humans? Or is it about creating some new type of proof automation based on formal descriptions of tactics? Or is it somehow about the existing proof automation tactics, such as auto and eauto?
Concerning "formal descriptions of the tactics in Coq",
this is what helped me:
http://matej-kosik.github.io/www/doc/coq/notes/01__tactics.html
It is just a theory that explaines the behavior of Coq I observed.
The theory is complete and accurate only up to my experience.
There, for higher-level tactics I explain how they can be mapped into
lower-level tactics.
So, for example for the higher-level tactics "reflexivity" I say that it can be
translated to lower level tactics "constructor 1"
plus an example that demonstrate what happens if you "unfold" reflexivity.
At the beginning I tried to visualize partial order of what could unfold to
what.
(there is one cycle but it is just mutual recursion on subterms and therefore
OK)
I haven't tested whether this document is useful to other people yet.
That's an interesting question in itself: What would be a useful presentation of tactics beyond Chapter 8 of the refman? Do people want such a thing?
IMHO, refman chapter 8 is pretty good, but could be better. For instance, why are there so many case analysis tactics, and how do they differ? The only way to find out currently is by experimenting.
-- Jonathan
- [Coq-Club] are there any formal descriptions of the tatics of Coq?, Xiaoyu Zhou, 03/06/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, Matej Kosik, 03/06/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, roux cody, 03/06/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, Jonathan Leivent, 03/06/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, Gabriel Scherer, 03/06/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, Jonathan Leivent, 03/07/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, 周晓宇, 03/07/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, Gabriel Scherer, 03/06/2016
- Re: [Coq-Club] are there any formal descriptions of the tatics of Coq?, Matej Kosik, 03/06/2016
Archive powered by MHonArc 2.6.18.