Cantor's diagonal theorem · Exercise-CANTOR-S-DIAGONAL-THEOREM-002
Step-by-step solved exercise: Cardinals
Which sequence does the diagonal proof build to escape a list?
Cantor's diagonal theorem · Exercise-CANTOR-S-DIAGONAL-THEOREM-002
Which sequence does the diagonal proof build to escape a list?
Let \(\displaystyle s_1,s_2,\dots\) be a list of binary sequences.
For each \(\displaystyle n\), take the \(\displaystyle n\)-th term of the \(\displaystyle n\)-th sequence.
Define the new sequence by complementing each of those terms.
The sequence \(\displaystyle t\) differs from each \(\displaystyle s_n\) at position \(\displaystyle n\), so it is not in the list.
The one whose \(\displaystyle n\)-th term is the complement of the \(\displaystyle n\)-th term of the \(\displaystyle n\)-th sequence.