ArticleslgStudy

science

Profunctor

Profunctor 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 Profunctor rather than just read about it. In short: In category theory, a branch of mathematics, profunctors are a generalization of relations and also of bimodules. Definition A profunctor (also named distributor by the French school and module by the Sydney school) ϕ {\displaystyle \,\phi } from a category C {\displaystyle C} to a category D {\displaystyle D} , written ϕ : C ↛ D {\displaystyle \phi :C\nrightarrow D} , is defined to be a functor ϕ : D o p × C → S e…

Key takeaways

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

Reference excerpt

In category theory, a branch of mathematics, profunctors are a generalization of relations and also of bimodules.

Definition A profunctor (also named distributor by the French school and module by the Sydney school) ϕ {\displaystyle \,\phi } from a category C {\displaystyle C} to a category D {\displaystyle D} , written

ϕ : C ↛ D {\displaystyle \phi :C\nrightarrow D} , is defined to be a functor

ϕ : D o p × C → S e t {\displaystyle \phi :D^{\mathrm {op} }\times C\to \mathbf {Set} }

where D o p {\displaystyle D^{\mathrm {op} }} denotes the opposite category of D {\displaystyle D} and S e t {\displaystyle \mathbf {Set} } denotes the category of sets. Given morphisms f : d → d ′ , g : c → c ′ {\displaystyle f:d\to d',g:c\to c'} respectively in D , C {\displaystyle D,C} and an element x ∈ ϕ ( d ′ , c ) {\displaystyle x\in \phi (d',c)} , we write x f ∈ ϕ ( d , c ) , g x ∈ ϕ ( d ′ , c ′ ) {\displaystyle xf\in \phi (d,c),gx\in \phi (d',c')} to denote the actions. Using that the category of small categories C a t {\displaystyle \mathbf {Cat} } is cartesian closed, the profunctor ϕ {\displaystyle \phi } can be seen as a functor

ϕ ^ : C → D ^ {\displaystyle {\hat {\phi }}:C\to {\hat {D}}}

where D ^ {\displaystyle {\hat {D}}} denotes the category S e t D o p {\displaystyle \mathrm {Set} ^{D^{\mathrm {op} }}} of presheaves over D {\displaystyle D} . A correspondence from C {\displaystyle C} to D {\displaystyle D} is a profunctor D ↛ C {\displaystyle D\nrightarrow C} .

Profunctors as categories An equivalent definition of a profunctor ϕ : C ↛ D {\displaystyle \phi :C\nrightarrow D} is a category whose objects are the disjoint union of the objects of C {\displaystyle C} and the objects of D {\displaystyle D} , and whose morphisms are the morphisms of C {\displaystyle C} and the morphisms of D {\displaystyle D} , plus zero or more additional morphisms from objects of D {\displaystyle D} to objects of C {\displaystyle C} . The sets in the formal definition above are the hom-sets between objects of D {\displaystyle D} and objects of C {\displaystyle C} . (These are also known as het-sets, since the corresponding morphisms can be called heteromorphisms.) The previous definition can be recovered by the restriction of the hom-functor ϕ op × ϕ → S e t {\displaystyle \phi ^{\text{op}}\times \phi \to \mathbf {Set} } to D op × C {\displaystyle D^{\text{op}}\times C} . This also makes it clear that a profunctor can be thought of as a relation between the objects of C {\displaystyle C} and the objects of D {\displaystyle D} , where each member of the relation is associated with a set of morphisms. A functor is a special case of a profunctor in the same way that a function is a special case of a relation.

Composition of profunctors The composite ψ ϕ {\displaystyle \psi \phi } of two profunctors

ϕ : C ↛ D {\displaystyle \phi :C\nrightarrow D} and ψ : D ↛ E {\displaystyle \psi :D\nrightarrow E}

is given by

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Profunctor

Start with the simplest possible case. Write down what Profunctor 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 Profunctor 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 Profunctor 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 Profunctor

In research
Profunctor 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 Profunctor 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
Profunctor 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 Profunctor 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 “Profunctor” →

Affiliate

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

How to study Profunctor in 20 minutes

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

Frequently asked questions

What is Profunctor in simple terms?

In category theory, a branch of mathematics, profunctors are a generalization of relations and also of bimodules. Definition A profunctor (also named distributor by the French school and module by the Sydney school) ϕ {\displaystyle \,\phi } from a category C {\displaystyle C} to a category D {\dis…

Why does Profunctor 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 Profunctor?

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 Profunctor.

Tags

  • Functors

Keep exploring