Update: my Ph.D. thesis is now at the arXiv. Below is the abstract and a brief summary.
We reconcile the two different category-theoretic semantics of regular theories in predicate logic. A 2-category of regular fibrations is constructed, as well as a 2-category of regular proarrow equipments, and it is shown that the two are equivalent. A regular equipment is a cartesian equipment satisfying certain axioms, and a cartesian equipment is a slight generalization of a cartesian bicategory.
This is done by defining a tricategory whose objects are bicategories and whose morphisms are category-valued profunctors, and then defining an equipment to be a pseudo-monad in this tricategory. The resulting notion of equipment is compared to several existing ones. Most importantly, this involves showing that every pseudo-monad in has a Kleisli object. A strict 2-category of equipments, over locally discrete base bicategories, is identified, and cartesian equipments are defined to be the cartesian objects in this 2-category. Thus cartesian equipments themselves form a 2-category, and this is shown to admit a 2-fully-faithful functor from the 2-category of regular fibrations. The cartesian equipments in the image of this functor are characterized as those satisfying certain axioms, and hence a 2-category of regular equipments is identified that is equivalent to that of regular fibrations.
It is then shown that a regular fibration admits comprehension for predicates if and only if its corresponding regular equipment admits tabulation for morphisms, and further that the presence of tabulations for morphisms is equivalent to the existence of Eilenberg–Moore objects for co-monads. We conclude with a brief examination of the two different constructions of the effective topos, via triposes and via assemblies, in the light of the foregoing.
This is standard stuff, mostly:
We want to define the tricategory of bicategories and profunctors; we need to know what the following things are:
and then we define as here, and prove that it has Kleisli objects for pseudo-monads.
We can define an equipment to be a pseudo-monad in , and an equipment functor to be a (representable) monad (op-)morphism. The existence of Kleisli objects in ensures that these definitions recover those of Wood in Wood82 and Wood85. They also have a clear relationship to some of the later ideas in CKVW.
This is fine as far as it goes, but it gives us the wrong kind of 2-cell (what we get is not lax enough). So instead we show that our equipments and their morphisms form an ordinary category that is equivalent to the category underlying Shulman’s strict 2-category of framed bicategories and their morphisms. Then we can say that an equipment 2-cell is a framed transformation between corresponding framed functors.
That’s a bit of a swindle, but the alternative would be to develop a whole theory of ‘doubly-lax’ monad morphisms and lax monad 2-cells and so on. It ought to be done, certainly, but not here by us, simply because it would take too long.
We have a 2-category of equipments now, and it clearly has finite products, so we define a cartesian equipment to be a cartesian object in it. That’s a monoid object whose multiplication and unit maps are right adjoint to the diagonal and terminal maps. So we get a 2-category . When we spell out what it means for an equipment to be cartesian, it becomes obvious that a bicategory is a cartesian bicategory if and only if is a cartesian equipment.
As in Shulman08, from a regular fibration over some category we can construct a cartesian equipment (of ‘matrices’ in ): its objects are those of , its vertical/tight maps are the morphisms of and the category of horizontal maps and (globular) cells from to is . The important point now is that is a fully faithful functor .
If is a cartesian equipment, then is a bifibration, where is the morphism in arising from a morphism in , and is the terminal object of . In fact, it is almost a regular fibration: there are two Beck–Chevalley conditions required, one corresponding exactly to the notion of a separable object in a cartesian bicategory. The other has the Frobenius condition familiar from cartesian bicategories as a special case, but seems to be strictly more general. Cartesian equipments satisfying these two conditions are called regular equipments, and the 2-category of them is equivalent to that of regular fibrations.
Recall from here that if is a bifibration over such that the fibres have terminal objects , then has comprehension if each image functor has a right adjoint called extension. Say that comprehension is full if the extension functors are all fully faithful. In the presence of full comprehension, we can show that for any predicate in there is an equivalence
This is well known in the case of the fibration given at comprehension, where the extension of a presheaf is its category of elements.
We can view an equipment as a kind of double category, of course, and in that case we define the tabulation of a morphism to be an object together with a cell
that is universal as such, meaning that any other cell from the identity on some to , with vertical boundaries and , say, is given by composing this one with (the identity cell on) a unique vertical morphism . We’ll say that an equipment has tabulation if every horizontal morphism has a tabulation, and that these are full if the mates of the universal cells are invertible. The point of using the same notation as for comprehension is then that a regular fibration has (full) comprehension if and only if has (full) tabulation.
Recall that if is a comonad in a bicategory, then its Eilenberg--Moore object is, if it exists, the object that represents left -comodules. For an equipment, we say that an object is the EM object of if this property holds, and continues to hold when the functors involved are restricted to tight/vertical/representable maps. That’s equally to ask that the universal be tight and that composition with it preserve and detect tightness. We’ll say that an object is the EM object of with respect to tight maps if the representation property only holds for tight maps. We can link this notion with the previous two by means of the following result: a regular equipment has tabulation if and only if every comonad has an EM object with respect to tight maps. Moreover, these are genuine EM objects if and only if the corresponding tabulations are full.
There are two quite different ways to construct the effective topos: we start with the Kleene algebra of partial recursive functions, and then
construct the effective tripos: the hyperdoctrine over whose predicates over are -valued sets , ordered by if there exists a partial recursive function such that for any and , is defined and contained in . The effective topos is category of partial equivalence relations in ; or
construct the regular category of assemblies over : the full subcategory of the total category on the -sets such that each is non-empty, then take the exact completion of this.
Let be an ordered regular fibration. A partial equivalence relation over the type is relation on that is symmetric and transitive:
A morphism of pers is a relation that satisfies
These form a category . The effective topos is .
The category of assemblies is regular, so the allegory is unitary and tabular. Its effective completion is the splitting of equivalences : an equivalence is a symmetric monad, and these are the objects of the splitting, while a morphism is a module. The exact completion of is the category of maps in this allegory.
A unitary pre-tabular allegory is the same thing as a bicategory of relations. This extends to an equivalence of 2-categories. A bicategory of relations, in turn, is a regular equipment that is both locally ordered and chordate (all maps are tight).
The following two results then explain what and have to do with each other:
The full sub-bicategory of on the constant assemblies is equivalent to .
is equivalent to the splitting of the coreflexive morphisms in .
From the results of the previous section, the coreflexive splitting of a unitary pre-tabular allegory is both the tabular completion and the co-Eilenberg–Moore completion of that allegory considered as a cartesian equipment, and also the comprehensive completion of the corresponding regular fibration.