Sorry for bumping this very old problem which already has answers on multiple SE sites, but I just cannot understand any of the answers.
Let $\Sigma_{bool} = \{0, 1\}$.
Then, $(\Sigma_{bool})^*$ is the set of all binary strings, as far as I know. I've seen many posts claiming this set is uncountable. But how is that possible? If I sort the elements by length and then lexicographically, I get an ordering. Ordering of a set is, by definition, a bijection to a subset of natural numbers.
I would get:
$\Sigma_{bool}$ | $\mathbb{N}$ |
---|---|
0 | 0 |
1 | 1 |
00 | 2 |
01 | 3 |
10 | 4 |
11 | 5 |
000 | 6 |
001 | 7 |
... | ... |
This post claims that it matters if the strings are of infinite length - why does it matter? I don't see it, can you please explain?