Skip to Content.
Sympa Menu

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

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] (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] (soft question) idiomatic inline of assert
  • Date: Wed, 3 Jul 2013 10:24:14 -0700

Hi,

  I have a very simple proof at https://gist.github.com/anonymous/b05c9da47ddfd9413048

  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