Skip to content

Commit ab28e47

Browse files
author
Gregory Malecha
committed
adding eq_sym_eq_sym to Data.Eq.
1 parent 229e122 commit ab28e47

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

theories/Data/Eq.v

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,9 @@ Lemma eq_Arr_eq
8888
Proof.
8989
destruct pf. reflexivity.
9090
Qed.
91-
Hint Rewrite eq_Arr_eq : eq_rw.
91+
Hint Rewrite eq_Arr_eq : eq_rw.
92+
93+
Lemma eq_sym_eq_sym : forall (T : Type) (a b : T) (pf : a = b),
94+
eq_sym (eq_sym pf) = pf.
95+
Proof. destruct pf. reflexivity. Qed.
96+
Hint Rewrite eq_sym_eq_sym : eq_rw.

0 commit comments

Comments
 (0)