Math 2.0

Category theory; homological algebra Definition

String diagram

Builds on Monoidal category

Definition

Let (π’ž,βŠ—,I)(\mathcal{C}, \otimes, I) be a strict monoidal category. A string diagram in π’ž\mathcal{C} is a picture in the strip ℝ×[0,1]\R \times [0, 1] with the following parts.

  1. Finitely many disjoint boxes, each labelled by a morphism f ⁣:A1βŠ—β‹―βŠ—Amβ†’B1βŠ—β‹―βŠ—Bnf \colon A_1 \otimes \cdots \otimes A_m \to B_1 \otimes \cdots \otimes B_n of π’ž\mathcal{C}.
  2. Finitely many disjoint wires, each an arc on which the height coordinate is strictly increasing, each labelled by an object of π’ž\mathcal{C}.
  3. Each wire starts at the bottom edge of the strip or at the top of a box. It ends at the top edge of the strip or at the bottom of a box.
  4. The wires entering a box labelled ff, read from left to right, carry A1,…,AmA_1, \ldots, A_m, and the wires leaving it carry B1,…,BnB_1, \ldots, B_n.

The value of the diagram is a morphism from the tensor product of the bottom labels to the tensor product of the top labels. To compute it, cut the strip by horizontal lines so that each slice contains at most one box. Each slice is then the tensor product of identities and one box. The value is the composite of the slices from bottom to top.

Remarks

This node reads diagrams from bottom to top; reading from top to bottom or from left to right is also common. The Joyal–Street theorem says that the value does not depend on the slicing, and is unchanged by deformations of the plane that keep the wires increasing. An empty region stands for the unit object II, so a box with no input wires is a morphism Iβ†’BI \to B. Example: a box labelled f ⁣:Aβ†’Bf \colon A \to B with one wire AA below and one wire BB above has value ff. Placing a box g ⁣:Cβ†’Dg \colon C \to D to its right gives fβŠ—gf \otimes g, and stacking a box h ⁣:Bβ†’Eh \colon B \to E on the wire BB above ff gives h∘fh \circ f. Non-example: a wire labelled AA entering a box labelled f ⁣:Bβ†’Cf \colon B \to C with Bβ‰ AB \ne A breaks clause 4, so the picture has no value. By Mac Lane's coherence theorem, every monoidal category is equivalent to a strict one, so string diagrams apply to all monoidal categories. Braided and symmetric monoidal categories allow wires to cross, and categories with duals allow wires to bend.

Reading path

To understand this page from the ground up, read these 2 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Monoidal category concept
  2. String diagram definition

Further reading

  1. Web https://en.wikipedia.org/wiki/String_diagram
About this page
TagSRRMJFCKVT
URIm2://SRRMJFCKVT
Kinddefinition
WritingW0 stub
MSC18M30, 18M05
DefinesString diagram
UsesMonoidal category
Changed2 November 2026

Markdown Β· JSON Β· Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.