This question is about the validity of the Cantor's diagonal argument itself, not about uncountability of sets or otherwise which can probably be proved in ways I'm unfamiliar with.
It seems, to me, that the diagonal argument assumes its conclusion.
For a diagonal proof to be valid, the diagonal must be a diagonal of a square matrix.
"counterexample" if the matrix is not square:
0 1 0 0 0 0 1 0 0 1 1 1
Cantor's diagonal argument seems to assume the matrix is square, but this assumption seems not to be valid.
The diagonal argument claims construction (of non-existent sequence by flipping diagonal bits). But, at the same time, it non-constructively assumes its starting point of an (implicitly square matrix) enumeration of all infinite sequences of binary digits.
What happens when we actually attempt to construct an enumeration of all infinite sequences of binary digits?
Here is one such construction:
Count from $0$ to $\infty$ in binary with least significant bit first (for example: 0
, 1
, 01
, 11
, 001
, 101
, 011
, 111
, 0001
, etc). As you count, put those numbers in a list, filling in extra 0
s on most significant side (on the right) as needed
First few iterations of the resulting matrix:
0
0
1
00
10
01
00
10
01
11
000
100
010
110
001
...
We immediately see the consequence of any information encoding, the width of the matrix increases $O(\log_2 n)$, while the height of the matrix increases $O(n)$. Where $n$ is the number of sequences in the matrix.
While $\lim_{n \to \infty} \log_2(n) = \infty$ and $\lim_{n \to \infty} n = \infty$, which make it seem like a square matrix. Another way to frame being a square matrix is to ensure that the ratio of ${width \over height} = 1$.
We notice that $\lim_{n \to \infty} {\log_2(n) \over n} = 0$ and $\lim_{n \to \infty} {n \over \log_2(n)} = \infty$.
Does this not mean that the ratio diverges, demonstrating the enumeration of all infinite sequences of binary digits cannot be a square matrix? Doesn't this, in turn, make the diagonal argument not valid?
sidenote: The above construction, in the limit, when we flip bits along the diagonal, would result in an infinite sequence of 1
s, 1111111...
. There is nothing about the construction that prevents it from generating an infinite sequence of 1
s in the limit, which I think is noteworthy and takes away from what seems like diagonal argument's almost mystical generation of non-included bit sequence along the diagonal when we think only of a random arrangement of sequences instead of ordered one.