Created
April 18, 2014 13:04
-
-
Save qnighy/11043236 to your computer and use it in GitHub Desktop.
Eqdep implies JMeq_eq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Require Import Eqdep. | |
Set Implicit Arguments. | |
Inductive JMeq (A : Type) (x : A) : forall B : Type, B -> Prop := | |
JMeq_refl : JMeq x x. | |
Lemma JMeq_eq : forall (A:Type) (x y:A), JMeq x y -> x = y. | |
Proof. | |
intros A x y H. | |
apply (inj_pair2 Type (fun t => t)). | |
destruct H. | |
reflexivity. | |
Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment