by petesergeant · 1y ago · 0 comments
How can an uncountably infinite set be used as an index? I was fine with natural numbers (countably infinite) being an index obv, but a real seems a stretch. I get the mathematical definition of a function, but again, this feels like we suddenly lose the plot…
The point is that we need some way to deal with objects that are inherently infinite-dimensional.
Asking where the smallest greater number (next number) is no longer makes sense.
Taking two numbers and asking whether one is greater than the other still makes sense. (and hence also whether they are equal)
Taking two numbers and asking how far separated from each other still makes sense.
You may already observe some uses for indexes in programming that don't use all of these properties of an index. For example, the index of a hash set "only cares about equality", and "the next index" may be an unfilled address in a hash set.
Okay I suppose the axiom of choice is somewhat necessary to make it make sense. But only because otherwise such an indexed object may fail to exist.
Anyway arbitrary indexes are useful, you often end up doing stuff like covering a space by finding a covering set for each individual point. And then using compactness to show you only need finitely many to cover the whole space. It is doable without uncountable indices, but it makes it very difficult to write down.
> When I use a word,’ Humpty Dumpty said in rather a scornful tone, ‘it means just what I choose it to mean — neither more nor less.’
> ’The question is,’ said Alice, ‘whether you can make words mean so many different things.’
> ’The question is,’ said Humpty Dumpty, ‘which is to be master — that’s all.
In mathematics it is the author's privilege.
I think the only thing that matters is that the indices have an ordering (which the reals obviously do) and they aren’t irrational (i.e. they have a finite precision).
Imagine you have a real number, say, e.g. 2.4. What stops us from using that as an index into an infinite, infinitely resizable list? 2.4^2 = 5.76. Depending on how fine-grained your application requires you could say 2.41 (=5.8081) is the next index OR 2.5 (=6.25) is the next index we look at or care about.
I could be misunderstanding it, though.
> and they aren’t irrational (i.e. they have a finite precision)
No, if you want only rational "indices", then your vector space has a countable basis. Interesting vector spaces in analysis are uncountably infinite dimensional. (And for this reason the usual notion of a basis is not very useful in this context.)
I'm not sure if I'm misunderstanding what you mean by 'finite precision' but the ordinary meaning of those words would seem to limit it to rational numbers?
One way to think about it is that, even though you're defining an index that permits infinite amounts of subdivision, from any given house there's always a "next house up" in the vector: you can move up one space.
In a real-indexed vector, that notion doesn't apply. It's "infinity plus one" all the way down: whatever real value you pick to start with, x, there's no delta small enough to add to it such that there's no number between x and x+d.
Just to clarify, uncountability isn't necessary for this. It's true for the rational numbers too, which are countable.
The famous counterexample to all of this sort of thinking is Hilbert’s hotel, which I’m sure you know but want to point it out for people who haven’t seen it before because it’s pretty mind-blowing when you first encounter it.
Say you have a hotel with an infinite number of rooms numbered 1,2,3,… and so on and they are all occupied. A guest arrives- how do you accommodate them? Well you ask the person in room one to move to room 2, the person in room 2 to move to room 3, and in general the person in room n to move to room n+1. So every existing guest has a room and room 1 is now free for your new guest.
Ok but what if an infinite number of prospective guests arrive all at once and every room in your hotel is full. How do you accommodate them? Still no problem. You ask the guest in room 1 to move to room 2, the one in room 2 to move to room 4, and in general the guest in room n to move to room 2n. Now all your existing guests still have a room but you have freed up an infinite number of (odd-numbered) rooms for your infinite number of new guests to move into.
These are all countable infinities, and Cantor showed that if the number of rooms in your infinitely-roomed hotel is ℵ_0, then the number of real numbers is 2^ℵ_0, which is obviously quite a lot more.
So let's say you have a set U (possibly uncountable). To say let {u_i}, i in I (another set, possibly uncountable) is equivalent to asserting existence of function f:I -> U, such that f(i) = u_i. Note that this does not even require axiom of choice, since you are allowed to postulate that a function exists.
Of course if I is uncountable you can't list the elements of I, but that is not important in this case.