TOPICS
Search

Oracle


An oracle for a decision problem is an abstract device that returns its answer in a single computational step. An oracle Turing machine has a special query tape and states that permit it to ask whether a finite word belongs to a fixed formal language A. The languages decidable by such machines describe computation relative to A, and the resulting reducibility is called Turing reducibility.

Oracles need not be computable. They are used to compare the information content of problems and to define relativized complexity classes.

In numerical query complexity, a first-order oracle returns the value of a function and its gradient at a query point. The cost counts oracle queries, while other computation is not charged (Chewi et al. 2024).

A weak membership oracle for a convex body permits uncertainty within a prescribed tolerance of its boundary. This supplies an input model for geometric algorithms, including approximation of mixed volume (Chen and Liu 2026).


See also

Computational Complexity, Counting Hierarchy, Decision Problem, Query Complexity, Turing Machine, Turing Reducibility

Explore with Wolfram|Alpha

References

Chen, X. and Liu, K. "An FPRAS for Mixed Volumes." 1 Nov 2026. https://arxiv.org/abs/2611.01368v1.Chewi, S.; de Dios Pont, J.; Li, J.; Lu, C.; and Narayanan, S. "Query Lower Bounds for Log-Concave Sampling." J. ACM 71, Article 29, 2024. https://doi.org/10.1145/3673651.Soare, R. I. Recursively Enumerable Sets and Degrees. Berlin, Germany: Springer-Verlag, 1987.

Cite this as:

Weisstein, Eric W. "Oracle." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Oracle.html

Subject classifications