I am changing the subject of this thread, focusing on the following:
On 12/03/18 10:18, Andrew Swan wrote:
> For question 3, in function realizability every set with decidable
equality is not uncountable, so there's no constructive proof of the
existence of an uncountable set with decidable equality.
I've been wondering for a while about that.
Where can I find a proof of this? And what logical systems does it
apply to?
In the following discussion, what I say makes sense in topos logic and
also in univalent type theory (and I am sure in many other systems).
(And I have implemented the arguments in Agda.)
Here are some examples where this matters.
(1) Let N' be the set of decreasing binary sequences.
We have an embedding e:N->N' that maps the natural number n to the
sequence of n ones followed by infinitely many zeros. The complement
of this embedding is a point, namely the sequence of infinitely many
ones (the point at infinity).
However, you can't say that every element of N' is either in the image
of the embedding e or else the point at infinity. This is precisely
WLPO.
Now you can prove (without assuming continuity axioms) that for every
p:N'->2, either p(x)=0 for some x:N' or else p(x)=1 for all x:N'. That
is, p either has a root or it doesn't. (Here 2 is the discrete set
with points 0 and 1.)
Using this, you can show directly that the set of all functions N'->2
is discrete.
Is this set (N'->2) countable? Well: with continuity axioms,
yes. There are "only" countably many continuous functions N'->2. With
excluded middle instead, no. There are uncountably many functions
N'->2 (using Cantor's argument). Because we are not assuming
continuity axioms or excluded middle, the countability of (N'->2) is
undecided.
The set (N'->2) is "not" countable in the meta-mathematical sense that
it can't be proved countable (because it may not be).
(2) Similarly, let Omega be the set of truth values (or the powerset
of a singleton set if you prefer).
Then again you can prove that for all p:Omega->2, either p(x)=0 for
some x:Omega or else p(x)=1 for all Omega. (Without knowing whether
excluded middle holds or not.)
And so again the function space (Omega->2) is discrete.
Is it countable? You can entertain yourself performing a similar
reasoning and getting different answers (but considering axioms for
Omega of a different nature than continuity axioms).
(3) I am not sure countability is the right notion from the
constructive point of view (except in a restricted number of
applications). Almost all sets that are classically countable are
"not" constructively countable, where "not" means that they can be
proved to be countable, rather than that they can be proved to be not
countable.
For example (as in (1)), the set N' is "not" countable. But (again as in
(1)) it does have a countable subset with empty complement.
Most cardinality questions are undecided if excluded middle is left
undecided, and have a different answer than in classical mathematics
if excluded middle is negated by assuming e.g. continuity axioms.
This applies to countability in particular.
Best,
Martin