Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Re: (soft question) idiomatic inline of assert

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Re: (soft question) idiomatic inline of assert


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Re: (soft question) idiomatic inline of assert
  • Date: Wed, 3 Jul 2013 10:26:34 -0700

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 ... ).


On Wed, Jul 3, 2013 at 10:24 AM, t x <txrev319 AT gmail.com> wrote:
Hi,


  I'm wondering, using standard tactics (CpdtTactics, software foundations, anything well known) if there is a more idiomatic way to do this.

  Specifically, instead of:

assert ( _statement_ ) as H0 by _tactic_ .
rewrite H0.

I would like to write something closer to:

  rewrite using ( _staement_ ) proved by _tactic_.

Similarly, instead of

assert ( _statement_ ) as H0 by _tactic_ .
pose proof (lemma ... H0 ...).

I would like to write something closer to:

  pose proof (lemma .... (asssert _statement_ by _tactic_) ... ).


The main goal here is that I want to inline statements, and not have to constantly clear hypothesis using clear.

Thanks!





Archive powered by MHonArc 2.6.18.

Top of Page