The Cantor Diagonalization proof seems hard to grasp, and it ignites endless discussions regarding its validity. Also i have been reading similar threads here on stackexchange and im very sorry to keep beating this dead horse. Nevertheless i freely admit that i still do not understand the proof correctly. Also i'm not trying to disprove it.
I want to simplify the proof to its bare minimum, reducing all arbitrary choices, and be able to follow every step, so only cantors conclusion "feels" valid. As "Anti-Cantor Cranks" never seem to vanish, this seems a reasonable quest. Im willing to completely rework the notation if anything seems unreadable, confusing or "non standard", etc.
As a starting point i want to convert an argument which was shown to me in an attempt to disprove cantors diagonal argument into a valid proof.
Every real number has a decimal representation (Axiom of completeness)
Also every decimal number has a corresponding binary representation (by construction).
There is no largest integer
Now Assume we represent the binary numbers smaller than one as a string of symbols (0 and 1) with their usual meaning: $$0.01001 = 2^{-2} + 2^{-5}$$
We can list (all?) integers in increasing order using the usual way to count in binary:
$$\begin{bmatrix}000 \dots 001\\000 \dots 010\\000 \dots 011\\000 \dots 100\\000 \dots 101\\ \dots \\\end{bmatrix}$$
We can also reverse these numbers, to count rationals<1: (where for example 1100 stands for $0.1100 = 2^{-1} + 2^{-2}$) $$\begin{bmatrix}000 \dots 000 \dots \\100 \dots 000 \dots \\010 \dots 000 \dots \\110 \dots 000 \dots \\001 \dots 000 \dots \\ \dots \\\end{bmatrix}$$
Lets call this matrix $A$. where we identify each element of the matrix $A[l][c]$ with a line $(l)$ and column $(c)$. Hereby establishing a 1-to-1 mapping between integers $(l)$ and finitely representable rationals (thus no $1/10$) (Thanks Noah Schweber!). We start to count lines and columns beginning with 1. So $010.000$ will be line 3 ($A[3]$), with a "1" in column 2 ($A[3][2]=1$).
This way the first non zero digit in column n will be line $2^n-1$. Meaning: $A[2^n -1][n]=1$. $(4)$
The first line where we have n leading 1's (1111..1 ... 000) is A[2^n]. Meaning: for all $1\le i\le n : A[2^n][i]==1$ $(5)$
Which means that line $2^n$ contains the number $n$ in "unary" representation. Thus we have no "longest" string of 1's.
Okay now lets apply cantors diagonal argument.(Which does not depend on the ordering of A?) We construct the number $d$ by inverting the nth digit in the nth line, placing it in digit n of $d$: for all n: $d[n]:=1-A[n][n]$.
Since $A[n][n] =0$ for all $n$ (according to $(4)$) $\implies d[n]=1$ for all n.
So the (well defined) number d(n) is the string 1111... n one's. The Matrix A n has for each given n a line consisting of n consecutive 1's: $A[2^n]$. (according to $(5)$).
There is no longest string of one's (according to $(3)$).
Now what is a valid conclusion? Is the line (all 1's) contained in A? Probably not, since it would correspond to counting up to the "largest representable integer" $111\dots111\dots$ (thus contradicting ( $(3)$ and $(2)$ )
Thank you Noah Schweber for the short axiomatic proof in your replies.
I think its better to reemphasize the crux of the Question:
Since for each n we have a corresponding line in $A$ with $A[2^n]=d(n)$, which is a 1-to-1 mapping between $d(n)$ and $A[2^n]$: Given this observation (and Noahs proof), how can we claim the following:
Letting n go to infinity we get d=11111... all one's, but the corresponding Entry in A does not exist?
Thanks!