coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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
- [Coq-Club] local definition in proof mode, andré hirschowitz
- Re: [Coq-Club] local definition in proof mode,
Martijn Vermaat
- Re: [Coq-Club] local definition in proof mode,
andré hirschowitz
- Re: [Coq-Club] local definition in proof mode,
Stéphane Lescuyer
- Re: [Coq-Club] local definition in proof mode,
Guillaume Allais
- Re: [Coq-Club] local definition in proof mode, Pierre-Marie Pédrot
- Re: [Coq-Club] local definition in proof mode, Jean-Francois Monin
- Re: [Coq-Club] local definition in proof mode,
AUGER
- Re: [Coq-Club] local definition in proof mode,
andré hirschowitz
- Re: [Coq-Club] local definition in proof mode, Jean-Francois Monin
- Re: [Coq-Club] local definition in proof mode,
AUGER
- Re: [Coq-Club] local definition in proof mode, Pierre-Marie Pédrot
- Re: [Coq-Club] local definition in proof mode, AUGER
- Re: [Coq-Club] local definition in proof mode, Pierre Courtieu
- Re: [Coq-Club] local definition in proof mode, Pierre-Marie Pédrot
- Re: [Coq-Club] local definition in proof mode,
andré hirschowitz
- Re: [Coq-Club] local definition in proof mode,
Guillaume Allais
- Re: [Coq-Club] local definition in proof mode,
Stéphane Lescuyer
- Re: [Coq-Club] local definition in proof mode,
andré hirschowitz
- Re: [Coq-Club] local definition in proof mode,
Martijn Vermaat
Archive powered by MhonArc 2.6.16.