coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Paolo Herms <paolo.herms AT inria.fr>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Declare Variable in tactic
- Date: Sat, 02 Jun 2012 14:37:48 +0200
Hello,
I'd like to declare a section variable inside a tactic and then use it but it
does not work. The problem seems to be that the newly declared variable is
not
yet valid, like says the warning in the toplevel at the Variable command:
Warning: Variable x is not visible from current goals
Can anybody explain why is that? What does "not visible" exactly mean?
Any ideas how I can work around this problem?
Manually one would just move the variable declaration before the beginning of
the proof, but as I'm trying to do this automatically in a tactic I can't do
this. Do you think I can insert the variable in the proof environment in any
way?
Thanks in advance,
--
Paolo Herms
PhD Student - CEA Software Safety Lab. / Inria ProVal project-team
Paris, France
- [Coq-Club] Declare Variable in tactic, Paolo Herms, 06/02/2012
- Re: [Coq-Club] Declare Variable in tactic, Gregory Malecha, 06/02/2012
Archive powered by MHonArc 2.6.18.