Diaconescu's theorem explained
In mathematical logic, Diaconescu's theorem, or the Goodman–Myhill theorem, states that the full axiom of choice is sufficient to derive the law of the excluded middle or restricted forms of it.
The theorem was discovered in 1975 by Radu Diaconescu[1] and later by Goodman and Myhill.[2] Already in 1967, Errett Bishop posed the theorem as an exercise (Problem 2 on page 58 in Foundations of constructive analysis[3]).
In set theory
The theorem is a foregone conclusion over classical logic, where law of the excluded middle is assumed. The proof below is therefore given using the means of a constructive set theory. It is evident from the proof how the theorem relies on the axiom of pairing as well as an axiom of separation, of which there are notable variations. A crucial role in the set theoretic proof is also played by the axiom of extensionality. The subtleties the latter two axioms introduce are discussed further below.
Fixing terminology for the proof: Call a set finite if there exists a bijection with a natural number, i.e. a finite von Neumann ordinal. In particular, write
,
and
. For example, a set is finite with cardinality one (an inhabited singleton) if and only if there provenly exists a bijective function out of the set
. The proof below is straight forward in that it does not require pathological distinctions concerning the empty set. For a set
to have choice shall mean that if all its members are
inhabited,
is the domain of a
choice function. Lastly, for inhabited
, denote by
the proposition that
surjects onto
.
The strategy of the proof is to couple a given proposition
to a potential choice domain
. And in the end, only a rather restrained form of full choice must be made use of. For concreteness and simplicity, the section supposes a constructive set theory with
full Separation, i.e. we allow for comprehension involving
any proposition
. In that context, the following lemma then more sharply isolates the core insight:
The law of excluded middle is equivalent to choice in all inhabited sets
.
Once the backward-direction of this equivalence is a given, then the axiom of choice, in particular granting a choice function on all sets of this form, implies excluded middle for all propositions.
Proof of the lemma
Choice is valid in all finite sets.Given that in classical set theory the sets under consideration here are provably all finite (with exactly either the cardinalities one or two), the forward direction of the equivalence is thus established.
To prove the backward-direction one considers two subsets of any doubleton with two distinguishable members. As
, a convenient choice is again
. So, using Separation, let
U=\{x\in\{0,1\}\mid(x=0)\veeP\}
and
V=\{x\in\{0,1\}\mid(x=1)\lorP\}.
Both
and
are inhabited, as witnessed by
and
. If the proposition
can be proven, then both of these sets equal
. In particular,
by extensionality. In turn, for any
mathematical function
that can take both of these sets as an argument, one finds
, the
contrapositive of which is
.
The rest of the proof concerns the pair
, a set of inhabited sets. (Indeed,
is itself inhabited and even validates
, meaning it is finitely indexed. However, note that when not assuming excluded middle,
need not be provably finite, in the bijection sense.)
A choice function
on
by definition has to map into the general union
and fulfill
Using the definition of the two subsets and the function's established codomain, this reduces to
(f(U)=0\lorP)\land(f(V)=1\lorP).
Using the
law of distributivity, this in turn implies
. By the previous comment on functions, the existence of a choice function on this set thus implies the disjunction
. This concludes the proof of the lemma.
Discussion
As noted,
implies that both defined sets equal
. In that case, the pair
equals the
singleton set
and there are two possible choice functions on that domain, picking either
or
. If, instead,
can be rejected, i.e. if
holds, then
and
. So in that case
, and on the proper pair
there is only one possible choice function, picking the unique inhabitant of each singleton set. This last assignment "
and
" is not viable if
holds, as then the two inputs are actually the same. Similarly, the former two assignments are not viable if
holds, as then the two inputs share no common member. What can be said is that if a choice function exists at all, then there exists a choice function choosing
from
, and one (possibly the same function) choosing
from
.
For bivalent semantics, the above three explicit candidates are all the possible choice assignments.
One may define certain sets in terms of the proposition
and, using excluded middle, in classical set theory prove that these sets constitute choice functions
. Such a set represents an assignment conditioned on whether or not
holds. If
can be decided true or false, then such a set explicitly simplifies to one of the above three candidates.
But, in any case, neither
nor
can necessarily be established. Indeed, they may even be
independent of the theory at hand. Since the former two explicit candidates are each incompatible with the third, it is generally not possible to identify both of the choice function's return values,
and
, among the terms
and
. So it is not a function in the sense of the word that it could be explicitly evaluated into its codomain of distinguishable values.
Finitude
In a theory not assuming the disjunction
or any principle implying it, it cannot even be proven that a disjunction of the set equality statements above must be the case. In fact, constructively also the two sets
and
are not even provably
finite. (However, any finite ordinal injects into any
Dedekind-infinite set and so a subset of a finite ordinal does validate the logically negative notion of Dedekind-finiteness. This is the case for both
and
, into which
cannot be injected. As an aside, it is consistent also with classical
} that there exist sets which are neither Dedekind-infinite nor finite.)
In turn, the pairing
is also elusive. It is in the surjective image of the domain
, but regarding choice assignments it is not known how explicit value-assignments for both
and
can be made, or even how many different assignments would have to be specified. So there is generally no (set) definition such that a constructive theory would prove that joint assignment (set) to be a choice function with domain
. Note that such a situation does not arise with the domain of choice functions granted by the weaker principles of
countable and
dependent choice, since in these cases the domain is always just
, the trivially countable first infinite cardinal.
Adopting the full axiom of choice or classical logic formally implies that the cardinality of
is either
or
, which in turn implies that it is finite. But a postulate such as this mere function existence axiom still does not resolve the question what exact cardinality this domain has, nor does it determine the cardinality of the set of that functions possible output values.
Role of separation
In summary, functions are related to equality (by the definition of unique existence used in functionality), equality is related to membership (directly through the axiom of extensionality and also through the formalization of choice in sets) and membership is related to predicates (through an axiom of separation). Using the disjunctive syllogism, the statement
ends up equivalent to the extensional equality of the two sets. And the excluded middle statement for it is equivalent to the existence of some choice function on
. Both goes through whenever
can be used in a set separation principle.
In theories with only restricted forms of separation, the types of propositions
for which excluded middle is implied by choice is also restricted. In particular, in the
axiom schema of predicative separation only sentences with set bound quantifiers may be used. This restricted form of excluded middle is still not acceptable constructively. For example, when arithmetic has a model (when, relevantly, the infinite collection of natural numbers form a set one may quantify over), then set-bounded but undecidable propositions can be expressed.
Other frameworks
In constructive type theory, or in Heyting arithmetic extended with finite types, there is typically no separation principle at all - subsets of a type are given different treatments. There, a form of the axiom of choice is a theorem, yet excluded middle is not.
In topoi
In Diaconescu's original paper, the theorem is presented in terms of topos models of constructive set theory.
Notes
- Radu . Diaconescu. 10.1090/S0002-9939-1975-0373893-X . free. Axiom of choice and complementation. Proceedings of the American Mathematical Society. 51. 1. 176–178. 1975. 0373893.
- N. D. . Goodman. J. . Myhill. Choice Implies Excluded Middle. Zeitschrift für Mathematische Logik und Grundlagen der Mathematik. 24. 461. 1978. 10.1002/malq.19780242514.
- E. Bishop, Foundations of constructive analysis, McGraw-Hill (1967)