coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: Adam Chlipala <adamc AT csail.mit.edu>
- Cc: robert <robdockins AT fastmail.fm>, "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: [Coq-Club] Ltac question/challenge: working with open terms
- Date: Sun, 15 Sep 2013 16:03:31 -0400
(* this doesn't work, I don't really know why...
*)
Ltac sk3 t :=
match eval hnf in t with
| (fun z => ?t') =>
let m := do_sk z t'
in change t with m
end.
On Sunday, September 15, 2013, Adam Chlipala wrote:
On 09/15/2013 03:25 PM, robert wrote:I've copied below a simplified version of a tactic I've been playing with recently to automatically convert terms into applicative form using SKI combinators. (why? I'm evaluating the hypothesis that proof automation for properties about functions works better when things are in applicative form)
The hard part here is opening up lambda-terms to work on their bodies. I've found a trick that lets me do pretty much what I want, but it has the side-effect of generating useless and potentially large proof structure. I've found this can have a noticable effect on Qed time for some examples. I wonder if there is a way to accomplish the same thing without cluttering up the generated proof.
Have you read Section 15.5 of CPDT <http://adam.chlipala.net/cpdt/>? I haven't read all of the code you included, but the prose makes it sound like that section shows how to do what you're looking for.
- [Coq-Club] Ltac question/challenge: working with open terms, robert, 09/15/2013
- Re: [Coq-Club] Ltac question/challenge: working with open terms, Adam Chlipala, 09/15/2013
- [Coq-Club] Ltac question/challenge: working with open terms, Jason Gross, 09/15/2013
- Re: [Coq-Club] Ltac question/challenge: working with open terms, robert, 09/16/2013
- Re: [Coq-Club] Ltac question/challenge: working with open terms, Adam Chlipala, 09/17/2013
- Re: [Coq-Club] Ltac question/challenge: working with open terms, Jason Gross, 09/18/2013
- Re: [Coq-Club] Ltac question/challenge: working with open terms, Adam Chlipala, 09/17/2013
- Re: [Coq-Club] Ltac question/challenge: working with open terms, Adam Chlipala, 09/15/2013
Archive powered by MHonArc 2.6.18.