Left to Solve
Problems / MathOverflow (not formalized)

Kleisli is initial, a coherence issue

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

Statement

Usually, when proving that the Kleisli adjunction of a monad is initial in the category of all adjunctions splitting the monad, we hide coherences under the carpet. Or so did I, until I got stubborn and tried to prove the result "for real" (and feed it to a proof assistant, so even realer).

Let's define a category as follows: fix a monad on a category and define ;

• an object in is an adjunction such that the induced monad is ; in agda pseudocode, [code]

• A morphism between and is a functor compatible with all I defined above: [code]

Clearly, I have to take into account these maps and , and agda is quite unforgiving about their presence in each and every proof. Evidently, this poses many coherence problems here and there, and even though it's practically evident how to define a unique functor that is a morphism in the above sense, and get in the way a lot. So much that I got stuck into a point where I suspect I have to require that the commutativity I need is, indeed, true.

Long story made very short, I …

Posed by fosco · 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-437693.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-437693.lean

import Mathlib

/-!
# Kleisli is initial, a coherence issue

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_437693