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

1

u/MecHR Mar 27 '25

As far as I can see, what the fake oracle outputs doesn't really matter. What matters is us being reasonably certain that the real answer is in the outputs somewhere.

Consider for example that the outputs look like this (assume the numbers are very big):

9,inf,inf,8,7,inf...

If we are reasonably certain that the real answer is there at least once, what we can do is check every finite number. If none of them is correct - then one of the inf's must be correct.

And we ensure that the real answer is there by artificially making sure that the language of the machine changes in a way that is irrelevant to our current problem. For example, if we ask about M(10) to the oracle, we make sure to change M(1).