Computer Theory Decidables Proofs

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

4 Terms

1
New cards

Decidable ⇔ L and L̅ are both recognizable

run the recognizers for L and L̅ in parallel. If the one for L accepts, accept; if the one for L̅ accepts, reject. Every x is in L or in L̅, so one of them must eventually accept, which means the machine always halts.

2
New cards

E_DFA = { <D> | D is a DFA and L(D) = ∅}

Decidable, L(D) is empty exactly when no accept state can be reached from the start state.

Algorithm: mark the start state. Repeatedly mark any state with a transition from a marked state. If an accept state ever gets marked, reject. If a round marks nothing new, accept.

Why it halts: the DFA has finitely many states, so the marking has to stop growing.

3
New cards

A_TM = {<M,w> | M is a TM, w is a string, and M accepts W}

simulate D on w

4
New cards

E̅_TM = {⟨M⟩ | L(M) does not equal ∅}.

The complement of E_TM matters because this is recognizable, to prove it you only have to prove that M accepts at least one string, this is important because there is one string is classically recognizable as opposed to for every string…