Distributive law of the non-empty list comonad over the non-empty list monad
Few votes (2) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Preliminaries
A monad is a triple \((M, \eta, \mu)\), with \(M\) a functor, \(\eta : \mathit{id} \Rightarrow M\) and \(\mu : M^2 \Rightarrow M\) two natural transformations such that the following diagrams commute.
For example, the triple \(M_L = (L, \eta_L, \mu_L)\) is the non-empty list monad, with \(L X = X^+\) (i.e., non-empty lists), \(\mu_L([l_1, ..., l_n]) = l_1 \ \mathrm{++}\ ...\ \mathrm{++}\ l_n\) (i.e., concatenation), and \(\eta_L(x) = [x]\) (i.e., singleton list) for \(x \in X\).
A comonad is a triple \((W, \epsilon, \delta)\), with \(W\) a functor, \(\epsilon : W \Rightarrow \mathit{id}\) and \(\delta : W \Rightarrow W^2\) two natural transformations such that the following diagrams commute.
For example, the triple \(W_L = (L, \epsilon_L, \delta_L)\) is the non-empty list comonad, with \(\epsilon_L([x_1, ..., x_n]) = x_1\) (i.e., returns the head of the list), and $\delta_L([x_1, x_2, x_3]) = …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.