hault and reducability Flashcards
Church and Turing thesis
Every function that can be calculated effectively, can be calculated using a Turing machine
The H problem (halt0
H = {(p, w) | p(w) stops)
p - program, w - word
H is not decidable
proven using Cantor’s diagnal. We basically show that there is a series of outputs that can’t exist
Is Halt acceptable
Yes, just run a simulation of p on w. The universal program accepts H.
is Halt negative acceptable
No. If yes then using the Post theorem since Halt is also acceptable, halt would be decidable, which is wrong. Halt negative is a formal language.
Reducibility
If there is a function f: Σ* -> Δ* that is computationally possible.
Given two languages L1∈Σ, L2∈Δ and
w∈L1 <-> f(w)∈L2
than: L1 <= L2
Reducibility results
1: L2 decidable -> L1 decidable
2: L2 acceptable -> L1 acceptable
3: L1 not decidable -> L2 not decidable
4: L1 not acceptable -> L2 not acceptable
Reducibility results if f(w)∉L2