coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Lionel Elie Mamane <lionel AT mamane.lu>
- To: Coq Club <coq-club AT pauillac.inria.fr>
- Subject: [Coq-Club] Variable Capture in Ltac
- Date: Thu, 22 Dec 2005 12:20:36 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi,
Ltac seems to protect me from variable capture. Is there any way to
achieve variable capture when one wants it?
E.g. if my current goal is "f x", if I do:
match goal with |- ?foo =>
apply K_dec with (P:=fun x => foo)
end.
Then P gets instantiated with "fun y => f x", but I want it to be
instantiated by "fun x => f x". Is that possible?
(imagine I have a very big expression I don't want to retype instead
of just "f")
--
Lionel
- [Coq-Club] Variable Capture in Ltac, Lionel Elie Mamane
- Re: [Coq-Club] Variable Capture in Ltac, Lionel Elie Mamane
Archive powered by MhonArc 2.6.16.