2. Variations of Turing Machines, Semidecidable Languages & Enumeration

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

What is the difference between a nondeterministic TM and a deterministic TM?

  1. δ has the form δ : (Q − {ha}) × Γ → 2^(Q x Γ x {L, R, S}

  2. The reject state hr is replaced by h∅, where δ(h∅, a) = ∅ for all a ∈ Γ.

2
New cards

When is an input string accepted by an NTM?

If there exists a transition sequence from q0∆w to an accepting configuration

3
New cards

What happens if the TM at the leftmost tape cell tries to move left?

It crashes:

qav ⊢ h∅av if δ(q, a) = (r , b, L) for some r ∈ Q and b ∈ Γ

4
New cards
<p>What is the language that this NTM accepts?</p>

What is the language that this NTM accepts?

L(N) = Σ*{abc, cab}Σ* if Σ = {a, b, c}

5
New cards

What is the proof for proving L(N) = L(D)
Where N - NTM and D - DTM

Construct a TM D which simulates N by trying all possible branches of N’s nondeterministic computation in breadth-first fashion. If D finds the accept state on one of these branches, it accepts, otherwise, the simulation rejects.

6
New cards

What is the transition function for a Multitape TM?

δ: (Q - {ha,hr}) x Γn → Q x Γn x {L, R, S}n where n >= 2 and n is the number of tapes

7
New cards

What is a configuration in an NTM?

An n-tuple (u1qv1, u2qv2, . . . , unqvn), where q ∈ Q and ui , vi ∈ Γ*

8
New cards

What is the intial configuration for an input w in an NTM?

q0∆w , q0∆, . . . , q0

9
New cards

When is a language L semidecidable?

If there exists a turing machine that accepts L (is generated by some unrestricted grammar)