  
  [1X6 [33X[0;0YTechnical Notes[133X[101X
  
  [33X[0;0YThis  short  chapter  is  included  for  the  benefit  of  anyone wishing to
  implement   some  other  variety  of  many-object  structures,  for  example
  [13Xringoids[113X,  which  are  rings with many objects; [13XLie groupoids[113X, which are Lie
  groups with many objects; and so on.[133X
  
  
  [1X6.1 [33X[0;0YMany object structures[133X[101X
  
  [33X[0;0YStructures  with  many  objects, and their elements, are defined in a manner
  similar to the single object case. For elements we have:[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory(                 "IsMultiplicativeElementWithObjects",
        IsMultiplicativeElement ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory(          "IsMultiplicativeElementWithObjectsAndOnes",
        IsMultiplicativeElementWithObjects ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory(
        "IsMultiplicativeElementWithObjectsAndInversesIfNonzero",
        IsMultiplicativeElementWithObjectsAndOnes ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory( "IsGroupoidElement", [110X[133X
  
        [33X[0;6Y[10XIsMultiplicativeElementWithObjectsAndInversesIfNonzero ); [110X[133X
  
  [33X[0;0Yas well as various category collections. For the various structures we have:[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory( "IsDomainWithObjects", IsDomain ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory( "IsMagmaWithObjects", IsDomainWithObjects and IsMagma
        and IsMultiplicativeElementWithObjectsCollection );[110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory(  "IsMagmaWithObjectsAndOnes",  IsMagmaWithObjects and
        IsMultiplicativeElementWithObjectsAndOnesCollection ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory(             "IsMagmaWithObjectsAndInversesIfNonzero",
        IsMagmaWithObjectsAndOnes and [110X[133X
  
        [33X[0;6Y[10XIsMultiplicativeElementWithObjectsAndInversesIfNonzeroCollection ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory(  "IsGroupoid", IsMagmaWithObjectsAndInversesIfNonzero
        and IsGroupoidElementCollection ); [110X[133X
  
  [33X[0;0YSome  of  the groupoids constructed earlier are the single piece [10XGd8[110X and the
  five component union [10XU5[110X:[133X
  
  [4X[32X  Example  [32X[104X
    [4X[28X[128X[104X
    [4X[25Xgap>[125X [27XCategoriesOfObject( Gd8 );[127X[104X
    [4X[28X[ "IsListOrCollection", "IsCollection", "IsExtLElement", [128X[104X
    [4X[28X  "CategoryCollections(IsExtLElement)", "IsExtRElement", [128X[104X
    [4X[28X  "CategoryCollections(IsExtRElement)", [128X[104X
    [4X[28X  "CategoryCollections(IsMultiplicativeElement)", "IsGeneralizedDomain", [128X[104X
    [4X[28X  "IsMagma", "IsDomainWithObjects", [128X[104X
    [4X[28X  "CategoryCollections(IsMultiplicativeElementWithObjects)", [128X[104X
    [4X[28X  "CategoryCollections(IsMultiplicativeElementWithObjectsAndOnes)", [128X[104X
    [4X[28X  "CategoryCollections(IsMultiplicativeElementWithObjectsAndInversesIfNonzero)\[128X[104X
    [4X[28X", "CategoryCollections(IsGroupoidElement)", "IsMagmaWithObjects", [128X[104X
    [4X[28X  "IsMagmaWithObjectsAndOnes", "IsMagmaWithObjectsAndInversesIfNonzero", [128X[104X
    [4X[28X  "IsGroupoid" ][128X[104X
    [4X[25Xgap>[125X [27XFamilyObj( Gd8 );[127X[104X
    [4X[28XNewFamily( "GroupoidFamily", [ 2275 ], [ 51, 52, 77, 78, 79, 80, 90, 91, 114, [128X[104X
    [4X[28X  115, 117, 118, 121, 202, 427, 2245, 2256, 2260, 2264, 2268, 2271, 2273, [128X[104X
    [4X[28X  2274, 2275 ] )[128X[104X
    [4X[25Xgap>[125X [27XKnownAttributesOfObject( Gd8 ); [127X[104X
    [4X[28X[ "Name", "Size", "ParentAttr", "GeneratorsOfMagmaWithInverses", [128X[104X
    [4X[28X  "ObjectList", "Pieces" ][128X[104X
    [4X[25Xgap>[125X [27XKnownPropertiesOfObject( Gd8 ); [127X[104X
    [4X[28X[ "IsEmpty", "IsTrivial", "IsNonTrivial", "IsFinite", [128X[104X
    [4X[28X  "CanEasilyCompareElements", "CanEasilySortElements", "IsDuplicateFree", [128X[104X
    [4X[28X  "IsAssociative", "IsCommutative", "IsSinglePieceDomain", [128X[104X
    [4X[28X  "IsDirectProductWithCompleteGraphDomain" ][128X[104X
    [4X[25Xgap>[125X [27XRepresentationsOfObject( Gd8 );[127X[104X
    [4X[28X[ "IsComponentObjectRep", "IsAttributeStoringRep", "IsMWOSinglePieceRep" ][128X[104X
    [4X[25Xgap>[125X [27XRepresentationsOfObject( U5 ); [127X[104X
    [4X[28X[ "IsComponentObjectRep", "IsAttributeStoringRep", "IsPiecesRep" ][128X[104X
    [4X[28X[128X[104X
  [4X[32X[104X
  
  [33X[0;0YSimilarly, for elements, we have:[133X
  
  [4X[32X  Example  [32X[104X
    [4X[28X[128X[104X
    [4X[25Xgap>[125X [27XCategoriesOfObject(a78);[127X[104X
    [4X[28X[ "IsExtLElement", "IsExtRElement", "IsMultiplicativeElement", [128X[104X
    [4X[28X  "IsMultiplicativeElementWithObjects" ][128X[104X
    [4X[25Xgap>[125X [27XFamilyObj( a78 );[127X[104X
    [4X[28XNewFamily( "MultiplicativeElementWithObjectsFamily", [ 2255 ], [128X[104X
    [4X[28X[ 77, 78, 79, 80, 114, 117, 120, 2255 ] )[128X[104X
    [4X[25Xgap>[125X [27XCategoriesOfObject(e2); [127X[104X
    [4X[28X[ "IsExtLElement", "IsExtRElement", "IsMultiplicativeElement", [128X[104X
    [4X[28X  "IsMultiplicativeElementWithObjects", [128X[104X
    [4X[28X  "IsMultiplicativeElementWithObjectsAndOnes", [128X[104X
    [4X[28X  "IsMultiplicativeElementWithObjectsAndInversesIfNonzero", [128X[104X
    [4X[28X  "IsGroupoidElement" ][128X[104X
    [4X[25Xgap>[125X [27XFamilyObj( e2 );        [127X[104X
    [4X[28XNewFamily( "GroupoidElementFamily", [ 2267 ], [128X[104X
    [4X[28X[ 77, 78, 79, 80, 114, 117, 120, 2255, 2259, 2263, 2267 ] )[128X[104X
    [4X[28X[128X[104X
  [4X[32X[104X
  
  
  [1X6.2 [33X[0;0YMany object homomorphisms[133X[101X
  
  [33X[0;0YHomomorphisms of structures with many objects have a similar heirarchy.[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory( "IsGeneralMappingWithObjects", IsGeneralMapping ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareSynonymAttr(                "IsMagmaWithObjectsGeneralMapping",
        IsGeneralMappingWithObjects and RespectsMultiplication ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareSynonymAttr(                  "IsMagmaWithObjectsHomomorphism",
        IsMagmaWithObjectsGeneralMapping and IsMapping ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareCategory(                             "IsGroupoidHomomorphism",
        IsMagmaWithObjectsHomomorphism ); [110X[133X
  
  [33X[0;0YTwo  forms  of  representation are used: for mappings to a single piece; and
  for unions of such mappings:[133X
  
  [30X    [33X[0;6Y[10XDeclareRepresentation(                    "IsMappingToSinglePieceRep",
        IsMagmaWithObjectsHomomorphism     and    IsAttributeStoringRep    and
        IsGeneralMapping, [ "Source", "Range", "PieceImages" ] ); [110X[133X
  
  [30X    [33X[0;6Y[10XDeclareRepresentation(                      "IsMappingWithObjectsRep",
        IsMagmaWithObjectsHomomorphism     and    IsAttributeStoringRep    and
        IsGeneralMapping, [ "Source", "Range", "PiecesOfMapping" ] ); [110X[133X
  
  [33X[0;0YIn  previous  chapters,  [10Xhom1[110X  was  an  endofunction  on  [10XM78[110X;  [10Xhomd8[110X  was a
  homomorphism  from  [10XGd8[110X  to  [10XGs3[110X;  and  [10Xaut3[110X was an automorphism of [10XGa4[110X. All
  homomorphisms  have family [10XGeneralMappingWithObjectsFamily[110X. Perhaps it would
  be better to have separate families for each structure?[133X
  
  [4X[32X  Example  [32X[104X
    [4X[28X[128X[104X
    [4X[25Xgap>[125X [27XFamilyObj(hom1);[127X[104X
    [4X[28XNewFamily( "GeneralMappingWithObjectsFamily", [ 2279 ], [128X[104X
    [4X[28X[ 77, 78, 79, 80, 114, 117, 120, 124, 128, 147, 338, 2279 ] )[128X[104X
    [4X[25Xgap>[125X [27XKnownAttributesOfObject( hom1 );[127X[104X
    [4X[28X[ "Range", "Source", "PieceImages" ][128X[104X
    [4X[25Xgap>[125X [27XKnownPropertiesOfObject( hom1 );[127X[104X
    [4X[28X[ "CanEasilyCompareElements", "CanEasilySortElements", "IsTotal", [128X[104X
    [4X[28X  "IsSingleValued", "RespectsMultiplication", "IsGeneralMappingToSinglePiece",[128X[104X
    [4X[28X  "IsGeneralMappingFromSinglePiece", "IsInjectiveOnObjects", [128X[104X
    [4X[28X  "IsSurjectiveOnObjects" ][128X[104X
    [4X[25Xgap>[125X [27XCategoriesOfObject( homd8 );[127X[104X
    [4X[28X[ "IsExtLElement", "IsExtRElement", "IsMultiplicativeElement", [128X[104X
    [4X[28X  "IsMultiplicativeElementWithOne", "IsMultiplicativeElementWithInverse", [128X[104X
    [4X[28X  "IsAssociativeElement", "IsGeneralMapping", "IsGeneralMappingWithObjects", [128X[104X
    [4X[28X  "IsGroupoidHomomorphism" ][128X[104X
    [4X[25Xgap>[125X [27XKnownAttributesOfObject( homd8 );[127X[104X
    [4X[28X[ "Range", "Source", "PieceImages", "ImagesOfObjects", "ImagesOfRays", [128X[104X
    [4X[28X  "ObjectTransformationOfGroupoidHomomorphism", "RootObjectHomomorphism" ][128X[104X
    [4X[25Xgap>[125X [27XKnownAttributesOfObject( aut3 );[127X[104X
    [4X[28X[ "Range", "Source", "PieceImages", "ImagesOfObjects", "ImagesOfRays", [128X[104X
    [4X[28X  "ObjectTransformationOfGroupoidHomomorphism", "RootObjectHomomorphism" ][128X[104X
    [4X[28X[128X[104X
  [4X[32X[104X
  
