Turing and Decision Problem
- 13Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the decision problem in logic?
The decision problem asks whether there is an automatic way to determine if a set of premises entails a given conclusion.
Or swipe the card
13 cards
What is the decision problem in logic?
The decision problem asks whether there is an automatic way to determine if a set of premises entails a given conclusion.
What type of logic were mathematicians investigating for decidability at the beginning of the 20th century?
Mathematicians were investigating the decidability of first-order logic.
Who was one of the first to discover that first-order logic is undecidable?
Alan Turing was one of the first to discover that first-order logic is undecidable.
Why is it conceptually difficult to prove that first-order logic is undecidable?
It is difficult because you must show that no possible program can give the answer, which means you cannot run through every program one by one.
How did Alan Turing propose to represent a program for his proof?
Turing proposed representing a program as a 'black box' that takes some inputs and produces some outputs.
What is the halting problem?
The halting problem asks, 'Given some program and some input, will it ever halt (finish its computation) or will it run forever?'
What is the relationship between the logical problem ('Do these premises entail this conclusion?') and the halting problem?
The logical problem is very similar to the halting problem; if the logical problem can be solved, then the halting problem can also be solved.
What was the 'clever part' of Turing's proof regarding the halting problem?
The clever part was to show that it is impossible for any machine, however clever, to solve the halting problem.
Describe Turing's hypothetical 'halting problem solver' machine, 'h'.
Machine 'h' is a hypothetical program that takes a description of another machine and its input, and then outputs 'yes' if that machine will halt, or 'no' if it won't halt.
How does Turing transform the hypothetical halting problem solver 'h' into a new machine 'h+'?
Turing transforms 'h' by adding extra bits: if 'h' outputs 'yes' (it halts), 'h+' is made to loop forever; if 'h' outputs 'no' (it doesn't halt), 'h+' is made to halt immediately.
What happens when the machine 'h+' is fed into itself as input?
If 'h+' halts, the 'h' component gives a 'yes' answer, which makes 'h+' loop forever (contradiction). If 'h+' doesn't halt, the 'h' component gives a 'no' answer, which makes 'h+' halt (contradiction).
What is the ultimate conclusion derived from the paradox of feeding 'h+' into itself?
The ultimate conclusion is that there is no possible machine or program that can solve the halting problem.
What is significant about the type of program or machine in Turing's proof of the halting problem?
It doesn't matter what kind of program or machine it is (abstract algorithm, real computer, physical computer); the proof shows that no such program is possible.

Ask anything
We've read this whole study set, so questions about it get the best answers.