Left to Solve
Problems / MathOverflow (not formalized)

An elegant formulation for typed sets

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

Statement

Fix a poset , which we'll think of as a set of "types," interpreting as " is more general than ." Construct a category of TSet as follows.

Objects: Pairs (, )

Arrows: Functions that respect type subsumption, i.e.

In the case where is a suitably nice poset (e.g. a frame, distributive lattice, cHA, ...), is there a slick formulation for such a category which makes it clear which (co)limits are hanging around and what properties they have?

Posed by Aleks Kissinger · ct.category-theory, order-theory, type-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-34750.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-34750.lean

import Mathlib

/-!
# An elegant formulation for typed sets

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_34750