ArticleslgStudy

science

Compact closed category

Compact closed category is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Compact closed category rather than just read about it. In short: In category theory, a branch of mathematics, compact closed categories are a general context for treating dual objects. The idea of a dual object generalizes the more familiar concept of the dual of a finite-dimensional vector space.

Key takeaways

  • Compact closed category belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Compact closed category to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Compact closed category from memory before moving on to harder problems.

Reference excerpt

In category theory, a branch of mathematics, compact closed categories are a general context for treating dual objects. The idea of a dual object generalizes the more familiar concept of the dual of a finite-dimensional vector space. So, the motivating example of a compact closed category is FdVect, the category having finite-dimensional vector spaces as objects and linear maps as morphisms, with tensor product as the monoidal structure. Another example is Rel, the category having sets as objects and relations as morphisms, with Cartesian monoidal structure.

Definition A symmetric monoidal category (𝐂,⊗,I) is compact closed if every object A∈𝐂 has a dual object. If this holds, the dual object is unique up to canonical isomorphism, and is denoted A∗. In a bit more detail, an object A∗ is called the dual of A if it is equipped with two morphisms called the unit ηA:I→A∗⊗A and the counit εA:A⊗A∗→I, satisfying the equations

λA∘(εA⊗idA)∘αA,A∗,A−1∘(idA⊗ηA)∘ρA−1=idA and

ρA∗∘(idA∗⊗εA)∘αA∗,A,A∗∘(ηA⊗idA∗)∘λA∗−1=idA∗, where λ,ρ are the introduction of the unit on the left and right, respectively, and α is the associator. For clarity, we rewrite the above compositions diagrammatically. In order for (𝐂,⊗,I) to be compact closed, we need the following composites to equal idA:

A→≅A⊗I→A⊗ηA⊗(A∗⊗A)→≅(A⊗A∗)⊗A→ϵ⊗AI⊗A→≅A and idA∗:

A∗→≅I⊗A∗→η⊗A∗(A∗⊗A)⊗A∗→≅A∗⊗(A⊗A∗)→A∗⊗ϵA∗⊗I→≅A∗

Non-symmetric compact closed categories Some authors, especially in computational linguistics, allow for the monoidal operation ⊗ to be non-symmetric. Suppose (𝐂,⊗,I) is a monoidal category, not necessarily symmetric, such as in the case of a pregroup grammar. The above notion of having a dual A∗ for each object A is replaced by that of having both a left and a right adjoint, Al and Ar, with a corresponding left unit ηAl:I→A⊗Al, right unit ηAr:I→Ar⊗A, left counit εAl:Al⊗A→I, and right counit εAr:A⊗Ar→I. These must satisfy the four yanking conditions, namely that each of the following compositions are identity morphisms:

A→A⊗I→ηrA⊗(Ar⊗A)→(A⊗Ar)⊗A→ϵrI⊗A→A A→I⊗A→ηl(A⊗Al)⊗A→A⊗(Al⊗A)→ϵlA⊗I→A and

Ar→I⊗Ar→ηr(Ar⊗A)⊗Ar→Ar⊗(A⊗Ar)→ϵrAr⊗I→Ar Al→Al⊗I→ηlAl⊗(A⊗Al)→(Al⊗A)⊗Al→ϵlI⊗Al→Al That is, in the general case, a compact closed category is both left and right-rigid, and biclosed. Non-symmetric compact closed categories find applications in linguistics, in the area of categorial grammars and specifically in pregroup grammars, where the distinct left and right adjoints are required to capture word-order in sentences. In this context, compact closed monoidal categories are called (Lambek) pregroups.

Properties Compact closed categories are a special case of monoidal closed categories, which in turn are a special case of closed categories. Compact closed categories are precisely the symmetric autonomous categories. They are also *-autonomous. Every compact closed category C admits a trace. Namely, for every morphism f:A⊗C→B⊗C, one can define

