Statements
Source excerpts; proofs omitted. recall restates an existing declaration; #check records an expression, not its inferred type.
Definition 1.2.2 is a source-facing recall item in the Chapter 1 black-box optimization
domain.
Layer targeted by this refinement:
* source-facing recall of the core/canonical owner object already used elsewhere in the chapter
Primary domain:
* black-box optimization oracles as answer maps on a query space
Relevant owner-style declarations sampled before refining:
* GeneralIterativeScheme.oracle in Algorithm_1_2_10.lean, which stores a single-problem
oracle directly as Query → Answer;
* OptimizationOracle.IsLocal in Definition_1_2_13.lean, which treats class-level oracles as
the curried answer rule Problem → Query → Answer;
* the direct zero-, first-, and second-order answer maps in Definition_1_2_9.lean, which use
the same owner shape without introducing separate wrapper objects.
Owner abstraction:
* the function type Query → Answer
Primitive data:
* the query type Query
* the answer type Answer
Derived API:
* the class-of-problems generalization Problem → Query → Answer from Definition 1.2.8
* locality properties such as OptimizationOracle.IsLocal from Definition 1.2.13
* transcript-based algorithms that consume the oracle by evaluation
This recall file intentionally introduces no separate public wrapper such as ProblemOracle.
Downstream chapter files should use the function type Query → Answer directly.
#check (Query → Answer)
Source context
universe u v
variable {Query : Type u} {Answer : Type v}