coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ramon <i AT ramon.org.il>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Using sigT and existT
- Date: Thu, 29 Dec 2011 13:46:23 +0000 (UTC)
Hello,
I am playing around with Coq, and got stuck when trying to prove:
Lemma existT_equal
: forall T F (X : T) a b,
existT F X a = existT F X b ->
a = b.
Using both apply and eapply using f_equal and projT2 gives type errors, I'm
guessing that this would require something a bit less straight-forward.
I have attempted many variations of the following, which I understand why is
wrong, but haven't found a better solution):
eapply f_equal with (f := fun x => projT2 x) in H.
Thanks!
- [Coq-Club] Using sigT and existT, Ramon
- Re: [Coq-Club] Using sigT and existT, Adam Chlipala
- Re: [Coq-Club] Using sigT and existT,
Chris Dams
- Re: [Coq-Club] Using sigT and existT, Ramon Snir
Archive powered by MhonArc 2.6.16.