in Theory of Computation
597 views
1 vote
1 vote
Can someone explain in details how set of all TM is countable?
in Theory of Computation
by
597 views

1 comment

Countable means acceptable by TM and also has some pattern match, See 2019 question as an example

https://gateoverflow.in/302814/gate2019-34

0
0

3 Answers

4 votes
4 votes
Best answer

Every TM can be encoded with 0's and 1's, i mean to say every TM can be represented by a unique Binary Number.

let ∑ = {0,1} then Set of all Binary strings = ∑*

We know that,  ∑* is countable. ==> Set of all TM's are countable.

 

selected by
0 votes
0 votes
A Turing machine always has a finite description.So there are finite number of states, transitions and tape symbols for each Turing machine.The set of all finite length strings is still countable, and the set of valid Turing machine string literals is a subset of all finite length strings.
0 votes
0 votes

1. TM is an encoding of (0,1). but every encoding of 0,1 is not Turing machine. There might be languages for which TM doesn't exists(which are not REL).

2. (0,1)* is countable (can be enumerated in increasing order of the size of string like epsilon, 0, 1 , 00, 01,10,11...)

3. As TM implies encoding in {0,1}, from point 2 as encoding in 0,1 is countable, set of TM is also countable.

 

Related questions