Subject: Ssreflect Users Discussion List
List archive
- From: Guillaume Melquiond <>
- To: ssreflect mailing list <>
- Subject: Re: [ssreflect] Rewriting with wildcards
- Date: Mon, 22 Feb 2016 23:06:14 +0100
On 22/02/2016 20:52, Ralf Jung wrote:
> It seems that it's always the first occurrence that has to have the "[",
> like that's some kind of binder that completely transcends the AST...
> weird.
On 22/02/2016 21:03, Pierre-Yves Strub wrote:
> But in Guillaume's mail, it seems that there is a dissymmetry between
> the 2 evars (namely ?[n] and ?n). Is only one is subject to
> instantiation ?
No, the ?[n] syntax creates an evar named n, while the ?n syntax uses
the evar named n. Using twice ?n would not work since there are no evar
named n; using twice ?[n] would not work since there would be a name
conflict. So the first evar encountered by Coq (in application order)
needs to be ?[n], and the subsequent ones are ?n.
Best regards,
Guillaume
- [ssreflect] Rewriting with wildcards, Guillaume Melquiond, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Ralf Jung, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Guillaume Melquiond, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Ralf Jung, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Georges Gonthier, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Pierre-Yves Strub, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Georges Gonthier, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Guillaume Melquiond, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Pierre-Yves Strub, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Laurent Thery, 02/24/2016
- Re: [ssreflect] Rewriting with wildcards, Guillaume Melquiond, 02/22/2016
- Re: [ssreflect] Rewriting with wildcards, Ralf Jung, 02/22/2016
Archive powered by MHonArc 2.6.18.