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

Permutation Proper instance for `omap` on lists.

parent 56fe186d
No related branches found
No related tags found
No related merge requests found
......@@ -3133,6 +3133,10 @@ Proof.
- apply IH. intros. eapply Hunique; rewrite ?elem_of_cons; eauto.
Qed.
Global Instance omap_Permutation {A B} (f : A option B) :
Proper (() ==> ()) (omap f).
Proof. induction 1; simpl; repeat case_match; econstructor; eauto. Qed.
Section bind.
Context {A B : Type} (f : A list B).
......
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