Left to Solve
Problems / MathOverflow (not formalized)

Spans as binary relations: reflexivity, transitivity, and completeness?

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

Statement

Let be a category, let be an object in , and let be a span from to itself. (That is: is a diagram , where is some other object in , and and are -morphisms.) It is common to think of as a sort of "abstract binary relation" on . (Indeed, if is the category of sets, then it is easy to represent every "ordinary" binary relation on a set as a span, and to interpret every span on as an ordinary binary relation.)

If is a set, then a weak order on is a binary relation on which is complete, reflexive, and transitive. I am interested in defining something analogous to a weak order in an abstract category, so I need something analogous to these three properties for abstract spans.

Reflexivity is straightforward. If is a span from to itself an abstract category, then we can define to be reflexive if it extends the identity span (that is, the span , where is the …

Posed by Marcus Pivato · ct.category-theory, order-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-243647.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-243647.lean

import Mathlib

/-!
# Spans as binary relations: reflexivity, transitivity, and completeness?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_243647