Definition id_partial_setoid_morphism {H : first_order_hyperdoctrine} (X : partial_setoid H) : partial_setoid_morphism X X. Proof. use make_partial_setoid_morphism. - exact (id_partial_setoid_morphism_form X). - exact (id_partial_setoid_morphism_laws X). Defined.
Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Prelude. Require Import UniMath.CategoryTheory.Hyperdoctrines.Hyperdoctrine. Require Import UniMath.CategoryTheory.Hyperdoctrines.FirstOrderHyperdoctrine. Require Import UniMath.CategoryTheory.Hyperdoctrines.PartialEqRels.PERs. Require Import UniMath.CategoryTheory.Hyperdoctrines.PartialEqRels.PERMorphisms.