Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Diaconescu's theorem in type theory without propositional extensionality

Mathematical logic

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem 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 PPP be a proposition. Let U:={b∈{⊥,⊤} ∣ b=⊥∨P}U := \{b ∈ \{⊥, ⊤\} \ | \ b = ⊥ ∨ P\}U:={b∈{⊥,⊤} ∣ b=⊥∨P} and V:={b∈{⊥,⊤} ∣ b=⊤∨P}V := \{b ∈ \{⊥, ⊤\} \ | \ b = ⊤ ∨ P\}V:={b∈{⊥,⊤} ∣ b=⊤∨P}. Both are inhabited, therefore there exists a choice function fff on the set {U,V}\{U, V\}{U,V}. If f(U)=⊤f(U) = ⊤f(U)=⊤, then ⊤∈U⊤ ∈ U⊤∈U, thus PPP. Likewise, if f(V)=⊥f(V) = ⊥f(V)=⊥, then PPP. In the remaining case where f(U)=⊥f(U) = ⊥f(U)=⊥ and f(V)=⊤f(V) = ⊤f(V)=⊤, we show ¬P¬P¬P. Indeed, if we assume PPP, we get U={⊤,⊥}=VU = \{⊤, ⊥\} = VU={⊤,⊥}=V contradicting f(U)≠f(V)f(U) ≠ f(V)f(U)=f(V). Thus P∨¬PP ∨ ¬PP∨¬P for arbitrary PPP, which is LEM. □

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

To be clear, we formulate AC as

∏I:Type ∏X:I→Type(∏i:I∥X(i)∥→∥∏i:IX(i)∥)\prod_{I : \mathsf{Type}} \ \prod_{X : I → \mathsf{Type}} \left(\prod_{i : I} \left\|X(i)\right\| → \left\|\prod_{i : I} X(i)\right\|\right)∏I:Type​ ∏X:I→Type​(∏i:I​∥X(i)∥→∥∏i:I​X(i)∥)

The most immediate encoding for UUU and VVV is as ΣΣΣ-types U:=∑ b:Bool,b=⊥∨PU := \sum \ b : \mathsf{Bool}, b = ⊥ ∨ PU:=∑ b:Bool,b=⊥∨P and V:=∑ b:Bool,b=⊤∨PV := \sum \ b : \mathsf{Bool}, b = ⊤ ∨ PV:=∑ b:Bool,b=⊤∨P. But the proof relies critically on being able to equate UUU and VVV if PPP holds. To equate these as types, we seem to need both propositional extensionality and functional extensionality, first to equate the equivalent propositions b=⊥∨Pb = ⊥ ∨ Pb=⊥∨P and b=⊤∨Pb = ⊤ ∨ Pb=⊤∨P, then to equate the functions λ(b:Bool)⋅b=⊥∨Pλ (b : \mathsf{Bool}) ⋅ b = ⊥ ∨ Pλ(b:Bool)⋅b=⊥∨P and λ(b:Bool)⋅b=⊤∨Pλ (b : \mathsf{Bool}) ⋅ b = ⊤ ∨ Pλ(b:Bool)⋅b=⊤∨P.

A few months ago, I drafted a pull request to the Coq standard library which removes the need for functional extensionality in the variant of the theorem that appears there, by simply encoding UUU and VVV as the pairs of propositions (⊤,P)(⊤, P)(⊤,P) and (P,⊤)(P, ⊤)(P,⊤). But I still need propositional extensionality in order to equate these if PPP holds.

Question: Is Diaconescu's theorem provable without propositional extensionality?

To fix ideas, let us assume the calculus of inductive constructions as the background theory (so that we have ∥⋅∥\|⋅\|∥⋅∥ available — called inhabited in Coq — which lifts to the impredicative sort Prop\mathsf{Prop}Prop, and propositional extensionality is not already provable).

Statement and context adapted from MathOverflow · Jean Abou Samra

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : lo.logic · axiom-of-choice · constructive-mathematics · type-theory

Authors listed by the source : Jean Abou Samra

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : July 18, 2026

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni