Quelle _Chapter_Limits_and_Colimits.xml
Sprache: XML
<?xmlversion="1.0"encoding="UTF-8"?>
<!-- This is an automatically generated file. -->
<Chapter Label="Chapter_Limits_and_Colimits">
<Heading>Limits and Colimits</Heading>
<P/>
This section describes the support for limits and colimits in CAP. All notions defined in the following are considered with regard to limits, not colimits, except if explicitly stated otherwise. In particular, the diagram specification specifies a diagram over which the limit is taken. The colimit in turn is taken over the opposite diagram.
<P/>
<Section Label="Chapter_Limits_and_Colimits_Section_Specification_of_Limits_and_Colimits">
<Heading>Specification of Limits and Colimits</Heading>
<P/>
A record specifying a limit in CAP has the following entries:
<P/>
<List>
<Item>
object_specification: see below
</Item>
</List>
<P/>
<List>
<Item>
morphism_specifiation: see below
</Item>
</List>
<P/>
<List>
<Item>
limit_object_name: the name of the method returning the limit object, e.g. <C>DirectProduct</C> or <C>KernelObject</C>
</Item>
</List>
<P/>
<List>
<Item>
limit_projection_name (optional): the name of the method returning the projection(s) from the limit object, e.g. <C>ProjectionInFactorOfDirectProduct</C> or <C>KernelEmbedding</C>. Defaults to <C>Concatenation( "ProjectionInFactorOf", limit_object_name )</C>.
</Item>
</List>
<P/>
<List>
<Item>
limit_universal_morphism_name (optional): the name of the method returning the universal morphism into the limit object, e.g. <C>UniversalMorphismIntoDirectProduct</C> or <C>KernelLift</C>. Defaults to <C>Concatenation( "UniversalMorphismInto", limit_object_name )</C>.
</Item>
</List>
<P/>
<List>
<Item>
colimit_object_name: the name of the method returning the colimit object, e.g. <C>Coproduct</C> or <C>CokernelObject</C>
</Item>
</List>
<P/>
<List>
<Item>
colimit_injection_name (optional): the name of the method returning the injection(s) into the colimit object, e.g. <C>InjectionOfCofactorOfCoproduct</C> or <C>CokernelProjection</C>. Defaults to <C>Concatenation( "InjectionOfCofactorOf", colimit_object_name )</C>.
</Item>
</List>
<P/>
<List>
<Item>
colimit_universal_morphism_name (optional): the name of the method returning the universal morphism from the colimit object, e.g. <C>UniversalMorphismFromCoproduct</C> or <C>CokernelColift</C>. Defaults to <C>Concatenation( "UniversalMorphismFrom", colimit_object_name )</C>.
</Item>
</List>
<P/>
limit_object_name and colimit_object_name can be the same, e.g. for <C>DirectSum</C> or <C>ZeroObject</C>.
<P/>
The object_specification and morphism_specification together specify the shape of the diagram defining the limit or colimit. The syntax is the following:
<P/>
<List>
<Item>
object_specification is a list of strings. Only the strings "fixedobject" and "varobject" are allowed as entries of the list. These are called "types" in the following.
</Item>
</List>
<P/>
<List>
<Item>
morphism_specification is a list of triples. The first and third entry of a triple are integers greater or equal to 1 and less or equal to <C>Length( object_specification )</C>. The second entry is one of the following strings: "fixedmorphism", "varmorphism", "zeromorphism". This entry is called "type" in the following.
</Item>
</List>
<P/>
Semantics is given as follows:
<P/>
<List>
<Item>
The type"fixedobject" specifies a single object. The type"varobject" specifies arbitrarily many objects.
</Item>
<Item>
The first and the third entry of a triple specify the source and range of a morphism (or multiple morphisms) encoded by the position in object_specification respectively. The type"fixedmorphism" specifies a single morphism. In this case, source and range can only be of type"fixedobject", not of type"varobject". The type"varmorphism" specifies arbitrarily many morphisms. In this case, if the source (resp. range) is of type"fixedobject" all the morphisms must have the same source (resp. range). On the contrary, if the source (resp. range) is of the type"varobject", the objects correspond one-to-one to the sources (resp. ranges) of the morphisms. The type"zeromorphism" is currently ignored but will be endowed with semantics in the future.
</Item>
</List>
<P/>
For example, a FiberProduct diagram consists of arbitrarily many morphisms which have arbitrary sources but the same common range. This can be expressed as follows:
<P/>
<#Include Label="example_limit_record">
<P/>
Note that not all diagrams which can be expressed with the above are actually supported. For now, at most one unbound object (see below for the definition of "unbound") may be of type"varobject", and if there is such an unbound object it must be the last one among the unbound objects. Similarly, at most one unbound morphism may be of type"varmorphism", and if there is such an unbound morphism it must be the last one among the unbound morphisms.
<P/>
</Section>
<P/>
The function CAP_INTERNAL_ENHANCE_NAME_RECORD_LIMITS takes a list of limits (given by records as explained above), and computes some additional properties. For example, the number of so-called unbound objects, unbound morphisms and (non-)targets is computed. The term "unbound"signifies that for creating a concrete diagram, these objects or morphisms have to be specified by the user because they cannot be derived by CAP:
<P/>
<List>
<Item>
Unbound morphisms are the triples which are of type"fixedmorphism" or "varmorphism".
</Item>
<Item>
Unbound objects are the objects which are not source or range of an unbound morphism.
</Item>
</List>
<P/>
Finally, targets are the objects which are not the range of a morphism. These are of interest for the following reason: for limits, only projections into targets are relevant because the projections into other objects can simply be computed by composition. Similarly, one only has to give morphisms into these targets to compute a universal morphism.
<P/>
The number of unbound objects, unbound morphisms and (non-)targets is expressed by the integers 0, 1 and 2:
<P/>
<List>
<Item>
0: no such object/morphism/target exists
</Item>
</List>
<P/>
<List>
<Item>
1: there exists exactly one such object/target of type"fixedobject" respectively exactly one such morphism of type"fixedmorphism"
</Item>
</List>
<P/>
<List>
<Item>
2: else
</Item>
</List>
<P/>
</Section>
<P/>
<ManSection>
<Func Arg="package_name, method_name_record, limits" Name="CAP_INTERNAL_GENERATE_CONVENIENCE_METHODS_FOR_LIMITS" />
<Description>
This function takes a package name, a method name record and a list of enhanced limits,
and generates convenience methods for the limits as a string of GAP code.
The result is compared to the content of the file <A>package_name</A><Code>/gap/LimitConvenienceOutput.gi</Code>.
If a difference is found, a warning is raised and the generated string is written to a temporary file for manual inspection.
</Description>
</ManSection>
<ManSection>
<Func Arg="method_name_record, limits" Name="CAP_INTERNAL_VALIDATE_LIMITS_IN_NAME_RECORD" />
<Description>
This function takes a method name record and a list of enhanced limits, and validates the entries of the method name record.
Prefunctions, full prefunctions and postfunctions are excluded from the validation.
</Description>
</ManSection>
</Section>
</Chapter>
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.