coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Beta Ziliani <bziliani AT famaf.unc.edu.ar>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Names of bound variables of existing lemma changes
- Date: Wed, 4 May 2016 09:57:49 -0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=bziliani AT famaf.unc.edu.ar; spf=None smtp.mailfrom=bziliani AT famaf.unc.edu.ar; spf=None smtp.helo=postmaster AT famaf.unc.edu.ar
- Ironport-phdr: 9a23:METMih9ghNQPcv9uRHKM819IXTAuvvDOBiVQ1KB91O4cTK2v8tzYMVDF4r011RmSDdSds6gP17CempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lS8iK1Y/rjaibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwuwwZgf8q9tZBXKPmZOx4COUAVHV1e1wysebsrFHoSRaFri8XVXxTmR5VCSDE6gv7V9H/qH2pmPB63XywMNH/BYI1XTWr6aYjHBX6iSMGPjg42G/ej8V+yr9dq1SsqwE5ypSCM9LdD+Z3Yq6IJYBSfmFGRMsEEnUZWo4=
On Wed, May 4, 2016 at 9:45 AM, Ralf Jung <jung AT mpi-sws.org> wrote:
Hi all,
[...]
These circumstances depend on whether [foo] was using variables of an
enclosing section (the [n] above), and on the current context at the
time of *applying* [foo] (the first argument of [bar] is also called
[P]). To me this was obviously a bug; I cannot imagine any situation in
which you'd *want* this behavior. Guillaume however noticed that there's
actually code in Coq doing this "on purpose".
WAT? BTW, I run into this bug, but I didn't know exactly when it happened. Good to know.
[...]
And while I am on it -- what is the reason that this syntax can be used
only for implicit arguments? I think it would be just as useful for
explicit arguments; for example to give arguments in a different order,
or when applying a lemma, as in [apply (lemma (arg:=foo))], without
having to specify [arg] as implicit.
+1!
Kind regards,
Ralf
- [Coq-Club] Names of bound variables of existing lemma changes, Ralf Jung, 05/04/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Beta Ziliani, 05/04/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Hugo Herbelin, 05/04/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Ralf Jung, 05/06/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Hugo Herbelin, 05/06/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Ralf Jung, 05/06/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Pierre Courtieu, 05/04/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Ralf Jung, 05/04/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Pierre Courtieu, 05/04/2016
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Ralf Jung, 05/04/2016
- <Possible follow-up(s)>
- Re: [Coq-Club] Names of bound variables of existing lemma changes, Beta Ziliani, 05/04/2016
Archive powered by MHonArc 2.6.18.