coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr>
- To: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Re: (soft question) idiomatic inline of assert
- Date: Wed, 03 Jul 2013 19:44:33 +0200
On 03/07/2013 19:26, t x wrote:
With apologies for 2 emails in rapid succession -- I realized what I wanted
in the first case is "replace ... with .... by ... ". However, I'm still
not sure how to solve the 2nd case (inlining with pose proof ... ).
To do the following:
assert ( _statement_ ) as H0 by _tactic_ .
pose proof (lemma ... H0 ...).
I would use the following trick:
refine
((fun (H0 : _statement_) => _ (lemma ... H0 ...)) _); [ |_tactic_].
You can use a tactic notation to do this more neatly, but it should work anyway.
PMP
- [Coq-Club] (soft question) idiomatic inline of assert, t x, 07/03/2013
- [Coq-Club] Re: (soft question) idiomatic inline of assert, t x, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, Pierre-Marie Pédrot, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, t x, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, Pierre-Marie Pédrot, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, t x, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, Jason Gross, 07/04/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, t x, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, Pierre-Marie Pédrot, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, t x, 07/03/2013
- Re: [Coq-Club] Re: (soft question) idiomatic inline of assert, Pierre-Marie Pédrot, 07/03/2013
- Re: [Coq-Club] (soft question) idiomatic inline of assert, Adam Chlipala, 07/03/2013
- Re: [Coq-Club] (soft question) idiomatic inline of assert, Enrico Tassi, 07/04/2013
- Re: [Coq-Club] (soft question) idiomatic inline of assert, t x, 07/05/2013
- Re: [Coq-Club] (soft question) idiomatic inline of assert, Enrico Tassi, 07/05/2013
- Re: [Coq-Club] (soft question) idiomatic inline of assert, t x, 07/05/2013
- [Coq-Club] Re: (soft question) idiomatic inline of assert, t x, 07/03/2013
Archive powered by MHonArc 2.6.18.