Definition pointed_hset_struct_map_from_unit {P : hset_struct} (Pt : pointed_hset_struct P) {Y : hSet} (PY : P Y) (y : Y) (b : bool) : Y := if b then y else hset_struct_point Pt PY.
Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.DisplayedCats.Core. Require Import UniMath.CategoryTheory.DisplayedCats.Structures.CartesianStructure. Require Import UniMath.CategoryTheory.DisplayedCats.Structures.StructureLimitsAndColimits.