Turing recognizable Languages
Prof. (Dr.) K.R. Chowdhary
Email: kr.chowdhary@gmail.com
Formerly at department of Computer Science and Engineering
MBM Engineering College, Jodhpur

Thursday 13th November, 2025

kr chowdhary

TOC

1/ 7

K.R. Chowdhary

Theory of Computation
Automata, Formal Languages, Computation and Complexity
Focuses on pedagogy in its writing, that represents a refreshing
approach
Ensures comprehensive and enjoyable learning
Undergone a rigorous classroom testing

©2025

Get 20% off with this code: SPRAUT
Available on Springer Nature Link
Please note that promotional coupons are only valid for English-language Springer, Apress, and Palgrave Macmillan books
& eBooks and are redeemable on link.springer.com only. Titles affected by fixed book price laws, forthcoming titles and
titles temporarily not available on Springer Nature Link are excluded from promotions, as are reference works, handbooks,
encyclopedias, subscriptions, or bulk purchases. The currency in which your order will be invoiced depends on the billing
address associated with the payment method used, not necessarily your home currency. Regional VAT/tax may apply.
Promotional prices may change due to exchange rates. Promotions are valid for individual customers only. Booksellers,
book distributors, and institutions such as libraries and corporations please visit springernature.com/contact-us.
Promotions do not work in combination with other discounts or gift cards.

link.springer.com/book/
9789819762347

Enumerating TMs
We can enumerate Turing machines, by encoding each one of them,
say:
TM-5012847892 = Balancing parenthesis
TM-5025672893 = Even number of 1s
TM-5256342939 = Universal TM
TM-56239892122 = Windows XP
...
Thus, a TM can be described by a set of 0s and 1s. This set forms a
languages,
L = { 00010100101010101000, (Turing machine1)
00010101111010101000, (Turing machine2)
00011101010100010101000, (Turing machine ...)
...

}

L is countable set of infinite number of strings (how?)

kr chowdhary

TOC

2/ 7

Enumerating TMs
There is one-to-one correspondence between elements of the set of
TMs and the natural numbers. Let S be set of strings. An
enumeration procedure for S is a TM that generates all strings of S
one-by-one, each in finite time. s1 , s2 , · · · ∈ S. (Hint: algorithm to
increment a number)

If for a set there is a an enumeration procedure for a set, then the
set is countable.
Ex.: Prove that set of all the strings over {a, b, c} is countable
Put in proper order:
Produce all strings of length 1
produce all strings of length 2, and so on
kr chowdhary

TOC

3/ 7

Enumerating TMs
Theorem
Set of All the Turing machines is countable.

Proof.
Any Turing machine can be encoded in binary strings of 0’s and 1’s.
Find an enumeration procedure for the set of TMs.
Enumeration of Turing Machines:(Repeat):
1
Generate the next binary string of 1s and 0s in proper order
2
Check if the string describes a Turing machine(an encoding of some
TM).
i if yes: print the string on output tape
ii if no, ignore it.
Countable and uncountable sets:
Let a set of strings S = {s1 , s2 , . . . , } is countable. The si are
generated through enumerating procedure.
Power set for S is 2S , is not countable(?).
Let the elements of power set be: {s1 }, {s2 , s3 }, {s1 , s3 , s4 }, etc. We
can encode the elements of power set as binary strings of 1s and 0s:
kr chowdhary

TOC

4/ 7

Countable and uncountable sets
Power set
element
t1
t2
t3

Power set
{s1 }
{s2 , s3 }
{s1 , s3 , s4 }

s1
1
0
1

Encoding
s2
0
1
0

s3
0
1
1

s4
0
0
1

...
...
...
...

Power set is uncountable
Let us assume (for contradiction) that power set is countable. Then
we can enumerate its elements
Take the power set elements whose bits are the complement of
diagonal
Power set
element

s1

Encoding
s2

s3

s4

...

t1
t2
t3

1
0
1

0
1
0

0
1
1

0
0
1

...
...
...

kr chowdhary

TOC

5/ 7

Power set is uncountable
The complement is: 000 (a binary complement of diagonal). This
new element must be some element ti of power set (since we assume
that P(S) is enumerated). However, that is impossible. Hence, we
conclude that power set is uncountable.
Countable TM v/s Uncountable Languages:
For Σ = {a, b}, Σ∗ is countable, because Σ∗ can be enumerated.
Σ∗ = {ε, a, b, aa, ab, ba, bb, aaa, aab, . . . }, which maps to {0, 1, 2, 3,
...}
However, the languages {L1 , L2 , . . . } that can be constructed from
∗
Σ∗ , are subsets of 2Σ ; are uncountably infinite.
All the Turing machines {M1 , M2 , . . . } can be enumerated (ref.
representation of all TMs), which is countably infinite.
Conclusion: There are more languages than TMs, hence for some
languages there does not exist TMs. In fact they are not Turing
recognizable.
What are those languages?
kr chowdhary

TOC

6/ 7

Bibliography

Chowdhary, K.R. (2025). Decidability, Undecidability, and
Unsolvability. In: Theory of Computation. Springer, Singapore.
https://doi.org/10.1007/978-981-97-6234-7_12

kr chowdhary

TOC

7/ 7

