Left to Solve
Problems / MathOverflow (not formalized)

(Co)Monad extension of Lawvere Theories

Open, not yet stated in LeanMathOverflow (not formalized)General Algebradifficulty55/100

Statement

Let be a skeleton of the category of finite Sets and all functions between them.

A Lawvere theory consists of a small category, with (necessarily strict associative) finite products and a strict finite product-preserving identity on objects functor . A map of Lawvere theories is a (necessary strict product preserving) functor that commutes with the functors and .

We can generate a monad from a Lawvere Theory in the following way:

The Monad may be described by the following colimit:

Can we find a similar definition of a category that is a theory in the same sense of a Lawvere theory, but that generates a (Co)Monad on Set, ie both a monad and comonad? Is there a way to define the (co)unit and (co)multiplication?

There is a bit of work in this direction by Behrisch, Kerkhoff,and Power.

As a concrete example, we have the List Monad, which has a Lawvere theory, that of Monoids. There is a bimonad that is an extension of the List Monad, namely the "Tails" comonad. We see it here. What would be the theory of this bimonad? Can we phrase it …

Posed by Ben Sprott · ct.category-theory

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-295674.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-295674.lean

import Mathlib

/-!
# (Co)Monad extension of Lawvere Theories

Source: https://mathoverflow.net/questions/295674
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_295674

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_295674