ora-0018
1.6 Adjunctions and Kan extensions
Functors \(L:\mathcal C\rightleftarrows \mathcal D:R\) form an adjunction \(L\dashv R\) when there are natural equivalences
The left adjoint \(L\) preserves colimits; the right adjoint \(R\) preserves limits.
Kan extensions generalize extension, aggregation, restriction, and quantification. Let \(J:\mathcal A\to \mathcal B\) and \(F:\mathcal A\to \mathcal D\).
A left Kan extension of \(F\) along \(J\) is a functor \(\operatorname {Lan}_JF:\mathcal B\to \mathcal D\) universal among maps from \(F\) to functors restricted along \(J\):
A right Kan extension is universal in the opposite direction:
The pointwise formulas for Kan extensions are indexed by comma categories.
Given functors
the comma category \((S\downarrow T)\) has objects \((a,b,\alpha )\), where \(a\in \mathcal A\), \(b\in \mathcal B\), and \(\alpha :S(a)\to T(b)\). A morphism
consists of \(f:a\to a'\) and \(g:b\to b'\) satisfying
Thus a morphism in a comma category is precisely a commuting square in \(\mathcal C\) between the two displayed comparison arrows.
An object \(b\in \mathcal B\) may be regarded as a functor \(b:\mathbf1\to \mathcal B\). Consequently, \((J\downarrow b)\) has objects \((a,\alpha :J(a)\to b)\), while \((b\downarrow J)\) has objects \((a,\beta :b\to J(a))\). Each carries an evident projection \(\pi \) to \(\mathcal A\), selecting the object \(a\).
When the required (co)limits exist, Kan extensions are calculated pointwise:
Equivalently, these are the colimit and limit of \(F\circ \pi \). The arrow orientation matters: maps \(J(a)\to b\) contribute to left extension, whereas maps \(b\to J(a)\) contribute to right extension.
UODL reads the left Kan stage as universal candidate generation or evidence extension and the right Kan stage as universal consistency. This is a typed factorization, not a claim that every learning algorithm is secretly a Kan extension.
Given
the UDL semantic object is
whenever the displayed extensions exist.