Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

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 T≥0T \ge 0, β>0\beta > 0 and D>2/βD > 2/\beta, and every randomized method requiring no more than TT calls to a linear minimization oracle, there is a convex body with β\beta-Lipschitz unit normals, diameter at most DD and exactly one linear minimizer in every nonzero direction on which, with probability at least 1/51/5, the method returns an infeasible point or a point with primal gap at least L(D−2/β)2/(64(T+1))L(D-2/\beta)^2/(64(T+1)) for a known LL-smooth and LL-strongly convex quadratic. For methods with feasible outputs the probability is 3/43/4. The body can be chosen strongly convex, with moduli of uniform convexity at most β/(108(T+1))\beta/(10^8(T+1)). Frank–Wolfe on the inner parallel body reaches primal gap 2L(D−2/β)2/(T+1)2L(D-2/\beta)^2/(T+1) on every such body, so the order L(D−2/β)2/TL(D-2/\beta)^2/T is optimal. The entry also proves lower bounds for an oracle that breaks ties by index, including deterministic methods in dimension 64(T+1)+164(T+1)+1 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 1/51/5.

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 ε\varepsilon requires on the order of 1/ε1/\sqrt\varepsilon 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 1/T1/T. A convex body whose unit normals are β\beta-Lipschitz is a smaller convex body KK, of diameter D−2/βD - 2/\beta, plus a ball of radius 1/β1/\beta (Lemma 2). Frank–Wolfe applied to KK reaches primal gap 2L(D−2/β)2/(T+1)2L(D - 2/\beta)^2/(T + 1) after TT oracle calls for the quadratic L2∥x−u∥2\frac L2\|x - u\|^2. No method does better than a constant fraction of this with probability at least 1/51/5, 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 TT grows (Theorem 6).

MethodsLMOAfter at most TT oracle calls
allunique minimizersinfeasible output or primal gap ≥L(D−2/β)2/(64(T+1))\ge L(D - 2/\beta)^2/(64(T+1)), with probability ≥1/5\ge 1/5Theorem 1
feasible outputsunique minimizersprimal gap ≥L(D−2/β)2/(64(T+1))\ge L(D - 2/\beta)^2/(64(T+1)), with probability ≥3/4\ge 3/4Theorem 2
allvertex LMOinfeasible output or primal gap ≥L(D−2/β)2/(32(T+1))\ge L(D - 2/\beta)^2/(32(T+1)), with probability ≥1/4\ge 1/4Theorem 3
deterministicvertex LMOthe same, always, in dimension 64(T+1)+164(T+1) + 1Theorem 4
Frank–Wolfe on the inner parallel bodyanyprimal gap ≤2L(D−2/β)2/(T+1)\le 2L(D - 2/\beta)^2/(T+1) for isotropic quadraticsTheorem 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, ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle is a real inner product with norm ∥⋅∥\|\cdot\|, BrB_r is the closed ball of radius rr about the origin, and a convex body is a compact convex set with nonempty interior.

Each boundary point of a β\beta-smooth set has exactly one unit outer normal. A linear function may still be minimized by a whole face.

When several points minimize ⟨q,⋅⟩\langle q, \cdot\rangle, an LMO selects one of them; a fixed selection is a tie-breaking rule. For q=0q = 0 every point of CC 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 ω\omega.

For example, a method whose directions and output are jointly measurable functions of ω\omega and of the previous answers is measurable.

Up to an additive constant, ff is L2∥⋅−c∥2\frac L2\|\cdot - c\|^2 with c=(0,−32/β)c = (0, -32/\beta). It is LL-smooth and LL-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 N+1N + 1 grows linearly with TT, 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 3/43/4. 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 II, which determines the vertices of the simplex; the objective is the same for all instances.

The vertex LMO minimizes ⟨q,⋅⟩\langle q, \cdot\rangle over each of the two summands of CIC_I separately, so it is an LMO of CIC_I when 1∈I1 \in I.

Where does ff attain its minimum on CIC_I?

