Definition partial_setoid_formula {H : first_order_hyperdoctrine} {X : partial_setoid H} {Γ : ty H} (x y : tm Γ X) : form Γ := X [ ⟨ x , y ⟩ ].
Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Prelude. Require Import UniMath.CategoryTheory.Hyperdoctrines.Hyperdoctrine. Require Import UniMath.CategoryTheory.Hyperdoctrines.FirstOrderHyperdoctrine.