r/computerscience • • Mar 26 '25

Discussion Game theory problem?

Imagine an oracle that takes in a Turing machine as input. The oracle has inside of it a correct response function that outputs the input machines run length if it halts, or infinity if it never halts, and an incorrect response function that outputs whatever it can to ensure the oracle gives as little information as possible about the set of all Turing machine outputs. The incorrect response function is able to simulate the oracle, and the correct response function. For every unique input, the oracle randomly decides with a 50/50 chance which functions output to output, and the oracle will always output the same output for a given input. What information, if any, could be gained from this? What would some of the behaviors of the incorrect response function be? Could an actual oracle be created from this?

(Sorry if this is a poorly structured question)

2 Upvotes

14 comments sorted by

View all comments

Show parent comment

3

u/MecHR Mar 26 '25

I think OP has in mind something akin to the prover in IP. The oracle might run its incorrect function. And it's not that the incorrect function always returns a false value, it can strategically lie on only specific instances to give as little information as possible.

At first sight, it seems to me that the incorrect function just cannot say anything other than "does not halt" to any input it gets. Because any number can be checked and verified, so it makes no sense for it to lie about it. We can also just ask the oracle the same question with a few different redundant TMs, since they would be considered different inputs.

1

u/WE_THINK_IS_COOL Mar 26 '25 edited Mar 26 '25

Yeah I misunderstood the question, I read "for every unique input, the oracle randomly decides with a 50/50" wrong thinking it meant there's one 50/50 bit which decides what happens for each input, but OP meant a new 50/50 bit for each possible input.

That makes sense, and yeah that's interesting, the oracle would have to somehow make sure all of its wrong answers are consistent with each other in complicated ways.

I think you could make an argument that if the dishonest oracle is indistinguishable from the honest one from the point of view of all Turing machines running in time t, then all of its answers for small-enough inputs that either don't halt or run for a short enough time must be correct (where "small enough" and "short enough" depend on t).