Left to Solve
Problems / MathOverflow (not formalized)

Distributive law of the non-empty list comonad over the non-empty list monad

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

Statement

Preliminaries

A monad is a triple , with a functor, and two natural transformations such that the following diagrams commute.

For example, the triple is the non-empty list monad, with (i.e., non-empty lists), (i.e., concatenation), and (i.e., singleton list) for .

A comonad is a triple , with a functor, and two natural transformations such that the following diagrams commute.

For example, the triple is the non-empty list comonad, with (i.e., returns the head of the list), and (i.e., returns the list of tails).

A distributive law of the comonad over the monad is a natural transformation such that the following diagrams commute.

As a candidate for a distributive law, we …

Posed by BenjaminLion · ct.category-theory, monads

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-455373.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-455373.lean

import Mathlib

/-!
# Distributive law of the non-empty list comonad over the non-empty list monad

Source: https://mathoverflow.net/questions/455373
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_455373

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

theorem main : sorry := by
  sorry

end OMA.S_mo_455373