coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Guillaume Brunerie <guillaume.brunerie AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Transparent assert
- Date: Sat, 10 Sep 2011 17:20:13 +0200
Hi,
I often want to use the [assert] tactic:
assert (x : T)
[proof of T]
[other proof using T]
The problem is that after T has been proven, the proof is hidden: the new element in the context is [x : T] and I cannot use the structure of the proof of T I have given (and if I wanted to construct a dependent pair whose first element is [x], I can’t).
How can I have [x := [proof term I just constructed] : T] in the context instead?
(note that I want to construct x using tactics, I do not want to write the term explicitely).
Thanks!
Guillaume
- [Coq-Club] Transparent assert, Guillaume Brunerie
- Re: [Coq-Club] Transparent assert, Daniel Schepler
- Re: [Coq-Club] Transparent assert,
Arnaud Spiwack
- Re: [Coq-Club] Transparent assert, Guillaume Brunerie
Archive powered by MhonArc 2.6.16.