Category (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 boldface 3.

In mathematics, a category (sometimes called an abstract category to distinguish it from a concrete category) is a collection of "objects" that are linked by "arrows". A category has two basic properties: the ability to compose the arrows associatively and the existence of an identity arrow for each object. A simple example is the category of sets, whose objects are sets and whose arrows are functions.

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 to set 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 the semantics 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. Two different 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 include Set, the category of sets and set functions; Ring, the category of rings and ring homomorphisms; and Top, the category of topological spaces and continuous maps. All of the preceding categories have the identity map as identity arrows and composition as the associative operation on arrows.

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

Group-like structures
Total Associative Identity Divisible Commutative
Partial magma Unneeded Unneeded Unneeded Unneeded Unneeded
Semigroupoid Unneeded Required Unneeded Unneeded Unneeded
Small category Unneeded Required Required Unneeded Unneeded
Groupoid Unneeded Required Required Required Unneeded
Commutative Groupoid Unneeded Required Required Required Required
Magma Required Unneeded Unneeded Unneeded Unneeded
Commutative magma Required Unneeded Unneeded Unneeded Required
Quasigroup Required Unneeded Unneeded Required Unneeded
Commutative quasigroup Required Unneeded Unneeded Required Required
Unital magma Required Unneeded Required Unneeded Unneeded
Commutative unital magma Required Unneeded Required Unneeded Required
Loop Required Unneeded Required Required Unneeded
Commutative loop Required Unneeded Required Required Required
Semigroup Required Required Unneeded Unneeded Unneeded
Commutative semigroup Required Required Unneeded Unneeded Required
Associative quasigroup Required Required Unneeded Required Unneeded
Commutative-and-associative quasigroup Required Required Unneeded Required Required
Monoid Required Required Required Unneeded Unneeded
Commutative monoid Required Required Required Unneeded Required
Group Required Required Required Required Unneeded
Abelian group Required Required Required Required Required

Any monoid 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 any preorder.

Definition

There are many equivalent definitions of a category.[1] One commonly used definition is as follows. A category C consists of

  • a class ob(C) of objects,
  • a class mor(C) of morphisms or arrows,
  • a domain or source class function dom: mor(C) → ob(C),
  • a codomain or target class function cod: mor(C) → ob(C),
  • for every three objects a, b and c, a binary operation hom(a, b) × hom(b, c) → hom(a, c) called composition of morphisms. Here hom(a, b) denotes the subclass of morphisms f in mor(C) such that dom(f) = a and cod(f) = b. Morphisms in this subclass are written f : ab, and the composite of f : ab and g : bc is often written as gf or gf.

such that the following axioms hold:

  • the associative law: if f : ab, g : bc and h : cd then h ∘ (gf) = (hg) ∘ f, and
  • the (left and right unit laws): for every object x, there exists a morphism 1x : xx (some authors write idx) called the identity morphism for x, such that every morphism f : ax satisfies 1xf = f, and every morphism g : xb satisfies g ∘ 1x = g.

We write f: ab, and we say "f is a morphism from a to b". We write hom(a, b) (or homC(a, b) when there may be confusion about to which category hom(a, b) refers) to denote the hom-class of all morphisms from a to b.[2]

Some authors write the composite of morphisms in "diagrammatic order", writing f;g or fg instead of gf.

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 function i: ob(C) → mor(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

A category C is called small if both ob(C) and hom(C) are actually sets and not proper classes, and large otherwise. A locally small category is a category such that for all objects a and b, the hom-class hom(a, b) is a set, called a homset. 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 an algebraic structure similar to a monoid but without requiring closure properties. Large categories on the other hand can be used to create "structures" of algebraic structures.

Examples

The class of all sets (as objects) together with all functions between them (as morphisms), where the composition of morphisms is the usual function composition, forms a large category, Set. It is the most basic and the most commonly used category in mathematics. The category Rel consists of all sets (as objects) with binary relations between them (as morphisms). Abstracting from relations instead of functions yields allegories, a special class of categories.

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

Any preordered set (P, ≤) forms a small category, where the objects are the members of P, the morphisms are arrows pointing from x to y when xy. Furthermore, if is antisymmetric, 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 the reflexivity and the transitivity of the preorder. By the same argument, any partially ordered set and any equivalence relation can be seen as a small category. Any ordinal number can be seen as a category when viewed as an ordered set.

Any monoid (any algebraic structure with a single associative binary operation and an identity element) forms a small category with a single object x. (Here, x is any fixed set.) The morphisms from x to x are precisely the elements of the monoid, the identity morphism of x 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 any group can be seen as a category with a single object in which every morphism is invertible, that is, for every morphism f there is a morphism g that is both left and right inverse to f under composition. A morphism that is invertible in this sense is called an isomorphism.

A groupoid is a category in which every morphism is an isomorphism. Groupoids are generalizations of groups, group actions and equivalence 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 space X and fix a base point of X, then is the fundamental group of the topological space X and the base point , and as a set it has the structure of group; if then let the base point runs over all points of X, and take the union of all , then the set we get has only the structure of groupoid (which is called as the fundamental groupoid of X): 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.

Any directed graph generates a small category: the objects are the vertices of the graph, and the morphisms are the paths in the graph (augmented with loops as needed) where composition of morphisms is concatenation of paths. Such a category is called the free 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 a concrete category, i.e. a category obtained by adding some type of structure onto Set, and requiring that morphisms are functions that respect this added structure.

The class of all groups with group homomorphisms as morphisms and function composition as the composition operation forms a large category, Grp. Like Ord, Grp is a concrete category. The category Ab, consisting of all abelian groups and their group homomorphisms, is a full subcategory of Grp, and the prototype of an abelian category.

The class of all graphs 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.

Category Objects Morphisms
Set sets functions
Ord preordered sets monotone-increasing functions
Mon monoids monoid homomorphisms
Grp groups group homomorphisms
Grph graphs graph homomorphisms
Ring rings ring homomorphisms
Field fields field homomorphisms
R-Mod R-modules, where R is a ring R-module homomorphisms
VectK vector spaces over the field K K-linear maps
Met metric spaces short maps
Meas measure spaces measurable functions
Top topological spaces continuous functions
Manp smooth manifolds p-times continuously differentiable maps

Fiber bundles with bundle maps between them form a concrete category.

The category Cat consists of all small categories, with functors between them as morphisms.

Construction of new categories

Dual category

Any category C 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 the dual or opposite category and is denoted Cop.

Product categories

If C and D are categories, one can form the product category C × D: the objects are pairs consisting of one object from C and one from D, and the morphisms are also pairs, consisting of one morphism in C and one in D. Such pairs can be composed componentwise.

Types of morphisms

A morphism f : ab is called

  • a monomorphism (or monic) if it is left-cancellable, i.e. fg1 = fg2 implies g1 = g2 for all morphisms g1, g2 : xa.
  • an epimorphism (or epic) if it is right-cancellable, i.e. g1f = g2f implies g1 = g2 for all morphisms g1, g2 : bx.
  • a bimorphism if it is both a monomorphism and an epimorphism.
  • a retraction if it has a right inverse, i.e. if there exists a morphism g : ba with fg = 1b.
  • a section if it has a left inverse, i.e. if there exists a morphism g : ba with gf = 1a.
  • an isomorphism if it has an inverse, i.e. if there exists a morphism g : ba with fg = 1b and gf = 1a.
  • an endomorphism if a = b. The class of endomorphisms of a is denoted end(a). For locally small categories, end(a) is a set and forms a monoid under morphism composition.
  • an automorphism if f is both an endomorphism and an isomorphism. The class of automorphisms of a is denoted aut(a). For locally small categories, it forms a group under morphism composition called the automorphism group of a.

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 as fg = h) can most conveniently be represented with commutative diagrams, where the objects are represented as points and the morphisms as arrows.

Types of categories

  • In many categories, e.g. Ab or VectK, the hom-sets hom(a, b) are not just sets but actually abelian groups, and the composition of morphisms is compatible with these group structures; i.e. is bilinear. Such a category is called preadditive. If, furthermore, the category has all finite products and coproducts, it is called an additive category. If all morphisms have a kernel and a cokernel, and all epimorphisms are cokernels and all monomorphisms are kernels, then we speak of an abelian category. A typical example of an abelian category is the category of abelian groups.
  • A category is called complete if all small limits exist in it. The categories of sets, abelian groups and topological spaces are complete.
  • A category is called cartesian 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 include Set and CPO, the category of complete partial orders with Scott-continuous functions.
  • A topos 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

Notes

  1. ^ Barr & Wells 2005, Chapter 1
  2. ^ Some authors write Mor(a, b) or simply C(a, b) instead.

References

  • Adámek, Jiří; Herrlich, Horst; Strecker, George E. (1990), Abstract and Concrete Categories (PDF), Wiley, ISBN 0-471-60922-6 (now free on-line edition, GNU FDL).
  • Asperti, Andrea; Longo, Giuseppe (1991), Categories, Types and Structures, MIT Press, ISBN 0-262-01125-5.
  • Awodey, Steve (2006), Category theory, Oxford logic guides, vol. 49, Oxford University Press, ISBN 978-0-19-856861-2.
  • Barr, Michael; Wells, Charles (2005), Toposes, Triples and Theories, Reprints in Theory and Applications of Categories, vol. 12 (revised ed.), MR 2178101.
  • Borceux, Francis (1994), "Handbook of Categorical Algebra", Encyclopedia of Mathematics and its Applications, vol. 50–52, Cambridge: Cambridge University Press, ISBN 0-521-06119-9.
  • "Category", Encyclopedia of Mathematics, EMS Press, 2001 [1994]
  • Herrlich, Horst; Strecker, George E. (2007), Category Theory, Heldermann Verlag, ISBN 978-3-88538-001-6.
  • Jacobson, Nathan (2009), Basic algebra (2nd ed.), Dover, ISBN 978-0-486-47187-7.
  • Lawvere, William; Schanuel, Steve (1997), Conceptual Mathematics: A First Introduction to Categories, Cambridge University Press, ISBN 0-521-47249-0.
  • Mac Lane, Saunders (1998), Categories for the Working Mathematician, Graduate Texts in Mathematics, vol. 5 (2nd ed.), Springer-Verlag, ISBN 0-387-98403-8.
  • Marquis, Jean-Pierre (2006), "Category Theory", in Zalta, Edward N. (ed.), Stanford Encyclopedia of Philosophy.
  • Sica, Giandomenico (2006), What is category theory?, Advanced studies in mathematics and logic, vol. 3, Polimetrica, ISBN 978-88-7699-031-1.
  • category at the nLab

Read other articles:

Da Bo Gong (Hanzi: 大伯公; Pinyin: Dàbó Gōng Hakka: Thai phak kung: Fujian/Hokkian: Tuā-peh-kong) merupakan Dewa Air yang dikenal di wilayah Malaya dan Indonesia. Dia dipuja semenjak zaman Dinasti Song oleh para pelaut demi keamanan pelayaran. Para imigran China yang bekerja di perkebunan lada di Semenanjung Malaya mulai memuja dia pada awal abad 19. Diyakini bahwa keberadaan Da Bo Gong di Penang adalah 40 tahun sebelum kedatangan Kapten Francis Light pada tahun 1746. Etimologi...

 

Anelaphus parallelus Klasifikasi ilmiah Kerajaan: Animalia Filum: Arthropoda Kelas: Insecta Ordo: Coleoptera Famili: Cerambycidae Genus: Anelaphus Spesies: Anelaphus parallelus Anelaphus parallelus adalah spesies kumbang tanduk panjang yang tergolong famili Cerambycidae. Spesies ini juga merupakan bagian dari genus Anelaphus, ordo Coleoptera, kelas Insecta, filum Arthropoda, dan kingdom Animalia. Larva kumbang ini biasanya mengebor ke dalam kayu dan dapat menyebabkan kerusakan pada batang ka...

 

Girl's Day Everyday #4Album mini karya Girl's DayDirilis14 Juli 2014 (2014-07-14)Durasi14:42Label Dream Tea Entertainment LOEN Entertainment Produser Duble Sidekick David Kim Radio Galaxi Tenzo&Tasco Kronologi Girl's Day Girl's Day Everyday #3(2014) Girl's Day Everyday #4(2014) Love(2015) Singel dalam album Girl's Day Everyday #4 DarlingDirilis: 14 Juli 2014 Video musikDarling' di YouTube Judul yang benar dari artikel ini adalah Girl's Day Everyday #4. penggantian tanda # karena ...

Right-wing hoax Starting in 2021, a false rumor alleged that certain North American schools were providing litter boxes in bathrooms for students who identify as cats, or who participate in the furry or otherkin subcultures. Various American conservative and right-wing politicians and media personalities promoted the hoax in response to several school districts enacting protections for transgender students.[1][2] Many news outlets, fact-checking websites, and academic research...

 

Indian economist and philosopher This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Amartya Sen – news · newspapers · books · scholar · JSTOR (June 2023) (Learn how and when to remove this template...

 

Empis nigripes Klasifikasi ilmiah Kerajaan: Animalia Filum: Arthropoda Kelas: Insecta Ordo: Diptera Famili: Empididae Genus: Empis Spesies: Empis nigripes Nama binomial Empis nigripesFabricius, 1794 Empis nigripes adalah spesies lalat yang tergolong ke dalam famili Empididae. Spesies ini juga merupakan bagian dari genus Empis dan ordo Diptera.[1][2] Nama ilmiah dari spesies ini pertama kali diterbitkan pada tahun 1794 oleh Fabricius. Referensi ^ Bisby F.A., Roskov Y.R., Orrel...

Untuk kegunaan lain, lihat Garuda (disambiguasi). Garudaगरुड़Lukisan Garuda membawa tirta amerta, dari India, dibuat sekitar awal abad ke-19.Tokoh mitologi IndiaNamaGarudaEjaan Dewanagariगरुड़Ejaan IASTGaruḍaNama lainGarula, KaruraKitab referensiPurana, MahabharataGolonganmakhluk setengah manusia setengah burungAyahKasyapaIbuWinataSaudaraAruna, Sumati[1]IstriUnnati[2]AnakSumuka[3] Garuda (Dewanagari: गरुड़; ,IAST: Garuḍa, ग...

 

River in BulgariaOsamLocationCountryBulgariaPhysical characteristicsSource  • locationLevski Peak • coordinates42°43′11″N 24°46′49″E / 42.71972°N 24.78028°E / 42.71972; 24.78028 • elevation1,821 m (5,974 ft) Mouth  • locationDanube near Nikopol • coordinates43°42′7″N 24°51′10″E / 43.70194°N 24.85278°E / 43.70194; 24.85...

 

Annual Israeli protest Not to be confused with 2018–2019 Gaza border protests. The 2015 March of Return in Hadatha The March of Return (Arabic: مسيرة العودة, romanized: Masīrat al-ʻAwdah) is an annual protest march in Israel organized by the Association for the Defence of the Rights of the Displaced (ADRID), also known as the Committee of the Uprooted,[1] which represents the Present absentees, i.e. the Palestinian citizens of Israel who are internally displaced. T...

この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?: コルク – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL(2017年4月) コルクを打ち抜いて作った瓶の栓 コルク(木栓、�...

 

Византийские монетные дворы — монетные дворы, учреждённые и действовавшие в Византийской империи. Кроме основных дворов в Константинополе и других крупных городах, существовало много мелких в провинциях. В большинстве своём такие малые дворы были основаны в VI веке, �...

 

Франц Саксен-Кобург-Заальфельдскийнем. Franz von Sachsen-Coburg-Saalfeld герцог Саксен-Кобург-Заальфельдский 8 сентября 1800 — 9 декабря 1806 Предшественник Эрнст Фридрих Саксен-Кобург-Заальфельдский Преемник Эрнст I Саксен-Кобург-Заальфельдский Рождение 15 июля 1750(1750-07-15)Кобург, Сакс...

US government working group Agency overviewFormedSeptember 24, 1990Agency executivesAlejandra Ceja, Executive DirectorMarco Davis, Deputy DirectorParent agencyUS Department of EducationWebsiteED.gov/HispanicInitiative This article is part of a series onEducation in theUnited States Summary By state and in insular areas By subject area History of education in the United States History of education in Chicago History of education in Kentucky History of education in Massachusetts History of educ...

 

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يناير 2020) العلاج المعرفي السلوكي للأرق هو تقنية لعلاج الأرق دون الحاجة إلى الأدوية (أو إلى جانبها). الأرق هو اضطراب نوم شائع يشمل الصعوبة في الدخول في النوم، أو الاستمر...

 

SS commander and war criminal (1900–1959) Fritz KraemerKraemer in 1944Born12 December 1900Stettin, Kingdom of Prussia, German EmpireDied23 June 1959(1959-06-23) (aged 58)Hamburg, West GermanyAllegiance Nazi GermanyService/branchArmy (Wehrmacht) Waffen SSRankSS-BrigadeführerCommands heldI SS Panzer CorpsSS Division HitlerjugendBattles/warsWorld War IIAwardsKnight's Cross of the Iron Cross Fritz Kraemer (12 December 1900 – 23 June 1959) was a high-ranking Waffen-SS commander and ...

  关于与「瓦朗謝訥」標題相近或相同的条目页,請見「瓦朗謝訥 (消歧義)」。 瓦朗谢讷Valenciennes 法國城市上:瓦朗谢讷街头的有轨电车;左中:瓦朗谢讷火车站;右中:美术博物馆;左下:埃诺球场;正下:商业广场;右下:旅游局 圖章瓦朗谢讷的位置 瓦朗谢讷显示法国的地图瓦朗谢讷显示北部省 (法国)的地图坐标:50°21′29″N 3°31′24″E / 50.3580...

 

2015 Grand Rapids mayoral election ← 2011 August 4, 2015[1] 2019 → Turnout15.76%   Candidate Rosalynn Bliss Robert Dean Party nonpartisan candidate nonpartisan candidate Popular vote 13,294 6,053 Percentage 65.87% 29.99% Precinct resultsBliss:      40–50%      50–60%      60–70%      70–80%      80–90%Dean:   ...

 

Promozione 1984-1985 Competizione Promozione Sport Calcio Edizione 18ª Organizzatore L.N.D.Comitati Regionali Luogo  Italia Formula 26 gironi all'italiana Cronologia della competizione 1983-1984 1985-1986 Manuale Nella stagione 1984-1985, la Promozione era il sesto livello del calcio italiano (il primo livello regionale). Il campionato è strutturato in vari gironi all'italiana su base regionale, gestiti dai Comitati Regionali di competenza. Promozioni alla categoria superiore e retroc...

Kalium klorat The structure of the ions in potassium chlorate The crystal structure of potassium chlorate Nama Nama lainKalium klorat(V), Potkrat Penanda Nomor CAS 3811-04-9 Y 3D model (JSmol) Interactive image ChemSpider 18512 Y ECHA InfoCard 100.021.173 Nomor EC 223-289-7 PubChem CID 6426889 RTECS number FO0350000 UNII H35KS68EE7 Y Nomor UN 1485 InChI InChI=1S/ClHO3.K/c2-1(3)4;/h(H,2,3,4);/q;+1/p-1 YKey: VKJKEPKFPUWCAS-UHFFFAOYSA-M Y InChI=1/ClHO3.K/c2-1(3)4;/...

 

Roman Catholic diocese in Lithuania Military Ordinariate of LithuaniaLietuvos kariuomenės ordinariatasLocationCountry LithuaniaCoordinates54°40′56″N 25°16′58″E / 54.68222°N 25.28278°E / 54.68222; 25.28278InformationDenominationRoman CatholicSui iuris churchLatin ChurchRiteLatin RiteEstablished25 November 2000 (23 years ago)CathedralCathedral of St. Ignatius of Loyola, VilniusCurrent leadershipPopeFrancisBishopVacantApostolic AdministratorGintaras Gru�...