Lemma unitary_inv_of_unitary_inv {C : category} {dag : dagger C} {x y : C} (f : unitary dag x y) : unitary_inv (unitary_inv f) = f. Proof. use unitary_eq. apply dagger_to_law_idemp. Qed.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.DaggerCategories.Categories.