Skip to Content.
Sympa Menu

coq-club - [Coq-Club] name of bound variables

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] name of bound variables


chronological Thread 
  • From: Lo�c Pottier <Loic.Pottier AT sophia.inria.fr>
  • To: <coq-club AT pauillac.inria.fr>
  • Subject: [Coq-Club] name of bound variables
  • Date: Thu, 1 Dec 2005 15:33:56 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Hello,
 
is there a way to keep the name of bound variables when an hypothesis is eliminated?
 
For example:
 
 
Coq < Goal (exists eta:nat, eta=eta)-> True.
1 subgoal
 
  ============================
   (exists eta : nat, eta = eta) -> True
 
Unnamed_thm < intro.
1 subgoal
 
  H : exists eta : nat, eta = eta
  ============================
   True
 
Unnamed_thm < destruct H.
1 subgoal
 
  x : nat
  H : x = x
  ============================
   True
 
Unnamed_thm < 
 
Of course, I need a general mechanism, not an ad hoc solution, like:
 
generalize H; intro (eta,H1).
 
Loïc



Archive powered by MhonArc 2.6.16.

Top of Page