coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Lo�c Pottier <pottier.mayaffre AT wanadoo.fr>
- To: Lo�c Pottier <Loic.Pottier AT sophia.inria.fr>, <coq-club AT pauillac.inria.fr>
- Subject: Re: [Coq-Club] name of binded variables
- Date: Fri, 12 Nov 2004 11:58:55 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi,
I found a "stone age" solution to my
problem:
Ltac elimex h :=
let th:= type of h in let h1:=fresh "H" in match th with | (ex_T _ (fun x:_ => _)) => let v:=fresh "x" in (generalize h;clear h; intros (v,h1)) | (ex_T _ (fun l:_ => _)) => let v:=fresh "l" in (generalize h;clear h; intros (v,h1)) | (ex_T _ (fun eta:_ => _)) => let v:=fresh "eta" in (generalize h;clear h; intros (v,h1)) ...
end.
Loïc
|
- [Coq-Club] name of binded variables, Loïc Pottier
- Re: [Coq-Club] name of binded variables, Loïc Pottier
- <Possible follow-ups>
- Re: [Coq-Club] name of binded variables, Loïc Pottier
Archive powered by MhonArc 2.6.16.