ELI5: Explain Like I'm 5

Word problem (computability)

Imagine you have a very smart computer. This computer can do all sorts of calculations and solve many problems. But there are some things that even this super smart computer cannot do. This is called a computability problem.

Let's imagine we have a special kind of problem called a word problem. A word problem is a type of problem where we are given some words or symbols and we need to find out if these words or symbols belong to a certain language. A language is like a special club of words that follow certain rules.

For example, let's say we have a language of all words that start with the letter "A". If someone asks us if the word "Apple" belongs to this language, our super smart computer can easily say "Yes, it belongs to the language" because it starts with the letter "A". But what if someone asks us if the word "Banana" belongs to this language? Our super smart computer can't solve this problem because "Banana" does not start with the letter "A". It's like asking our computer to find a blue banana, which doesn't exist.

Now, here comes the interesting part. There are some problems that are called undecidable problems. These are problems that no matter how smart our computer is, it can never solve them. One famous undecidable problem is called the Halting Problem.

The Halting Problem is like a puzzle. It asks whether a specific computer program will eventually stop or keep running forever. You can think of a computer program like a recipe. It tells the computer what to do step by step. Sometimes, a program can get stuck in an infinite loop, where it keeps doing the same thing over and over without ever stopping. It's like trying to eat an endless bowl of spaghetti!

Our super smart computer can solve simple cases of the Halting Problem. For example, if we have a program that says "Add 2+2", our computer can easily see that the answer is 4 and the program will stop. But what if we have a more complicated program? Our computer can't predict if it will stop or go on forever. It's like trying to predict the weather a year from now. It's just too unpredictable.

So, even though our computer can do many amazing things, there are some word problems or computability problems that it can never solve. These undecidable problems are like the ultimate brain teasers that even the smartest computer can't crack.