Subject: Ssreflect Users Discussion List
List archive
- From: Guillaume Melquiond <>
- To:
- Subject: [ssreflect] Rewriting with wildcards
- Date: Mon, 22 Feb 2016 12:47:39 +0100
Hi,
Enrico feels the following should be made known to more people, so here
it is.
Have you ever wanted to rewrite using wildcards not only on the
left-hand side but also on the right-hand side of an equality? Are you
using Coq 8.5? Then the following trick might be of help to you:
Lemma foo x y : x + 3 + y = 3 + x + y.
rewrite (_ : ?[n] + 3 = 3 + ?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.