Definition unitary_inv {C : category} {dag : dagger C} {x y : C} (f : unitary dag x y) : unitary dag y x := _ ,, unitary_inv_is_unitary (pr2 f).
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.