We have seen we can distribute any monad presented by linear equations over a commutative monad
. There is a balance between the assumptions on these two monads that yields a distributive law, but it is not the only choice. This time we look at strengthening our assumptions about the monad
so that we can weaken the restriction to presentations by linear equations on monad
and still have a distributive law.
The plan is quite simple. The previous results hinged on closure properties of multilinear extensions. Our approach is to consider classes of monads where we get stronger closure properties of multilinear extensions, so we continue to use uniqueness of multilinear extensions as our proof principle.
Special Classes of Monads
Throughout this post, will denote a commutative monad on a category with finite products.
Recall that is:
- Affine if
.
- Relevant if
- Cartesian if it is both affine and linear.
Frustratingly, there are several unrelated notions of Cartesian monad used in the literature, so some caution with this terminology is required.
Multilinear Extensions for Affine Monads
We begin by investigating a special case of when we can delete inputs and still get multilinear extensions.
Assume is an affine monad, and
is the multilinear extension of
then the composite
is the multilinear extension of
Intuitively, we can drop the second input and still get a multilinear extension.
To confirm multilinearity,
where the second step uses the assumed multilinearity of , and the third step uses the assumption
is affine.
Verifying the extension property is a routine application of naturality.
Generalising from this special case, multilinear extensions of affine monads are closed under deleting variables. Using the same argument as the previous post, affine monads preserve equations that delete but don’t duplicate variables. We will refer to such equations as strictly deleting, and use the term strictly deleting presentation in the obvious way.
Multilinear Extensions for Relevant Monads
We begin by looking at a special case of when we can duplicate inputs and still get a multilinear extension.
Assume is a relevant monad, and
is the multilinear extension of
then the composite
is the multilinear extension of
(Here is the usual diagonal or copying natural transformation.) Intuitively we can duplicate the input and still get a multilinear extension.
To confirm multilinearity,
where the second step uses the assumed multilinearity, and the final step uses relevance of .
Again, verifying the extension property is straightforward.
Generalising from this special case, multilinear extensions of relevant monads are closed under duplicating variables. Again, using the same argument as the previous post, relevant monads preserve equations that duplicate but don’t delete variables. We will refer to such equations as strictly duplicating, and use the term strictly duplicating presentation in the obvious way.
Consequences
Combining the proof principle of uniqueness of multilinear extensions with the additional closure properties above, we get a range of results. For a commutative monad there is a distributive law:
if
has a linear presentation.
is affine and
has a strictly deleting presentation.
is relevant and
has a strictly duplicating presentation.
is Cartesian and
is any finitary monad.
Summary
The preservation theorems involving affine, relevant and Cartesian monads appear in the PhD thesis of Louis Parlant, although the proof strategy was somewhat different. Continuing Manes emphasis on multilinear maps provides a uniform perspective on all the different results.