Definition homtype_hlevel (n : nat) (C : precategory) : hProp := make_hProp (∏ a b : C, isofhlevel n (C ⟦ a, b ⟧)) (impred _ _ (λ _, impred _ _ (λ _, isapropisofhlevel n _))).
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Univalence. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.Functors.