Frank–Wolfe oracle complexity with prescribed set smoothness
Sebastian Pokutta
v1 2026-11-27 · last 2026-11-29
Note: A short note on arXiv is in preparation.
Abstract. For every , and , and every randomized method requiring no more than calls to a linear minimization oracle, there is a convex body with -Lipschitz unit normals, diameter at most and exactly one linear minimizer in every nonzero direction on which, with probability at least , the method returns an infeasible point or a point with primal gap at least for a known -smooth and -strongly convex quadratic. For methods with feasible outputs the probability is . The body can be chosen strongly convex, with moduli of uniform convexity at most . Frank–Wolfe on the inner parallel body reaches primal gap on every such body, so the order is optimal. The entry also proves lower bounds for an oracle that breaks ties by index, including deterministic methods in dimension and a penalty for infeasible outputs, an upper bound for general smooth convex objectives by conditional gradient sliding, and a linear rate for bodies with inner and outer tangent balls. In Hilbert space, a fixed example has matching inverse-time bounds for gradient-directed Frank–Wolfe. A separate fixed body gives an all-budget lower bound for each deterministic arbitrary-query method. For randomized methods with jointly measurable rules, one distribution gives a near-inverse-time lower bound, and each anytime method has one fixed body with infinitely many failures with probability at least .
Frank–Wolfe methods access the feasible region only through a linear minimization oracle (LMO), which returns a minimizer of a linear function over the region. On strongly convex regions, accuracy requires on the order of oracle calls, and this is optimal Grimmer & Liu, 2026Pokutta, 2026. This entry answers the same question for smooth regions, whose unit outer normals change in a Lipschitz way along the boundary.
Smoothness of the region does not improve the order . A convex body whose unit normals are -Lipschitz is a smaller convex body , of diameter , plus a ball of radius (Lemma 2). Frank–Wolfe applied to reaches primal gap after oracle calls for the quadratic . No method does better than a constant fraction of this with probability at least , even when the quadratic is known, the method is randomized, and every linear minimizer is unique. The hard bodies can even be chosen strongly convex, with a modulus that tends to zero as grows (Theorem 6).
| Methods | LMO | After at most oracle calls | |
|---|---|---|---|
| all | unique minimizers | infeasible output or primal gap , with probability | Theorem 1 |
| feasible outputs | unique minimizers | primal gap , with probability | Theorem 2 |
| all | vertex LMO | infeasible output or primal gap , with probability | Theorem 3 |
| deterministic | vertex LMO | the same, always, in dimension | Theorem 4 |
| Frank–Wolfe on the inner parallel body | any | primal gap for isotropic quadratics | Theorem 7 |
The bound for feasible outputs with the vertex LMO, the penalty for infeasible outputs, the upper bound for general smooth objectives and the linear rate for bodies that are also strongly convex are stated below.
Setting¶
Throughout, is a real inner product with norm , is the closed ball of radius about the origin, and a convex body is a compact convex set with nonempty interior.
Each boundary point of a -smooth set has exactly one unit outer normal. A linear function may still be minimized by a whole face.
When several points minimize , an LMO selects one of them; a fixed selection is a tie-breaking rule. For every point of is a minimizer.
The objective is known to the method, so evaluating it or its gradient is not an oracle call. In the lower bounds, the hard instance may depend on the method, but not on .
For example, a method whose directions and output are jointly measurable functions of and of the previous answers is measurable.
Up to an additive constant, is with . It is -smooth and -strongly convex, and the method knows it.
The main result¶
In the main result every nonzero direction has exactly one minimizer, so the LMO has no choice to make, and no tie-breaking rule can reveal anything.
The dimension grows linearly with , so the bounds concern the worst case over all dimensions. Returning an infeasible point counts as a failure. Frank–Wolfe methods return convex combinations of oracle answers, which are feasible, and for them the probability is . The proofs are given after the lower bounds for the vertex LMO, on which they build.
The hard bodies¶
The bodies of the lower bounds are rounded simplices. An instance is an index set , which determines the vertices of the simplex; the objective is the same for all instances.
The vertex LMO minimizes over each of the two summands of separately, so it is an LMO of when .
Where does attain its minimum on ?
So the hard bodies lie outside the regime in which Frank–Wolfe converges faster than , as they must. The tie-breaking rule matters for another reason. In the vertical direction every point of the bottom face is a minimizer, and an LMO that answered with the barycenter of that face would reveal in a single call. The main result excludes such answers by making every minimizer unique.
Lower bounds with the vertex LMO¶
The vertex LMO reveals little per call. A query orders the indices by their coordinates . The answer reveals the first index of in this order, and with it that the indices before it do not lie in ; nothing else about can be read off. Index 1 belongs to every instance, so the answer to lies in every and reveals nothing. After calls a method thus knows at most indices of , but a point with small primal gap must put most of its horizontal weight on .
By Proposition 1, the body has diameter exactly and is -smooth. The proof uses that the answers determine the instance only up to the indices not yet decided. Fix a deterministic method, and let be uniformly distributed over the index sets of size that contain 1. After some answers, let be the indices known to lie in and the indices whose membership is still undecided, and put . Given these answers, is uniformly distributed over the sets with and , so an undecided index lies in with probability .
The note’s Appendix A gives the probability here; counting the excluded indices exactly improves it to .
Methods that may return infeasible points can also be measured by a penalty on the distance to the feasible region, as proposed by Grimmer & Liu (2026).
Proof of the main result¶
The vertex LMO breaks ties by index. To dispense with any tie-breaking rule, every nonzero direction must have a unique minimizer. Thickening the simplex symmetrically achieves this, but it reveals .
So the vertices must also be perturbed: then the best vertex in a direction is unique and reveals one index, just as with the vertex LMO.
Strong convexity of the bodies of the main result¶
The bodies of the two theorems above have exactly one minimizer in every nonzero direction, so they are strictly convex. They are even strongly convex, but with a modulus that tends to zero as grows. Recall that a set is -uniformly convex if for all , and unit vectors .
So strong convexity of the feasible region does not improve the order either, unless its modulus stays bounded away from zero: the faster rates on strongly convex sets have constants that depend on the modulus, as in Theorem 9, where the rate depends on the ratio of the two tangent-ball radii.
Upper bounds¶
An LMO of yields one of : if minimizes on and , then minimizes it on . So Frank–Wolfe can run on , using the LMO of .
The objective of the lower bounds is of this form. Up to the constant factor and the probability in Theorem 1, Frank–Wolfe on the inner parallel body is therefore optimal on -smooth bodies of diameter at most .
For a general smooth convex objective, conditional gradient sliding Lan & Zhou, 2016 applies to the product .
If the body is also strongly convex, in the sense of an outer ball at every boundary point, a linear rate holds with one oracle call per iteration.
Comparison with earlier bounds¶
Their lower bound is the square of the positive part of , so at fixed and it is of order , while Theorem 1 gives order .
Lower bounds on the simplex Lan, 2013Jaggi, 2013 rest on the sparsity of the iterates; here the output may be any point. For strongly convex sets, the randomized lower bound of Pokutta (2026) is of order (see the entry Distributional lower bounds for randomized linear-oracle optimization), and Halbey et al. (2026) give lower bounds for vanilla Frank–Wolfe. The hard bodies with the vertex LMO are not strongly convex, and the bodies of the main result are strongly convex only with moduli that tend to zero as grows (Theorem 6), consistent with Theorem 9.
The inner-ball and parallel-body descriptions of smooth sets are classical Liu & Grimmer, 2023Luner & Grimmer, 2024. Hazan (2026) and Liu & Grimmer (2023) use membership, gauge or normal information instead of a global LMO, and Garber & Hazan (2015) relate the progress of Frank–Wolfe to strong convexity of the set.
A fixed Hilbert-space example¶
The finite-dimensional lower bounds above allow the body to depend on the budget and the method. For gradient queries, the same smooth body in a separable Hilbert space works for every budget and every choice of points on the stored hull. The proof uses zero-based indices. Put
Take Hilbert vectors with , and write . On signed finite sequences,
Indeed, , and . In Lean the horizontal space is the real reproducing-kernel Hilbert space of . Positivity of the infinite kernel follows by testing finitely supported coefficients. Its kernel vectors give ; thus the existence of the Hilbert configuration is part of the proof. Equivalently one can use on . The countable axes span a dense subspace. The horizontal space is separable and infinite-dimensional. In finite dimension their weak convergence to zero would force a norm-null subsequence, whereas their squared norms equal .
For , define the height, center and radius by
Let in the Hilbert direct sum of and the horizontal space. Take . Its gradient is ; its minimizer on is . In fact throughout , and .
Proof. Suppose a horizontal query has chart supported in , with signed mass . For its Gram row equals . Write and . The parameter of the minimizing reply maximizes
The body bounds imply , , and . For , its initial marginal is at most ; the marginal at , even at mass one, is at least . Filling slack or transferring any later mass to gives a strict improvement, by the exact one-coordinate difference formula for the infinite sum. The maximizing parameter has total mass one and vanishes beyond . The returned chart is . It has mass . These conditions are convex even for signed charts, so they propagate to the entire stored hull with at most coordinates. The energy inequality and finite Cauchy–Schwarz give the claimed bound.
Deterministic arbitrary directions¶
The following construction concerns the model with arbitrary query directions and arbitrary ambient outputs. For a real Hilbert space with orthonormal , take a unit . Put , , , and . Form the union of balls with
Fix the image of for the public start .
Proof of the common transcript. The construction uses an explicit orthonormal sequence in the target space. Put . Having seen the output and query at budget , choose the unit perpendicular to the previous directions and to the horizontal components of all outputs and queries through . This is possible because their span is finite-dimensional. Write
The telescoping identity gives convergence of in norm, , , and . Hence is an orthonormal system and .
For a captured horizontal vector at budget , put . Then and for all . Using the known coefficients for and zeros afterward determines the unique support parameter. It has total mass one on the first labels, hence . That center and the support displacement use only directions selected through . A zero query returns the public start. This defines the next answer recursively using a finite history. In the final frame each such response solves the same physical support problem, and a deterministic strategy against this single oracle has a unique reply stream.
Finally, , so . The output at budget annihilates this witness by construction, and the preceding projection bound applies. The proof includes the budget-zero output before the first reply. The claim about strategies here is deterministic.
Finite optimal order and convergence on a fixed compact set¶
The two bounds use the same objective. Completing its square removes an additive constant from the upper bound. The inner parallel body has nonnegative diameter, so the diameter identity and yield the stated uniform upper bound.
The ordinary descent recurrence first gives convergence of the objective. On the compact complement of any neighborhood of , the limiting linear functional has a strictly larger minimum. This forces and, by continuity of the gradient and exact linear minimization, . Multiplying the recurrence by bounds by a constant times the Cesàro mean of the squared step lengths, which tends to zero.
A fixed distribution for randomized Hilbert-space methods¶
Work in the countable Hilbert sum of Euclidean blocks of dimensions , together with one real height coordinate. Grouping the scalar coordinates gives a linear isometry to and sends the target to . Write . At budget , failure means that the reported vector lies outside or has objective gap at least
The method may query any Hilbert vector and return any Hilbert vector. For a history of length , joint measurability means Borel measurability on the product of the seed space and the replies, for an arbitrary probability law on the seed space. This condition matters when the body itself is random. For example, let , . A single positive query returns . A deterministic rule can return 5 on a non-Lebesgue-measurable set of parameters and 1 elsewhere. Every fixed-oracle output is measurable in a singleton seed. For uniform , even the infeasibility event can fail to be measurable. The formal randomized Hilbert theorem uses joint rules; the finite results earlier on this page retain their stated measurability hypothesis.
Write and . The energies telescope and sum to . A parameter selects a probability vector on each hidden set. Its ball has center and radius
All jitters lie between 0 and , with jitter zero at the public index. The positive is one tenth of the grid spacing. The feasible body is the union of these balls. The summable tails control their centers and radii uniformly. Concavity gives convexity, removing one unit of radius gives the inner parallel body, and the parameter space times a weakly compact ball gives weak compactness. The strictly concave block support objectives give unique nonzero replies. Agreement on increasingly many initial blocks forces the Hausdorff distance to zero. Every finite data cylinder has positive prior mass.
The finite posterior estimate bounds the probability of missing the hidden barycenter by at least . In the simulator, a hypothetical prefix depends only on the jitters already revealed there. Conditional on the other coordinates, each ambiguous pair meets at most one grid value for an unrevealed coordinate. Summing over the finite decision tree costs at most . Whenever that ambiguity is absent, the maximizer over the revealed indices is the maximizer over the true set, giving equality of the entire simulated and physical transcripts. The zero query is handled in the same coupling. For the actual metric projection, replacing one block by its barycenter bounds its rescaled displacement by . The Hilbert projection inequality then gives infeasibility or objective gap at least on the miss event. Taking the least with and bounding the small scales separately proves .
The optimizer of the strictly concave problem on a fixed finite simplex depends continuously on its scores. Truncating the selected blocks gives measurable finite sums converging in norm, so the full LMO is jointly measurable. Starting at the common point, open-loop Frank–Wolfe applied to therefore gives jointly measurable functions of whose objective values converge to half the squared distance. At this is the minimum in the failure event. At a general its zero set is exactly .
Padding with zero directions leaves a terminated method’s output unchanged. Resampling one coordinate preserves the prior, as can be checked on finite cylinders. Integrating the conditional block estimate gives the distributional probability.
On the dyadic budgets , the mean over bodies of the conditional failure probability is at least . Thus the set of bodies with conditional probability at least has measure at least at each such budget. Continuity of probability on decreasing tail unions gives a body in infinitely many of these sets. Applying the same argument to the seed sections proves the single-seed assertion. The prior, quadratic and starting point were fixed before either the method or the budget was chosen.
Interactive illustration¶
The widget runs the methods of this entry on three examples; the slider sets the number of oracle calls. The curves show, on logarithmic axes, the smallest primal gap among the points computed with at most oracle calls.
Smooth planar body. A planar body , where is a point, a segment, a triangle or an ellipse, and the objective ; drag the point . Frank–Wolfe uses the LMO of the body, Frank–Wolfe on is the method of Theorem 7, and projected gradient is the method of Theorem 9. The dashed lines are the bound of Theorem 7 and, for the disk and the rounded ellipse, which also have outer tangent balls, the linear rate.
Hard body. An instance of the hard bodies with in dimension , with the vertex LMO, an LMO that answers the vertical direction with the barycenter of the bottom face, or the LMO of a body with perturbed vertices. The left panel shows the indices of that the answers to Frank–Wolfe on have revealed. With the barycenter answer, a method that reads off the answer solves the instance after one call. With the vertex LMO each answer reveals one index of ; with perturbed vertices the same holds until the iterates come close to the minimizer, where the weights of several vertices tie. The dotted segment is the threshold of Theorem 3 for calls.
Fixed Hilbert body. The body of Theorem 14, computed exactly on the coordinates in use. Frank–Wolfe from the exposed start, with step sizes and with exact line search, stays between the bounds and of Theorem 15 and Theorem 16, while a single call in the vertical direction returns the minimizer (Lemma 5). The left panel shows the coordinates of the horizontal part of the Frank–Wolfe iterate: each call adds at most one coordinate and , so and the primal gap cannot decrease faster than .
Not formalized here¶
The minimax rate for general smooth convex objectives has two terms, and . The second is Theorem 1; the first follows from the first-order lower bound of Drori (2017) on a ball, which is not formalized here. The note also contains a second proof of Theorem 1 by averaging support functions, and an earlier, weaker estimate with probability ; the formal proofs supersede both.
The formal statements at a glance¶
/-- Lower bound without tie-breaking: on some body of the class `𝒞(β, D, x₀)`, every measurable
randomized method requiring no more than `T` LMO calls fails with probability at least `1/5`. -/
theorem lower_bound_unique_lmo : LowerBoundUniqueLMO := lower_bound_unique_lmo_proof
/-- Methods with feasible outputs: probability `3/4`, and the expected primal gap. -/
theorem lower_bound_unique_feasible : LowerBoundUniqueFeasible :=
lower_bound_unique_feasible_proof
/-- The hard body of the lower bound can be chosen strongly convex, with moduli of uniform
convexity at most `β / (10⁸ (T + 1))`. -/
theorem lower_bound_strongly_convex : LowerBoundStronglyConvex :=
lower_bound_strongly_convex_proof
/-- The same for methods with feasible outputs. -/
theorem lower_bound_strongly_convex_feasible : LowerBoundStronglyConvexFeasible :=
lower_bound_strongly_convex_feasible_proof
/-- The hard bodies with the vertex LMO: diameter exactly `D`, probability `1/4`. -/
theorem lower_bound_vertex_lmo : LowerBoundVertexLMO := lower_bound_vertex_lmo_proof
/-- The expected ratio of undecided indices is `(d - 1)/(N - 1)`. -/
theorem posterior_ratio_identity : PosteriorIdentity := posterior_identity_proof
/-- The vertex LMO and methods with feasible outputs: probability `3/4`, and the expected
primal gap. -/
theorem lower_bound_feasible : LowerBoundFeasible := lower_bound_feasible_proof
/-- A penalty for infeasible outputs: the penalized error in probability and in the mean. -/
theorem lower_bound_penalized : LowerBoundPenalized := lower_bound_penalized_proof
/-- Deterministic methods: dimension `64 (T + 1) + 1` suffices. -/
theorem lower_bound_deterministic : LowerBoundDeterministic := lower_bound_deterministic_proof
/-- The hard bodies: diameter `D`, exactly `β`-smooth, not strongly convex. -/
theorem hard_body_geometry : HardBodyGeometry := hard_body_geometry_proof
/-- The minimizer of the objective on a hard body; local dual sharpness fails there. -/
theorem hard_body_optimum : HardBodyOptimum := hard_body_optimum_proof
/-- Without perturbed vertices, the lowest point of the thickened simplex reveals `I`. -/
theorem symmetric_thickening_reveals : SymmetricThickeningReveals :=
symmetric_thickening_reveals_proof
/-- A `β`-smooth set is its inner parallel body plus a ball of radius `1/β`. -/
theorem rolling_ball_parallel_body : RollingBall := rolling_ball_proof
/-- Upper bound: Frank–Wolfe on the inner parallel body, no more than `T` LMO calls. -/
theorem quadratic_upper_bound : QuadraticUpperBound := quadratic_upper_bound_proof
/-- Smooth convex objectives: conditional gradient sliding on `K × B_{1/β}`. -/
theorem sliding_upper_bound : SlidingUpperBound := sliding_upper_bound_proof
/-- A linear rate with inner and outer tangent balls. -/
theorem tangent_balls_linear_rate : TangentBallsLinearRate := tangent_balls_linear_rate_proof
/-- The bound of Grimmer and Liu is of order `1/T²` at fixed parameters. -/
theorem grimmer_liu_comparison : GrimmerLiuComparison := grimmer_liu_comparison_proofFormal verification — ✅ all 58 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Definition 1 —
Lemmata.FrankWolfePS.Upper.LipschitzNormals(source)◇ elaborated definition (Lean v4.35.0) Definition 2 —
Lemmata.FrankWolfePS.IsLMO(source)◇ elaborated definition (Lean v4.35.0) Definition 3 —
Lemmata.FrankWolfePS.Method.run(source)◇ elaborated definition (Lean v4.35.0) Definition 4 —
Lemmata.FrankWolfePS.Method.IsMeasurable(source)◇ elaborated definition (Lean v4.35.0) Definition 5 —
Lemmata.FrankWolfePS.hardObjective(source)◇ elaborated definition (Lean v4.35.0) Definition 6 —
Lemmata.FrankWolfePS.uniqueLMO(source)◇ elaborated definition (Lean v4.35.0) Definition 7 —
Lemmata.FrankWolfePS.PrescribedBody(source)✓ kernel-checked (Lean v4.35.0) Theorem 1 —
Lemmata.FrankWolfePS.lower_bound_unique_lmo(source)✓ kernel-checked (Lean v4.35.0) Theorem 2 —
Lemmata.FrankWolfePS.lower_bound_unique_feasible(source)◇ elaborated definition (Lean v4.35.0) Definition 11 —
Lemmata.FrankWolfePS.StronglyConvexWithModuliAtMost(source)✓ kernel-checked (Lean v4.35.0) Theorem 6 —
Lemmata.FrankWolfePS.lower_bound_strongly_convex(source)✓ kernel-checked (Lean v4.35.0) Corollary 2 —
Lemmata.FrankWolfePS.lower_bound_strongly_convex_feasible(source)◇ elaborated definition (Lean v4.35.0) Definition 8 —
Lemmata.FrankWolfePS.hardBody(source)◇ elaborated definition (Lean v4.35.0) Definition 9 —
Lemmata.FrankWolfePS.vertexLMO(source)✓ kernel-checked (Lean v4.35.0) Proposition 1 —
Lemmata.FrankWolfePS.hard_body_geometry(source)✓ kernel-checked (Lean v4.35.0) Proposition 2 —
Lemmata.FrankWolfePS.hard_body_optimum(source)✓ kernel-checked (Lean v4.35.0) Theorem 3 —
Lemmata.FrankWolfePS.lower_bound_vertex_lmo(source)✓ kernel-checked (Lean v4.35.0) Lemma 1 —
Lemmata.FrankWolfePS.posterior_ratio_identity(source)✓ kernel-checked (Lean v4.35.0) Corollary 1 —
Lemmata.FrankWolfePS.lower_bound_feasible(source)✓ kernel-checked (Lean v4.35.0) Theorem 4 —
Lemmata.FrankWolfePS.lower_bound_deterministic(source)◇ elaborated definition (Lean v4.35.0) Definition 10 —
Lemmata.FrankWolfePS.penalizedError(source)✓ kernel-checked (Lean v4.35.0) Theorem 5 —
Lemmata.FrankWolfePS.lower_bound_penalized(source)✓ kernel-checked (Lean v4.35.0) Proposition 3 —
Lemmata.FrankWolfePS.symmetric_thickening_reveals(source)✓ kernel-checked (Lean v4.35.0) Lemma 2 —
Lemmata.FrankWolfePS.rolling_ball_parallel_body(source)◇ elaborated definition (Lean v4.35.0) Definition 12 —
Lemmata.FrankWolfePS.Upper.innerFrankWolfe(source)✓ kernel-checked (Lean v4.35.0) Theorem 7 —
Lemmata.FrankWolfePS.quadratic_upper_bound(source)◇ elaborated definition (Lean v4.35.0) Definition 13 —
Lemmata.FrankWolfePS.Upper.slidingRun(source)✓ kernel-checked (Lean v4.35.0) Theorem 8 —
Lemmata.FrankWolfePS.sliding_upper_bound(source)◇ elaborated definition (Lean v4.35.0) Definition 14 —
Lemmata.FrankWolfePS.Joint.projectedGradientRun(source)✓ kernel-checked (Lean v4.35.0) Theorem 9 —
Lemmata.FrankWolfePS.tangent_balls_linear_rate(source)✓ kernel-checked (Lean v4.35.0) Proposition 4 —
Lemmata.FrankWolfePS.grimmer_liu_comparison(source)✓ kernel-checked (Lean v4.35.0) Theorem 10 —
Lemmata.FrankWolfePS.Hilbert.fixed_convex(source)✓ kernel-checked (Lean v4.35.0) Theorem 11 —
Lemmata.FrankWolfePS.Hilbert.fixed_weakly_compact(source)✓ kernel-checked (Lean v4.35.0) Lemma 3 —
Lemmata.FrankWolfePS.Hilbert.fixed_width(source)✓ kernel-checked (Lean v4.35.0) Theorem 12 —
Lemmata.FrankWolfePS.Hilbert.fixed_normals(source)✓ kernel-checked (Lean v4.35.0) Theorem 13 —
Lemmata.FrankWolfePS.Hilbert.fixed_unique_oracle(source)✓ kernel-checked (Lean v4.35.0) Lemma 4 —
Lemmata.FrankWolfePS.Hilbert.seed_exposed(source)✓ kernel-checked (Lean v4.35.0) Theorem 14 —
Lemmata.FrankWolfePS.Hilbert.fixed_gradient_lower(source)✓ kernel-checked (Lean v4.35.0) Theorem 15 —
Lemmata.FrankWolfePS.Hilbert.fixed_open_loop_rate(source)✓ kernel-checked (Lean v4.35.0) Theorem 16 —
Lemmata.FrankWolfePS.Hilbert.fixed_trial_rate(source)✓ kernel-checked (Lean v4.35.0) Lemma 5 —
Lemmata.FrankWolfePS.Hilbert.optimum_vertical(source)✓ kernel-checked (Lean v4.35.0) Theorem 17 —
Lemmata.FrankWolfePS.Hilbert.failure_strong_exposure(source)✓ kernel-checked (Lean v4.35.0) Theorem 18 —
Lemmata.FrankWolfePS.Hilbert.Anytime.frame_compact(source)✓ kernel-checked (Lean v4.35.0) Theorem 19 —
Lemmata.FrankWolfePS.Hilbert.Anytime.frame_width(source)✓ kernel-checked (Lean v4.35.0) Theorem 20 —
Lemmata.FrankWolfePS.Hilbert.Anytime.frame_normals(source)✓ kernel-checked (Lean v4.35.0) Theorem 21 —
Lemmata.FrankWolfePS.Hilbert.Anytime.frame_radius_exact(source)✓ kernel-checked (Lean v4.35.0) Theorem 22 —
Lemmata.FrankWolfePS.Hilbert.Anytime.frame_unique_oracle(source)✓ kernel-checked (Lean v4.35.0) Lemma 6 —
Lemmata.FrankWolfePS.Hilbert.Anytime.exact_reply_prefix(source)✓ kernel-checked (Lean v4.35.0) Lemma 7 —
Lemmata.FrankWolfePS.Hilbert.Anytime.optimizer_mass(source)✓ kernel-checked (Lean v4.35.0) Theorem 23 —
Lemmata.FrankWolfePS.Hilbert.Anytime.frame_all_budgets(source)✓ kernel-checked (Lean v4.35.0) Theorem 24 —
Lemmata.FrankWolfePS.Hilbert.Anytime.deterministic_anytime(source)✓ kernel-checked (Lean v4.35.0) Corollary 3 —
Lemmata.FrankWolfePS.optimal_order(source)✓ kernel-checked (Lean v4.35.0) Proposition 5 —
Lemmata.FrankWolfePS.compact_trial_little_o(source)✓ kernel-checked (Lean v4.35.0) Theorem 25 —
Lemmata.FrankWolfePS.RandomHilbert.randomized_fixed_hilbert(source)✓ kernel-checked (Lean v4.35.0) Lemma 8 —
Lemmata.FrankWolfePS.RandomHilbert.conditional_bound(source)✓ kernel-checked (Lean v4.35.0) Lemma 9 —
Lemmata.FrankWolfePS.RandomHilbert.squaredDistance_measurable(source)✓ kernel-checked (Lean v4.35.0) Theorem 26 —
Lemmata.FrankWolfePS.RandomHilbert.random_bounded(source)✓ kernel-checked (Lean v4.35.0) Theorem 27 —
Lemmata.FrankWolfePS.RandomHilbert.random_anytime(source)
Checked at commit 7ef78a67b090. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean LipschitzNormals · ◇ elaborated · source
Definition in Lean
/-- `C` is `β`-smooth: unit outer normals `n` at `z ∈ C` and `m` at `y ∈ C` satisfy
`‖n - m‖ ≤ β ‖z - y‖`. -/
def LipschitzNormals (C : Set E) (β : ℝ) : Prop :=
∀ z ∈ C, ∀ y ∈ C, ∀ n m : E, ‖n‖ = 1 → ‖m‖ = 1 → Supports C z n → Supports C y m →
‖n - m‖ ≤ β * ‖z - y‖
omit [ProperSpace E] inLean IsLMO · ◇ elaborated · source
Definition in Lean
/-- `O` is a linear minimization oracle (LMO) of `C`: every answer `O q` lies in `C` and
minimizes `⟪q, ·⟫` over `C`. -/
def IsLMO (C : Set E) (O : E → E) : Prop := ∀ q, Unique.MinAt C q (O q)Lean run · ◇ elaborated · source
Definition in Lean
/-- The point returned by a method when the oracle `O` answers every call. -/
def Method.run {E : Type*} {t : ℕ} : Method E t → (E → E) → E
| .ret x, _ => x
| .ask q next, O => (next (O q)).run OLean IsMeasurable · ◇ elaborated · source
Definition in Lean
/-- A randomized method is measurable if, against every measurable oracle, its output is a
measurable function of `ω`. Methods whose directions and output are jointly measurable functions
of `ω` and of the previous answers are measurable (`Unique.measurable_run`). -/
def Method.IsMeasurable {Ω E : Type*} [MeasurableSpace Ω] [MeasurableSpace E] {t : ℕ}
(s : Ω → Method E t) : Prop :=
∀ O : E → E, Measurable O → Measurable fun ω => (s ω).run OLean hardObjective · ◇ elaborated · source
Definition in Lean
/-- The objective of the lower bounds, `L (‖x‖² + y²) / 2 + 32 L r y` at `z = (x, y)`, with
`r = 1/β`. It is `L`-smooth and `L`-strongly convex, with Hessian `L Id`. -/
noncomputable def hardObjective (L r : ℝ) (z : Ambient ι) : ℝ :=
quadratic L (embed (fun _ : ι => 0, 32 * L * r)) zLean uniqueLMO · ◇ elaborated · source
Definition in Lean
/-- The LMO of a body on which every nonzero direction has exactly one minimizer: it answers
`q ≠ 0` with this minimizer and `q = 0` with the given point `x₀`. -/
noncomputable def uniqueLMO (C : Set E) (x₀ : E) : E → E := Unique.reply C x₀Lean PrescribedBody · ◇ elaborated · source
Definition in Lean
/-- The class `𝒞(β, D, x₀)`: `β`-smooth convex bodies (compact, convex, with nonempty interior)
of diameter at most `D` that contain `x₀` and on which every nonzero direction has exactly one
minimizer. -/
def PrescribedBody (β D : ℝ) (x₀ : Ambient ι) (C : Set (Ambient ι)) : Prop :=
IsCompact C ∧ Convex ℝ C ∧ (interior C).Nonempty ∧ Metric.diam C ≤ D ∧
Upper.LipschitzNormals C β ∧ (∀ q, q ≠ 0 → ∃! x, Unique.MinAt C q x) ∧ x₀ ∈ CLean lower_bound_unique_lmo · ✅ kernel-checked · source
Statement in Lean
/-- Lower bound without tie-breaking: on some body of the class `𝒞(β, D, x₀)`, every measurable
randomized method requiring no more than `T` LMO calls fails with probability at least `1/5`. -/
theorem lower_bound_unique_lmo : LowerBoundUniqueLMOwhere LowerBoundUniqueLMO is (source):
/-- **Lower bound without tie-breaking.** For every measurable randomized method requiring no
more than `T` LMO calls there is a body `C` of the class `𝒞(β, D, x₀)`, depending on the method
but not on `ω`, on which the method returns, with probability at least `1/5`, an infeasible point
or a point with primal gap at least `L (D - 2/β)² / (64 (T + 1))`. The dimension is
`256 (T + 1) + 1`, and `x₀ = (0.99 (D - 2/β)/√2 · e_{i₀}, 0)`. -/
def LowerBoundUniqueLMO : Prop :=
∀ {ι Ω : Type} [Fintype ι] [LinearOrder ι] [MeasurableSpace Ω] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Ω → Method (Ambient ι) T),
Method.IsMeasurable s →
∃ C : Set (Ambient ι), PrescribedBody β D (Unique.hardStart β D i₀) C ∧
IsLMO C (uniqueLMO C (Unique.hardStart β D i₀)) ∧
1 / 5 ≤ μ.real {ω | (s ω).run (uniqueLMO C (Unique.hardStart β D i₀)) ∉ C ∨
L * (D - 2 / β) ^ 2 / (64 * ((T : ℝ) + 1)) ≤
hardObjective L (1 / β) ((s ω).run (uniqueLMO C (Unique.hardStart β D i₀))) -
sInf (hardObjective L (1 / β) '' C)}Lean lower_bound_unique_feasible · ✅ kernel-checked · source
Statement in Lean
/-- Methods with feasible outputs: probability `3/4`, and the expected primal gap. -/
theorem lower_bound_unique_feasible : LowerBoundUniqueFeasiblewhere LowerBoundUniqueFeasible is (source):
/-- **Methods with feasible outputs.** If the method returns a point of `C` on every body `C` of
the class, some body of the class gives primal gap at least `L (D - 2/β)² / (64 (T + 1))` with
probability at least `3/4`, and expected primal gap at least `3 L (D - 2/β)² / (256 (T + 1))`. -/
def LowerBoundUniqueFeasible : Prop :=
∀ {ι Ω : Type} [Fintype ι] [LinearOrder ι] [MeasurableSpace Ω] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Ω → Method (Ambient ι) T),
Method.IsMeasurable s →
(∀ C, PrescribedBody β D (Unique.hardStart β D i₀) C → ∀ ω,
(s ω).run (uniqueLMO C (Unique.hardStart β D i₀)) ∈ C) →
∃ C : Set (Ambient ι), PrescribedBody β D (Unique.hardStart β D i₀) C ∧
IsLMO C (uniqueLMO C (Unique.hardStart β D i₀)) ∧
3 / 4 ≤ μ.real {ω | L * (D - 2 / β) ^ 2 / (64 * ((T : ℝ) + 1)) ≤
hardObjective L (1 / β) ((s ω).run (uniqueLMO C (Unique.hardStart β D i₀))) -
sInf (hardObjective L (1 / β) '' C)} ∧
3 * L * (D - 2 / β) ^ 2 / (256 * ((T : ℝ) + 1)) ≤
∫ ω, hardObjective L (1 / β) ((s ω).run (uniqueLMO C (Unique.hardStart β D i₀))) -
sInf (hardObjective L (1 / β) '' C) ∂μLean StronglyConvexWithModuliAtMost · ◇ elaborated · source
Definition in Lean
/-- `C` is strongly convex with moduli at most `m`: it is `(α, 2)`-uniformly convex for some
`α > 0`, and every `α` for which it is `(α, 2)`-uniformly convex is at most `m`. -/
def StronglyConvexWithModuliAtMost (m : ℝ) (C : Set E) : Prop :=
(∃ α > 0, Lemmata.FrankWolfe.IsUniformlyConvexSet C α 2) ∧
∀ α, Lemmata.FrankWolfe.IsUniformlyConvexSet C α 2 → α ≤ mLean lower_bound_strongly_convex · ✅ kernel-checked · source
Statement in Lean
/-- The hard body of the lower bound can be chosen strongly convex, with moduli of uniform
convexity at most `β / (10⁸ (T + 1))`. -/
theorem lower_bound_strongly_convex : LowerBoundStronglyConvexwhere LowerBoundStronglyConvex is (source):
/-- **The bodies of the lower bound are strongly convex, with a vanishing modulus.** In the lower
bound without tie-breaking the body `C` can be chosen strongly convex, that is,
`(α, 2)`-uniformly convex for some `α > 0`, and such that every `α` for which it is
`(α, 2)`-uniformly convex is at most `β / (10⁸ (T + 1))`. The remaining conclusions are those of
`LowerBoundUniqueLMO`. -/
def LowerBoundStronglyConvex : Prop :=
∀ {ι Ω : Type} [Fintype ι] [LinearOrder ι] [MeasurableSpace Ω] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Ω → Method (Ambient ι) T),
Method.IsMeasurable s →
∃ C : Set (Ambient ι), PrescribedBody β D (Unique.hardStart β D i₀) C ∧
StronglyConvexWithModuliAtMost (β / (100000000 * ((T : ℝ) + 1))) C ∧
IsLMO C (uniqueLMO C (Unique.hardStart β D i₀)) ∧
1 / 5 ≤ μ.real {ω | (s ω).run (uniqueLMO C (Unique.hardStart β D i₀)) ∉ C ∨
L * (D - 2 / β) ^ 2 / (64 * ((T : ℝ) + 1)) ≤
hardObjective L (1 / β) ((s ω).run (uniqueLMO C (Unique.hardStart β D i₀))) -
sInf (hardObjective L (1 / β) '' C)}Lean lower_bound_strongly_convex_feasible · ✅ kernel-checked · source
Statement in Lean
/-- The same for methods with feasible outputs. -/
theorem lower_bound_strongly_convex_feasible : LowerBoundStronglyConvexFeasiblewhere LowerBoundStronglyConvexFeasible is (source):
/-- **Methods with feasible outputs, on a strongly convex body.** In the lower bound for methods
with feasible outputs the body `C` can likewise be chosen strongly convex with moduli at most
`β / (10⁸ (T + 1))`. The remaining conclusions are those of `LowerBoundUniqueFeasible`. -/
def LowerBoundStronglyConvexFeasible : Prop :=
∀ {ι Ω : Type} [Fintype ι] [LinearOrder ι] [MeasurableSpace Ω] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Ω → Method (Ambient ι) T),
Method.IsMeasurable s →
(∀ C, PrescribedBody β D (Unique.hardStart β D i₀) C → ∀ ω,
(s ω).run (uniqueLMO C (Unique.hardStart β D i₀)) ∈ C) →
∃ C : Set (Ambient ι), PrescribedBody β D (Unique.hardStart β D i₀) C ∧
StronglyConvexWithModuliAtMost (β / (100000000 * ((T : ℝ) + 1))) C ∧
IsLMO C (uniqueLMO C (Unique.hardStart β D i₀)) ∧
3 / 4 ≤ μ.real {ω | L * (D - 2 / β) ^ 2 / (64 * ((T : ℝ) + 1)) ≤
hardObjective L (1 / β) ((s ω).run (uniqueLMO C (Unique.hardStart β D i₀))) -
sInf (hardObjective L (1 / β) '' C)} ∧
3 * L * (D - 2 / β) ^ 2 / (256 * ((T : ℝ) + 1)) ≤
∫ ω, hardObjective L (1 / β) ((s ω).run (uniqueLMO C (Unique.hardStart β D i₀))) -
sInf (hardObjective L (1 / β) '' C) ∂μLean hardBody · ◇ elaborated · source
Definition in Lean
/-- The hard body `C_I` at smoothness `β` and diameter `D`: the scaled simplex
`{(a u, 1/β) : u ∈ Δ_I}`, `a = (D - 2/β)/√2`, plus the closed ball of radius `1/β`. -/
noncomputable def hardBody (β D : ℝ) (I : Finset ι) : Set (Ambient ι) :=
physicalBody ((D - 2 / β) / Real.sqrt 2) (1 / β) ILean vertexLMO · ◇ elaborated · source
Definition in Lean
/-- The vertex LMO of the hard body `C_I`: it answers `q ≠ 0` with `(a e_j, 1/β) - q/(β ‖q‖)`,
where `j ∈ I` has the smallest coordinate `q_j` (the smallest such index in case of ties), and
`q = 0` with `(a e_{i₀}, 0)`. -/
noncomputable def vertexLMO (β D : ℝ) (i₀ : ι) (I : Finset ι) : Ambient ι → Ambient ι :=
physOracle ((D - 2 / β) / Real.sqrt 2) (1 / β) i₀ ILean hard_body_geometry · ✅ kernel-checked · source
Statement in Lean
/-- The hard bodies: diameter `D`, exactly `β`-smooth, not strongly convex. -/
theorem hard_body_geometry : HardBodyGeometrywhere HardBodyGeometry is (source):
/-- **Properties of the hard bodies.** Each hard body is compact and convex with nonempty
interior and diameter exactly `D`; it is `β`-smooth and not `β'`-smooth for `β' < β`; it is not
`(α, 2)`-uniformly convex for any `α > 0`; and the vertex LMO is an LMO of it. -/
def HardBodyGeometry : Prop :=
∀ {ι : Type} [Fintype ι] [LinearOrder ι] {β D : ℝ}, 0 < β → 2 < β * D →
∀ (i₀ : ι) (I : Finset ι), i₀ ∈ I → 1 < I.card →
IsCompact (hardBody β D I) ∧ Convex ℝ (hardBody β D I) ∧
(interior (hardBody β D I)).Nonempty ∧ Metric.diam (hardBody β D I) = D ∧
Upper.LipschitzNormals (hardBody β D I) β ∧
(∀ β' < β, ¬ Upper.LipschitzNormals (hardBody β D I) β') ∧
(∀ α > 0, ¬ Lemmata.FrankWolfe.IsUniformlyConvexSet (hardBody β D I) α 2) ∧
IsLMO (hardBody β D I) (vertexLMO β D i₀ I)Lean hard_body_optimum · ✅ kernel-checked · source
Statement in Lean
/-- The minimizer of the objective on a hard body; local dual sharpness fails there. -/
theorem hard_body_optimum : HardBodyOptimumwhere HardBodyOptimum is (source):
/-- **The minimizer of the objective.** The objective has the explicit minimizer `z⋆` on each
hard body, and local dual sharpness around any set `M ∋ z⋆` fails for the vertex LMO, for every
constant `A > 0` and every exponent `q`. -/
def HardBodyOptimum : Prop :=
∀ {ι : Type} [Fintype ι] [LinearOrder ι] {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ (i₀ : ι) (I : Finset ι), 1 < I.card →
let a := (D - 2 / β) / Real.sqrt 2
hardMinimizer a (1 / β) I ∈ hardBody β D I ∧
(∀ z ∈ hardBody β D I,
hardObjective L (1 / β) (hardMinimizer a (1 / β) I) ≤ hardObjective L (1 / β) z) ∧
∀ M : Set (Ambient ι), hardMinimizer a (1 / β) I ∈ M → ∀ A q : ℝ, 0 < A →
¬ Lemmata.FrankWolfeLDS.LocalDualSharpness (hardBody β D I)
(vertexLMO β D i₀ I) M A qLean lower_bound_vertex_lmo · ✅ kernel-checked · source
Statement in Lean
/-- The hard bodies with the vertex LMO: diameter exactly `D`, probability `1/4`. -/
theorem lower_bound_vertex_lmo : LowerBoundVertexLMOwhere LowerBoundVertexLMO is (source):
/-- **Lower bound with the vertex LMO.** With the vertex LMO, which breaks ties by index, a
hard body itself works: diameter exactly `D`, probability `1/4`, constant `32`. -/
def LowerBoundVertexLMO : Prop :=
∀ {ι Ω : Type} [Fintype ι] [LinearOrder ι] [MeasurableSpace Ω] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Ω → Method (Ambient ι) T),
Method.IsMeasurable s →
∃ I : Finset ι, I.card = 8 * (T + 1) ∧ i₀ ∈ I ∧
IsCompact (hardBody β D I) ∧ Convex ℝ (hardBody β D I) ∧
Metric.diam (hardBody β D I) = D ∧ Upper.LipschitzNormals (hardBody β D I) β ∧
IsLMO (hardBody β D I) (vertexLMO β D i₀ I) ∧
1 / 4 ≤ μ.real {ω | (s ω).run (vertexLMO β D i₀ I) ∉ hardBody β D I ∨
L * (D - 2 / β) ^ 2 / (32 * ((T : ℝ) + 1)) ≤
hardObjective L (1 / β) ((s ω).run (vertexLMO β D i₀ I)) -
sInf (hardObjective L (1 / β) '' hardBody β D I)}Lean posterior_ratio_identity · ✅ kernel-checked · source
Statement in Lean
/-- The expected ratio of undecided indices is `(d - 1)/(N - 1)`. -/
theorem posterior_ratio_identity : PosteriorIdentitywhere PosteriorIdentity is (source):
/-- **The expected ratio of undecided indices.** For a method requiring no more than `T` calls
to the vertex LMO, the ratio `h/|U|` at the end of the run (`U` the undecided indices, `h` the
number of indices of `I` among them), summed over the index sets `I ∋ i₀` of size
`d = 8 (T + 1)`, is their number times `(d - 1)/(N - 1)`, `N = 256 (T + 1)`. -/
def PosteriorIdentity : Prop :=
∀ {ι : Type} [Fintype ι] [LinearOrder ι] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ (s : Method (Ambient ι) T) (R : ℝ),
∑ S ∈ instanceSets T i₀, (s.orders R i₀).compile.ratio (insert i₀ S)
(Finset.univ.erase i₀) (8 * (T + 1) - 1) =
(instanceSets T i₀).card * (((8 * (T + 1) - 1 : ℕ) : ℝ) / ((256 * (T + 1) - 1 : ℕ) : ℝ))Lean lower_bound_feasible · ✅ kernel-checked · source
Statement in Lean
/-- The vertex LMO and methods with feasible outputs: probability `3/4`, and the expected
primal gap. -/
theorem lower_bound_feasible : LowerBoundFeasiblewhere LowerBoundFeasible is (source):
/-- **Vertex LMO, methods with feasible outputs.** If the method returns a point of `C_I` on
every hard body, some hard body gives primal gap at least `L (D - 2/β)² / (32 (T + 1))` with
probability at least `3/4`, and expected primal gap at least `3 L (D - 2/β)² / (128 (T + 1))`. -/
def LowerBoundFeasible : Prop :=
∀ {ι Ω : Type} [Fintype ι] [LinearOrder ι] [MeasurableSpace Ω] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Ω → Method (Ambient ι) T),
Method.IsMeasurable s →
(∀ I : Finset ι, i₀ ∈ I → ∀ ω, (s ω).run (vertexLMO β D i₀ I) ∈ hardBody β D I) →
∃ I : Finset ι, I.card = 8 * (T + 1) ∧ i₀ ∈ I ∧ Metric.diam (hardBody β D I) = D ∧
3 / 4 ≤ μ.real {ω | L * (D - 2 / β) ^ 2 / (32 * ((T : ℝ) + 1)) ≤
hardObjective L (1 / β) ((s ω).run (vertexLMO β D i₀ I)) -
sInf (hardObjective L (1 / β) '' hardBody β D I)} ∧
3 * L * (D - 2 / β) ^ 2 / (128 * ((T : ℝ) + 1)) ≤
∫ ω, hardObjective L (1 / β) ((s ω).run (vertexLMO β D i₀ I)) -
sInf (hardObjective L (1 / β) '' hardBody β D I) ∂μLean lower_bound_deterministic · ✅ kernel-checked · source
Statement in Lean
/-- Deterministic methods: dimension `64 (T + 1) + 1` suffices. -/
theorem lower_bound_deterministic : LowerBoundDeterministicwhere LowerBoundDeterministic is (source):
/-- **Deterministic methods.** In dimension `64 (T + 1) + 1`, every deterministic method
requiring no more than `T` calls to the vertex LMO returns, on some hard body, an infeasible point
or a point with primal gap at least `L (D - 2/β)² / (32 (T + 1))`. -/
def LowerBoundDeterministic : Prop :=
∀ {ι : Type} [Fintype ι] [LinearOrder ι] (T : ℕ) (i₀ : ι),
Fintype.card ι = 64 * (T + 1) → ∀ {L β D : ℝ}, 0 < L → 0 < β → 2 < β * D →
∀ s : Method (Ambient ι) T,
∃ I : Finset ι, I.card = 8 * (T + 1) ∧ i₀ ∈ I ∧ Metric.diam (hardBody β D I) = D ∧
(s.run (vertexLMO β D i₀ I) ∉ hardBody β D I ∨
L * (D - 2 / β) ^ 2 / (32 * ((T : ℝ) + 1)) ≤
hardObjective L (1 / β) (s.run (vertexLMO β D i₀ I)) -
sInf (hardObjective L (1 / β) '' hardBody β D I))Lean penalizedError · ◇ elaborated · source
Definition in Lean
/-- The penalized error of a point for the hard body `C_I`: its primal gap plus `ρ` times its
distance to `C_I` (the performance measure of Grimmer and Liu). -/
noncomputable def penalizedError (L β D ρ : ℝ) (I : Finset ι) (x : Ambient ι) : ℝ :=
hardObjective L (1 / β) x - sInf (hardObjective L (1 / β) '' hardBody β D I) +
ρ * Metric.infDist x (hardBody β D I)Lean lower_bound_penalized · ✅ kernel-checked · source
Statement in Lean
/-- A penalty for infeasible outputs: the penalized error in probability and in the mean. -/
theorem lower_bound_penalized : LowerBoundPenalizedwhere LowerBoundPenalized is (source):
/-- **A penalty for infeasible outputs.** For `ρ ≥ L (2D + 32/β)` and every measurable
randomized method requiring no more than `T` calls to the vertex LMO, some hard body gives
penalized error at least `L (D - 2/β)² / (256 (T + 1))` with probability at least `1/4`; the
mean of the penalized error, in `[0, ∞]`, is at least `L (D - 2/β)² / (1024 (T + 1))`. -/
def LowerBoundPenalized : Prop :=
∀ {ι Ω : Type} [Fintype ι] [LinearOrder ι] [MeasurableSpace Ω] (T : ℕ) (i₀ : ι),
Fintype.card ι = 256 * (T + 1) → ∀ {L β D ρ : ℝ}, 0 < L → 0 < β → 2 < β * D →
L * (2 * D + 32 / β) ≤ ρ →
∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Ω → Method (Ambient ι) T),
Method.IsMeasurable s →
∃ I : Finset ι, I.card = 8 * (T + 1) ∧ i₀ ∈ I ∧ Metric.diam (hardBody β D I) = D ∧
1 / 4 ≤ μ.real {ω | L * (D - 2 / β) ^ 2 / (256 * ((T : ℝ) + 1)) ≤
penalizedError L β D ρ I ((s ω).run (vertexLMO β D i₀ I))} ∧
ENNReal.ofReal (L * (D - 2 / β) ^ 2 / (1024 * ((T : ℝ) + 1))) ≤
∫⁻ ω, ENNReal.ofReal (penalizedError L β D ρ I ((s ω).run (vertexLMO β D i₀ I))) ∂μLean symmetric_thickening_reveals · ✅ kernel-checked · source
Statement in Lean
/-- Without perturbed vertices, the lowest point of the thickened simplex reveals `I`. -/
theorem symmetric_thickening_reveals : SymmetricThickeningRevealswhere SymmetricThickeningReveals is (source):
/-- **A symmetric thickening reveals the index set.** If the vertices `(A e_j, 1)` are not
perturbed, every lowest point of the thickened simplex rounded by the unit ball has horizontal
coordinates `A/|I|` on `I` and `0` elsewhere, so one call in the vertical direction reveals
`I`. -/
def SymmetricThickeningReveals : Prop :=
∀ {ι : Type} [Fintype ι] [DecidableEq ι] {A s : ℝ}, 0 < s → ∀ {I : Finset ι}, I.Nonempty →
∀ x : Ambient ι, Unique.MinAt (Unique.Body (Unique.baseV A) s I) vert x →
∀ i, x (some i) = if i ∈ I then A / I.card else 0Lean rolling_ball_parallel_body · ✅ kernel-checked · source
Statement in Lean
/-- A `β`-smooth set is its inner parallel body plus a ball of radius `1/β`. -/
theorem rolling_ball_parallel_body : RollingBallwhere RollingBall is (source):
/-- **Inner balls and the inner parallel body.** On a nonempty compact convex `β`-smooth set
`C`, every unit outer normal `n` at `z ∈ C` gives the ball `B(z - n/β, 1/β) ⊆ C`; `C` is its
inner parallel body `K` plus the ball of radius `1/β`, and `diam C = 2/β + diam K`. -/
def RollingBall : Prop :=
∀ {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [ProperSpace E] [Nontrivial E]
{C : Set E}, IsCompact C → Convex ℝ C → C.Nonempty → ∀ {β : ℝ}, 0 < β →
Upper.LipschitzNormals C β →
(∀ z ∈ C, ∀ n : E, ‖n‖ = 1 → Supports C z n →
Metric.closedBall (z - (1 / β) • n) (1 / β) ⊆ C) ∧
C = Rounded (Upper.innerParallelBody C (1 / β)) (1 / β) ∧
Metric.diam C = 2 * (1 / β) + Metric.diam (Upper.innerParallelBody C (1 / β))Lean innerFrankWolfe · ◇ elaborated · source
Definition in Lean
/-- **Frank–Wolfe on the inner parallel body.** For the known isotropic quadratic
`L ‖x - u‖² / 2`: one LMO call in the direction `e` gives a point of the inner parallel body,
then `n + 1` Frank–Wolfe steps with step sizes `2/(j + 2)` run on it, one LMO call each; the
output is `a + b` for the last iterate `a` and the point `b` of the ball closest to `u - a`. No
more than `n + 2` LMO calls, no gradient. -/
noncomputable def innerFrankWolfe (L r : ℝ) (u e : E) (n : ℕ) : Method E (n + 2) :=
.ask e fun z => innerMethod (envGrad L r u) (z + r • unit e) r (liftInner r u) 0
(z + r • unit e) (n + 1)Lean quadratic_upper_bound · ✅ kernel-checked · source
Statement in Lean
/-- Upper bound: Frank–Wolfe on the inner parallel body, no more than `T` LMO calls. -/
theorem quadratic_upper_bound : QuadraticUpperBoundwhere QuadraticUpperBound is (source):
/-- **Upper bound for isotropic quadratics.** For `T ≥ 2`, Frank–Wolfe on the inner parallel
body requires no more than `T` LMO calls and no gradient; on every compact convex `β`-smooth set
of diameter at least `2/β`, with every LMO, it returns a point of the set with primal gap at
most `2 L (diam C - 2/β)² / (T + 1)` for `L ‖x - u‖² / 2`. -/
def QuadraticUpperBound : Prop :=
∀ {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [ProperSpace E] (T : ℕ), 2 ≤ T →
∀ {L β : ℝ}, 0 < L → 0 < β → ∀ u e : E, e ≠ 0 →
∃ s : Method E T, ∀ C : Set E, IsCompact C → Convex ℝ C → Upper.LipschitzNormals C β →
2 / β ≤ Metric.diam C → ∀ O : Upper.LMO C,
s.run O.query ∈ C ∧ ∀ w ∈ C, Upper.iso L u (s.run O.query) - Upper.iso L u w ≤
2 * L * (Metric.diam C - 2 / β) ^ 2 / ((T : ℝ) + 1)Lean slidingRun · ◇ elaborated · source
Definition in Lean
/-- **Conditional gradient sliding on `K × B_r`.** It uses only the LMO `O`, the gradient `g` and
the parameters. It returns the final point, the number of LMO calls (including one initial
call) and the number of gradient evaluations. -/
noncomputable def slidingRun {C : Set E} (O : LMO C) (g : E → E) (L r D : ℝ)
(e : E) (n : ℕ) : E × ℕ × ℕ :=
let p := unwrap O r e
let δ := D - 2 * r
let inner := fun q => if q = 0 then p else unwrap O r q
let s := slideRun inner g (2 * L) (δ ^ 2 + 4 * r ^ 2) δ r p n
(total s.y, 1 + s.slots, s.gradients)Lean sliding_upper_bound · ✅ kernel-checked · source
Statement in Lean
/-- Smooth convex objectives: conditional gradient sliding on `K × B_{1/β}`. -/
theorem sliding_upper_bound : SlidingUpperBoundwhere SlidingUpperBound is (source):
/-- **Smooth convex objectives.** For a differentiable convex objective with `L`-Lipschitz
gradient on a compact convex `β`-smooth set, conditional gradient sliding on `K × B_{1/β}`
evaluates exactly `n ≥ 1` gradients, requires no more than `1 + n + 9 δ² n (n + 1) / A` LMO calls
(`δ = diam C - 2/β`, `A = δ² + 4/β²`), and returns a point of the set with primal gap at most
`15 (2L) A / (2 (n + 1)(n + 2))`. -/
def SlidingUpperBound : Prop :=
∀ {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [ProperSpace E] {C : Set E},
IsCompact C → Convex ℝ C → ∀ {β : ℝ}, 0 < β → Upper.LipschitzNormals C β →
2 * (1 / β) ≤ Metric.diam C → ∀ (O : Upper.LMO C) {f : E → ℝ} {L : ℝ≥0}, 0 < (L : ℝ) →
Differentiable ℝ f → ConvexOn ℝ Set.univ f → LipschitzWith L (gradient f) →
∀ e : E, e ≠ 0 → ∀ {n : ℕ}, 0 < n →
let δ := Metric.diam C - 2 * (1 / β)
let A := δ ^ 2 + 4 * (1 / β) ^ 2
let ans := Upper.slidingRun O (gradient f) L (1 / β) (Metric.diam C) e n
ans.1 ∈ C ∧ ans.2.2 = n ∧ (ans.2.1 : ℝ) ≤ 1 + n + 9 * δ ^ 2 * (n : ℝ) * ((n : ℝ) + 1) / A ∧
∀ w ∈ C, f ans.1 - f w ≤ 15 * (2 * (L : ℝ)) * A / (2 * ((n : ℝ) + 1) * ((n : ℝ) + 2))Lean projectedGradientRun · ◇ elaborated · source
Definition in Lean
/-- **Projected gradient with Frank–Wolfe projections**, started at `x₀`: the gradient at `x₀`
and, unless it vanishes, one LMO call give the initial points; then `n` iterations follow. It
returns the final iterate, the number of LMO calls and the number of gradient evaluations. -/
noncomputable def projectedGradientRun {C : Set E} (O : LMO C) (g : E → E) (L r : ℝ) (ball : Bool)
(x₀ : E) (n : ℕ) : E × ℕ × ℕ :=
let q := g x₀
if q = 0 then (x₀, 0, 1)
else let s := O.query q
let a := s + r • unit q
let v := projectedGradientLoop O g L r ball (a, s) n
(v.1.2, 1 + v.2.1, 1 + v.2.2)Lean tangent_balls_linear_rate · ✅ kernel-checked · source
Statement in Lean
/-- A linear rate with inner and outer tangent balls. -/
theorem tangent_balls_linear_rate : TangentBallsLinearRatewhere TangentBallsLinearRate is (source):
/-- **A linear rate with inner and outer tangent balls.** If every boundary point of `C` has an
inner tangent ball of radius `r` and an outer one of radius `R ≥ r`, and `f` is `μ`-strongly
convex with `L`-Lipschitz gradient, projected gradient with Frank–Wolfe projections uses at most
`n + 1` gradients and `n + 1` LMO calls in `n` iterations (one LMO call in total in the variant
`ball = true`, allowed when `R = r`), keeps its iterates in `C`, and has primal gap at most
`(1 - c μ/L)ⁿ L (diam C)² / 2`, `c = min{1, r/(2(R - r))}/2` (`c = 1` if `R = r`). -/
def TangentBallsLinearRate : Prop :=
∀ {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [ProperSpace E] [Nontrivial E]
{C : Set E}, IsCompact C → Convex ℝ C → ∀ {r R μ : ℝ}, 0 < r → r ≤ R →
Joint.InnerBall C r → Joint.OuterBall C R → ∀ (O : Upper.LMO C) {f : E → ℝ} {L : ℝ≥0},
0 < μ → Differentiable ℝ f → StrongConvexOn Set.univ μ f → LipschitzWith L (gradient f) →
∀ (ball : Bool), (ball = true → R = r) → ∀ {x₀ : E}, x₀ ∈ C → ∀ n : ℕ,
let ans := Joint.projectedGradientRun O (gradient f) L r ball x₀ n
ans.1 ∈ C ∧ ans.2.1 ≤ 1 + n * (if ball then 0 else 1) ∧ ans.2.2 ≤ 1 + n ∧
∀ w ∈ C, f ans.1 - f w ≤ (1 - Joint.rateConstant r R * (μ / L)) ^ n *
((L : ℝ) / 2 * (Metric.diam C) ^ 2)Lean grimmer_liu_comparison · ✅ kernel-checked · source
Statement in Lean
/-- The bound of Grimmer and Liu is of order `1/T²` at fixed parameters. -/
theorem grimmer_liu_comparison : GrimmerLiuComparisonwhere GrimmerLiuComparison is (source):
/-- **The bound of Grimmer and Liu at fixed parameters.** The quantity in their
dimension-dependent lower bound is at most `β δ² / (4 √2 T)` in every dimension `d > T`. -/
def GrimmerLiuComparison : Prop :=
∀ {β δ d T : ℝ}, 0 < β → 0 ≤ δ → 0 < T → T < d →
glExpression β δ d T ≤ β * δ ^ 2 / (4 * Real.sqrt 2 * T)Lean fixed_convex · ✅ kernel-checked · source
Statement in Lean
theorem fixed_convex : Convex ℝ fixedBodyLean fixed_weakly_compact · ✅ kernel-checked · source
Statement in Lean
/-- Compactness in the standard weak topology on the actual ambient Hilbert space. -/
theorem fixed_weakly_compact : IsCompact (toWeakSpace ℝ Ambient '' fixedBody)Lean fixed_width · ✅ kernel-checked · source
Statement in Lean
@[expose] public section
namespace Lemmata.FrankWolfePS.Hilbert
open Finset Filter
open scoped Topology RealInnerProductSpace BigOperators
private theorem mix_center {u v : ℕ → ℝ} (hu : u∈simplex) (hv : v∈simplex) (a b : ℝ) :
center (fun i => a*u i+b*v i) = a • center u+b • center v := by
have lin (x : ℕ → ℝ) (hx : x∈simplex) : Summable (fun i => (weight i)^2*x i) := by
simpa using null_terms_summable (show Tendsto (fun i => (weight i)^2) atTop (𝓝 0) by
simpa using weight_limit.pow 2) (tendsto_const_nhds (x:=(0:ℝ))) hx
have ea := (((lin u hu).hasSum.mul_left a).add ((lin v hv).hasSum.mul_left b)).tsum_eq
have ex := (((synth_summable hu).hasSum.const_smul a).add ((synth_summable hv).hasSum.const_smul b)).tsum_eq
apply WithLp.ofLp_injective 2
apply Prod.ext
· change (∑' i, (weight i)^2*(a*u i+b*v i)) = a*height u+b*height v
unfold height
convert ea using 2; ext i; ring
· change (∑' i, (a*u i+b*v i) • axis i) = a • synth u+b • synth v
simpa only [synth,add_smul,smul_smul] using ex
private theorem mix_radius {u v : ℕ → ℝ} (hu : u∈simplex) (hv : v∈simplex)
{a b : ℝ} (ha : 0≤a) (hb : 0≤b) (hab : a+b=1) :
a*radius u+b*radius v ≤ radius (fun i => a*u i+b*v i) := by
have e := score_concave (penalty_limit 1) (penalty_limit 1) (fun i => by unfold penalty; positivity)
hu hv ha hb hab
unfold radius
linarith
theorem fixed_convex : Convex ℝ fixedBody := by
rintro y ⟨u,hu,du⟩ z ⟨v,hv,dv⟩ a b ha hb hab
refine ⟨_,simplex_mix hu hv ha hb hab,?_⟩
rw [mix_center hu hv,show a • y+b • z-(a • center u+b • center v)=a • (y-center u)+b • (z-center v) by
simp only [smul_sub]; abel]
apply (norm_add_le _ _).trans
simp only [norm_smul,Real.norm_eq_abs,abs_of_nonneg ha,abs_of_nonneg hb]
exact (add_le_add (mul_le_mul_of_nonneg_left du ha) (mul_le_mul_of_nonneg_left dv hb)).trans (mix_radius hu hv ha hb hab)
def fixedCore : Set Ambient := ballUnion center (fun u => radius u-1)
theorem fixed_rounded : fixedBody=Rounded fixedCore 1 :=
ballUnion_rounded center radius (fun _ hu => (radius_bounds hu).1)
theorem fixed_normals {z w n m : Ambient} (hz : z∈fixedBody) (hw : w∈fixedBody)
(hn : ‖n‖=1) (hm : ‖m‖=1) (hs : Supports fixedBody z n) (ht : Supports fixedBody w m) :
‖n-m‖ ≤ ‖z-w‖ := by
rw [fixed_rounded] at hz hw hs ht
simpa using rounded_lipschitz_normals (by norm_num : (0:ℝ)<1) hz hw hn hm hs ht
private theorem inner_synth_axis_lower {u : ℕ → ℝ} (hu : u∈simplex) (j : ℕ) :
-(1/64:ℝ) ≤ ⟪axis j,synth u⟫ := by
have e := (synth_summable hu).hasSum.mapL (innerSL ℝ (axis j))
have lf (i) : -(1/64:ℝ)*u i ≤ (innerSL ℝ (axis j)) (u i • axis i) := by
change _≤⟪axis j,u i • axis i⟫
rw [real_inner_smul_right,axis_inner,mul_comm]
apply mul_le_mul_of_nonneg_left _ (hu.1 i)
unfold entry
split <;> linarith [weight_small (max j i)]
have low := ((mass_summable hu).mul_left (-(1/64:ℝ))).tsum_le_tsum lf e.summable
rw [tsum_mul_left,e.tsum_eq] at low
change -(1/64:ℝ)*(∑' i,u i) ≤ ⟪axis j,synth u⟫ at low
linarith [mass_le_one hu]
theorem center_width {u v : ℕ → ℝ} (hu : u∈simplex) (hv : v∈simplex) : ‖center u-center v‖ ≤ 3/2 := by
have e := (synth_summable hv).hasSum.mapL (innerSL ℝ (synth u))
have lf (i) : -(1/64:ℝ)*v i ≤ (innerSL ℝ (synth u)) (v i • axis i) := by
change _ ≤ ⟪synth u,v i • axis i⟫
rw [real_inner_smul_right,real_inner_comm (axis i) (synth u),mul_comm]
exact mul_le_mul_of_nonneg_left (inner_synth_axis_lower hu i) (hv.1 i)
have low := ((mass_summable hv).mul_left (-(1/64:ℝ))).tsum_le_tsum lf e.summable
rw [tsum_mul_left,e.tsum_eq] at low
change -(1/64:ℝ)*(∑' i,v i) ≤ ⟪synth u,synth v⟫ at low
have h := WithLp.prod_norm_sq_eq_of_L2 (center u-center v)
change ‖center u-center v‖^2=‖height u-height v‖^2+‖synth u-synth v‖^2 at h
rw [Real.norm_eq_abs,sq_abs,norm_sub_sq_real (synth u) (synth v)] at h
have w₁ : ‖synth u‖^2≤1 := by nlinarith [norm_synth_le hu,norm_nonneg (synth u)]
have w₂ : ‖synth v‖^2≤1 := by nlinarith [norm_synth_le hv,norm_nonneg (synth v)]
have a := height_bounds hu
have b := height_bounds hv
have d : |height u-height v|≤1/4 := abs_le.mpr ⟨by linarith,by linarith⟩
nlinarith [sq_abs (height u-height v),mul_nonneg (show 0≤1/4-|height u-height v| by linarith)
(show 0≤1/4+|height u-height v| by positivity), mass_le_one hv]
theorem fixed_width {z y : Ambient} (hz : z∈fixedBody) (hy : y∈fixedBody) : ‖z-y‖ ≤ 15/4Lean fixed_normals · ✅ kernel-checked · source
Statement in Lean
theorem fixed_normals {z w n m : Ambient} (hz : z∈fixedBody) (hw : w∈fixedBody)
(hn : ‖n‖=1) (hm : ‖m‖=1) (hs : Supports fixedBody z n) (ht : Supports fixedBody w m) :
‖n-m‖ ≤ ‖z-w‖Lean fixed_unique_oracle · ✅ kernel-checked · source
Statement in Lean
/-- The fixed body itself has exactly one supporting point in every nonzero Hilbert direction. -/
theorem fixed_unique_oracle (q : Ambient) (hq : q ≠ 0) :
∃! z, z ∈ fixedBody ∧ IsMaxOn (fun y => ⟪q,y⟫) fixedBody zLean seed_exposed · ✅ kernel-checked · source
Statement in Lean
/-- The public seed is itself the uniquely exposed atom in the stated direction. -/
theorem seed_exposed : IsMaxOn (fun y => ⟪seedDir,y⟫) fixedBody seedLean fixed_gradient_lower · ✅ kernel-checked · source
Statement in Lean
/-- The fixed, uniquely exposed start and the true minimizing oracle give the budget bound
for every gradient-directed hull method, for all budgets on the same instance. -/
theorem fixed_gradient_lower (query reply : ℕ → Ambient)
(hq : ∀ t, query t ∈ convexHull ℝ (insert seed (reply '' Set.Iio t)))
(hr : ∀ t, reply t ∈ fixedBody ∧ IsMinOn (fun v => ⟪grad (query t),v⟫) fixedBody (reply t))
(t : ℕ) {z : Ambient} (hz : z ∈ convexHull ℝ (insert seed (reply '' Set.Iio t))) :
31 / (256 * ((t:ℝ)+1)) ≤ objective z-objective optimumLean fixed_open_loop_rate · ✅ kernel-checked · source
Statement in Lean
/-- On one body and one exposed seed, open-loop Frank–Wolfe has matching upper and lower
bounds at every positive iteration, for any total exact LMO. -/
theorem fixed_open_loop_rate (O : Upper.LMO fixedBody) (n : ℕ) :
let zLean fixed_trial_rate · ✅ kernel-checked · source
Statement in Lean
/-- Any hull method whose next query is at least as good as the open-loop segment trial
has the same two-sided rate. Exact line search and full correction admit that trial;
for this quadratic the clipped short-step model is the objective on the segment. -/
theorem fixed_trial_rate (O : Upper.LMO fixedBody) (q : ℕ → Ambient)
(hull : ∀ t,q t∈convexHull ℝ (insert seed ((fun j => O.query (grad (q j))) '' Set.Iio t)))
(trial : ∀ t,objective (q (t+1)) ≤ objective (Upper.blend (Upper.fwStepSize t) (q t) (O.query (grad (q t)))))
(n : ℕ) : 31/(256*((n:ℝ)+2)) ≤ objective (q (n+1))-objective optimum ∧
objective (q (n+1))-objective optimum ≤ 2*((15:ℝ)/4)^2/((n:ℝ)+3)Lean optimum_vertical · ✅ kernel-checked · source
Statement in Lean
theorem optimum_vertical : IsMinOn (fun z => ⟪vertical,z⟫) fixedBody optimumLean failure_strong_exposure · ✅ kernel-checked · source
Statement in Lean
/-- Feasible near-maximizers of the negative vertical functional have vanishing deficit
and stay a fixed positive distance from its unique maximizer. -/
theorem failure_strong_exposure : (∀ j, nearPoint j∈fixedBody) ∧
Tendsto (fun j => ⟪vertical,nearPoint j-optimum⟫) atTop (𝓝 0) ∧
∀ j, 9/10 ≤ ‖nearPoint j-optimum‖Lean frame_compact · ✅ kernel-checked · source
Statement in Lean
@[expose] public section
namespace Lemmata.FrankWolfePS.Hilbert.Anytime
open Lemmata.FrankWolfePS.Hilbert InnerProductSpace Finset Filter
open scoped Topology RealInnerProductSpace BigOperators
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E]
theorem frame_compact (F : Frame E) : IsCompact (toWeakSpace ℝ (World E) '' body F)Lean frame_width · ✅ kernel-checked · source
Statement in Lean
theorem frame_width (F : Frame E) {y z : World E} (hy : y∈body F) (hz : z∈body F) : ‖y-z‖ ≤ 15/4Lean frame_normals · ✅ kernel-checked · source
Statement in Lean
theorem frame_normals (F : Frame E) {z w n m : World E} (hz : z∈body F) (hw : w∈body F)
(hn : ‖n‖=1) (hm : ‖m‖=1) (hs : Supports (body F) z n) (ht : Supports (body F) w m) :
‖n-m‖≤‖z-w‖Lean frame_radius_exact · ✅ kernel-checked · source
Statement in Lean
/-- A single supporting point and its unit normal obstruct every radius larger than one.
Together with the unit parallel-body identity this gives the exact maximum inner rolling radius. -/
theorem frame_radius_exact (F : Frame E) :
∃ z∈body F,∃ n : World E, ‖n‖=1 ∧ Supports (body F) z n ∧
∀ r : ℝ, 1<r → ∃ y : World E, ‖y-(z-r • n)‖≤r ∧ y∉body FLean frame_unique_oracle · ✅ kernel-checked · source
Statement in Lean
/-- In every fixed frame, every nonzero physical direction has exactly one maximizing point. -/
theorem frame_unique_oracle (F : Frame E) (q : World E) (hq : q≠0) :
∃! z, z∈body F ∧ IsMaxOn (fun y => ⟪q,y⟫) (body F) zLean exact_reply_prefix · ✅ kernel-checked · source
Statement in Lean
/-- The zero coefficients of the unseen orthogonal directions force full mass on at most one
additional label, with the very same unique oracle used off transcript. -/
theorem exact_reply_prefix {a u : ℕ → ℝ} {k : ℕ} {Q : ℝ} (hp : 0<Q)
(hidden : ∀ i, k ≤ i → a i=0) (hu : u ∈ simplex)
(opt : IsMaxOn (score (lin a Q) (pen Q)) simplex u) :
(∀ j, k < j → u j=0) ∧ ∑ i ∈ range (k+1),u i=1Lean optimizer_mass · ✅ kernel-checked · source
Statement in Lean
@[expose] public section
namespace Lemmata.FrankWolfePS.Hilbert.Anytime
open Lemmata.FrankWolfePS.Hilbert Finset Filter
open scoped Topology RealInnerProductSpace BigOperators
noncomputable def bonus (i : ℕ) : ℝ := weight i/8
noncomputable def lin (a : ℕ → ℝ) (Q : ℝ) (i : ℕ) : ℝ := a i + Q*bonus i
noncomputable def pen (Q : ℝ) (i : ℕ) : ℝ := Q*bonus i/8
theorem bonus_pos (i : ℕ) : 0<bonus i := by have := weight_pos i; unfold bonus; positivity
theorem bonus_limit : Tendsto bonus atTop (𝓝 0) := by unfold bonus; simpa using weight_limit.div_const 8
theorem lin_limit {a : ℕ → ℝ} (ha : Tendsto a atTop (𝓝 0)) (Q : ℝ) :
Tendsto (lin a Q) atTop (𝓝 0) := by unfold lin; simpa using ha.add (bonus_limit.const_mul Q)
theorem pen_limit (Q : ℝ) : Tendsto (pen Q) atTop (𝓝 0) := by
unfold pen; simpa using (bonus_limit.const_mul Q).div_const 8
/-- The perturbed support objective of the amendment has a unique parameter even off transcript. -/
theorem unique_reply_parameter {a : ℕ → ℝ} (ha : Tendsto a atTop (𝓝 0)) {Q : ℝ} (hp : 0<Q) :
∃! u, u∈simplex ∧ IsMaxOn (score (lin a Q) (pen Q)) simplex u :=
unique_parameter (lin_limit ha Q) (pen_limit Q) (fun i => by
have := bonus_pos i; unfold pen; positivity)
/-- The zero coefficients of the unseen orthogonal directions force full mass on at most one
additional label, with the very same unique oracle used off transcript. -/
theorem exact_reply_prefix {a u : ℕ → ℝ} {k : ℕ} {Q : ℝ} (hp : 0<Q)
(hidden : ∀ i, k ≤ i → a i=0) (hu : u ∈ simplex)
(opt : IsMaxOn (score (lin a Q) (pen Q)) simplex u) :
(∀ j, k < j → u j=0) ∧ ∑ i ∈ range (k+1),u i=1 := by
have ha : Tendsto a atTop (𝓝 0) := tendsto_const_nhds.congr' (by
filter_upwards [eventually_ge_atTop k] with i hi using (hidden i hi).symm)
apply maximizer_prefix hu (null_terms_summable (lin_limit ha Q) (pen_limit Q) hu) opt
· intro i; have := bonus_pos i; unfold pen; positivity
· simp only [lin,pen,hidden k le_rfl,zero_add]
nlinarith [mul_pos hp (bonus_pos k)]
· intro j hj
simp only [lin,pen,hidden j hj.le,hidden k le_rfl,zero_add,bonus]
nlinarith [mul_le_mul_of_nonneg_left (weight_half hj) hp.le,mul_pos hp (weight_pos k)]
noncomputable def size (u : ℕ → ℝ) : ℝ := Real.sqrt (1090+∑' i,(u i)^2)
noncomputable def rad (u : ℕ → ℝ) : ℝ := 1+score bonus (pen 1) u
noncomputable def residual (u : ℕ → ℝ) : ℝ := size u-rad u
theorem ss {u : ℕ → ℝ} (hu : u∈simplex) : Summable (fun i => (u i)^2) :=
(mass_summable hu).of_nonneg_of_le (fun _ => _root_.sq_nonneg _) (fun i => by
nlinarith [mul_nonneg (hu.1 i) (sub_nonneg.mpr (coord_le_one hu i))])
theorem size_bounds {u : ℕ → ℝ} (hu : u∈simplex) :
33 ≤ size u ∧ size u ≤ 34 ∧ (size u)^2=1090+∑' i,(u i)^2 := by
have lo : 0≤∑' i,(u i)^2 := tsum_nonneg (fun _ => _root_.sq_nonneg _)
have hi := (ss hu).tsum_le_tsum (fun i => show (u i)^2 ≤ u i by
nlinarith [mul_nonneg (hu.1 i) (sub_nonneg.mpr (coord_le_one hu i))]) (mass_summable hu)
have sq : (size u)^2=1090+∑' i,(u i)^2 := Real.sq_sqrt (by linarith)
have z := Real.sqrt_nonneg (1090+∑' i,(u i)^2)
change 0≤size u at z
exact ⟨by nlinarith,by nlinarith [mass_le_one hu],sq⟩
theorem bonus_sum (s : Finset ℕ) : ∑ i ∈ s,bonus i ≤ 1/256 := by
unfold bonus
simp only [div_eq_mul_inv,←sum_mul]
linarith [sum_weight_le s]
/-- A finite decrease in a single coordinate proves the bound on every closest-ball parameter,
without assuming the one-sided optimality inequality. -/
theorem optimizer_coordinate {u : ℕ → ℝ} (hu : u∈simplex) (opt : IsMinOn residual simplex u)
(j : ℕ) : u j ≤ 34*bonus j := by
by_contra! large
let d := (u j-34*bonus j)/2
have dp : 0<d := by dsimp [d]; linarith
have du : d≤u j := by dsimp [d]; linarith [bonus_pos j]
let v := bump u j (-d)
have hv : v∈simplex := by
apply mem_simplex_of_hasSum _ (bump_hasSum (mass_summable hu).hasSum j (-d)) (by linarith [mass_le_one hu])
intro i
by_cases eq : i=j
· subst i; simp [bump]; linarith
· simpa [v,bump,eq] using hu.1 i
have sa : HasSum (fun i => (0:ℝ)*u i-(-1)*(u i)^2) (∑' i,(u i)^2) := by simpa using (ss hu).hasSum
have sq := (term_bump_hasSum sa j (-d)).tsum_eq
simp only [zero_mul,neg_one_mul,sub_neg_eq_add,zero_add] at sq
have br := null_terms_summable bonus_limit (pen_limit 1) hu
have dr := (term_bump_hasSum br.hasSum j (-d)).tsum_eq
change score bonus (pen 1) v = score bonus (pen 1) u + _ at dr
have vu : size u ^2 - size v ^2=d*(2*u j-d) := by
rw [(size_bounds hu).2.2,(size_bounds hv).2.2]
change (1090+_) - (1090+∑' i,(bump u j (-d) i)^2) = _
rw [sq]; ring
have rd : rad u-rad v ≤ d*bonus j := by
unfold rad; rw [dr]
have p : 0≤pen 1 j := by unfold pen; have := bonus_pos j; positivity
nlinarith [mul_nonneg (mul_nonneg dp.le p) (show 0≤2*u j-d by linarith [hu.1 j])]
have vs := isMinOn_iff.mp opt v hv
change size u-rad u ≤ size v-rad v at vs
have close : size u-size v ≤ d*bonus j := by linarith
have t := mul_le_mul_of_nonneg_right close (show 0 ≤ size u+size v by linarith [(size_bounds hu).1,(size_bounds hv).1])
have z := mul_le_mul_of_nonneg_left (show size u+size v ≤ 68 by linarith [(size_bounds hu).2.1,(size_bounds hv).2.1])
(mul_nonneg dp.le (bonus_pos j).le)
have big : 68*bonus j < 2*u j-d := by dsimp [d]; linarith
nlinarith [mul_lt_mul_of_pos_left big dp]
theorem optimizer_mass {u : ℕ → ℝ} (hu : u∈simplex) (opt : IsMinOn residual simplex u) :
(∑' i,u i) ≤ 34/256Lean frame_all_budgets · ✅ kernel-checked · source
Statement in Lean
/-- The geometric loss for any actual feasible output in the encoded finite span,
simultaneously for every budget and one body in the chosen frame. -/
theorem frame_all_budgets (F : Frame E) :
∃ z∈body F, IsMinOn (fun y => ‖y-target‖^2/2) (body F) z ∧
∀ (T : ℕ) (D : Set E), (∀ v∈D, ⟪witness F (T+1),v⟫=0) →
∀ y∈body F, y.snd∈Submodule.span ℝ ((fun i => F.h+F.e i) '' Set.Iio (T+1) ∪ D) →
1/(4*((T:ℝ)+2)) ≤ ‖y-target‖^2/2-‖z-target‖^2/2Lean deterministic_anytime · ✅ kernel-checked · source
Statement in Lean
/-- For every deterministic anytime method there is one fixed body with a single exact oracle,
a public start, and one optimizer. All actual outputs along its run at all budgets are covered. -/
theorem deterministic_anytime (inf : ¬FiniteDimensional ℝ E) (v : E) (hv : ‖v‖=1) (M : Strategy E) :
∃ (F : Frame E) (O : Upper.LMO (body F)) (z : World E),
start v∈body F ∧ O.query 0=start v ∧
(∀ q : World E, q ≠ 0 → ∃! x, x∈body F ∧ IsMinOn (fun y => ⟪q,y⟫) (body F) x) ∧
z∈body F ∧ IsMinOn (fun y => ‖y-target‖^2/2) (body F) z ∧
(∃ r : ℕ → World E, ∀ t,r t=O.query (queryAt M r t)) ∧
∀ r : ℕ → World E, (∀ t,r t=O.query (queryAt M r t)) → ∀ T : ℕ,
let yLean optimal_order · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 3.5. The upper method works simultaneously for every body in the prescribed
class. For each randomized method there is a fixed body in that same class on which even
its unrestricted output fails with probability at least one fifth. -/
theorem optimal_order (T : ℕ) (T2 : 2≤T) (a : ι) (size : Fintype.card ι=256*(T+1))
{L β D : ℝ} (hL : 0<L) (hb : 0<β) (hD : 2/β<D)
(μ : Measure Ω) [IsProbabilityMeasure μ] (m : Ω → Method (Ambient ι) T)
(hm : Method.IsMeasurable m) :
let stLean compact_trial_little_o · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 7.1 in its norm-compact Hilbert form. The hypothesis is the stated trial
inequality itself and allows every choice of exact linear minimizer along the trajectory. -/
theorem compact_trial_little_o [CompleteSpace E] {C : Set E} (hc : IsCompact C) (_hv : Convex ℝ C)
{f : E → ℝ} {L : ℝ≥0} (hf : Differentiable ℝ f) (cv : ConvexOn ℝ Set.univ f)
(lip : LipschitzWith L (gradient f)) {star : E} (hs : star∈C) (opt : IsMinOn f C star)
(_nz : gradient f star≠0)
(un : ∀ y∈C,IsMinOn (fun w => ⟪gradient f star,w⟫) C y ↔ y=star)
(O : Upper.LMO C) (x : ℕ → E) (mem : ∀ t,x t∈C)
(trial : ∀ t,let s := O.query (gradient f (x t))
f (x (t+1)) ≤ f (x t)+Upper.fwStepSize t*⟪gradient f (x t),s-x t⟫+
(L:ℝ)/2*Upper.fwStepSize t^2*‖s-x t‖^2) :
Tendsto (fun t : ℕ => (t:ℝ)*(f (x t)-f star)) atTop (𝓝 0)Lean randomized_fixed_hilbert · ✅ kernel-checked · source
Statement in Lean
/-- The geometric and probabilistic conclusions use one explicitly defined prior.
Its support is witnessed in the Hausdorff distance on nonempty closed bounded sets. -/
theorem randomized_fixed_hilbert :
(∀ x : Tape,let d := data x
IsCompact (toWeakSpace ℝ World '' body d) ∧ Convex ℝ (body d) ∧
Upper.LipschitzNormals (body d) 1 ∧ Metric.diam (body d)≤15/4 ∧ publicStart∈body d ∧
oracle d 0=publicStart ∧ (∀ q,Unique.MinAt (body d) q (oracle d q)) ∧
(∀ q : World,q≠0 → ∃! z,Unique.MinAt (body d) q z) ∧
(∀ ε : ℝ,0<ε → ∃ E : Set Tape,MeasurableSet E ∧ 0<prior E ∧
∀ y∈E,Metric.hausdorffDist (body d) (body (data y))<ε)) ∧
(∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (M : Rules Ω) (T : ℕ),
(1/5:ℝ≥0∞)≤(prior.prod μ) (failures M T)) ∧
(∀ (μ : Measure Ω) [IsProbabilityMeasure μ] (M : Rules Ω),
∃ x : Tape, (∀ n,∃ T≥n,(1/5:ℝ≥0∞)≤μ ((Prod.mk x) ⁻¹' failures M T)) ∧
(1/5:ℝ≥0∞)≤μ {ω | ∀ n,∃ T≥n,(x,ω)∈failures M T})Lean conditional_bound · ✅ kernel-checked · source
Statement in Lean
theorem conditional_bound {Ω : Type*} [MeasurableSpace Ω] (M : Rules Ω) (ω : Ω) (x : Tape)
(j T : ℕ) (le : T≤budget j) :
(6/25:ℝ≥0∞)≤marginal j {s | (Function.update x j s,ω)∈evidence M j T}Lean squaredDistance_measurable · ✅ kernel-checked · source
Statement in Lean
theorem squaredDistance_measurable : Measurable (fun p : Data × World => squaredDistance p.1 p.2)Lean random_bounded · ✅ kernel-checked · source
Statement in Lean
/-- Bounded-depth methods may return immediately or after any of at most T calls.
Only their actual query and output rules on finite histories must be jointly measurable. -/
theorem random_bounded (μ : Measure Ω) [IsProbabilityMeasure μ] (T : ℕ) (m : Ω → Method World T)
(ha : Unique.BorelRule (fun ω h => (m ω).queryAfter h.reverse))
(ho : Unique.BorelRule (fun ω h => (m ω).outAfter h.reverse)) :
(6/25:ℝ≥0∞)≤(prior.prod μ) {p : Tape × Ω | let d := data p.1
let w := (m p.2).run (oracle d)
w∉body d ∨ rate T≤cost w-sInf (cost '' body d)}Lean random_anytime · ✅ kernel-checked · source
Statement in Lean
theorem random_anytime (μ : Measure Ω) [IsProbabilityMeasure μ] (M : Rules Ω) :
∃ x : Tape, (∀ n,∃ T≥n,(1/5:ℝ≥0∞)≤μ ((Prod.mk x) ⁻¹' failures M T)) ∧
(1/5:ℝ≥0∞)≤μ {ω | ∀ n,∃ T≥n,(x,ω)∈failures M T}AI use. The construction was proposed by Sebastian Pokutta. The note, its proofs and the original Lean formalization were produced with the Agentic Researcher framework. The port to the archive, the generalized and additional statements, the widget and this page were developed with Claude (Anthropic) under the author’s direction and review. The Hilbert-space companion and its Lean proofs were developed with OpenAI Codex.
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.
- Grimmer, B., & Liu, N. (2026). Lower Bounds for Linear Minimization Oracle Methods Optimizing over Strongly Convex Sets. 10.48550/arXiv.2602.22608
- Pokutta, S. (2026). Lower Bounds for Randomized Linear-Oracle Optimization over Strongly Convex Sets. 10.48550/arXiv.2610.13590
- Pokutta, S. (2026). Frank–Wolfe Beyond 1/t Convergence. 10.48550/arXiv.2604.28006
- Lan, G., & Zhou, Y. (2016). Conditional Gradient Sliding for Convex Optimization. SIAM Journal on Optimization, 26(2), 1379–1409. 10.1137/140992382
- Lan, G. (2013). The Complexity of Large-scale Convex Programming under a Linear Optimization Oracle. 10.48550/arXiv.1309.5550
- Jaggi, M. (2013). Revisiting Frank–Wolfe: Projection-Free Sparse Convex Optimization. Proceedings of the 30th International Conference on Machine Learning, 28, 427–435. https://proceedings.mlr.press/v28/jaggi13.html
- Halbey, J., Deza, D., Zimmer, M., Roux, C., Stellato, B., & Pokutta, S. (2026). Lower Bounds for Frank–Wolfe on Strongly Convex Sets. 10.48550/arXiv.2602.04378
- Liu, N., & Grimmer, B. (2023). Gauges and Accelerated Optimization over Smooth and/or Strongly Convex Sets. 10.48550/arXiv.2303.05037
- Luner, A., & Grimmer, B. (2024). Performance Estimation for Smooth and Strongly Convex Sets. 10.48550/arXiv.2410.14811
- Hazan, E. (2026). A Linearly Convergent Projection-Free Algorithm for Smooth Convex Sets. 10.48550/arXiv.2608.04321
- Garber, D., & Hazan, E. (2015). Faster Rates for the Frank–Wolfe Method over Strongly-Convex Sets. Proceedings of the 32nd International Conference on Machine Learning, 37, 541–549. https://proceedings.mlr.press/v37/garbera15.html
- Drori, Y. (2017). The Exact Information-Based Complexity of Smooth Convex Minimization. Journal of Complexity, 39, 1–16. 10.1016/j.jco.2016.11.001