What is the Acceptance problem?
ATM
ATM = { < M, w > | M is a TM, M accepts w }
Is recognizable.
Is undecidable.
In this course what is an algorithm?
A turing machine
Stated by the Church-turing theorem
Formal definition of a turing machine
It is a 7-tuple (has 7 components)
The transition function (δ)
δ(q,a) = (r,b,D)
δ tells us how the machine reacts if we are in some state q while the head reads a.
Then enter a new state r, replace a with some symbol b, and move in some direction D (left or right)
A nondeterministic TM’s transition function can contain several possibilities for the same situation (any one of the parentheses):
δ(q,a) = { (r,b,D), … (rk, bk, Dk) }
Can also be written as sets:
δ: Q x Γ –> Q x Γ x {L,R}
Q (all states) and the tape alphabet, transition to another Q and tape alphabet along with a left or rigt movement of the tapehead.
Definition of a configuration
A configuration of turing machine M is a string: uqav
Written: q0110 then 0q110 and so forth.
What is L(M)
The collection of strings that M accepts is the language of M or the language recognized by M, denoted L(M)
Definition of when a language is recognizable
There are two definitions
Definition of a decider
A TM that halts on all inputs are called deciders
What does it mean when a decider “decides L”
That it will accept on any input w where w ∈ L, and reject on any input where w ∉ L
When is a language “decidable”
A language L is decidable if some TM decides it.
What is the relation between Multi-tape TMs and Single-tape TMs?
Every multi-tape TM has an equivalent single-tape TM.
What is a Nondeterministic TM?
At any point in a computation the machine may proceed according to several possibilities.
A Nondeterministic TM can from one state go to several different states with the same input.
What is the relation between nondeterministic and deterministic TMs?
Every nondeterministic TM has an equivalent deterministic TM.
A NTM with n states converted to a DTM may have up to 2n states
What is an enumerator?
What is the terminology for describing TMs?
What kind of input can a TM take?
The input of a TM is always a string.
Definition of a decidable language
There are two definitions
What is the spectrum of languages?
((((Regular languages) CF-lang) Decidable) Recognizable (ATM))
What does it mean when a function is injective?
It means that it is one-to-one. It does not map two different elements of A to the same element of B.
What does it mean when a function is surjective?
A function f: A –> B is surjective (onto) if all the elements of B are associated to some element of A.
What is a bijective function?
A function f: A –> B is bijective if each element of A corresponds to a unique element of B and each element of B corresponds to a unique element of A, i.e., f is injective and surjective
When are sets equipotent?
Two sets A and B are equipotent, written A ~ B if there exists a bijective function from A to B.
Intuitively, two sets are equipotent iff they have the same “number” of elements.
The class of all sets equipotent to a given set is called a cardinal.
What is a universal turing machine?
A universal TM U:
What is a reduction?
A reduction is a way of converting one problem to another problem in such a way that a solution to the second problem can be used to solve the first problem.
Problem A reduces to Problem B