Will prove there is a language which is not accepted by any TM.
Technique: TMs are countable, languages are uncountable (more languages than TMs)
Powerset is uncountable
Theorem: If is an infinite countable set, then the powerset of is uncountable.
Powerset contains all possible subsets of , e.g. let then .
Proof.
Since is countable, we can list its elements in same order: .
Elements of the powerset have the form: , , , ,
they are subsets of . We can represent these subsets of in binary encoding:
Subset of
1
0
0
0
0
1
1
0
1
0
1
1
where 0/1 denote absence/inclusion in subset.
Assume (for contradiction) that powerset is countable. Then we can list the elements of the powerset in some order,
this ordering must exist if powerset is countable:
Now let be the binary string whose bits are the complement of the diagonal:
Also: since it is one of the subsets of .
Is equal to any of: => no, it cannot be.
Thus for every since they differ on the bit.
However, means for some => contradiction.
Therefore powerset is uncountable.
Non-recognizable languages
Consider a finite alphabet .
The set of strings , which is
infinite and countable, because we can enumerate the strings in proper order.
Any language is a subset of and the powerset contains all languages:
, which is uncountable.
Recall: TMs are countable => each TM recognizes some language => languages accepted by TMs are countable.
Let be the languages accepted by TMs (countable) and is all possible languages (uncountable), therefore
, and we get (strict subset). Therefore there exists some language that is not
TM-acceptable.