Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] local definition in proof mode

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] local definition in proof mode


chronological Thread 
  • From: Pierre-Marie P�drot <pierremarie.pedrot AT ens-lyon.fr>
  • To: Guillaume Allais <sbleune AT gmail.com>
  • Cc: St�phane Lescuyer <stephane.lescuyer AT inria.fr>, andr� hirschowitz <ah AT unice.fr>, Martijn Vermaat <martijn AT vermaat.name>, coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] local definition in proof mode
  • Date: Tue, 06 Apr 2010 14:05:25 +0200

Guillaume Allais wrote:
> The main difference is that assert do not provide you explicitly with the
> term you just constructed.
> I cannot see how to do this without proving a sublemma and finish its
> declaration by Defined instead of Qed and then use this sublemma in your
> developpement with the "pose (H := Mylemma)" feature.

I also have been trying to do that for a long time, but I did not manage
to create such a tactic. Actually, I was also going to make such a
request to coq-club.

I thought it could be possible mixing evar and refine yet I did not
succeeded because basically, the only way to may a cut is using cut or
assert, which only provide opaque inhabitants of a type. For example,

refine (let t := _ in _).

does not work as it does not provide the body of the term.

I would be happy if such a tactic existed, as this is very useful when
one wants to define in-proof terms through tactics.

PMP

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MhonArc 2.6.16.

Top of Page