So the hard bodies lie outside the regime in which Frank–Wolfe converges faster than 1/t1/t, as they must. The tie-breaking rule matters for another reason. In the vertical direction q=(0,1)q = (0, 1) every point of the bottom face {(au,0):u∈ΔI}\{(a u, 0) : u \in \Delta_I\} is a minimizer, and an LMO that answered with the barycenter (a1I/∣I∣,0)(a\mathbf 1_I/|I|, 0) of that face would reveal II 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 q≠0q \ne 0 orders the indices by their coordinates qx,jq_{x,j}. The answer reveals the first index of II in this order, and with it that the indices before it do not lie in II; nothing else about II can be read off. Index 1 belongs to every instance, so the answer (ae1,0)(a e_1, 0) to q=0q = 0 lies in every CIC_I and reveals nothing. After TT calls a method thus knows at most T+1T + 1 indices of II, but a point with small primal gap must put most of its horizontal weight on II.

By Proposition 1, the body CIC_I has diameter exactly DD and is β\beta-smooth. The proof uses that the answers determine the instance only up to the indices not yet decided. Fix a deterministic method, and let II be uniformly distributed over the index sets of size d=8(T+1)d = 8(T+1) that contain 1. After some answers, let PP be the indices known to lie in II and UU the indices whose membership is still undecided, and put h=d−∣P∣h = d - |P|. Given these answers, II is uniformly distributed over the sets P∪SP \cup S with S⊆US \subseteq U and ∣S∣=h|S| = h, so an undecided index lies in II with probability h/∣U∣h/|U|.

The note’s Appendix A gives the probability 5/75/7 here; counting the excluded indices exactly improves it to 97/12897/128.

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 II.

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 TT grows. Recall that a set CC is (α,2)(\alpha, 2)-uniformly convex if θx+(1−θ)y+θ(1−θ) α∥x−y∥2z∈C\theta x + (1 - \theta) y + \theta(1 - \theta)\,\alpha\|x - y\|^2 z \in C for all x,y∈Cx, y \in C, θ∈[0,1]\theta \in [0, 1] and unit vectors zz.

So strong convexity of the feasible region does not improve the order 1/T1/T 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 CC yields one of KK: if ss minimizes ⟨q,⋅⟩\langle q, \cdot\rangle on CC and q≠0q \ne 0, then s+rq/∥q∥s + r q/\|q\| minimizes it on KK. So Frank–Wolfe can run on KK, using the LMO of CC.

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 β\beta-smooth bodies of diameter at most DD.

