We have seen that we can extend algebraic operations to powersets, and these extensions preserve linear equations. This allowed us to lift the powerset monad to the Eilenberg-Moore category of a monad presented by linear equations. Equivalently, this gives us sufficient conditions for a monad to distribute over the powerset monad.
Now we have some general results about multilinear extensions, we are finally at the point when we can:
- Generalise the monad lifting and distributive law results we have seen so far beyond the powerset monad.
- Identify what is special about linear equations that makes these constructions work.
The payoff will be theorems yielding lifted monads and distributive laws.
Closure Properties of Multilinear Morphism
We will work in a symmetric monoidal category, which we assume to be strict to keep discussions simple.
A first unsurprising result is that multilinear maps are closed under permutations of their arguments. Formally, if
is the multilinear extension of
and
is a natural transformation describing a permutation built using the symmetry natural transformation, then
is the multilinear extension of
The proof is a completely routine.
An important, and only slightly less obvious closure property is that multilinear extensions are closed under composition. For example, if
are the respective bilinear extensions of
then the composite
is the multilinear extension of
The proof is another routine diagram chase.
Preservation of Linear Equations
We now return to the setting of algebraic structures on sets. Consider a structure with binary operations:
satisfying the linear equation:
We can rephrase this in terms of composite morphisms as:
where is the natural transformation that orders the arguments on the righthand side correctly.
Using the closure properties of multilinear extensions, the composites:
are multilinear extensions of the left and right hand side of the previous equation. By the uniqueness of multilinear extensions:
and so the equation lifts from to multilinear extensions of the operations on
.
Note this argument would not work for equations that are not linear. The whole argument hinges on the proof principle that multilinear extensions are unique, but we have no closure property of multilinear extensions that allows us to drop or duplicate arguments. We will return to this topic in the next post.
We can generalise the above argument to an arbitrary linear equation, and so all such equations are preserved when extending operations to their multilinear extensions on .
Consequences
If monad is commutative and monad
has a presentation only requiring linear equations:
- The monad
lifts to the category
.
- There is a distributive law of type
.
Example: The multiset monad is both commutative and presented by linear equations. Therefore:
- For any commutative monad
there is a distributive law of type
.
- For any monad
with a presentation by linear equations, there is a distributive law of type
.
In particular, the multiset monad distributes over itself.
Summary
These results appear in Manes and Mulry “Monad Compositions I”, and many distributive laws arise in this way. These results are well-known, but the restriction linear equations is frustrating. In the next post, we will look at more recent results making a slightly different trade-off to circumvent the restriction to linear equations.
2 thoughts on “Linearity, Laws and Liftings”