arXiv:2610.37498cs.LOOct 2026

Manuscript Offprint

arXiv:2610.37498

Global Choice without Excluded Middle in Dependent Type Theory

Sewon Park

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Diaconescu's theorem derives excluded middle from the axiom of choice, using propositional extensionality. We show that in dependent type theory without propositional extensionality, global choice alone does not imply excluded middle. We consider extensional Martin-Löf type theory with an impredicative universe of propositions included in the universe of types, extended with a global choice operator. We construct a consistent model of this type theory and show that the model refutes excluded middle and propositional extensionality. The model is built from staged sets, sets whose elements appear at stages of a well-order. It further validates proof irrelevance, inductive families, quotients with soundness, and a cumulative hierarchy of universes, which together cover a large fragment of the type theory of the proof assistant Lean. Even together with these features, global choice does not imply excluded middle.

Keywords: Diaconescu's theorem, global choice, propositional extensionality, dependent type theory, models of type theory, Lean proof assistant

1 Introduction

Diaconescu's theorem states that the axiom of choice implies the law of excluded middle in every topos [Dia75]. The proof uses propositional extensionality, the principle that equivalent propositions are equal. Propositional extensionality holds in all toposes, but in dependent type theory it is an optional axiom. For example, the core library of Lean [dMKA +^{+}15] assumes propositional extensionality and uses it to derive excluded middle from global choice [Lea26]. We show that in dependent type theory global choice alone does not imply excluded middle.

We consider extensional Martin-Löf type theory [ML84] with an impredicative universe Prop of propositions. The universe Prop is included in the universe Type of types, with identity types IdA(a,b)\text{Id}_A(a,b): Prop for a type AA and a,ba,b: AA. In this type theory, global choice is an operator

choice:ΠX:Type∥X∥→X,\mathrm{choice}:\Pi_{X:\mathrm{Type}}\left\|X\right\|\rightarrow X,

where ∥X∥:=∀P:Prop.(X→P)→P\|X\| := \forall P: \text{Prop}. (X \to P) \to P is the propositional truncation of XX, encoded using the impredicativity of Prop.

Theorem 1.1. The type theory above with a global choice operator is consistent with

¬∀P:Prop.P∨¬Pand¬∀P,Q:Prop.(P⇔Q)⇒IdProp(P,Q)  .\neg\forall P:\mathsf{P r o p}.P\vee\neg P\qquad{a n d}\qquad\neg\forall P,Q:\mathsf{P r o p}.(P\Leftrightarrow Q)\Rightarrow\mathsf{I d}_{\mathsf{P r o p}}(P,Q)\;.

We prove Theorem 1.1 with a model built from staged sets. We first describe the model informally. Sections 2 to 4 give the precise definitions. A staged set is a set whose elements appear at stages 0, 1, 2, …. We interpret a proposition as the stage at which it becomes true, or as ∞\infty if it never becomes true. Thus two propositions pp and qq that become true at different stages are equivalent from stage max⁡(p,q)\max(p, q) on. The universe Prop is the staged set of the stages together with ∞\infty, each appearing at stage 0. Hence the identity proposition IdProp(p,q)\text{Id}_{\text{Prop}}(p, q) compares the stages themselves: it holds from stage 0 on when pp and qq coincide, and it never holds otherwise. For example, for p:=0p := 0 and q:=1q := 1, the equivalence p⇔qp \Leftrightarrow q holds from stage 1 on, while IdProp(p,q)\text{Id}_{\text{Prop}}(p, q) never holds. Hence propositional extensionality fails in the model.

Excluded middle fails for a similar reason. For a proposition pp that becomes true, the disjunction p∨¬pp \lor \neg p holds only from stage pp on. To prove ∀p:Prop.p∨¬p\forall p: \text{Prop}. p \lor \neg p at a stage nn, we assume p:Propp: \text{Prop}. Since every proposition in Prop appears at stage 0, assuming pp does not increase the stage. Hence p∨¬pp \lor \neg p has to hold at stage nn for every pp. When there is no last stage, this fails at every stage nn.

Types are staged sets as well. The truncation ∥X∥\|X\| of a type X becomes true at the stage at which the first element of X appears. The choice operator maps each nonempty type to one of the elements that appear first, chosen in the classical metatheory. Hence the chosen element is available as soon as ∥X∥\|X\| becomes true.

Theorem 1.1 applies to intensional Martin-Löf type theory as well, because the rules of the intensional theory are derivable in the extensional one. Since the model is a counter-model, every further rule that it validates strengthens the result. The model also validates proof irrelevance, inductive families, quotients with soundness, and a cumulative hierarchy of universes that contain Prop. That means global choice does not imply excluded middle even together with these rules. These rules cover a large fragment of the type theory of Lean, as specified in Carneiro's thesis [Car19].

Section 2 introduces staged sets. Section 3 lists the extra rules of the type theory for completeness, and then constructs the model as a category with families (CwF) [Hof97] of families of staged sets. Section 4 computes the logic of the model and proves Theorem 1.1. Section 5 shows further features that the model validates and relates them to Lean's type theory. Section 6 discusses related work. Appendix A lists the proof obligations of the model, as verified in Rocq [Roc25b].