Internal categories in an endofunctor category
Statement
Here we see the definition of an internal category in a monoidal category. We also know that endofunctor categories support a monoidal product which is actually functor composition. It is the case that a monoid in an endofunctor category is a monad, and so it makes sense that a comonoid is a comonad. We could take the route that an internal category here is a monad on the category of internal comonoids. It also looks to me like, if there is a comonad that is also a monad, we are done, we have an internal category. Does this make sense? Is it the case that if we have Frobenius monads (a monad that can be turned into a comonad) these are the internal categories?
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-179798.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-179798.lean
import Mathlib /-! # Internal categories in an endofunctor category Source: https://mathoverflow.net/questions/179798 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_179798 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_179798