TrA,BC(f)=ρB∘(idB⊗εC)∘αB,C,C∗∘(f⊗C∗)∘αA,C,C∗−1∘(idA⊗ηC∗)∘ρA−1:A→B which can be shown to be a proper trace. It helps to draw this diagrammatically: A→≅A⊗I→A⊗ηC∗A⊗(C⊗C∗)→≅(A⊗C)⊗C∗→f⊗C∗(B⊗C)⊗C∗→≅B⊗(C⊗C∗)→B⊗εCB⊗I→≅B.

Examples The canonical example is the category FdVect with finite-dimensional vector spaces as objects and linear maps as morphisms. Here A∗ is the usual dual of the vector space A. The category of finite-dimensional representations of any group is also compact closed. The category Vect, with all vector spaces as objects and linear maps as morphisms, is not compact closed; it is symmetric monoidal closed.

Simplex category The simplex category can be used to construct an example of non-symmetric compact closed category. The simplex category is the category of non-zero finite ordinals (viewed as totally ordered sets); its morphisms are order-preserving (monotone) maps. We make it into a monoidal category by moving to the arrow category, so the objects are morphisms of the original category, and the morphisms are commuting squares. Then the tensor product of the arrow category is the original composition operator. The left and right adjoints are the min and max operators; specifically, for a monotone map f one has the right adjoint

fr(n)=sup⁡{m∈ℕ∣f(m)≤n} and the left adjoint

fl(n)=inf⁡{m∈ℕ∣n≤f(m)} The left and right units and counits are:

id≤f∘fl(left unit) id≤fr∘f (right unit) fl∘f≤id(left counit) f∘fr≤id(right counit) One of the yanking conditions is then

f=f∘id≤f∘(fr∘f)=(f∘fr)∘f≤id∘f=f. The others follow similarly. The correspondence can be made clearer by writing the arrow → instead of ≤, and using ⊗ for function composition ∘.

Dagger compact category A dagger symmetric monoidal category which is compact closed is a dagger compact category.

Rigid category

A monoidal category that is not symmetric, but otherwise obeys the duality axioms above, is known as a rigid category. A monoidal category where every object has a left (resp. right) dual is also sometimes called a left (resp. right) autonomous category. A monoidal category where every object has both a left and a right dual is sometimes called an autonomous category. An autonomous category that is also symmetric is then a compact closed category.

References

Kelly, G.M.; Laplaza, M.L. (1980). "Coherence for compact closed categories". Journal of Pure and Applied Algebra. 19: 193–213. doi:10.1016/0022-4049(80)90101-2. Kelly, G. M. (1972). "Many-variable functorial calculus. I.". Coherence in Categories. Lecture Notes in Mathematics. Vol. 281. pp. 66–105. doi:10.1007/BFb0059556. ISBN 978-3-540-05963-9. Houston, Robin (2008). "Finite products are biproducts in a compact closed category". Journal of Pure and Applied Algebra. 212 (2): 394–400. arXiv:math/0604542. doi:10.1016/j.jpaa.2007.05.021.

Worked examples

Example 1 — a first encounter with Compact closed category

Start with the simplest possible case. Write down what Compact closed category claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Compact closed category before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Compact closed category ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Compact closed category

In research
Compact closed category appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Compact closed category in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Compact closed category is common in secondary-school and first-year university syllabi. It links to neighbouring topics Closed categories, Monoidal categories, so understanding it makes those chapters shorter.
In everyday life
Look for Compact closed category outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Compact closed category” →

How to study Compact closed category in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Compact closed category means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Compact closed category out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Compact closed category in simple terms?

In category theory, a branch of mathematics, compact closed categories are a general context for treating dual objects. The idea of a dual object generalizes the more familiar concept of the dual of a finite-dimensional vector space.

Why does Compact closed category matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Compact closed category?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Compact closed category.

Tags

  • Closed categories
  • Monoidal categories

Keep exploring