Oracle complexity of nonsmooth convex optimization via information theory
Sebastian Pokutta
v1 2026-11-28 · last 2026-11-29
Additional material: arXiv:1407.5144
Note: Formalizes Lemmas III.1 (with a corrected bound in probability), III.5, IV.3 to IV.7, V.3, V.4 and VI.2, Propositions III.3 and V.5 and Theorems IV.2 and V.1 (in the standard basis) of Braun et al. (2014).
Abstract. Information theory gives lower bounds on the number of oracle queries that an optimization algorithm needs. If every answer of the oracle reveals at most nats about an instance drawn from a finite set , then every deterministic algorithm that identifies the instance with error probability asks at least queries in expectation, where is the binary entropy, and a corrected tail bound controls the probability of stopping early. For a uniformly random binary string of length and an oracle that reveals the position of the first wrong guess among guessed bits, this gives at least queries. Convex 1-Lipschitz functions on that encode random strings of length in nested intervals have a local single-coordinate first-order oracle emulated by this oracle, so finding an -minimizer with takes at least queries in expectation, that is . Over the unit -ball, the functions with random signs need queries independently of the dimension, and the rescaled box functions need for small . Oracle emulations transfer such lower bounds from one oracle to another, and every local oracle is emulated by the maximal oracle, which reveals all instances that agree near the query. Algorithms are query trees, and the instances carry an arbitrary prior.
How many oracle queries does an algorithm need to minimize a nonsmooth convex function? The paper answers this with information theory instead of the resisting oracles of Nemirovski and Yudin: an unknown instance carries a certain amount of entropy, every oracle answer reveals only a bounded amount of information about it, so many answers are needed to identify it. This bounds the distributional complexity of algorithms that may err with some probability, and through emulations it transfers from one oracle to another.
Query algorithms and information¶
A deterministic adaptive algorithm is a query tree: it either stops with an output, or asks a query and continues with the subtree for the answer it receives. The instance is drawn from a finite set with probabilities , and the oracle answers query by . The algorithm asks queries and outputs a guess of the instance, wrong with probability .
The answers are determined by the instance, so this conditional entropy is the information of the paper.
All entropies are kept multiplied by the probability of the event they condition on, so no division occurs. By the chain rule, the entropy of the instance given the instances reaching a query splits into the entropy of the answer, at most times their probability, and the entropies given the answers. Unfolding the tree, is at most plus the entropy left at the leaves. At a leaf with output , Fano’s inequality bounds the entropy left by the binary entropy of the error plus the error times , in scaled form. The scaled binary entropy is superadditive because is concave, so the leaves add up to .
Run the chain rule for steps only: is at most plus the entropy left at the leaves reached before depth and at the nodes of depth . Fano’s inequality bounds the former by , where is the probability of an error before depth . The entropy left at a node of depth is at most its probability times , and these add up to .
The string guessing problem¶
The source of hardness is a hidden binary string , drawn uniformly at random. Its oracle accepts guesses of any of the bits and reveals only how far the guesses were right.
The oracle reveals nothing about the bits after the first wrong guess. Hence the strings that reach a query form a cylinder: they agree with a partial assignment of the bits. On a cylinder the answer has entropy at most . A guess of a bit that the cylinder fixes either ends the answer or is skipped; a guess of a free bit splits the cylinder into two halves, the answer at this guess on one half and a later answer on the other, at the cost of one bit plus half the entropy of the rest. Lemma III.1 with , and gives the bound.
This is the corrected Lemma III.1 for the uniform prior, with ; bounding by removes the condition .
The new algorithm asks whenever the old one asks and continues with the old subtree for the translated answer. So lower bounds for hold for : the paper emulates convex optimization oracles by a string guessing oracle and transfers its lower bound.
Nonsmooth convex optimization in one dimension¶
The hard instances encode a binary string in nested intervals. The interval of the first bits of has center , the sign given by bit , and radius ; every bit selects the left or the right part of the current interval.
This is the paper’s recursive construction: each new bit replaces the function on part of the current interval by a flatter absolute value centered in the new interval.
At an -optimal point the piece of depth is below , so the point lies within of . There the greedy path, which moves from the current center a quarter of the radius towards the point, follows the bits of ; so the point determines .
The query asks for the bits of the greedy path towards , and the answer reveals the first bit where leaves it. Then lies outside the interval of the first bits of , where every deeper piece lies below the piece of depth . A deeper piece can reach the maximum only if leaves the path to the right of ; then its slopes at are negative and no steeper than those of the piece of depth , so it changes neither the left derivative nor a positive right derivative. The answer therefore depends only on the first bits of , which the query reveals.
An oracle is local if instances that agree near get the same answer at ; a non-local first-order oracle could choose its subgradient at a kink to encode the minimizer.
Every piece is affine on each side of near , and the pieces below the maximum stay below it nearby, so is affine on each side of near with its one-sided derivatives as slopes. Functions that agree near therefore have the same one-sided derivatives at .
By Lemmas IV.5 and III.5 the algorithm runs with the string guessing oracle, with the same number of queries, and by Lemma IV.3 the greedy path of its output recovers whenever the output is -optimal. Proposition III.3 then bounds the number of queries.
Nonsmooth convex optimization over the box¶
In dimensions the instances are -tuples of strings, one for each coordinate.
All one-dimensional hard functions have the same minimum, so every coordinate of an -minimizer is -minimal for its own function and decodes its string.
A label stands for bit of coordinate ; its value is the value of coordinate if first leaves the greedy path towards at bit . These values decrease in . The query guesses the bits of all greedy paths in the confidence order: larger values first, then smaller coordinates, then smaller bits. If the first wrong guess is at the label , then leaves its path at bit , and every other coordinate either follows its path throughout or has value at most that of its first label after , which comes later in the order. So the value, the least coordinate attaining it and its slope are determined by the answer.
Moving one coordinate changes only through that coordinate. A coordinate that attains the maximum raises when moved in the direction of its oracle slope, at that rate, and the other coordinates leave unchanged nearby; so the function near determines the answer.
Concatenation is a bijection between -tuples of strings of length and strings of length , so Proposition III.3 for strings of length applies as in one dimension.
Lower bounds over -balls¶
Over the unit ball of the norm, , the complexity need not grow with the dimension when is large. The instances are signs on coordinates.
The point lies on the unit sphere of , and . So an -minimizer over has for all , and the signs of recover .
The query guesses, in the order of decreasing and then increasing , the signs , and if , which make every term . If the first wrong guess is at , then , the earlier terms are , and the later ones are at most , with equality only at larger indices. So , and the least coordinate attaining it and its sign are determined by the answer. If all guesses are right, the answer determines .
A coordinate with raises at rate 1 when moved in the direction and does not raise it in the opposite direction; any other coordinate leaves unchanged nearby. So the function near determines the answer.
As in Section IV: the signs of the output decode , Lemma V.4 emulates the oracle, and Proposition III.3 applies to strings of length .
For small the box bound takes over. The cube with lies in .
Rescaling keeps the Lipschitz constant 1 for the maximum norm, which is at most the norm, and the minimizers have coordinates of absolute value at most , so they lie in . An -minimizer over is therefore a global -minimizer, and it rescales to an -minimizer of . The rescaled oracle is emulated by the oracle of Section IV.B, and Theorem IV.2 applies with .
Arbitrary local oracles¶
Section VI extends the lower bounds to all local oracles. Its tool is an oracle that reveals as much as a local oracle possibly can.
Instances that agree near have the same set of instances agreeing with them near . A local oracle takes the same value at all instances of this set, so evaluating it at any of them recovers its answer.
The paper then shifts the hard functions by random perturbations, so that with probability one no query hits a point where the function is not locally linear (Lemmas VI.4 and VI.6). At the other points the maximal oracle reveals no more than the single-coordinate oracle, which gives Theorems VI.3 and VI.5 and Proposition VI.7. These arguments need families of instances with continuous random perturbations and are not formalized.
Coverage¶
This entry covers Lemma III.1 and Proposition III.3 in expectation and in probability, Lemma III.5, Section IV (Lemmas IV.3 to IV.7, Theorem IV.2), Section V with the standard basis (Lemmas V.3 and V.4, Theorem V.1, Proposition V.5), including the locality of the oracles, and Definition VI.1 and Lemma VI.2. Not covered are Theorem V.1 for with the rate , whose proof fails (see the errata), Remark V.6, and the perturbation arguments of Section VI (Theorems VI.3 and VI.5, Lemmas VI.4 and VI.6, Proposition VI.7).
The formal statements at a glance¶
/-- Lemma III.1: if every query reveals at most `C` nats about the instance, then
`H(F) ≤ C E[T] + h(P_e) + P_e log(|F| - 1)`. -/
theorem info_lower_bound : InfoLowerBound := Proof.info_lower_bound
/-- Lemma III.1 in probability (corrected): for `C ≥ 0` and `P_e ≤ 1/2`,
`P[T < d] log|F| ≤ log|F| - H(F) + C d + h(P_e) + P_e log(|F| - 1)`. -/
theorem info_tail_bound : InfoTailBound := Proof.info_tail_bound
/-- Lemma III.5: an algorithm for an emulated oracle runs with the emulating oracle, with the same
outputs and the same numbers of queries. -/
theorem emulation : Emulation := Proof.emulation
/-- Proposition III.3: identifying a uniformly random string of length `M` with the string guessing
oracle and error probability `P_e` takes at least `((1 - P_e) M - 1)/2` queries in expectation. -/
theorem string_guessing : StringGuessing := Proof.string_guessing
/-- Proposition III.3 in probability: the string guessing problem stops after fewer than `d`
queries with probability at most `P_e + (2d + 1)/M`. -/
theorem string_guessing_tail : StringGuessingTail := Proof.string_guessing_tail
/-- The hard functions of Section IV.A are convex and `1`-Lipschitz, and `boxOracle` answers their
value and a subgradient. -/
theorem box_oracle_valid : BoxOracleValid := Proof.box_oracle_valid
/-- Lemma IV.3: for `ε < 8^{-M}`, the `ε`-minimizers of different hard functions are disjoint. -/
theorem box_packing : BoxPacking := Proof.box_packing
/-- Lemma IV.5: the oracle of the hard functions is emulated by the string guessing oracle. -/
theorem box_emulation : BoxEmulation := Proof.box_emulation
/-- Theorem IV.2, one-dimensional case: finding an `ε`-minimizer of a random hard function takes at
least `((1 - P_e) M - 1)/2` queries in expectation. -/
theorem box_lower_bound : BoxLowerBound := Proof.box_lower_bound
/-- Lemma IV.5, locality: the oracle of the hard functions of Section IV.A is local. -/
theorem box_local : BoxLocal := Proof.box_local
/-- The hard functions of Section IV.B are convex and `1`-Lipschitz for the maximum norm, and
`cubeOracle` answers their value and a subgradient on a coordinate axis. -/
theorem cube_oracle_valid : CubeOracleValid := Proof.cube_oracle_valid
/-- Lemma IV.6: for `ε < 8^{-M}`, the `ε`-minimizers of different hard functions of Section IV.B
are disjoint. -/
theorem cube_packing : CubePacking := Proof.cube_packing
/-- Lemma IV.7: the oracle of Section IV.B is emulated by the string guessing oracle on the
concatenation of the strings. -/
theorem cube_emulation : CubeEmulation := Proof.cube_emulation
/-- Lemma IV.7, locality: the oracle of Section IV.B is local. -/
theorem cube_local : CubeLocal := Proof.cube_local
/-- Theorem IV.2: finding an `ε`-minimizer of a random hard function of Section IV.B with the
single-coordinate oracle takes at least `((1 - P_e) n M - 1)/2` queries in expectation. -/
theorem cube_lower_bound : CubeLowerBound := Proof.cube_lower_bound
/-- The hard functions of Section V.A are convex and `1`-Lipschitz for the `ℓ^p` norm, and their
oracle answers the value and a subgradient on a coordinate axis. -/
theorem lp_oracle_valid : LpOracleValid := Proof.lp_oracle_valid
/-- Lemma V.3 (standard basis): for `M ε^p < 1`, an `ε`-minimizer over the unit `ℓ^p` ball
determines the signs. -/
theorem lp_packing : LpPacking := Proof.lp_packing
/-- Lemma V.4: the oracle of Section V.A is emulated by the string guessing oracle. -/
theorem lp_emulation : LpEmulation := Proof.lp_emulation
/-- Lemma V.4, locality: the oracle of Section V.A is local. -/
theorem lp_local : LpLocal := Proof.lp_local
/-- Theorem V.1 (standard basis): for `M ≤ n` and `M ε^p < 1`, minimizing a random hard function
of Section V.A over the unit `ℓ^p` ball takes at least `((1 - P_e) M - 1)/2` queries in
expectation. -/
theorem lp_lower_bound : LpLowerBound := Proof.lp_lower_bound
/-- Proposition V.5: for `ε < n^{-1/p} 8^{-M}`, the hard functions of Section IV.B rescaled into the
unit `ℓ^p` ball need at least `((1 - P_e) n M - 1)/2` queries in expectation. -/
theorem low_scale_lower_bound : LowScaleLowerBound := Proof.low_scale_lower_bound
/-- Lemma VI.2: the maximal oracle is local and emulates every local oracle. -/
theorem maximal_oracle : MaximalOracle := Proof.maximal_oracleFormal verification — ✅ all 33 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Information per query —
Lemmata.OracleComplexity.InfoBounded(source)✓ kernel-checked (Lean v4.35.0) Lemma III.1 —
Lemmata.OracleComplexity.info_lower_bound(source)✓ kernel-checked (Lean v4.35.0) Lemma III.5 —
Lemmata.OracleComplexity.emulation(source)◇ elaborated definition (Lean v4.35.0) String guessing oracle (Oracle III.2) —
Lemmata.OracleComplexity.stringGuess(source)✓ kernel-checked (Lean v4.35.0) Proposition III.3 —
Lemmata.OracleComplexity.string_guessing(source)◇ elaborated definition (Lean v4.35.0) Hard functions —
Lemmata.OracleComplexity.boxFn(source)◇ elaborated definition (Lean v4.35.0) Oracle —
Lemmata.OracleComplexity.boxOracle(source)✓ kernel-checked (Lean v4.35.0) The hard functions and their oracle —
Lemmata.OracleComplexity.box_oracle_valid(source)✓ kernel-checked (Lean v4.35.0) Lemma IV.3 —
Lemmata.OracleComplexity.box_packing(source)✓ kernel-checked (Lean v4.35.0) Lemma IV.5 —
Lemmata.OracleComplexity.box_emulation(source)✓ kernel-checked (Lean v4.35.0) Theorem IV.2 —
Lemmata.OracleComplexity.box_lower_bound(source)◇ elaborated definition (Lean v4.35.0) Local oracle —
Lemmata.OracleComplexity.IsLocalOracle(source)✓ kernel-checked (Lean v4.35.0) Lemma IV.5 —
Lemmata.OracleComplexity.box_local(source)◇ elaborated definition (Lean v4.35.0) Hard functions of Section IV.B —
Lemmata.OracleComplexity.cubeFn(source)◇ elaborated definition (Lean v4.35.0) Single-coordinate oracle —
Lemmata.OracleComplexity.cubeOracle(source)✓ kernel-checked (Lean v4.35.0) The hard functions and their oracle —
Lemmata.OracleComplexity.cube_oracle_valid(source)✓ kernel-checked (Lean v4.35.0) Lemma IV.6 —
Lemmata.OracleComplexity.cube_packing(source)✓ kernel-checked (Lean v4.35.0) Lemma IV.7 —
Lemmata.OracleComplexity.cube_emulation(source)✓ kernel-checked (Lean v4.35.0) Lemma IV.7 —
Lemmata.OracleComplexity.cube_local(source)✓ kernel-checked (Lean v4.35.0) Theorem IV.2 —
Lemmata.OracleComplexity.cube_lower_bound(source)✓ kernel-checked (Lean v4.35.0) Lemma III.1 —
Lemmata.OracleComplexity.info_tail_bound(source)✓ kernel-checked (Lean v4.35.0) Proposition III.3 —
Lemmata.OracleComplexity.string_guessing_tail(source)◇ elaborated definition (Lean v4.35.0) Hard functions of Section V.A —
Lemmata.OracleComplexity.lpFn(source)◇ elaborated definition (Lean v4.35.0) Single-coordinate oracle of Section V.A —
Lemmata.OracleComplexity.lpOracle(source)✓ kernel-checked (Lean v4.35.0) The hard functions and their oracle —
Lemmata.OracleComplexity.lp_oracle_valid(source)✓ kernel-checked (Lean v4.35.0) Lemma V.3 —
Lemmata.OracleComplexity.lp_packing(source)✓ kernel-checked (Lean v4.35.0) Lemma V.4 —
Lemmata.OracleComplexity.lp_emulation(source)✓ kernel-checked (Lean v4.35.0) Lemma V.4 —
Lemmata.OracleComplexity.lp_local(source)✓ kernel-checked (Lean v4.35.0) Theorem V.1 —
Lemmata.OracleComplexity.lp_lower_bound(source)◇ elaborated definition (Lean v4.35.0) Rescaled hard functions —
Lemmata.OracleComplexity.scaledFn(source)✓ kernel-checked (Lean v4.35.0) Proposition V.5 —
Lemmata.OracleComplexity.low_scale_lower_bound(source)◇ elaborated definition (Lean v4.35.0) Definition VI.1 —
Lemmata.OracleComplexity.maxOracle(source)✓ kernel-checked (Lean v4.35.0) Lemma VI.2 —
Lemmata.OracleComplexity.maximal_oracle(source)
Checked at commit 2733eb8b2cc1. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean InfoBounded · ◇ elaborated · source
Definition in Lean
/-- Every query the algorithm asks reveals at most `C` nats about the instance: for the set `G` of
instances that reach the query, the answer has conditional entropy at most `C` given `G`. -/
def InfoBounded (p : F → ℝ) (oracle : F → Q → A) (C : ℝ) : QueryTree Q A X → Finset F → Prop
| .ret _, _ => True
| .ask q next, G => answerEntropy p oracle q G ≤ C * weight p G ∧
∀ a, InfoBounded p oracle C (next a) (G.filter (fun f => oracle f q = a))Lean info_lower_bound · ✅ kernel-checked · source
Statement in Lean
/-- Lemma III.1: if every query reveals at most `C` nats about the instance, then
`H(F) ≤ C E[T] + h(P_e) + P_e log(|F| - 1)`. -/
theorem info_lower_bound : InfoLowerBoundwhere InfoLowerBound is (source):
/-- **Lemma III.1** (information-theoretic lower bound, in expectation). Let the instance be drawn
from a finite set `F` with probabilities `p`, and let a deterministic query algorithm identify it
with error probability `P_e`, every query revealing at most `C` nats about the instance. Then
`H(F) ≤ C E[T] + h(P_e) + P_e log(|F| - 1)`, where `T` is the number of queries and `h` the binary
entropy; for `C > 0`, `E[T] ≥ (H(F) - h(P_e) - P_e log(|F| - 1))/C`. -/
def InfoLowerBound : Prop :=
∀ {F Q A : Type u} [Fintype F] (p : F → ℝ) (oracle : F → Q → A) (C : ℝ) (t : QueryTree Q A F),
(∀ f, 0 ≤ p f) → ∑ f, p f = 1 → InfoBounded p oracle C t Finset.univ →
∑ f, Real.negMulLog (p f) ≤
C * ∑ f, p f * (t.queries (oracle f) : ℝ) +
Real.binEntropy (∑ f ∈ Finset.univ.filter (fun f => t.output (oracle f) ≠ f), p f) +
(∑ f ∈ Finset.univ.filter (fun f => t.output (oracle f) ≠ f), p f) *
Real.log ((Fintype.card F : ℝ) - 1)Lean emulation · ✅ kernel-checked · source
Statement in Lean
/-- Lemma III.5: an algorithm for an emulated oracle runs with the emulating oracle, with the same
outputs and the same numbers of queries. -/
theorem emulation : Emulationwhere Emulation is (source):
/-- **Lemma III.5** (oracle emulation). If the oracle `O₁` is emulated by the oracle `O₂`, with
query translation `qe` and answer translation `ae` such that `O₁(x) = ae(x, O₂(qe(x)))` on every
instance, then every algorithm for `O₁` turns into an algorithm for `O₂` with the same output and
the same number of queries on every instance. Hence lower bounds on the number of queries for `O₂`
hold for `O₁`. -/
def Emulation : Prop :=
∀ {F Q₁ A₁ Q₂ A₂ X : Type u} (oracle₁ : F → Q₁ → A₁) (oracle₂ : F → Q₂ → A₂) (qe : Q₁ → Q₂)
(ae : Q₁ → A₂ → A₁), (∀ f x, oracle₁ f x = ae x (oracle₂ f (qe x))) →
∀ t : QueryTree Q₁ A₁ X, ∃ t' : QueryTree Q₂ A₂ X, ∀ f,
t'.output (oracle₂ f) = t.output (oracle₁ f) ∧ t'.queries (oracle₂ f) = t.queries (oracle₁ f)Lean stringGuess · ◇ elaborated · source
Definition in Lean
/-- The string guessing oracle (Oracle III.2) for a hidden string `S ∈ {0,1}^M`: a query is a list
of guesses `(i, b)` of bits `S i = b`, and the answer is the index of the first wrong guess, or
`none` if all guesses are right. -/
def stringGuess {M : ℕ} (S : Fin M → Bool) (q : List (Fin M × Bool)) : Option ℕ :=
q.findIdx? (fun g => S g.1 != g.2)Lean string_guessing · ✅ kernel-checked · source
Statement in Lean
/-- Proposition III.3: identifying a uniformly random string of length `M` with the string guessing
oracle and error probability `P_e` takes at least `((1 - P_e) M - 1)/2` queries in expectation. -/
theorem string_guessing : StringGuessingwhere StringGuessing is (source):
/-- **Proposition III.3** (string guessing problem). Let the hidden string `S ∈ {0,1}^M` be
uniformly random, and let a deterministic query algorithm using the string guessing oracle identify
`S` with error probability `P_e`. Then the expected number of queries is at least
`((1 - P_e) M - h(P_e)/log 2)/2`, and hence at least `((1 - P_e) M - 1)/2`. -/
def StringGuessing : Prop :=
∀ (M : ℕ) (t : QueryTree (List (Fin M × Bool)) (Option ℕ) (Fin M → Bool)),
let Pe := ((Finset.univ.filter (fun S => t.output (stringGuess S) ≠ S)).card : ℝ) / 2 ^ M
let ET := (∑ S, (t.queries (stringGuess S) : ℝ)) / 2 ^ M
((1 - Pe) * M - Real.binEntropy Pe / Real.log 2) / 2 ≤ ET ∧ ((1 - Pe) * M - 1) / 2 ≤ ETLean boxFn · ◇ elaborated · source
Definition in Lean
/-- The hard function of Section IV.A for the string `S ∈ {0,1}^M`: the maximum of the pieces of
depths `0, …, M`. -/
noncomputable def boxFn {M : ℕ} (S : Fin M → Bool) (x : ℝ) : ℝ :=
(Finset.range (M + 1)).sup' Finset.nonempty_range_add_one (fun j => boxPiece S j x)Lean boxOracle · ◇ elaborated · source
Definition in Lean
/-- The first-order oracle of Section IV.A: the value of the hard function, and its right
derivative if this is positive, otherwise its left derivative. Both are subgradients, and the
chosen one is the slope at which the function increases on one side of `x`. -/
noncomputable def boxOracle {M : ℕ} (S : Fin M → Bool) (x : ℝ) : ℝ × ℝ :=
(boxFn S x, if 0 < boxRight S x then boxRight S x else boxLeft S x)Lean box_oracle_valid · ✅ kernel-checked · source
Statement in Lean
/-- The hard functions of Section IV.A are convex and `1`-Lipschitz, and `boxOracle` answers their
value and a subgradient. -/
theorem box_oracle_valid : BoxOracleValidwhere BoxOracleValid is (source):
/-- The hard functions of Section IV.A are convex and `1`-Lipschitz, and `boxOracle` is a
first-order oracle for them: it answers the value and a subgradient. -/
def BoxOracleValid : Prop :=
∀ (M : ℕ) (S : Fin M → Bool), ConvexOn ℝ Set.univ (boxFn S) ∧ LipschitzWith 1 (boxFn S) ∧
∀ x, (boxOracle S x).1 = boxFn S x ∧ ∀ y, boxFn S x + (boxOracle S x).2 * (y - x) ≤ boxFn S yLean box_packing · ✅ kernel-checked · source
Statement in Lean
/-- Lemma IV.3: for `ε < 8^{-M}`, the `ε`-minimizers of different hard functions are disjoint. -/
theorem box_packing : BoxPackingwhere BoxPacking is (source):
/-- **Lemma IV.3** (packing). The hard function `boxFn S` has minimum `b_M - 8^{-M}`, attained at
`c_M(S)`, and for `ε < 8^{-M}` a point that is `ε`-optimal for two hard functions `boxFn S` and
`boxFn S'` has `S = S'`. -/
def BoxPacking : Prop :=
∀ (M : ℕ) (S : Fin M → Bool), (∀ y, boxLevel M - (1 / 8) ^ M ≤ boxFn S y) ∧
boxFn S (boxCenter S M) = boxLevel M - (1 / 8) ^ M ∧
∀ (S' : Fin M → Bool) (ε x : ℝ), ε < (1 / 8) ^ M → (∀ y, boxFn S x ≤ boxFn S y + ε) →
(∀ y, boxFn S' x ≤ boxFn S' y + ε) → S = S'Lean box_emulation · ✅ kernel-checked · source
Statement in Lean
/-- Lemma IV.5: the oracle of the hard functions is emulated by the string guessing oracle. -/
theorem box_emulation : BoxEmulationwhere BoxEmulation is (source):
/-- **Lemma IV.5** (emulation by string guessing). The oracle `boxOracle` is emulated by the
string guessing oracle on strings of length `M`: there are a query translation `q` and an answer
translation `a` with `boxOracle S x = a(x, O_S(q(x)))` for every string `S` and point `x`. -/
def BoxEmulation : Prop :=
∀ M : ℕ, ∃ (qe : ℝ → List (Fin M × Bool)) (ae : ℝ → Option ℕ → ℝ × ℝ),
∀ (S : Fin M → Bool) (x : ℝ), boxOracle S x = ae x (stringGuess S (qe x))Lean box_lower_bound · ✅ kernel-checked · source
Statement in Lean
/-- Theorem IV.2, one-dimensional case: finding an `ε`-minimizer of a random hard function takes at
least `((1 - P_e) M - 1)/2` queries in expectation. -/
theorem box_lower_bound : BoxLowerBoundwhere BoxLowerBound is (source):
/-- **Theorem IV.2, one-dimensional case.** Let `S ∈ {0,1}^M` be uniformly random and
`ε < 8^{-M}`. Every deterministic algorithm that queries the oracle `boxOracle S` and outputs an
`ε`-minimizer of `boxFn S` with error probability `P_e` asks at least `((1 - P_e) M - 1)/2` queries
in expectation; with `M = ⌊log₂(1/ε)/3⌋` (when this is below `log₂(1/ε)/3`) this is
`Ω((1 - P_e) log(1/ε))`. -/
def BoxLowerBound : Prop :=
∀ (M : ℕ) (ε : ℝ), ε < (1 / 8) ^ M → ∀ t : QueryTree ℝ (ℝ × ℝ) ℝ,
let Pe := ((Finset.univ.filter (fun S : Fin M → Bool =>
¬ ∀ y, boxFn S (t.output (boxOracle S)) ≤ boxFn S y + ε)).card : ℝ) / 2 ^ M
((1 - Pe) * M - 1) / 2 ≤ (∑ S : Fin M → Bool, (t.queries (boxOracle S) : ℝ)) / 2 ^ MLean IsLocalOracle · ◇ elaborated · source
Definition in Lean
/-- An oracle `O` for a family of functions `F` is local if instances that agree near `x` get the
same answer at `x`. -/
def IsLocalOracle {ι E α : Type*} [TopologicalSpace E] (F : ι → E → ℝ) (O : ι → E → α) : Prop :=
∀ i i' x, (∀ᶠ y in nhds x, F i y = F i' y) → O i x = O i' xLean box_local · ✅ kernel-checked · source
Statement in Lean
/-- Lemma IV.5, locality: the oracle of the hard functions of Section IV.A is local. -/
theorem box_local : BoxLocalwhere BoxLocal is (source):
/-- **Lemma IV.5, locality.** The oracle of the hard functions of Section IV.A is local. -/
def BoxLocal : Prop :=
∀ M : ℕ, IsLocalOracle (fun S : Fin M → Bool => boxFn S) (fun S => boxOracle S)Lean cubeFn · ◇ elaborated · source
Definition in Lean
/-- The hard function of Section IV.B for strings `S₁, …, Sₙ ∈ {0,1}^M`: the maximum over the
coordinates of the one-dimensional hard functions, `f_S(x) = max_i f_{S_i}(x_i)`. -/
noncomputable def cubeFn (S : Fin n → Fin M → Bool) (x : Fin n → ℝ) : ℝ :=
Finset.univ.sup' Finset.univ_nonempty (fun i => boxFn (S i) (x i))Lean cubeOracle · ◇ elaborated · source
Definition in Lean
/-- The single-coordinate oracle of Section IV.B: the value, the least coordinate `i` attaining the
maximum, and the slope `λ` of the oracle of that coordinate; the subgradient is `λ e_i`. -/
noncomputable def cubeOracle (S : Fin n → Fin M → Bool) (x : Fin n → ℝ) : ℝ × Fin n × ℝ :=
(cubeFn S x, cubeCoord S x, (boxOracle (S (cubeCoord S x)) (x (cubeCoord S x))).2)Lean cube_oracle_valid · ✅ kernel-checked · source
Statement in Lean
/-- The hard functions of Section IV.B are convex and `1`-Lipschitz for the maximum norm, and
`cubeOracle` answers their value and a subgradient on a coordinate axis. -/
theorem cube_oracle_valid : CubeOracleValidwhere CubeOracleValid is (source):
/-- The hard functions of Section IV.B are convex and `1`-Lipschitz for the maximum norm, and
`cubeOracle` is a first-order oracle whose subgradient lies on a coordinate axis. -/
def CubeOracleValid : Prop :=
∀ (n M : ℕ) [NeZero n] (S : Fin n → Fin M → Bool), ConvexOn ℝ Set.univ (cubeFn S) ∧
LipschitzWith 1 (cubeFn S) ∧ ∀ x, (cubeOracle S x).1 = cubeFn S x ∧
∀ y, cubeFn S x + (cubeOracle S x).2.2 * (y (cubeOracle S x).2.1 - x (cubeOracle S x).2.1) ≤
cubeFn S yLean cube_packing · ✅ kernel-checked · source
Statement in Lean
/-- Lemma IV.6: for `ε < 8^{-M}`, the `ε`-minimizers of different hard functions of Section IV.B
are disjoint. -/
theorem cube_packing : CubePackingwhere CubePacking is (source):
/-- **Lemma IV.6** (packing). The minimum of `cubeFn S` is `b_M - 8^{-M}`, attained at the point
with coordinates `c_M(S_i)`, and for `ε < 8^{-M}` a point that is `ε`-optimal for `cubeFn S` and
`cubeFn S'` has `S = S'`. -/
def CubePacking : Prop :=
∀ (n M : ℕ) [NeZero n] (S : Fin n → Fin M → Bool),
(∀ y, boxLevel M - (1 / 8) ^ M ≤ cubeFn S y) ∧
cubeFn S (fun i => boxCenter (S i) M) = boxLevel M - (1 / 8) ^ M ∧
∀ (S' : Fin n → Fin M → Bool) (ε : ℝ) (x : Fin n → ℝ), ε < (1 / 8) ^ M →
(∀ y, cubeFn S x ≤ cubeFn S y + ε) → (∀ y, cubeFn S' x ≤ cubeFn S' y + ε) → S = S'Lean cube_emulation · ✅ kernel-checked · source
Statement in Lean
/-- Lemma IV.7: the oracle of Section IV.B is emulated by the string guessing oracle on the
concatenation of the strings. -/
theorem cube_emulation : CubeEmulationwhere CubeEmulation is (source):
/-- **Lemma IV.7** (emulation). The oracle `cubeOracle` is emulated by the string guessing oracle on
the concatenation of the strings, of length `n M`. -/
def CubeEmulation : Prop :=
∀ (n M : ℕ) [NeZero n], ∃ (qe : (Fin n → ℝ) → List (Fin (n * M) × Bool))
(ae : (Fin n → ℝ) → Option ℕ → ℝ × Fin n × ℝ), ∀ (S : Fin n → Fin M → Bool) (x : Fin n → ℝ),
cubeOracle S x = ae x (stringGuess (cubeString S) (qe x))Lean cube_local · ✅ kernel-checked · source
Statement in Lean
/-- Lemma IV.7, locality: the oracle of Section IV.B is local. -/
theorem cube_local : CubeLocalwhere CubeLocal is (source):
/-- **Lemma IV.7, locality.** The oracle of the hard functions of Section IV.B is local. -/
def CubeLocal : Prop :=
∀ (n M : ℕ) [NeZero n],
IsLocalOracle (fun S : Fin n → Fin M → Bool => cubeFn S) (fun S => cubeOracle S)Lean cube_lower_bound · ✅ kernel-checked · source
Statement in Lean
/-- Theorem IV.2: finding an `ε`-minimizer of a random hard function of Section IV.B with the
single-coordinate oracle takes at least `((1 - P_e) n M - 1)/2` queries in expectation. -/
theorem cube_lower_bound : CubeLowerBoundwhere CubeLowerBound is (source):
/-- **Theorem IV.2.** Let `S₁, …, Sₙ ∈ {0,1}^M` be uniformly random and `ε < 8^{-M}`. Every
deterministic algorithm that queries the single-coordinate oracle `cubeOracle S` and outputs an
`ε`-minimizer of `cubeFn S` with error probability `P_e` asks at least `((1 - P_e) n M - 1)/2`
queries in expectation, that is `Ω((1 - P_e) n log(1/ε))`. -/
def CubeLowerBound : Prop :=
∀ (n M : ℕ) [NeZero n] (ε : ℝ), ε < (1 / 8) ^ M →
∀ t : QueryTree (Fin n → ℝ) (ℝ × Fin n × ℝ) (Fin n → ℝ),
let Pe := ((Finset.univ.filter (fun S : Fin n → Fin M → Bool =>
¬ ∀ y, cubeFn S (t.output (cubeOracle S)) ≤ cubeFn S y + ε)).card : ℝ) / 2 ^ (n * M)
((1 - Pe) * (n * M) - 1) / 2 ≤
(∑ S : Fin n → Fin M → Bool, (t.queries (cubeOracle S) : ℝ)) / 2 ^ (n * M)Lean info_tail_bound · ✅ kernel-checked · source
Statement in Lean
/-- Lemma III.1 in probability (corrected): for `C ≥ 0` and `P_e ≤ 1/2`,
`P[T < d] log|F| ≤ log|F| - H(F) + C d + h(P_e) + P_e log(|F| - 1)`. -/
theorem info_tail_bound : InfoTailBoundwhere InfoTailBound is (source):
/-- **Lemma III.1** (in probability, corrected). Under the hypotheses of Lemma III.1 with `C ≥ 0`
and `P_e ≤ 1/2`, for every `d` the probability that the algorithm stops after fewer than `d`
queries satisfies `P[T < d] log|F| ≤ log|F| - H(F) + C d + h(P_e) + P_e log(|F| - 1)`. For the
uniform distribution `log|F| = H(F)`, and this is the bound of the paper. -/
def InfoTailBound : Prop :=
∀ {F Q A : Type u} [Fintype F] (p : F → ℝ) (oracle : F → Q → A) (C : ℝ) (t : QueryTree Q A F)
(d : ℕ), (∀ f, 0 ≤ p f) → ∑ f, p f = 1 → 0 ≤ C → InfoBounded p oracle C t Finset.univ →
∑ f ∈ Finset.univ.filter (fun f => t.output (oracle f) ≠ f), p f ≤ 1 / 2 →
(∑ f ∈ Finset.univ.filter (fun f => t.queries (oracle f) < d), p f) *
Real.log (Fintype.card F) ≤
Real.log (Fintype.card F) - ∑ f, Real.negMulLog (p f) + C * d +
Real.binEntropy (∑ f ∈ Finset.univ.filter (fun f => t.output (oracle f) ≠ f), p f) +
(∑ f ∈ Finset.univ.filter (fun f => t.output (oracle f) ≠ f), p f) *
Real.log ((Fintype.card F : ℝ) - 1)Lean string_guessing_tail · ✅ kernel-checked · source
Statement in Lean
/-- Proposition III.3 in probability: the string guessing problem stops after fewer than `d`
queries with probability at most `P_e + (2d + 1)/M`. -/
theorem string_guessing_tail : StringGuessingTailwhere StringGuessingTail is (source):
/-- **Proposition III.3** (in probability). For a uniformly random string of length `M ≥ 1` and
every `d`, an algorithm with the string guessing oracle and error probability `P_e` stops after
fewer than `d` queries with probability at most `P_e + (2d + 1)/M`; so `T ≥ cM` holds with
probability at least `1 - P_e - 2c - 1/M`. -/
def StringGuessingTail : Prop :=
∀ (M : ℕ) (t : QueryTree (List (Fin M × Bool)) (Option ℕ) (Fin M → Bool)) (d : ℕ), 0 < M →
((Finset.univ.filter (fun S => t.queries (stringGuess S) < d)).card : ℝ) / 2 ^ M ≤
((Finset.univ.filter (fun S => t.output (stringGuess S) ≠ S)).card : ℝ) / 2 ^ M +
(2 * d + 1) / MLean lpFn · ◇ elaborated · source
Definition in Lean
/-- The hard function of Section V.A for signs `s ∈ {±1}^M` on the first `M ≤ n` coordinates:
`f_s(x) = max_{i < M} s_i x_i`. -/
noncomputable def lpFn (h : M ≤ n) (s : Fin M → Bool) (x : Fin n → ℝ) : ℝ :=
Finset.univ.sup' Finset.univ_nonempty (fun i : Fin M => bitSign (s i) * x (Fin.castLE h i))Lean lpOracle · ◇ elaborated · source
Definition in Lean
/-- The single-coordinate oracle of Section V.A: the value, the least maximizing coordinate `i`
and the sign `s_i`; the subgradient is `s_i e_i`. -/
noncomputable def lpOracle (h : M ≤ n) (s : Fin M → Bool) (x : Fin n → ℝ) : ℝ × Fin n × ℝ :=
(lpFn h s x, Fin.castLE h (lpCoord h s x), bitSign (s (lpCoord h s x)))Lean lp_oracle_valid · ✅ kernel-checked · source
Statement in Lean
/-- The hard functions of Section V.A are convex and `1`-Lipschitz for the `ℓ^p` norm, and their
oracle answers the value and a subgradient on a coordinate axis. -/
theorem lp_oracle_valid : LpOracleValidwhere LpOracleValid is (source):
/-- The hard functions of Section V.A are convex and `1`-Lipschitz for the `ℓ^p` norm, `p ≥ 1`, and
`lpOracle` answers their value and a subgradient on a coordinate axis. -/
def LpOracleValid : Prop :=
∀ (n M : ℕ) [NeZero M] (h : M ≤ n) (p : ℝ), 1 ≤ p → ∀ s : Fin M → Bool,
ConvexOn ℝ Set.univ (lpFn h s) ∧
(∀ x y, |lpFn h s x - lpFn h s y| ≤ (∑ i, |x i - y i| ^ p) ^ (1 / p)) ∧
∀ x, (lpOracle h s x).1 = lpFn h s x ∧
∀ y, lpFn h s x + (lpOracle h s x).2.2 * (y (lpOracle h s x).2.1 - x (lpOracle h s x).2.1) ≤
lpFn h s yLean lp_packing · ✅ kernel-checked · source
Statement in Lean
/-- Lemma V.3 (standard basis): for `M ε^p < 1`, an `ε`-minimizer over the unit `ℓ^p` ball
determines the signs. -/
theorem lp_packing : LpPackingwhere LpPacking is (source):
/-- **Lemma V.3** (packing, standard basis). Let `p ≥ 1` and `M ε^p < 1`. A point of the unit
`ℓ^p` ball that is `ε`-optimal over the ball for `f_s` and for `f_{s'}` has `s = s'`. -/
def LpPacking : Prop :=
∀ (n M : ℕ) [NeZero M] (h : M ≤ n) (p ε : ℝ), 1 ≤ p → 0 < ε → M * ε ^ p < 1 →
∀ (s s' : Fin M → Bool) (x : Fin n → ℝ), x ∈ lpBall p n →
(∀ y ∈ lpBall p n, lpFn h s x ≤ lpFn h s y + ε) →
(∀ y ∈ lpBall p n, lpFn h s' x ≤ lpFn h s' y + ε) → s = s'Lean lp_emulation · ✅ kernel-checked · source
Statement in Lean
/-- Lemma V.4: the oracle of Section V.A is emulated by the string guessing oracle. -/
theorem lp_emulation : LpEmulationwhere LpEmulation is (source):
/-- **Lemma V.4** (emulation). The oracle `lpOracle` is emulated by the string guessing oracle on
strings of length `M`. -/
def LpEmulation : Prop :=
∀ (n M : ℕ) [NeZero M] (h : M ≤ n), ∃ (qe : (Fin n → ℝ) → List (Fin M × Bool))
(ae : (Fin n → ℝ) → Option ℕ → ℝ × Fin n × ℝ),
∀ (s : Fin M → Bool) (x : Fin n → ℝ), lpOracle h s x = ae x (stringGuess s (qe x))Lean lp_local · ✅ kernel-checked · source
Statement in Lean
/-- Lemma V.4, locality: the oracle of Section V.A is local. -/
theorem lp_local : LpLocalwhere LpLocal is (source):
/-- **Lemma V.4, locality.** The oracle of Section V.A is local. -/
def LpLocal : Prop :=
∀ (n M : ℕ) [NeZero M] (h : M ≤ n),
IsLocalOracle (fun s : Fin M → Bool => lpFn h s) (fun s => lpOracle h s)Lean lp_lower_bound · ✅ kernel-checked · source
Statement in Lean
/-- Theorem V.1 (standard basis): for `M ≤ n` and `M ε^p < 1`, minimizing a random hard function
of Section V.A over the unit `ℓ^p` ball takes at least `((1 - P_e) M - 1)/2` queries in
expectation. -/
theorem lp_lower_bound : LpLowerBoundwhere LpLowerBound is (source):
/-- **Theorem V.1** (large-scale case, standard basis). Let `p ≥ 1`, `M ≤ n` and `M ε^p < 1`, and
let `s ∈ {±1}^M` be uniformly random. Every deterministic algorithm that queries `lpOracle s` and
outputs an `ε`-minimizer of `f_s` over the unit `ℓ^p` ball with error probability `P_e` asks at
least `((1 - P_e) M - 1)/2` queries in expectation; with `M ≈ ε^{-p} ≤ n` this is
`Ω((1 - P_e)/ε^p)`. -/
def LpLowerBound : Prop :=
∀ (n M : ℕ) [NeZero M] (h : M ≤ n) (p ε : ℝ), 1 ≤ p → 0 < ε → M * ε ^ p < 1 →
∀ t : QueryTree (Fin n → ℝ) (ℝ × Fin n × ℝ) (Fin n → ℝ),
let Pe := ((Finset.univ.filter (fun s : Fin M → Bool =>
¬ (t.output (lpOracle h s) ∈ lpBall p n ∧
∀ y ∈ lpBall p n, lpFn h s (t.output (lpOracle h s)) ≤ lpFn h s y + ε))).card : ℝ) /
2 ^ M
((1 - Pe) * M - 1) / 2 ≤ (∑ s : Fin M → Bool, (t.queries (lpOracle h s) : ℝ)) / 2 ^ MLean scaledFn · ◇ elaborated · source
Definition in Lean
/-- The hard functions of Section IV.B rescaled into the cube of side `2ρ`:
`g_S(x) = ρ f_S(x/ρ)`. -/
noncomputable def scaledFn (ρ : ℝ) (S : Fin n → Fin M → Bool) (x : Fin n → ℝ) : ℝ :=
ρ * cubeFn S (fun i => x i / ρ)Lean low_scale_lower_bound · ✅ kernel-checked · source
Statement in Lean
/-- Proposition V.5: for `ε < n^{-1/p} 8^{-M}`, the hard functions of Section IV.B rescaled into the
unit `ℓ^p` ball need at least `((1 - P_e) n M - 1)/2` queries in expectation. -/
theorem low_scale_lower_bound : LowScaleLowerBoundwhere LowScaleLowerBound is (source):
/-- **Proposition V.5** (low-scale case). Let `p ≥ 1`, `ρ = n^{-1/p}` and `ε < ρ 8^{-M}`. The
rescaled hard functions are convex and `1`-Lipschitz for the `ℓ^p` norm, the rescaled oracle answers
their value and a subgradient on a coordinate axis, they attain their minimum in the unit `ℓ^p`
ball, and every deterministic algorithm that queries the rescaled single-coordinate oracle and
outputs an `ε`-minimizer over the ball with error probability `P_e` asks at least
`((1 - P_e) n M - 1)/2` queries in expectation; for `ε ≤ n^{-1/p - δ}` this is
`Ω((1 - P_e) n log(1/ε))`. -/
def LowScaleLowerBound : Prop :=
∀ (n M : ℕ) [NeZero n] (p ε : ℝ), 1 ≤ p → ε < (n : ℝ) ^ (-1 / p) * (1 / 8) ^ M →
let ρ := (n : ℝ) ^ (-1 / p)
(∀ S : Fin n → Fin M → Bool, ConvexOn ℝ Set.univ (scaledFn ρ S) ∧
(∀ x y, |scaledFn ρ S x - scaledFn ρ S y| ≤ (∑ i, |x i - y i| ^ p) ^ (1 / p)) ∧
(∀ x, (scaledOracle ρ S x).1 = scaledFn ρ S x ∧ ∀ y, scaledFn ρ S x +
(scaledOracle ρ S x).2.2 * (y (scaledOracle ρ S x).2.1 - x (scaledOracle ρ S x).2.1) ≤
scaledFn ρ S y) ∧
∃ z ∈ lpBall p n, ∀ y, scaledFn ρ S z ≤ scaledFn ρ S y) ∧
∀ t : QueryTree (Fin n → ℝ) (ℝ × Fin n × ℝ) (Fin n → ℝ),
let Pe := ((Finset.univ.filter (fun S : Fin n → Fin M → Bool =>
¬ (t.output (scaledOracle ρ S) ∈ lpBall p n ∧ ∀ y ∈ lpBall p n,
scaledFn ρ S (t.output (scaledOracle ρ S)) ≤ scaledFn ρ S y + ε))).card : ℝ) /
2 ^ (n * M)
((1 - Pe) * (n * M) - 1) / 2 ≤
(∑ S : Fin n → Fin M → Bool, (t.queries (scaledOracle ρ S) : ℝ)) / 2 ^ (n * M)Lean maxOracle · ◇ elaborated · source
Definition in Lean
/-- The maximal oracle of a family of functions (Definition VI.1): at `x` it answers the set of
instances that agree with the given one near `x`. -/
def maxOracle {ι E : Type*} [TopologicalSpace E] (F : ι → E → ℝ) (i : ι) (x : E) : Set ι :=
{j | ∀ᶠ y in nhds x, F j y = F i y}Lean maximal_oracle · ✅ kernel-checked · source
Statement in Lean
/-- Lemma VI.2: the maximal oracle is local and emulates every local oracle. -/
theorem maximal_oracle : MaximalOraclewhere MaximalOracle is (source):
/-- **Lemma VI.2** (maximal oracle). The maximal oracle is local, and every local oracle is
emulated by it with the identity as query translation. -/
def MaximalOracle : Prop :=
∀ {ι E α : Type u} [TopologicalSpace E] [Nonempty α] (F : ι → E → ℝ) (O : ι → E → α),
IsLocalOracle F (maxOracle F) ∧
(IsLocalOracle F O → ∃ ae : E → Set ι → α, ∀ i x, O i x = ae x (maxOracle F i x))AI use. The formalization and this page were developed with Claude (Anthropic) under the author’s direction and review, on top of Mathlib’s binary entropy.
Acknowledgements. This research was conducted in the context of the Agentic AI in Mathematics (EF-LiOpt-3) project at the Berlin Mathematics Research Center MATH (EXC-2046/2, project ID 390685689), funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy. This work has been partially supported by OpenAI’s Academic Researchers program.
License: CC BY 4.0
Comments.
- Braun, G., Guzmán, C., & Pokutta, S. (2014). Lower Bounds on the Oracle Complexity of Nonsmooth Convex Optimization via Information Theory. 10.48550/arXiv.1407.5144