The reason I bored you with the Yoneda equipment was to eventually double back to Tannakian reconstruction.

In a nutshell, Tannakian reconstruction lets us reconstruct the hom-set from a set of natural transformations between fiber functors:

\int_{\hat F \colon \hat A} \mathbf{Set}( \hat F a, \hat F b) \cong A(b, a)

Here, the end goes over the presheaf category.

We have previously learned that we can define a presheaf object in a double category, together with the evaluation functor E that works exactly like the fiber functor:

E \langle a, \hat F \rangle = \hat F a

In an equipment, we can define it as a companion to the Yoneda functor:

E = y_*

Furthermore, in a Yoneda equipment, as a generalization of full-faithfullness, we postulate that the unit of the adjunction:

y^* \dashv y_*

is an isomorhpism:

1 \cong y_* \odot y^*

The only missing piece of the puzzle is to realize that the end in the Tannakian formula is the right Kan lift.

Right Kan Lift

The right Kan Lift is defined as the right adjoint to postcomposition. This definition is easy to interpret when only functors are involved, because postcomposition is well defined: Postcomposing with f is a mapping:

g \mapsto f \circ g

so the right lift is defined as:

(f \circ -) \dashv \text{Rift}_f

The order of composition of profunctors is more convention-dependent, and the convention I used was for diagram-order composition, which happens to be the opposite of functor composition.

Thus, in \mathbb{P}rof, we’ll expand the adjunction to the following isomorphism of natural transformations between profunctors:

(S \odot P \Rightarrow Q) \cong (S \Rightarrow \text{Rift}_P Q)

In components, the left hand side is a double end:

\int_{a, c} (S \odot P) \langle a, c \rangle \to Q\langle a, c \rangle

Expanding the profunctor composition, we get:

\int_{a, c} \big( \int^b S \langle a, b \rangle \times P \langle b, c \rangle \big) \to Q \langle a, c \rangle

Using co-continuity, we can pull the coend out:

\int_{a, c, b} \big( S \langle a, b \rangle \times P \langle b, c \rangle \to Q \langle a, c \rangle \big)

We then curry the product:

\int_{a, c, b} \big( S \langle a, b \rangle \to (P \langle b, c \rangle \to Q \langle a, c \rangle ) \big)

and re-arrange the ends:

\int_{a, b} \big( S \langle a, b \rangle \to (\int_c P \langle b, c \rangle \to Q \langle a, c \rangle  ) \big)

We conclude that the right Kan lift is given by the formula:

(\text{Rift}_P Q) \langle a, b \rangle = \int_c (P \langle b, c \rangle \to Q \langle a, c \rangle )

What we did is a pretty standard calculation of a mapping out of a profunctor composition. We pull out the coend to turn it into an end, and then we curry the product.

A right Kan lift can be defined in a double category (actually, all we need is the horizontal=bicategorical part of it) using the counit 2-cell:

satisfying the universal property: Any 2-cell of the same shape as the counit uniquely factorizes through the counit:

Tannakian Reconstruction

We can now see that, in \mathbb{P}rof, the left hand side of the Tannakian formula is the right Kan lift of the evaluation profunctor along itself:

(\text{Rift}_E E) \langle b, a \rangle = \int_{\hat F \colon \hat A} \mathbf{Set}( E \langle a, \hat F \rangle, E \langle b, \hat F \rangle) \cong \int_{\hat F \colon \hat A} \mathbf{Set}( \hat F a, \hat F b)

In a Yoneda equipment, the evaluation profunctor is the companion to the Yoneda functor, so we can replace \text{Rift}_E E with \text{Rift}_{y_*} y_*.

Using the definition of the Right Kan lift as a right adjoint to postcomposition we have, for any S:

(S \odot y_* \Rightarrow y_*) \cong (S \Rightarrow \text{Rift}_{y_*} y_*)

In a proarrow equipment, the companion y_* has a right adjoint, the conjoint y^*. Graphically, this lets us bend the arrows in the diagram:

We get:

(S \Rightarrow \text{Rift}_{y_*} y_*) \cong (S \odot y_* \Rightarrow y_*) \cong (S \Rightarrow {y_*} \odot y^*)

Since S is arbitrary, we can use the Yoneda lemma (the bicategorical version) to conclude that:

\text{Rift}_{y_*} y_*  \cong {y_*} \odot y^*

Finally, in a Yoneda equipment we postulate the analog of the full-faithfullness of the Yoneda embedding:

1 \cong y_* \odot y^*

The Tannakian reconstruction in a Yoneda equipment can therefore be written as:

\text{Rift}_{y_*} y_* \cong 1

In a profunctor equipment, the unit on the right hand side is the hom-profunctor A(b, a).