Although the name presumably refers to gluing along “two functors at once”, it turns out to also be closely connected to double categories, and in particular to comma double categories.
Double gluing along hom-sets with orthogonality
Coherence spaces via double gluing
We begin with the definition of coherence spaces, presented in a way that is amenable to generalization.
If and , write if . Given , let . Now a coherence space can be given by a set together with a set of cliques and a set of co-cliques that are orthogonal in the sense that and .
In this presentation of coherence spaces, we can regard as a relation , and as a relation . The relation is then a family of subsets .
General definition of double gluing along hom-sets with tight orthogonality
Let be a symmetric monoidal category with an object , and let a family of relations be given. (For coherence spaces, let and and be as above.
Let be an object of . The relation defines a Galois connection between and in the usual way: for we have , and likewise for we have .
We define a tight orthogonality space to be an object together with and that is a fixed point of this Galois connection, and . A morphism between tight orthogonality spaces is a morphism such that
if , then ;
if then .
Theorem: (Hyland-Schalk): If an orthogonality on a star-autonomous category satisfies four conditions for orthogonalities, a symmetry condition, and a precision condition, then the tight orthogonality spaces form a star-polycategory.
One source of good orthogonality relations are the focuses , from which we can let if . However, not all the useful orthogonalities arise from focuses.
phase semantics: Let be a commutative monoid, and let be given. Regarding as a one-object category, with object , we put if . Then an object of the orthogonality category is determined by a “fact” . However, to get the poset version of phase semantics we restrict the morphisms of the orthogonality category to the ones that come from the identity .
probabilistic coherence spaces: Let be the category of weighted relations, i.e. countable sets and -valued matrices between them. Let if . In other words, the focus comprises the scalars in . One then cuts down further to impose a bounded completeness condition.
quantum causal structure: Let , the category of finite dimensional Hilbert spaces and completely positive maps between them (see quantum operation, although here we do not begin by insisting that they are trace preserving). Let if . In other words, the focus is the singleton map . Now, for any finite dimensional Hilbert space , comprises “states” of , and a morphism is the same thing as a quantum operation, i.e. a completely positive trace preserving map.
Frölicher spaces: Let , let , and let if is smooth. In other words, the focus comprises the smooth maps.
General double gluing
Let be any (symmetric) polycategory and a co-subunary polycategory (i.e. all morphisms have codomain arity 0 or 1), and let be a polycategory functor. We consider as a vertically discrete double polycategory and as a functor into the double Chu construction. Similarly, consider as a vertically discrete double polycategory, including into as the horizontal polycategory.
The double gluing polycategory is then the comma double polycategory (i.e. the comma object in the 2-category of polycategories)
Note that:
If is a multicategory (i.e. a co-unary polycategory), then so is .
If has a counit that is terminal so that , is a representable multicategory (i.e. a symmetric monoidal category), and is representable and closed with products so that is a -autonomous category, then polycategory functors are equivalent to pairs of a lax symmetric monoidal functor and a functor together with a “contraction” satisfying a few axioms. This is how the definition is phrased in Hyland and Schalk.
If is a -polycategory, then -polycategory functors are equivalent to functors where is the underlying co-subunary polycategory of . If has a counit that is terminal so that , then these are equivalent to multicategory functors . In particular, we can double-glue along any lax symmetric monoidal functor with -autonomous domain.
If and are closed and representable with sufficient limits and colimits, then one can show (similarly to the conditions for a Chu construction to be representable) that is also representable (as a multicategory or a polycategory, respectively) and closed. Thus, double gluing can produce closed symmetric monoidal and -autonomous categories.
The case of double gluing along hom-functors, discussed above, is the case when so that is -autonomous, as above, and with , together with a restriction that the gluing morphisms be monic (and the additional “orthogonality” restriction.
References
Martin Hyland and Andrea Schalk, Glueing and orthogonality for models of linear logic, Theoretical Computer Science 294 (2003) 183–231 (pdf)