For a general smooth convex objective, conditional gradient sliding Lan & Zhou, 2016 applies to the product K×BrK \times B_r.

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 AdA_d, so at fixed β\beta and DD it is of order 1/T21/T^2, while Theorem 1 gives order 1/T1/T.

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 1/T21/T^2 (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 TT 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

wi=2−i/64,Bij=1{i=j}−wmax⁡(i,j),Δ={ui≥0: ∑iui≤1}.w_i=2^{-i}/64,\qquad B_{ij}=\mathbf1_{\{i=j\}}-w_{\max(i,j)},\qquad \Delta=\{u_i\ge0:\ \sum_i u_i\le1\}.

Take Hilbert vectors did_i with ⟨di,dj⟩=Bij\langle d_i,d_j\rangle=B_{ij}, and write Sx=∑ixidiSx=\sum_i x_i d_i. On signed finite sequences,

3132∑ixi2≤∥Sx∥2≤3332∑ixi2.\frac{31}{32}\sum_i x_i^2\le\|Sx\|^2\le\frac{33}{32}\sum_i x_i^2.

Indeed, 2∣xixj∣≤xi2+xj22|x_ix_j|\le x_i^2+x_j^2, wmax⁡(i,j)≤min⁡(wi,wj)w_{\max(i,j)}\le\min(w_i,w_j) and ∑iwi=1/32\sum_iw_i=1/32. In Lean the horizontal space is the real reproducing-kernel Hilbert space of BB. Positivity of the infinite kernel follows by testing finitely supported coefficients. Its kernel vectors give did_i; thus the existence of the Hilbert configuration is part of the proof. Equivalently one can use B1/2eiB^{1/2}e_i on ℓ2\ell_2. 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 1−wi1-w_i.

For u∈Δu\in\Delta, define the height, center and radius by

a(u)=∑iwi2ui,c(u)=(a(u),Su),r(u)=1+1100∑iwi2(ui−ui2).a(u)=\sum_i w_i^2 u_i,\qquad c(u)=(a(u),Su),\qquad r(u)=1+\tfrac1{100}\sum_i w_i^2(u_i-u_i^2).

Let C=⋃u∈ΔB‾(c(u),r(u))C=\bigcup_{u\in\Delta}\overline B(c(u),r(u)) in the Hilbert direct sum of R\mathbb R and the horizontal space. Take f(v,x)=((v+4)2+∥x∥2)/2f(v,x)=((v+4)^2+\|x\|^2)/2. Its gradient is (v+4,x)(v+4,x); its minimizer on CC is z∗=(−1,0)z^*=(-1,0). In fact v≥−1v\ge-1 throughout CC, and f(v,x)−f(z∗)≥∥x∥2/2f(v,x)-f(z^*)\ge\|x\|^2/2.

Proof. Suppose a horizontal query has chart xx supported in 0,…,n−10,\ldots,n-1, with signed mass m=∑xi∈[1/2,5/4]m=\sum x_i\in[1/2,5/4]. For j≥nj\ge n its Gram row equals −mwj-mw_j. Write G=v+4G=v+4 and Q=∥∇f(v,Sx)∥Q=\|\nabla f(v,Sx)\|. The parameter of the minimizing reply maximizes

∑i[(−(Bx)i−Gwi2+Qwi2/100)ui−(Qwi2/100)ui2].\sum_i\left[\left(-(Bx)_i-Gw_i^2+Qw_i^2/100\right)u_i -(Qw_i^2/100)u_i^2\right].

The body bounds imply 3≤G≤63\le G\le6, G≤Q≤7G\le Q\le7, and 0≤r/Q≤2/50\le r/Q\le2/5. For j>nj>n, its initial marginal is at most mwj≤mwn/2mw_j\le mw_n/2; the marginal at nn, even at mass one, is at least mwn−(G+Q/100)wn2>mwn/2mw_n-(G+Q/100)w_n^2>mw_n/2. Filling slack or transferring any later mass to nn 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 nn. The returned chart is u−(r/Q)xu-(r/Q)x. It has mass 1−(r/Q)m∈[1/2,5/4]1-(r/Q)m\in[1/2,5/4]. These conditions are convex even for signed charts, so they propagate to the entire stored hull with at most t+1t+1 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 eie_i, take a unit h⊥eih\perp e_i. Put ai=h+eia_i=h+e_i, bi=wi/8b_i=w_i/8, p=(−32,0)p=(-32,0), and F(y)=∥y−p∥2/2F(y)=\|y-p\|^2/2. Form the union of balls with

c(u)=(1,h+∑iuiei),R(u)=1+∑ibi(ui−ui2/8),u∈Δ.c(u)=(1,h+\sum_i u_i e_i),\qquad R(u)=1+\sum_i b_i(u_i-u_i^2/8),\qquad u\in\Delta .

Fix the image of a0a_0 for the public start (0,a0)(0,a_0).

Proof of the common transcript. The construction uses an explicit orthonormal sequence did_i in the target space. Put d0=vd_0=v. Having seen the output and query at budget tt, choose the unit dt+1d_{t+1} perpendicular to the previous directions and to the horizontal components of all outputs and queries through tt. This is possible because their span is finite-dimensional. Write

ci=1(i+1)(i+2),mk=∑i<kcidi,h=∑i≥0cidi,ai=mi+(i+2)cidi,ei=ai−h.\begin{gathered} c_i=\frac1{\sqrt{(i+1)(i+2)}},\quad m_k=\sum_{i<k}c_i d_i,\quad h=\sum_{i\ge0}c_i d_i,\\ a_i=m_i+(i+2)c_i d_i,\quad e_i=a_i-h . \end{gathered}

The telescoping identity ∑i<kci2=1−1/(k+1)\sum_{i<k}c_i^2=1-1/(k+1) gives convergence of hh in norm, ∥h∥=1\|h\|=1, ⟨h,ai⟩=1\langle h,a_i\rangle=1, and ⟨ai,aj⟩=1+1{i=j}\langle a_i,a_j\rangle=1+\mathbf1_{\{i=j\}}. Hence h,e0,e1,…h,e_0,e_1,\ldots is an orthonormal system and a0=2 va_0=\sqrt2\,v.

For a captured horizontal vector xx at budget tt, put k=t+1k=t+1. Then ⟨x,h⟩=⟨x,mk⟩\langle x,h\rangle=\langle x,m_k\rangle and ⟨x,ei⟩=0\langle x,e_i\rangle=0 for all i≥ki\ge k. Using the known coefficients for i<ki<k and zeros afterward determines the unique support parameter. It has total mass one on the first k+1k+1 labels, hence h+∑iuiei=∑i≤kuiaih+\sum_i u_i e_i=\sum_{i\le k}u_i a_i. That center and the support displacement use only directions selected through dkd_k. 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, ∑i<kai=(k+1)mk\sum_{i<k}a_i=(k+1)m_k, so h−∑i<kei=(k+1)(h−mk)h-\sum_{i<k}e_i=(k+1)(h-m_k). The output at budget tt 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 diam⁡C≤D\operatorname{diam} C\le D yield the stated uniform upper bound.

The ordinary descent recurrence first gives convergence of the objective. On the compact complement of any neighborhood of x⋆x^\star, the limiting linear functional has a strictly larger minimum. This forces xt→x⋆x_t\to x^\star and, by continuity of the gradient and exact linear minimization, st→x⋆s_t\to x^\star. Multiplying the recurrence by (t+1)(t+2)(t+1)(t+2) bounds t(f(xt)−f(x⋆))t(f(x_t)-f(x^\star)) 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 256⋅2j256\cdot2^j, together with one real height coordinate. Grouping the scalar coordinates gives a linear isometry to ℓ2(N)×R\ell_2(\mathbb N)\times\mathbb R and sends the target to p=(0,−32)p=(0,-32). Write f(w)=∥w−p∥2/2f(w)=\lVert w-p\rVert^2/2. At budget TT, failure means that the reported vector lies outside CC or has objective gap at least

b(T)=7⋅10−5(T+2)log⁡(T+3) [log⁡log⁡(T+ee)]2.b(T)=\frac{7\cdot10^{-5}}{(T+2)\log(T+3)\,[\log\log(T+e^e)]^2}.

The method may query any Hilbert vector and return any Hilbert vector. For a history of length nn, joint measurability means Borel measurability on the product of the seed space and the nn replies, for an arbitrary probability law on the seed space. This condition matters when the body itself is random. For example, let Cθ=[θ,θ+2]C_\theta=[\theta,\theta+2], 0≤θ≤10\le\theta\le1. A single positive query returns θ\theta. 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 θ\theta, 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 ej=1/log⁡(j+4)−1/log⁡(j+5)e_j=1/\log(j+4)-1/\log(j+5) and aj=eja_j=\sqrt{e_j}. The energies telescope and sum to 1/log⁡41/\log 4. A parameter selects a probability vector λj\lambda_j on each hidden set. Its ball has center ((ajλj)j,1)((a_j\lambda_j)_j,1) and radius

1+∑j{⟨ζj,λj⟩+κj(1−∥λj∥2)}.1+\sum_j\{\langle\zeta_j,\lambda_j\rangle+ \kappa_j(1-\lVert\lambda_j\rVert^2)\}.

All jitters lie between 0 and ηj=ej/(107k)\eta_j=e_j/(10^7k), with jitter zero at the public index. The positive κj\kappa_j 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 1/41/4. 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 1/1001/100. 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 1/(64k)1/(64\sqrt{k}). The Hilbert projection inequality then gives infeasibility or objective gap at least ej/(400k)e_j/(400k) on the miss event. Taking the least jj with 2j≥T+12^j\ge T+1 and bounding the small scales separately proves ej/(400k)≥b(T)e_j/(400k)\ge b(T).

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 ∥w−z∥2/2\lVert w-z\rVert^2/2 therefore gives jointly measurable functions of (d,z)(d,z) whose objective values converge to half the squared distance. At z=pz=p this is the minimum in the failure event. At a general zz its zero set is exactly z∈Cdz\in C_d.

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 2j−12^j-1, the mean over bodies of the conditional failure probability is at least 6/256/25. Thus the set of bodies with conditional probability at least 1/51/5 has measure at least 1/251/25 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 tt of oracle calls. The curves show, on logarithmic axes, the smallest primal gap among the points computed with at most tt oracle calls.

Not formalized here

The minimax rate for general smooth convex objectives has two terms, LD2/T2LD^2/T^2 and L(D−2/β)2/TL(D - 2/\beta)^2/T. 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 5/425/42; the formal proofs supersede both.

The formal statements at a glance

Main.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 : 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_proof
Formal 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] in

Lean 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 O

Lean 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 O

Lean 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)) z

Lean 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₀ ∈ C

Lean 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 : LowerBoundUniqueLMO

where 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 : LowerBoundUniqueFeasible

where 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 → α ≤ m

Lean 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 : LowerBoundStronglyConvex

where 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 : LowerBoundStronglyConvexFeasible

where 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 / β) I

Lean 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₀ I

Lean hard_body_geometry · ✅ kernel-checked · source

Statement in Lean
/-- The hard bodies: diameter `D`, exactly `β`-smooth, not strongly convex. -/
theorem hard_body_geometry : HardBodyGeometry

where 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 : HardBodyOptimum

where 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 q

Lean 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 : LowerBoundVertexLMO

where 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 : PosteriorIdentity

where 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 : LowerBoundFeasible

where 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 : LowerBoundDeterministic

where 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 : LowerBoundPenalized

where 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 : SymmetricThickeningReveals

where 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 0

Lean 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 : RollingBall

where 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 : QuadraticUpperBound

where 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 : SlidingUpperBound

where 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 : TangentBallsLinearRate

where 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 : GrimmerLiuComparison

where 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 ℝ fixedBody

Lean 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/4

Lean 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 z

Lean 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 seed

Lean 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 optimum

Lean 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 z

Lean 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 optimum

Lean 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/4

Lean 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 F

Lean 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) z

Lean 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=1

Lean 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/256

Lean 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/2

Lean 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 y

Lean 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 st

Lean 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.

References
  1. Grimmer, B., & Liu, N. (2026). Lower Bounds for Linear Minimization Oracle Methods Optimizing over Strongly Convex Sets. 10.48550/arXiv.2602.22608
  2. Pokutta, S. (2026). Lower Bounds for Randomized Linear-Oracle Optimization over Strongly Convex Sets. 10.48550/arXiv.2610.13590
  3. Pokutta, S. (2026). Frank–Wolfe Beyond 1/t Convergence. 10.48550/arXiv.2604.28006
  4. Lan, G., & Zhou, Y. (2016). Conditional Gradient Sliding for Convex Optimization. SIAM Journal on Optimization, 26(2), 1379–1409. 10.1137/140992382
  5. Lan, G. (2013). The Complexity of Large-scale Convex Programming under a Linear Optimization Oracle. 10.48550/arXiv.1309.5550
  6. 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
  7. 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
  8. Liu, N., & Grimmer, B. (2023). Gauges and Accelerated Optimization over Smooth and/or Strongly Convex Sets. 10.48550/arXiv.2303.05037
  9. Luner, A., & Grimmer, B. (2024). Performance Estimation for Smooth and Strongly Convex Sets. 10.48550/arXiv.2410.14811
  10. Hazan, E. (2026). A Linearly Convergent Projection-Free Algorithm for Smooth Convex Sets. 10.48550/arXiv.2608.04321
  11. 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
  12. 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