Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Instantiating existential variables

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Instantiating existential variables


chronological Thread 
  • From: Adam Chlipala <adamc AT hcoop.net>
  • To: "Samuel E. Moelius III" <moelius AT cis.udel.edu>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Instantiating existential variables
  • Date: Sat, 07 Mar 2009 12:55:42 -0500
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Samuel E. Moelius III wrote:
If I have an uninstantiated existential variable, is there a way to supply it interactively, as opposed to supplying it all-in-one-go via instantiate or Existential?

You can use the [evar] tactic to create new existentials, and then you can use [instantiate] to replace the old existential with a term that uses the new existentials. This doesn't tend to work out very smoothly, and generally it is a sign of a proof design flaw if you find yourself wanting to instantiate existentials explicitly. Good automation with [eauto] and friends tends to stamp out such troubles.





Archive powered by MhonArc 2.6.16.

Top of Page