coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jacques-Henri Jourdan <jacques-henri.jourdan AT normalesup.org>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] efficiently reducing away mentions of a variable
- Date: Mon, 13 Feb 2017 16:40:32 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jacques-henri.jourdan AT normalesup.org; spf=Neutral smtp.mailfrom=jacques-henri.jourdan AT normalesup.org; spf=None smtp.helo=postmaster AT ulminfo.fr
- Ironport-phdr: 9a23:lshIFReK4UqjVgw66blQ0u6ulGMj4u6mDksu8pMizoh2WeGdxcS/Zx7h7PlgxGXEQZ/co6odzbGH7+axAidfvt6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6twHcu8cZjYZgKKs61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpGrhy/qRxxw43abo+bO/VxfKzSYcgXSnBdUstLTSFNHo2xYokJAuEcPehYtY79p14WoBW6HwajGPrvyiJWiX/txKE00fouEQfc3AwhAtkAtHPUrMjvNKgPS++1yrTDwDLBb/xMxTj98ZXIfQ46of2VXbJ/b8zRyVMuFw/fjFWQrpHlPymI2esXtWiW9OxgVeW1i24isQ5xpiagxtwxionRnI4VzUrE9SpgzYszONa2Rkl7Ydu+H5tRsSGXL5d5QsQ4Q2Fupik6zrkGtYSlcycX1ZQqwQPUZf+fc4WQ4h/vTvudLDl4iX5/Zb6yhBW//VK9xuDyUsS4yEtGoyRBn9XWq3wA0wbf5tWGR/Z+5Eus1zKC2gbO4e9eO080j7DUK5s5z74wiJUTtUPDEzfrmEXyia+Wd0Mk+uav6+j9bLXmvIeQN45yig7gLqQjgsyyDf4lPgUAX2WX4/mw2b7g8EHjXblHgPk7nrHcsJ/AJMQboqC5AxVS0oYm8xu/DS2p38gBnXkaMl1FYwuLj4j3NFHIOvD4DO2zg1arkDd23fDJI6fuApPWI3jFl7fhZ7N95FRYyAUt1tBf+opUBqsGIPLpVU/9rMbYAQMhMwyo3+bnD81w2Z8ZWWKWG6OWLKfSsUKT6e80OOmNZIoVuC7nJPQ/5v7ui2U5mV4HcqWz05sXciPwIvMzKEKAJHHon90pEGEQvwN4Qva5pkeFVGtxbn2rQq8noxE2DpinRaXEW5qhibrJiCWyFYRLa3sDCl2KC3audYKZQfsFbgqUJdVkmzgJTqW5DYg72kf950fB17N7I7+MqWUjvpX52Y0t6g==
What would happen if you tried to unify your term with an evar that
forbids this hypothesis? On 02/13/2017 04:31 PM, Matthieu Sozeau
wrote:
Hi Abhishek,
I think the only existing versions of shrinking like this
in Coq's codebase do not involve any reduction but work on a
given, fixed term (and are hence much simpler).
Best,
-- Matthieu
On Fri, Feb 10, 2017 at 9:22 PM Abhishek Anand
<abhishek.anand.iitg AT gmail.com>
wrote:
I have a parametricity-like program
translation that produces theorems and their proofs.
Often these theorems have hypotheses
that are not needed in their proofs,
in the sense that after fully
normalizing the proof, the variable denoting the
hypothesis is not
even mentioned in the proof. I want
to identify and eliminate such hypothesis
from the theorem's statement.
However, naively doing the
normalization blows up on bigger examples.
Is there a mechanism (e.g. a function
in Coq's sources, or a tactic)
that can take a term in a context and
do the reduction less naively in order to
eliminate mentions
a given variable? For example, it can
ignore subterms that don't even mention the variable.
Even If there isn't a function that
does exactly what I want, it would be helpful for me to
get pointers to functions that I
could use in my implementation.
-- Abhishek
http://www.cs.cornell.edu/~aa755/ |
- [Coq-Club] efficiently reducing away mentions of a variable, Abhishek Anand, 02/10/2017
- Re: [Coq-Club] efficiently reducing away mentions of a variable, Matthieu Sozeau, 02/13/2017
- Re: [Coq-Club] efficiently reducing away mentions of a variable, Jacques-Henri Jourdan, 02/13/2017
- Re: [Coq-Club] efficiently reducing away mentions of a variable, Enrico Tassi, 02/14/2017
- Re: [Coq-Club] efficiently reducing away mentions of a variable, Jacques-Henri Jourdan, 02/13/2017
- Message not available
- Message not available
- Re: [Coq-Club] [coqdev] efficiently reducing away mentions of a variable, Abhishek Anand, 02/14/2017
- Message not available
- Re: [Coq-Club] efficiently reducing away mentions of a variable, Matthieu Sozeau, 02/13/2017
- Re: [Coq-Club] [coqdev] efficiently reducing away mentions of a variable, Pierre-Marie Pédrot, 02/14/2017
Archive powered by MHonArc 2.6.18.