1212# #######################################
1313
1414# ! @Description
15- # ! The ⪆ type of a terminal category.
15+ # ! The ⪆ type of a terminal category with a single object .
1616# ! @Arguments T
1717DeclareCategory( " IsCapTerminalCategoryWithSingleObject" ,
1818 IsCapCategory );
1919
2020# ! @Description
21- # ! The ⪆ type of a cell in a terminal category.
22- # ! @Arguments T
23- DeclareCategory( " IsCellInCapTerminalCategoryWithSingleObject" ,
24- IsCapCategoryCell );
25-
26- # ! @Description
27- # ! The ⪆ type of an object in a terminal category.
21+ # ! The ⪆ type of an object in a terminal category with a single object.
2822# ! @Arguments T
2923DeclareCategory( " IsObjectInCapTerminalCategoryWithSingleObject" ,
30- IsCellInCapTerminalCategoryWithSingleObject and
3124 IsCapCategoryObject );
3225
3326# ! @Description
34- # ! The ⪆ type of a morphism in a terminal category.
27+ # ! The ⪆ type of a morphism in a terminal category with a single object .
3528# ! @Arguments T
3629DeclareCategory( " IsMorphismInCapTerminalCategoryWithSingleObject" ,
37- IsCellInCapTerminalCategoryWithSingleObject and
3830 IsCapCategoryMorphism );
3931
4032# ! @Description
@@ -43,24 +35,16 @@ DeclareCategory( "IsMorphismInCapTerminalCategoryWithSingleObject",
4335DeclareCategory( " IsCapTerminalCategoryWithMultipleObjects" ,
4436 IsCapCategory );
4537
46- # ! @Description
47- # ! The ⪆ type of a cell in a terminal category with multiple objects.
48- # ! @Arguments T
49- DeclareCategory( " IsCellInCapTerminalCategoryWithMultipleObjects" ,
50- IsCapCategoryCell );
51-
5238# ! @Description
5339# ! The ⪆ type of an object in a terminal category with multiple objects.
5440# ! @Arguments T
5541DeclareCategory( " IsObjectInCapTerminalCategoryWithMultipleObjects" ,
56- IsCellInCapTerminalCategoryWithMultipleObjects and
5742 IsCapCategoryObject );
5843
5944# ! @Description
6045# ! The ⪆ type of a morphism in a terminal category with multiple objects.
6146# ! @Arguments T
6247DeclareCategory( " IsMorphismInCapTerminalCategoryWithMultipleObjects" ,
63- IsCellInCapTerminalCategoryWithMultipleObjects and
6448 IsCapCategoryMorphism );
6549
6650AddCategoricalProperty( [ " IsTerminalCategory" , " IsTerminalCategory" ] );
@@ -71,21 +55,17 @@ AddCategoricalProperty( [ "IsTerminalCategory", "IsTerminalCategory" ] );
7155#
7256# #######################################
7357
74- DeclareGlobalName( " CAP_INTERNAL_CREATE_TerminalCategory" );
75-
7658# ! @Description
77- # ! Construct a terminal category.
78- DeclareGlobalFunction( " TerminalCategory" );
79- # ! @InsertChunk TerminalCategory
59+ # ! Construct a terminal category with a single object.
60+ DeclareGlobalFunction( " TerminalCategoryWithSingleObject" );
8061
8162# ! @Description
8263# ! Construct a terminal category with multiple objects.
8364DeclareGlobalFunction( " TerminalCategoryWithMultipleObjects" );
84- # ! @InsertChunk TerminalCategoryWithMultipleObjects
8565
8666# ! @Description
8767# ! This function takes a record of options suited for CategoryConstructor.
88- # ! It makes common adjustments from TerminalCategory and TerminalCategoryWithMultipleObjects
68+ # ! It makes common adjustments for TerminalCategoryWithSingleObject and TerminalCategoryWithMultipleObjects
8969# ! to the list of operations to install and the categorical properties of the given record,
9070# ! before passing it on to CategoryConstructor.
9171# ! @Arguments options
@@ -99,13 +79,13 @@ DeclareGlobalFunction( "CAP_INTERNAL_CONSTRUCTOR_FOR_TERMINAL_CATEGORY" );
9979# ########################################
10080
10181# ! @Description
102- # ! The unique object in a terminal category.
82+ # ! The unique object in a terminal category with a single object .
10383# ! @Returns a ∩ object
10484DeclareAttribute( " UniqueObject" ,
10585 IsCapTerminalCategoryWithSingleObject );
10686
10787# ! @Description
108- # ! The unique morphism in a terminal category.
88+ # ! The unique morphism in a terminal category with a single object .
10989# ! @Returns a ∩ morphism
11090DeclareAttribute( " UniqueMorphism" ,
11191 IsCapTerminalCategoryWithSingleObject );
@@ -117,22 +97,8 @@ DeclareAttribute( "UniqueMorphism",
11797# ########################################
11898
11999# ! @Description
120- # ! A functor from a terminal category to another category with a given cell **cell** .
121- # ! @Arguments cell
122- # ! @Returns a ∩ morphism
100+ # ! A functor from `AsCapCategory( TerminalObject( CapCat ) )` mapping the unique object to <A>object</A> .
101+ # ! @Arguments object
102+ # ! @Returns a &CAP; functor
123103DeclareAttribute( " FunctorFromTerminalCategory" ,
124- IsCapCategoryCell );
125-
126- # ########################################
127- #
128- # ! @Section Variables
129- #
130- # ########################################
131-
132- # ! @Description
133- # ! A terminal category.
134- DeclareGlobalName( " CAP_INTERNAL_TERMINAL_CATEGORY" );
135-
136- # ! @Description
137- # ! A terminal category as an object in CAT.
138- DeclareGlobalName( " CAP_INTERNAL_TERMINAL_CATEGORY_AS_CAT_OBJECT" );
104+ IsCapCategoryObject );
0 commit comments