Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/cap/gap/   (GAP Algebra Version 4.15.1©)  Datei vom 22.8.2025 mit Größe 1 kB image not shown  

Quelle  CategoryTwoCells.gd   Sprache: Shell

 

# SPDX-License-Identifier: GPL-2.0-or-later
# CAP: Categories, Algorithms, Programming
#
# Declarations
#
#! @Chapter Category 2-Cells

######################################
##
#! @Section Attributes for the Type of 2-Cells
##
######################################

#! @Description
#! The argument is a $2$-cell $c: \alpha \rightarrow \beta$.
#! The output is its source $\alpha$.
#! @Returns a morphism
#! @Arguments c
DeclareAttribute( "Source",
                  IsCapCategoryTwoCell );

#! @Description
#! The argument is a $2$-cell $c: \alpha \rightarrow \beta$.
#! The output is its range $\beta$.
#! @Returns a morphism
#! @Arguments c
DeclareAttribute( "Range",
                  IsCapCategoryTwoCell );

#! @Description
#! The argument is a $2$-cell $c: \alpha \rightarrow \beta$.
#! The output is its target $\beta$.
#! @Returns a morphism
#! @Arguments c
DeclareAttribute( "Target",
                  IsCapCategoryTwoCell );

###################################
##
#! @Section Adding 2-Cells to a Category
##
###################################

#! @Description
#!  Adds <A>twocell</A> as a $2$-cell to <A>category</A>.
#! @Arguments category, twocell
DeclareOperation( "Add",
                  [ IsCapCategory, IsCapCategoryTwoCell ] );

#! @Description
#!  Adds <A>twocell</A> as a $2$-cell to <A>category</A>.
#!  If <A>twocell</A> already lies in the filter <C>IsCapCategoryTwoCell</C>,
#!  the operation <Ref Oper="Add" Label="for IsCapCategory, IsCapCategoryTwoCell" />
#!  can be used instead.
#! @Arguments category, twocell
DeclareOperation( "AddTwoCell",
                  [ IsCapCategory, IsAttributeStoringRep ] );
                  
#! @Arguments category, source, range[, attr1, val1, attr2, val2, ...]
#! @Description
#!  Creates a $2$-cell in <A>category</A> with the given attributes.
#! @Returns a twocell
DeclareGlobalFunction( "CreateCapCategoryTwoCellWithAttributes" );

¤ Dauer der Verarbeitung: 0.70 Sekunden  (vorverarbeitet am  2026-10-14) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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 und die Messung sind noch experimentell.