Alice writes two distinct real numbers between 0 and 1 on two chits of paper and places them in two different envelopes. Bob selects one of the 2 envelopes randomly to inspect it. He then has to declare whether the number he sees is the bigger or smaller of the two. Is there any way he can expect to be correct more than half the times Alice plays this game with him?
This puzzle is from https://gurmeet.net/puzzles/bigger-or-smaller/index.html
My approach: I feel that since this is absolutely random and we don't know the distribution of Alice. I looked at this link Puzzle: Guessing the bigger number! but this deals with some fixed distribution by Alice, and that makes sense to me. But when Alice could have any strategy in mind, how does Bob expect to be correct more than 1/2 of the times? Tbh, the solution given does not make any sense to me. Why should it be 1/2 + 1/2 |p-q|?
Also, say, if it wasn't Alice, rather a uniformly random number generator, then Bob could have selected any number > 0.5 and said that to be bigger and he would have 1/2 chance only, never better. Am I correct?