coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan <jonikelee AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: [Coq-Club] need help automating solutions of goals with evars
- Date: Thu, 08 May 2014 21:50:14 -0400
Suppose one has a goal where the consequent contains an evar. It seems that Coq will only allow that evar to be instantiated by hypotheses that existed at the "birth" of that evar - the ancestral goal in the proof tree where the evar was first introduced. Otherwise, Coq produces an error with a message like 'cannot instantiate "?42" because "H" is not in its scope'.
With automation based on pattern matching, the automation might not be able to identify the need for the hypothesis that properly instantiates the evar until a later goal in the proof. But, at that point, Coq won't allow the instantiation.
When proving by hand - one can then undo back to just before the "birth" of the evar and introduce the hypothesis there, then roll forward and do the instantiation. But, how can this be handled with proof automation?
-- Jonathan
- [Coq-Club] need help automating solutions of goals with evars, Jonathan, 05/09/2014
- Re: [Coq-Club] need help automating solutions of goals with evars, Adam Chlipala, 05/09/2014
- Re: [Coq-Club] need help automating solutions of goals with evars, Jonathan, 05/09/2014
- Re: [Coq-Club] need help automating solutions of goals with evars, Adam Chlipala, 05/09/2014
Archive powered by MHonArc 2.6.18.