coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT hcoop.net>
- To: "Samuel E. Moelius III" <moelius AT cis.udel.edu>
- Cc: muad <muad.dib.space AT gmail.com>, coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Instantiating existential variables
- Date: Sat, 07 Mar 2009 18:33:35 -0500
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Samuel E. Moelius III wrote:
muad wrote:
You can do it with an Ltac function that uses [type of] and [assert]
This is almost good enough, we just don't have a way (as far as I am aware)
of asserting (or cutting) such that the term you produce is not opaque in
the original context.
Could someone be a little more specific, e.g., what would a call to this Ltac function look like?
It is not clear to me how you could get the type of an existential variable in Ltac.
You can get the type of an existential variable with [type of], like you can with any term. Thus, it's easy to get and [assert] that type. However, now I'm seeing muad's point, as I can't see a way to instantiate the original variable with the result, since that result is opaque and so not valid in the existential's context.
- [Coq-Club] Instantiating existential variables, Samuel E. Moelius III
- Re: [Coq-Club] Instantiating existential variables, Adam Chlipala
- Re: [Coq-Club] Instantiating existential variables,
Taral
- Re: [Coq-Club] Instantiating existential variables,
Adam Chlipala
- Re: [Coq-Club] Instantiating existential variables,
muad
- Re: [Coq-Club] Instantiating existential variables,
Samuel E. Moelius III
- Re: [Coq-Club] Instantiating existential variables, Adam Chlipala
- Re: [Coq-Club] Instantiating existential variables,
Samuel E. Moelius III
- Re: [Coq-Club] Instantiating existential variables,
muad
- Re: [Coq-Club] Instantiating existential variables,
Yves Bertot
- Re: [Coq-Club] Instantiating existential variables, Taral
- Re: [Coq-Club] Instantiating existential variables,
Samuel E. Moelius III
- Re: [Coq-Club] Instantiating existential variables,
muad
- Re: [Coq-Club] Instantiating existential variables, Samuel E. Moelius III
- Re: [Coq-Club] Instantiating existential variables,
muad
- Re: [Coq-Club] Instantiating existential variables,
Adam Chlipala
- Re: [Coq-Club] Instantiating existential variables, Arnaud Spiwack
Archive powered by MhonArc 2.6.16.