Skip to content

Profunctor

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

Version
v2 · 2026-11-14 · History
Domain-specific #
11514
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Category Theory → Mathematics

Core Idea

Profunctor is treated here as the recurring cross-domain formal modeling identity summarized by this source-grounded definition: In category theory, a branch of mathematics, profunctors are a generalization of relations and also of bimodules. In category theory, a branch of mathematics, profunctors are a generalization of relations and also of bimodules. An equivalent definition of a profunctor \phi : C\nrightarrow D is a category whose objects are the disjoint union of the objects of C and the objects of D , and whose morphisms are the morphisms of C and the morphisms of D , plus zero or.

How would you explain it like I'm…

 

No faithful explanation at this level. Two of three generators mark it na: a child-level 'lines connecting things in two groups' picture collapses a profunctor into a plain relation, losing the sets of connections that compose with arrows of both categories (C's bridge story is the lone dissent).

Bridges Between Collections

In a branch of math called category theory, there are 'categories': collections of things with arrows between them. A relation between two groups of things just says yes or no: is this thing connected to that one? A profunctor goes further. For each pair, one thing from each category, it gives a whole set of connections, and those connections have to fit together nicely with the arrows inside both categories. So it is a fancier version of a relation.

Generalized Categorical Relation

A profunctor is a concept from category theory that generalizes both relations and bimodules. A relation between two sets says, for each pair of elements, whether they are related. A profunctor from a category C to a category D instead assigns a set to each pair of an object of D and an object of C, and those sets transform in a consistent way along the arrows of both categories, in opposite directions for the D side. Formally, it is a functor from D-opposite times C to the category of sets. An equivalent picture is a single category containing all of C and all of D, plus some extra arrows going from objects of D to objects of C. It can also be seen as a functor from C into presheaves on D.

 

In category theory, profunctors generalize both relations and bimodules. A profunctor φ: C ⇸ D is standardly a functor from D^op × C to Set, assigning to each pair (d, c) a set of 'heteromorphisms' that is acted on contravariantly by D and covariantly by C. Equivalently, it is a category (the collage) whose objects are the disjoint union of those of C and D, whose morphisms include those of C and D, plus zero or more additional morphisms from objects of D to objects of C, with composition supplying the actions. Because Cat is cartesian closed, φ can also be seen as a functor from C to the presheaf category D̂ = Set^(D^op). Where a relation records only whether two elements are related, a profunctor records a set of ways, which is why it generalizes relations as well as bimodules. A correspondence from C to D is a profunctor D ⇸ C.

Scope of Application

  • Profunctors as categories. A functor is a special case of a profunctor in the same way that a function is a special case of a relation.

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

  • Definition. where D^\mathrm{op} denotes the opposite category of D and \mathbf{Set} denotes the category of sets.

  • Definition. Given morphisms f : d\to d', g : c\to c' respectively in D, C and an element x\in\phi(d',c) , we write xf\in \phi(d,c).

  • Definition. Using that the category of small categories \mathbf{Cat} is cartesian closed, the profunctor \phi can be seen as a functor.

Clarity

A clear use of Profunctor names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is In category theory, a branch of mathematics, profunctors are a generalization of relations and also of bimodules. The strongest recognition evidence in the frozen account is: Moreover, this is a characterization: a profunctor \phi : C\nrightarrow D has a right adjoint if and.

Manages Complexity

Profunctor compresses multiple cross-domain formal modeling details into a stable diagnostic relation. The source shows both the central mechanism—(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 \phi^\text{op}\times \phi \to \mathbf{Set} to D^\text{op}\times C .—and the practical consequence—given morphisms f : d\to d', g.

Abstract Reasoning

  1. Type the carrier. Identify the cross-domain formal modeling entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: In category theory, a branch of mathematics, profunctors are a generalization of relations and also of bimodules.
  3. Check operation and conditions. A functor F : C\to D can be seen as a profunctor \phiF : C\nrightarrow D by postcomposing with the Yoneda functor.
  4. Demand recognition evidence.

Knowledge Transfer

Within the home domain. Knowledge about Profunctor transfers literally when a new case preserves the same carrier type, relation, and recognition test. A functor is a special case of a profunctor in the same way that a function is a special case of a relation. A profunctor (also named distributor by the French school and module by the Sydney school) \,\phi from a category C to a category D , written. Beyond the home domain. No canonical parent is asserted for Profunctor.

Relationships to Other Abstractions

Local relationship map for ProfunctorParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.ProfunctorDOMAINDomain-specific abstraction: Functor — is a kind ofFunctorDOMAIN

Current abstraction Profunctor Domain-specific

Parents (1) — outgoing typed relations

  • Profunctor is a kind of Functor Domain-specific

    Profunctor is a strict kind of Functor: its frozen identity entails the parent's defining structure while adding domain-specific restrictions.

Hierarchy paths (4) — routes to 4 parentless roots

Neighborhood in Abstraction Space

Profunctor sits in a crowded region of the domain-specific corpus (36th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Algebraic Structures & Order Relations (18 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14