Definition exp_partial_setoid_is_function : form (ℙ (X ×h Y)) := exp_partial_setoid_dom_defined_law ∧ exp_partial_setoid_cod_defined_law ∧ exp_partial_setoid_eq_defined_law ∧ exp_partial_setoid_unique_im_law ∧ exp_partial_setoid_im_exists_law.
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.Tripos. Require Import UniMath.CategoryTheory.Hyperdoctrines.GenericPredicate. Require Import UniMath.CategoryTheory.Hyperdoctrines.PartialEqRels.PERs. Require Import UniMath.CategoryTheory.Hyperdoctrines.PartialEqRels.PERMorphisms.