Definition term_partial_setoid_morphism_form {H : first_order_hyperdoctrine} {X Y : ty H} (t : tm X Y) : form (eq_partial_setoid X ×h eq_partial_setoid Y) := t [ π₁ (tm_var _) ]tm ≡ π₂ (tm_var _).
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. Require Import UniMath.CategoryTheory.Hyperdoctrines.PartialEqRels.PERCategory.