ArticleslgStudy

science

Span (category theory)

Span (category theory) 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 Span (category theory) rather than just read about it. In short: In category theory, a span, roof or correspondence is a generalization of the notion of relation between two objects of a category. When the category has all pullbacks (and satisfies a small number of other conditions), spans can be considered as morphisms in a category of fractions.

Key takeaways

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

Reference excerpt

In category theory, a span, roof or correspondence is a generalization of the notion of relation between two objects of a category. When the category has all pullbacks (and satisfies a small number of other conditions), spans can be considered as morphisms in a category of fractions. The notion of a span is due to Nobuo Yoneda (1954) and Jean Bénabou (1967).

Formal definition A span is a diagram of type Λ = ( − 1 ← 0 → + 1 ) , {\displaystyle \Lambda =(-1\leftarrow 0\rightarrow +1),} i.e., a diagram of the form Y ← X → Z {\displaystyle Y\leftarrow X\rightarrow Z} . That is, let Λ be the category (-1 ← 0 → +1). Then a span in a category C is a functor S : Λ → C. This means that a span consists of three objects X, Y and Z of C and morphisms f : X → Y and g : X → Z: it is two maps with common domain. The colimit of a span is a pushout.

Examples If R is a relation between sets X and Y (i.e. a subset of X × Y), then X ← R → Y is a span, where the maps are the projection maps X × Y → π X X {\displaystyle X\times Y{\overset {\pi _{X}}{\to }}X} and X × Y → π Y Y {\displaystyle X\times Y{\overset {\pi _{Y}}{\to }}Y} . Any object yields the trivial span A ← A → A, where the maps are the identity. More generally, let ϕ : A → B {\displaystyle \phi \colon A\to B} be a morphism in some category. There is a trivial span A ← A → B, where the left map is the identity on A, and the right map is the given map φ. If M is a model category, with W the set of weak equivalences, then the spans of the form X ← Y → Z , {\displaystyle X\leftarrow Y\rightarrow Z,} where the left morphism is in W, can be considered a generalised morphism (i.e., where one "inverts the weak equivalences"). Note that this is not the usual point of view taken when dealing with model categories.

Cospans A cospan K in a category C is a functor K : Λop → C; equivalently, a contravariant functor from Λ to C. That is, a diagram of type Λ op = ( − 1 → 0 ← + 1 ) , {\displaystyle \Lambda ^{\text{op}}=(-1\rightarrow 0\leftarrow +1),} i.e., a diagram of the form Y → X ← Z {\displaystyle Y\rightarrow X\leftarrow Z} . Thus it consists of three objects X, Y and Z of C and morphisms f : Y → X and g : Z → X: it is two maps with common codomain. The limit of a cospan is a pullback. An example of a cospan is a cobordism W between two manifolds M and N, where the two maps are the inclusions into W. Note that while cobordisms are cospans, the category of cobordisms is not a "cospan category": it is not the category of all cospans in "the category of manifolds with inclusions on the boundary", but rather a subcategory thereof, as the requirement that M and N form a partition of the boundary of W is a global constraint. The category nCob of finite-dimensional cobordisms is a dagger compact category. More generally, the category Span(C) of spans on any category C with finite limits is also dagger compact.

See also Binary relation Pullback (category theory) Pushout (category theory) Cobordism

References

Worked examples

Example 1 — a first encounter with Span (category theory)

Start with the simplest possible case. Write down what Span (category theory) 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 Span (category theory) 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 Span (category theory) 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 Span (category theory)

In research
Span (category theory) 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 Span (category theory) 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
Span (category theory) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Functors, so understanding it makes those chapters shorter.
In everyday life
Look for Span (category theory) 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 “Span (category theory)” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Span (category theory) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Span (category theory) 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 Span (category theory) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Span (category theory) in simple terms?

In category theory, a span, roof or correspondence is a generalization of the notion of relation between two objects of a category. When the category has all pullbacks (and satisfies a small number of other conditions), spans can be considered as morphisms in a category of fractions.

Why does Span (category theory) 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 Span (category theory)?

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 Span (category theory).

Tags

  • Functors

Keep exploring