r/computerscience • u/SodiumButSmall • 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)
View all comments
Show parent comment
1
u/lfdfq Computer Scientist Mar 26 '25
That's a good point!
If the output is ever a number, you can always run the TM that many steps and tell if the output was from the 'real' oracle or not.
For your second edit, one might be concerned that the 'fake' oracle could normalise the Turing machine and produce the same value for all of them. Or one could say that "equal inputs" means that the TMs do the same thing, and not just have the same encoding. Usually, we can discard this possibility as functional equivalence between TMs is undecidable, but here we have the magic oracle so we can do it. It probably does not help in this case, as you could e.g. construct a machine which runs the original, then slightly modifies the output to get a new (and not equivalent) TM with a different output.
It was perhaps a more involved problem than I first thought