Definition FiniteDirectSums (C:category) := ∑ h : ZeroMaps C, ∏ I : FiniteSet, ∏ d : I -> ob C, DirectSum h I (isfinite_isdeceq I (pr2 I)) d.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.Core.Univalence. Require Import