The question has been asked in this forum as well. However, I have spent half an hour trying to comprehend what the axiom of choice is. My understanding is that, you encode black hat with 0, red hat with 1, and then you remember a string of 01010101010......and you are trying to match what you see against what you memorize. .... but, I don't see how you can solve this problem.
Can anyone explains the solution to me in 15 years old human-understandable language? Something that's not so abstract. Thanks.
The way I always think of the axiom of choice is this: you have an (uncountably) infinite number of buckets filled with balls. From each bucket, you take exactly one ball. The ball represents that bucket in whatever you are trying to do. In this case, the balls represents a string of 0's and 1's, and they are in the same bucket if they all agree identically after so many (possibly huge) number of characters. So the prisoner's can see the hats in front of them, so they can pick the bucket that agrees with their observation. However, they don't know at what point the balls agree, they only have the one representative.
At this point, they know which bucket matches their observation. However, being in the bucket means that after some finite number of 0's and 1's, everything agrees. However, if we look at an example, say the following three strings
0011010101|000001111111.....
1100101010|000001111111......
1010000111|000001111111
There are $2^{10}=1024$ such strings, so until the bar, the prisoners are essentially guessing and have a 50/50 chance. They only got to pick one of the strings. It could possibly be the correct one where no one dies, or it could be the exact opposite where all 10 of the first people die, or anywhere in-between. However, from the 11th prisoner on, they know they will be correct.