Natural numbers object in a double category
Statement
I've been playing with double categories. I'm having trouble figuring out appropriate laws for induction squares in a double category.
Assume an object .
Assume horizontal arrows
• zero
• successor
Then for all vertical arrows you want an induction principle/relator
\text{u}\colon \begin{split} & 0 & \\ \text{id} & \Rightarrow &P \\ & 0 & \end{split}\rightarrow \begin{split} & \text{S}& \\ P & \Rightarrow &P \\ & \text{S} & \end{split}\rightarrow \begin{split} &\text{id}&\\ \text{id} & \Rightarrow & P\\ &\text{id}& \end{split}
But I have trouble with figuring out appropriate laws for how the 2-cells compose.
I think classically you can get away with something similar to the category of relations where squares are just truth values but I think constructively you really want something like the category of spans where squares carry information.
Posed by user103478 · ct.category-theory, higher-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-422502.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-422502.lean
import Mathlib /-! # Natural numbers object in a double category Source: https://mathoverflow.net/questions/422502 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_422502 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_422502