coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?
Chronological Thread
- From: Ralf Jung <jung AT mpi-sws.org>
- To: coq-club AT inria.fr, "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- Subject: Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?
- Date: Thu, 28 Jun 2018 10:36:25 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT juno.mpi-klsb.mpg.de
- Ironport-phdr: 9a23:k5c2PRMTtCDekMvynrQl6mtUPXoX/o7sNwtQ0KIMzox0Iv36rarrMEGX3/hxlliBBdydt6oazbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlJiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZQ8hfSSJBDIO/YYUBAeUOMuRXoJXyqVYVsRuzBxOhCP/zxjJGhHL727Ax3eQ7EQHB2QwtB84Av27QrNX7KawcVf21zK/HzT7eaP5W2yr96I7Hch06pPGMRbNwfdPKyUghDAPJlFKQqZbqPz6M0OkGrmaV7+1lVe21im4nrRl8ojmpxscwlIbJgpgZxU3a+ih/3Y07JsW4RVZmbdOqFJZcrTyWOo9sTs4hQmxkoik3xqEetZKmciUHzI4rywPbZvCdboSF4xHuWPyTLDp7gn9uZaixiAyo8Ue6z+3xTsm030hOripCitTMtG0N1xrU6sSdT/t95kah1S+M1wDX8eFLOlo4la/DK54u2LI/i4QcvVzCHi/whkr2kLebelgq9+Ws8ejrf7HrqoWfOoJ1kA3zPbgiltS6AesiMwgOW2ab+f671L3m5UD5QqhKjvs5kqTCtZDaPcUbqreiAw5byYYv8RG/Dy2p0NgAh3kIMEpFeA6bj4juI1zBPPf4De6mj1uwlDdr2uvJM6b6ApTNK3jDiK3ucax8605a0gozzMpQ64haCrEbc7rPXRr6s8WdBRskOSS1xfzmAZNzzMdWE1mID6CFKqTK9Ret5+kvKuSILsdBvTf2K/Eo47j1inI2hUUaZYGo24cabDazGfEwcGuDZn+5uN4FHy8oowwxBLjolVuNeTtLZjOpQLl64Ss0XtH1RbzfT5yg1eTSlBywGYdbMyUfUgjVQCXYMr6cUvJJUxq8Z8pokzgKT7+kEtRz0Amv8RTl0PxgNOWGo3RE56Km78B84qjorT937SZ9Vp/P1nmMCnprhSUPXTBkhPki83w48U+K1O1Du9IdFdFX4KkTAAUnM5mayvR7TtP2QQiHe8+GDlqrEI2r
Hi,
> isn't the problem of John that he can't instantiate the evar in the context
> of the current goal? It was stated before that an evar can be unified with
> any term of the same type. But this might not work in practice, because the
> resulting term might not be well typed in the context, in which the evar
> was created.
>
> John suggested to focus on the evar itself as goal, because then obviously
> one would be in the right context to construct a well typed term for the
> evar. Are there other methods? If not, how can one focus an unnamed evar?
John was asking about something like `only [n]: refine (S _)` for unnamed
evars,
and the answer is `instantiate (1 := ltac:(refine (S _)))`.
Admittedly, that's still not focusing in the sense of actually bringing the
context on the screen in CoqIDE/ProofGeneral. I don't know how to do that
even
for named evars...
Kind regards,
Ralf
>
> Best regards,
>
> Michael
> Intel Deutschland GmbH
> Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
> Tel: +49 89 99 8853-0, www.intel.de
> Managing Directors: Christin Eisenschmid, Christian Lamprechter
> Chairperson of the Supervisory Board: Nicole Lau
> Registered Office: Munich
> Commercial Register: Amtsgericht Muenchen HRB 186928
>
- [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, John Grosen, 06/27/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Jason -Zhong Sheng- Hu, 06/27/2018
- RE: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, John M Grosen, 06/27/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Ralf Jung, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Yannick Forster, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Ralf Jung, 06/28/2018
- RE: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Soegtrop, Michael, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Ralf Jung, 06/28/2018
- RE: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, John M Grosen, 06/29/2018
- RE: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Soegtrop, Michael, 06/30/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Armaël Guéneau, 06/30/2018
- RE: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, John M Grosen, 06/29/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Ralf Jung, 06/28/2018
- RE: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Soegtrop, Michael, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Gaëtan Gilbert, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Ralf Jung, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Yannick Forster, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Robbert Krebbers, 06/28/2018
- Re: [Coq-Club] Is it possible to perform tactics in an existential's context from Ltac?, Jason -Zhong Sheng- Hu, 06/27/2018
Archive powered by MHonArc 2.6.18.