Left to Solve
Problems / MathOverflow (not formalized)

Diaconescu's theorem in type theory without propositional extensionality

Open, not yet stated in LeanMathOverflow (not formalized)Logic & Foundationsdifficulty55/100

Statement

Diaconescu's theorem states that the axiom of choice implies excluded middle. It can be proven, e.g., in the internal logic of a topos, or in IZF. The usual proof is the following:

Proof: Assume AC and let be a proposition. Let and . Both are inhabited, therefore there exists a choice function on the set . If , then , thus . Likewise, if , then . In the remaining case where and , we show . Indeed, if we assume , we get contradicting . Thus for arbitrary , which is LEM. □

The essence of this question is: what does this theorem become in type theory?

To be clear, we formulate AC as

The most immediate encoding for and is as -types and . But the proof relies critically on being able to equate and if holds. To equate these as types, …

Posed by Jean Abou Samra · lo.logic, axiom-of-choice, constructive-mathematics, 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-486335.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-486335.lean

import Mathlib

/-!
# Diaconescu's theorem in type theory without propositional extensionality

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_486335