Skip to content
Snippets Groups Projects
Commit 54ede303 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Setoid injectivity of Some.

parent a5e657c3
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,8 @@ Section setoids.
Proof. apply _. Qed.
Global Instance Some_proper : Proper (() ==> ()) (@Some A).
Proof. by constructor. Qed.
Global Instance Some_equiv_inj : Inj () () (@Some A).
Proof. by inversion_clear 1. Qed.
Global Instance option_leibniz `{!LeibnizEquiv A} : LeibnizEquiv (option A).
Proof. intros x y; destruct 1; fold_leibniz; congruence. Qed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment