Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Category (mathematics)

From Wikipedia, the free encyclopedia
Mathematical object that generalizes the standard notions of sets and functions
For other uses, seeCategory (disambiguation) § Mathematics.
This is a category with a collection of objects A, B, C and collection of morphisms denoted f, g,g ∘ f, and the loops are the identity arrows. This category is typically denoted by a boldface3.

Inmathematics, acategory (sometimes called anabstract category to distinguish it from aconcrete category) is a collection of "objects" that are linked by "arrows". A category has two basic properties: the ability to compose the arrowsassociatively and the existence of an identity arrow for each object. A simple example is thecategory of sets, whose objects aresets and whose arrows arefunctions.

Category theory is a branch of mathematics that seeks to generalize all of mathematics in terms of categories, independent of what their objects and arrows represent. Virtually every branch of modern mathematics can be described in terms of categories, and doing so often reveals deep insights and similarities between seemingly different areas of mathematics. As such, category theory provides an alternative foundation for mathematics toset theory and other proposed axiomatic foundations. In general, the objects and arrows may be abstract entities of any kind, and the notion of category provides a fundamental and abstract way to describe mathematical entities and their relationships.

In addition to formalizing mathematics, category theory is also used to formalize many other systems in computer science, such as thesemantics of programming languages.

Two categories are the same if they have the same collection of objects, the same collection of arrows, and the same associative method of composing any pair of arrows. Twodifferent categories may also be considered "equivalent" for purposes of category theory, even if they do not have precisely the same structure.

Well-known categories are denoted by a short capitalized word or abbreviation in bold or italics: examples includeSet, the category ofsets andset functions;Ring, the category ofrings andring homomorphisms; andTop, the category oftopological spaces andcontinuous maps. All of the preceding categories have theidentity map as identity arrows andcomposition as the associative operation on arrows.

The classic and still much used text on category theory isCategories for the Working Mathematician bySaunders Mac Lane. Other references are given in theReferences below. The basic definitions in this article are contained within the first few chapters of any of these books.

Anymonoid can be understood as a special sort of category (with a single object whose self-morphisms are represented by the elements of the monoid), and so can anypreorder.

Definition

[edit]
Group-like structures
TotalAssociativeIdentityDivisibleCommutative
Partial magmaUnneededUnneededUnneededUnneededUnneeded
SemigroupoidUnneededRequiredUnneededUnneededUnneeded
Small categoryUnneededRequiredRequiredUnneededUnneeded
GroupoidUnneededRequiredRequiredRequiredUnneeded
MagmaRequiredUnneededUnneededUnneededUnneeded
QuasigroupRequiredUnneededUnneededRequiredUnneeded
Unital magmaRequiredUnneededRequiredUnneededUnneeded
LoopRequiredUnneededRequiredRequiredUnneeded
SemigroupRequiredRequiredUnneededUnneededUnneeded
MonoidRequiredRequiredRequiredUnneededUnneeded
GroupRequiredRequiredRequiredRequiredUnneeded
Abelian groupRequiredRequiredRequiredRequiredRequired

There are many equivalent definitions of a category.[1] One commonly used definition is as follows. AcategoryC{\displaystyle {\mathcal {C}}} consists of

such that the following axioms hold:

We writef:ab{\displaystyle f:a\to b}, and we say "f{\displaystyle f} is a morphism froma{\displaystyle a} tob{\displaystyle b}". We writehom(a,b){\displaystyle \operatorname {hom} (a,b)} (orhomC(a,b){\displaystyle \operatorname {hom} _{\mathcal {C}}(a,b)} when there may be confusion about to which categoryhom(a,b){\displaystyle \operatorname {hom} (a,b)} refers) to denote thehom-class of all morphisms froma{\displaystyle a} tob{\displaystyle b}.[2]

Some authors write the composite of morphisms in "diagrammatic order", writingf;g{\displaystyle f\,;g} (sometimes with ⨟[3]) orfg{\displaystyle fg} instead ofgf{\displaystyle g\circ f}.

From these axioms, one can prove that there is exactly one identity morphism for every object. Often the map assigning each object its identity morphism is treated as an extra part of the structure of a category, namely a class functioni:ob(C)mor(C){\displaystyle i:\operatorname {ob} ({\mathcal {C}})\to \operatorname {mor} ({\mathcal {C}})}.

Some authors use a slight variant of the definition in which each object is identified with the corresponding identity morphism. This stems from the idea that the fundamental data of categories are morphisms and not objects. In fact, categories can be defined without reference to objects at all using a partial binary operation with additional properties.

Small and large categories

[edit]

A categoryC is calledsmall if both ob(C) and mor(C) are actuallysets and notproper classes, andlarge otherwise. Alocally small category is a category such that for all objectsa andb, the hom-class hom(a,b) is a set, called ahomset. Many important categories in mathematics (such as the category of sets), although not small, are at least locally small. Since, in small categories, the objects form a set, a small category can be viewed as analgebraic structure similar to amonoid but without requiringclosure properties. Large categories on the other hand can be used to create "structures" of algebraic structures.

Examples

[edit]

Theclass of all sets (as objects) together with allfunctions between them (as morphisms), where the composition of morphisms is the usualfunction composition, forms a large category,Set. It is the most basic and the most commonly used category in mathematics. The categoryRel consists of allsets (as objects) withbinary relations between them (as morphisms). Abstracting fromrelations instead of functions yieldsallegories, a special class of categories.

Any class can be viewed as a category whose only morphisms are the identity morphisms. Such categories are calleddiscrete. For any givensetI, thediscrete category on I is the small category that has the elements ofI as objects and only the identity morphisms as morphisms. Discrete categories are the simplest kind of category.

Anypreordered set (P, ≤) forms a small category, where the objects are the members ofP, the morphisms are arrows pointing fromx toy whenxy. Furthermore, if isantisymmetric, there can be at most one morphism between any two objects. The existence of identity morphisms and the composability of the morphisms are guaranteed by thereflexivity and thetransitivity of the preorder. By the same argument, anypartially ordered set and anyequivalence relation can be seen as a small category. Anyordinal number can be seen as a category when viewed as anordered set.

Anymonoid (anyalgebraic structure with a singleassociativebinary operation and anidentity element) forms a small category with a single objectx. (Here,x is any fixed set.) The morphisms fromx tox are precisely the elements of the monoid, the identity morphism ofx is the identity of the monoid, and the categorical composition of morphisms is given by the monoid operation. Several definitions and theorems about monoids may be generalized for categories.

Similarly anygroup can be seen as a category with a single object in which every morphism isinvertible, that is, for every morphismf there is a morphismg that is bothleft and right inverse tof under composition. A morphism that is invertible in this sense is called anisomorphism.

Agroupoid is a category in which every morphism is an isomorphism. Groupoids are generalizations of groups,group actions andequivalence relations. Actually, in the view of category the only difference between groupoid and group is that a groupoid may have more than one object but the group must have only one. Consider a topological spaceX and fix a base pointx0{\displaystyle x_{0}} ofX, thenπ1(X,x0){\displaystyle \pi _{1}(X,x_{0})} is thefundamental group of the topological spaceX and the base pointx0{\displaystyle x_{0}}, and as a set it has the structure of group; if then let the base pointx0{\displaystyle x_{0}} runs over all points ofX, and take the union of allπ1(X,x0){\displaystyle \pi _{1}(X,x_{0})}, then the set we get has only the structure of groupoid (which is called as thefundamental groupoid ofX): two loops (under equivalence relation of homotopy) may not have the same base point so they cannot multiply with each other. In the language of category, this means here two morphisms may not have the same source object (or target object, because in this case for any morphism the source object and the target object are same: the base point) so they can not compose with each other.

A directed graph.

Anydirected graphgenerates a small category: the objects are thevertices of the graph, and the morphisms are the paths in the graph (augmented withloops as needed) where composition of morphisms is concatenation of paths. Such a category is called thefree category generated by the graph.

The class of all preordered sets with order-preserving functions (i.e., monotone-increasing functions) as morphisms forms a category,Ord. It is aconcrete category, i.e. a category obtained by adding some type of structure ontoSet, and requiring that morphisms are functions that respect this added structure.

The class of all groups withgroup homomorphisms asmorphisms andfunction composition as the composition operation forms a large category,Grp. LikeOrd,Grp is a concrete category. The categoryAb, consisting of allabelian groups and their group homomorphisms, is afull subcategory ofGrp, and the prototype of anabelian category.

The class of allgraphs forms another concrete category, where morphisms are graph homomorphisms (i.e., mappings between graphs which send vertices to vertices and edges to edges in a way that preserves all adjacency and incidence relations).

Other examples of concrete categories are given by the following table.

