Skip to content

Instantly share code, notes, and snippets.

@satos---jp
Created May 18, 2014 13:01
Show Gist options
  • Save satos---jp/ba84549607174ec33e5c to your computer and use it in GitHub Desktop.
Save satos---jp/ba84549607174ec33e5c to your computer and use it in GitHub Desktop.
Parameter A : Set.
Definition Eq : A -> A -> Prop :=
fun p q => (forall a: A-> Prop, a p <-> a q).
Lemma Eq_eq : forall x y, Eq x y <-> x = y.
Proof.
intros.
unfold Eq.
unfold iff.
split.
intros.
apply H.
reflexivity.
intros.
rewrite H.
split.
intros.
apply H0.
intros.
apply H0.
Qed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment