coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Courtieu <pierre.courtieu AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] making a proof done with assert transparent
- Date: Mon, 12 Oct 2015 13:49:58 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-wi0-f182.google.com
- Ironport-phdr: 9a23:2/uzchPNHu6jrGZOTWkl6mtUPXoX/o7sNwtQ0KIMzox0KPv8rarrMEGX3/hxlliBBdydsKIYzbqM+Py7EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35jxh7r5p8abSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t4XXskzoShLHzX8BWC1CmR1RRgPB8RvSX5HrsyK8uPAriweAOsijdbE5Qy6vp4xsVQX0iSoaf2oh8WzNkME2h6VGug6gqgFXzIvdYYXTP/17KPCONegGTHZMC54CHxdKBZmxOs5WV7IM
Hi Daniel, I think "Unshelve." is what your are looking for.
P.
2015-10-12 13:39 GMT+02:00 Daniel de Rauglaudre
<daniel.de_rauglaudre AT inria.fr>:
> Hi,
>
> I work in a context when proofs are very relevant (hott) and I have
> a problem.
>
> When I end an assert, the type is put in the hypotheses, but not the
> proof term. For example, when I write
> assert (p : 2 + 2 = 4) by reflexivity.
> the line
> p : 2 + 2 = 4
> is added in the hypotheses but not the contains of p.
>
> I would like to have the proof term also, i.e.:
> p := eq_refl 4 : 2 + 2 = 4
>
> To resolve that, for the moment, I do the proof with assert and, then,
> I type "Show Proof" to get the proof term. I copy/paste it and I put it.
> set (p := eq_refl 4 : 2 + 4 = 4)
>
> Of course my proofs are not as simple as "eq_refl 4".
>
> Someone (thanks to him) told me to use evar:
> evar (p : 2 + 2 = 4).
> Then I get
> p := ?p : 2 + 2 = 4
>
> Ok. And now? how do I prove p immediately using tactics, to fill
> my "?p"?
>
> Thank you.
>
> --
> Daniel de Rauglaudre
> http://pauillac.inria.fr/~ddr/
- [Coq-Club] making a proof done with assert transparent, Daniel de Rauglaudre, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Pierre Courtieu, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Daniel de Rauglaudre, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Pierre Courtieu, 10/12/2015
- RE: [Coq-Club] making a proof done with assert transparent, Soegtrop, Michael, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Jason Gross, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Daniel de Rauglaudre, 10/13/2015
- Re: [Coq-Club] making a proof done with assert transparent, Pierre-Marie Pédrot, 10/13/2015
- Re: [Coq-Club] making a proof done with assert transparent, Daniel de Rauglaudre, 10/13/2015
- Re: [Coq-Club] making a proof done with assert transparent, Daniel de Rauglaudre, 10/13/2015
- Re: [Coq-Club] making a proof done with assert transparent, Jason Gross, 10/12/2015
- RE: [Coq-Club] making a proof done with assert transparent, Soegtrop, Michael, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Pierre Courtieu, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Daniel de Rauglaudre, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Pierre Courtieu, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Ilmārs Cīrulis, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Pierre-Marie Pédrot, 10/12/2015
- Re: [Coq-Club] making a proof done with assert transparent, Daniel de Rauglaudre, 10/12/2015
Archive powered by MHonArc 2.6.18.