CategoryObjectsMorphisms
Setsetsfunctions
Ordpreordered setsmonotone-increasing functions
Monmonoidsmonoid homomorphisms
Grpgroupsgroup homomorphisms
Grphgraphsgraph homomorphisms
Ringringsring homomorphisms
Fieldfieldsfield homomorphisms
R-ModR-modules, whereR is a ringR-module homomorphisms
VectKvector spaces over thefieldKK-linear maps
Metmetric spacesshort maps
Measmeasure spacesmeasurable functions
Stochmeasure spacesMarkov kernels
Toptopological spacescontinuous functions
Manpsmooth manifoldsp-timescontinuously differentiable maps

Fiber bundles withbundle maps between them form a concrete category.

The categoryCat consists of all small categories, withfunctors between them as morphisms.

Construction of new categories

[edit]

Dual category

[edit]

Any categoryC can itself be considered as a new category in a different way: the objects are the same as those in the original category but the arrows are those of the original category reversed. This is called thedual oropposite category and is denotedCop.

Product categories

[edit]

IfC andD are categories, one can form theproduct categoryC ×D: the objects are pairs consisting of one object fromC and one fromD, and the morphisms are also pairs, consisting of one morphism inC and one inD. Such pairs can be composedcomponentwise.

Types of morphisms

[edit]

Amorphismf :ab is called

  • amonomorphism (ormonic) if it is left-cancellable, i.e.fg1 =fg2 impliesg1 =g2 for all morphismsg1,g2 :xa.
  • anepimorphism (orepic) if it is right-cancellable, i.e.g1f =g2f impliesg1 =g2 for all morphismsg1,g2 :bx.
  • abimorphism if it is both a monomorphism and an epimorphism.
  • aretraction if it has a right inverse, i.e. if there exists a morphismg :ba withfg = 1b.
  • asection if it has a left inverse, i.e. if there exists a morphismg :ba withgf = 1a.
  • anisomorphism if it has an inverse, i.e. if there exists a morphismg :ba withfg = 1b andgf = 1a.
  • anendomorphism ifa =b. The class of endomorphisms ofa is denoted end(a). For locally small categories, end(a) is aset and forms amonoid under morphism composition.
  • anautomorphism iff is both an endomorphism and an isomorphism. The class of automorphisms ofa is denoted aut(a). For locally small categories, it forms agroup under morphism composition called theautomorphism group ofa.

Every retraction is an epimorphism. Every section is a monomorphism. The following three statements are equivalent:

  • f is a monomorphism and a retraction;
  • f is an epimorphism and a section;
  • f is an isomorphism.

Relations among morphisms (such asfg =h) can most conveniently be represented withcommutative diagrams, where the objects are represented as points and the morphisms as arrows.

Types of categories

[edit]
  • In many categories, e.g.Ab orVectK, the hom-sets hom(a,b) are not just sets but actuallyabelian groups, and the composition of morphisms is compatible with these group structures; i.e. isbilinear. Such a category is calledpreadditive. If, furthermore, the category has all finiteproducts andcoproducts, it is called anadditive category. If all morphisms have akernel and acokernel, and all epimorphisms are cokernels and all monomorphisms are kernels, then we speak of anabelian category. A typical example of an abelian category is the category of abelian groups.
  • A category is calledcomplete if all smalllimits exist in it. The categories of sets, abelian groups and topological spaces are complete.
  • A category is calledcartesian closed if it has finite direct products and a morphism defined on a finite product can always be represented by a morphism defined on just one of the factors. Examples includeSet andCPO, the category ofcomplete partial orders withScott-continuous functions.
  • Atopos is a certain type of cartesian closed category in which all of mathematics can be formulated (just like classically all of mathematics is formulated in the category of sets). A topos can also be used to represent a logical theory.

See also

[edit]

Notes

[edit]
  1. ^Barr & Wells 2005, Chapter 1
  2. ^Some authors writeMor(a,b){\displaystyle \operatorname {Mor} (a,b)} or simplyC(a,b){\displaystyle {\mathcal {C}}(a,b)} instead.
  3. ^Fong, Brendan; Spivak, David I. (2018). "Seven Sketches in Compositionality: An Invitation to Applied Category Theory". p. 12.arXiv:1803.05316 [math.CT].

References

[edit]
Key concepts
Key concepts
Universal constructions
Limits
Colimits
Algebraic categories
Constructions on categories
A simple triangular commutative diagram
Key concepts
n-categories
Weakn-categories
Strictn-categories
Categorified concepts
International
National
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Category_(mathematics)&oldid=1317930767"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp