coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: "gallais @ ensl.org" <guillaume.allais AT ens-lyon.org>
- Cc: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] match/ proof of branch
- Date: Sun, 17 Jul 2011 10:00:22 -0400
gallais @ ensl.org wrote:
Hi Adam,
My first guess would have been to follow closely
the function's definition with something like:
[pose (res := f n) ; destruct res ; simpl]
and it turns out to work:
[...]
Is your approach more robust if we end up changing
rK's definition or is it more or less equivalent (I'm guessing
that pattern& pose do the same job here).
Well now, that's embarrassing! Now I see this meager proof script also gets the job done:
inversion 1; reflexivity.
Apparently [inversion] is smarter than I thought!
- Re: [Coq-Club] match/ proof of branch, (continued)
- Re: [Coq-Club] match/ proof of branch,
Marco Servetto
- Re: [Coq-Club] match/ proof of branch,
gallais @ ensl.org
- Re: [Coq-Club] match/ proof of branch, Adam Chlipala
- Re: [Coq-Club] match/ proof of branch,
Marco Servetto
- Re: [Coq-Club] match/ proof of branch,
Pierre Courtieu
- Re: [Coq-Club] match/ proof of branch, AUGER Cedric
- Re: [Coq-Club] match/ proof of branch,
Pierre Courtieu
- Re: [Coq-Club] match/ proof of branch,
gallais @ ensl.org
- Re: [Coq-Club] match/ proof of branch,
Marco Servetto
- Re: [Coq-Club] match/ proof of branch,
Adam Chlipala
- Re: [Coq-Club] match/ proof of branch, Adam Chlipala
- Re: [Coq-Club] match/ proof of branch,
gallais @ ensl.org
- Re: [Coq-Club] match/ proof of branch, Adam Chlipala
- Re: [Coq-Club] match/ proof of branch,
Marco Servetto
- Re: [Coq-Club] match/ proof of branch, Adam Chlipala
- Re: [Coq-Club] match/ proof of branch,
Marco Servetto
- Re: [Coq-Club] match/ proof of branch, Adam Chlipala
- Re: [Coq-Club] match/ proof of branch,
Adam Chlipala
- Re: [Coq-Club] match/ proof of branch,
Marco Servetto
Archive powered by MhonArc 2.6.16.