coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ralf Jung <jung AT mpi-sws.org>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Gradual use of Program
- Date: Sun, 20 Mar 2016 19:10:17 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
- Ironport-phdr: 9a23:1VkpOxIxqPWPfXputtmcpTZWNBhigK39O0sv0rFitYgUKf3xwZ3uMQTl6Ol3ixeRBMOAu6IC07ud6vq7EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35Txj7H5oseIKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxeL19RrhFBhwnNXo07Yvlr0rtVwyKs0EVVmtesAdODECR7gz8Ub/0qiq/rfVmni6AMpulHvgPRT2+4vIzG1fTgyAdOmth/Q==
Hi,
On 20.03.2016 18:03, Jonathan Leivent wrote:
> How about inserting a hole where you might want the coercion:
I don't understand... I do *not* want a coercion unless I explicitly add
one.
Another example where this comes up in the actual development: We have a
dependent type of expressions (with the index in the type giving the
variables that may be free), and there is a function "wexpr" to weaken
that index. If I forgot to call wexpr e.g. in the definition of
substitution, I don't get an error -- instead, I get an unexpected and
unsolvable obligation. I then have to guess which of the many places
where expressions occur in the term caused is the culprit.
Kind regards,
Ralf
- [Coq-Club] Gradual use of Program, Ralf Jung, 03/20/2016
- Re: [Coq-Club] Gradual use of Program, Pierre-Marie Pédrot, 03/20/2016
- Re: [Coq-Club] Gradual use of Program, Jonathan Leivent, 03/20/2016
- Re: [Coq-Club] Gradual use of Program, Ralf Jung, 03/20/2016
- Re: [Coq-Club] Gradual use of Program, Jonathan Leivent, 03/20/2016
- Re: [Coq-Club] Gradual use of Program, Matthieu Sozeau, 03/25/2016
- Re: [Coq-Club] Gradual use of Program, Jonathan Leivent, 03/20/2016
- Re: [Coq-Club] Gradual use of Program, Ralf Jung, 03/20/2016
Archive powered by MHonArc 2.6.18.