Roadmap
Status: [ ] open, [~] in progress, [x] done (proved, no sorry). Each item names the main result.
The order follows dependencies: later milestones use earlier ones.
M0. Foundations
- effective domain, proper functions, epigraph for
f : H → EReal ConvexFun(convex epigraph) and the bridge to Mathlib'sConvexOn- indicator function
ι_C: convex iffCconvex, lower semicontinuous iffCclosed,ι_{C ∩ D} = ι_C + ι_D - bridge to
ConvexOn ℝ s ffor anys:f + ι_sis convex iffConvexOn ℝ s f - lower semicontinuity: closed epigraph, Mathlib's
LowerSemicontinuous
M1. Subdifferential
- subgradient, subdifferential
∂f x; Fermat's rule0 ∈ ∂f x ↔ IsMinOn f univ xfor properf, and a version without hypotheses; a function with a subgradient is proper ∂f xis convex and closed;∂fis a monotone operator- normal cone
N_C x = ∂ι_C x;N_C xis a closed convex cone, empty ifx ∉ C - nonempty and bounded subdifferential at points of continuity (Hahn–Banach): if
f ≤ Mon a ball of radiusδaroundx, everyu ∈ ∂f xhas‖u‖ ≤ (M - f x) / δ(no convexity needed);∂f xis nonempty if moreoverfis convex andf x > ⊥(completeH); in particular at points ofdom fwherefis continuous, and in finite dimension at interior points ofdom fwheref x > ⊥ - continuity of convex functions: bounded above near
xandf x > ⊥imply continuous atx; a convex function that is⊥somewhere is⊥on the interior of its domain; in finite dimension continuity on the interior of the domain - sum rule (Moreau–Rockafellar)
∂(f + g) x = ∂f x + ∂g xfor convexf,gwithfcontinuous at a pointx₀ ∈ dom f ∩ dom g(equivalently, for convexf: bounded above near a point ofdom g), at everyx, completeH; also withgcontinuous, and in finite dimension at a point ofinterior (dom f) ∩ dom g. No properness is assumed. The hypothesisx₀ ∈ dom fmatters:ContinuousAtinERealalso holds wheref ≡ ⊤nearby. Onℝ,f = ι_{(-∞, 0]}andg y = -√y(⊤fory < 0) give∂(f + g) 0 = ℝbut∂g 0 = ∅, althoughfis continuous at1 ∈ dom g. The optimality condition and∂(f + ι_C) = ∂f + N_Care now corollaries. - chain rule
∂(f ∘ A) x = A† (∂f (A x))for convexfand a bounded linear mapAbetween Hilbert spaces, iffis continuous at a pointA x₀ ∈ dom f. Proved with the sum rule as one theorem,∂(f + g ∘ A) x = ∂f x + A† (∂g (A x))for convexf,gwithgcontinuous atA x₀ ∈ dom g,x₀ ∈ dom f(separation inK × ℝ); the sum rule is the caseA = id, the chain rule the casef = 0. Both conditions are needed:A t = (t, 0),f (a, b) = -√bon{a ≤ 0, b ≥ 0}is continuous atA 1 ∉ dom fand∂(f ∘ A) 0 = [0, ∞),∂f 0 = ∅; and the condition must be onginK, not onfor ong ∘ A:A = 0,f = 0,g t = -√tgive∂(f + g ∘ A) 0 = {0},∂g 0 = ∅. - normal cone of an affine subspace:
N_{A⁻¹{b}} x = (ker A)ᗮ,= range A†in finite dimension. The indicatorι_{Ax=b}is continuous at no point of{Ax = b}unlessA = 0, so the rules above never give its subdifferential; KKT with equality constraints uses this formula. - chain rule
∂(f ∘ A) x = A† (∂f (A x))for surjectiveA, anyf, no qualification and no convexity (u ⊥ ker A, then the open mapping theoremContinuousLinearMap.exists_preimage_norm_leand Riesz givewwithA† w = u); needed in M3 for the prox off ∘ LwithL L† = id - scaling
∂(c f) x = c • ∂f xforc > 0, with(c : EReal) * f y(there is noSMul ℝ EReal), andConvexFun.const_mulforc ≥ 0; needed in M3 (prox_{γf}) and M5 (multiplesλᵢ fᵢ) - finite sums
∂ ∑ fᵢ x = ∑ ∂fᵢ xfor convexfᵢ, if all but onefᵢare continuous at a common point of all domains (in finite dimension: interior to all but one domain), by induction; no properness needed (if somefᵢtakes the value⊥, both sides are empty). The form for KKT:∂(g + ∑ fᵢ) = ∂g + ∑ ∂fᵢwith allfᵢcontinuous. WithConvexFun.add(one summand never⊥),ConvexFun.sum, the domain of a sum, continuity ofERealsums at points where all summands are< ⊤, and the easy inclusion∑ ∂fᵢ x ⊆ ∂(∑ fᵢ) x - max formula ([BC, Theorem 17.18]): for convex
fbounded above nearx,f x > ⊥(completeH), somev ∈ ∂f xhas⟪d, v⟫ ≥ αifff x + t α ≤ f (x + t • d)for allt > 0(equivalently for smallt > 0), stated without directional derivatives; the maximum of⟪d, ·⟫on∂f xis attained; existence of subgradients is the cased = 0 - max rule ([BC, Theorem 18.5], of Dubovitskii and Milyutin, which assumes continuity at
x) for finitely many convex functions upper semicontinuous atx(completeH; needed for inactive and active functions, counterexamples inMaxRule.lean):∂(⨆ fᵢ) xis the closed convex hull of⋃ ∂fᵢ xover the activei. In every Hilbert space the hull is closed (subdifferential_iSup_eq_convexHull, M9): each∂fᵢ xis bounded, closed and convex, hence weakly compact (Banach–Alaoglu through the Riesz isometry,WeakConvergence.lean), and the convex hull of finitely many compact convex sets is compact in any real topological vector space (isCompact_convexHull_iUnion) - constrained optimality
0 ∈ ∂f x + N_C xfor continuous convexf : H → ℝ, convexC,x ∈ C, completeH(generalizesmath-nonsmooth-optimality)
M2. Conjugation
- Fenchel conjugate
f*, Fenchel–Young inequality⟪x, u⟫ - f x ≤ f* u,f*convex and lower semicontinuous,f** ≤ f, all for everyf; calculus forf + c,f + ⟪a, ·⟫,f (· + a),c f(c > 0) - Fenchel–Moreau:
f** = fifffis proper, convex, lower semicontinuous (orf ≡ ±∞), completeH; via affine minorants (exists_affine_minorant_of_lt); the real valued case; a closed convex set is the intersection of the half-spaces⟪·, u⟫ ≤ σ_C u u ∈ ∂f x ↔ f* u = ⟪x, u⟫ - f x(for finitef x),↔ f x + f* u = ⟪x, u⟫for properf, andu ∈ ∂f x → x ∈ ∂f* u, for everyf; the converse whereverf** x = f x;∂f* = (∂f)⁻¹andf*proper for proper lsc convexff*is proper iffdom f ≠ ∅andfhas an affine minorant; weak Fenchel–Rockafellar dualitysup_w -f* (A† w) - g* (-w) ≤ inf_x f x + g (A x)for everyf,g,A;(⨅ fᵢ)* = ⨆ fᵢ*; support functions (convex, lsc, positively homogeneous,N_C xthroughσ_C)- examples:
ι_C* = σ_C(support function),‖·‖* = ι_ball,(½‖·‖²)* = ½‖·‖²
Needed first (from the review of M0 and M1): ConvexFun.iSup (the epigraph of a supremum is an intersection, so
f* is convex), composition with affine maps, the convexity inequality on dom f. Fenchel–Young is stated as ↑⟪x, u⟫_ℝ - f x ≤ f* u.
Mathlib has ConvexOn.sSup_affine_eq and ConvexOn.exists_affine_le_of_lt (Mathlib/Analysis/Convex/Approximation.lean):
a lower semicontinuous convex φ : E → ℝ on a closed convex set is the supremum of its continuous affine minorants;
FenchelMoreau.lean restates this for EReal values with vectors of H.
M3. Proximal operator and Moreau envelope
- existence and uniqueness of
prox_f xfor proper lsc convexf(completeH), by a minimizing sequence that is Cauchy by strong convexity (no weak compactness) p = prox_f x ↔ x - p ∈ ∂f p(←for everyf, no completeness);prox_fis firmly nonexpansive;prox_{ι_C}is the nearest point ofC,x - p ∈ N_C p; fixed points are minimizers;prox_{γ f}- Moreau envelope: real valued, convex,
C¹with∇(e_γ f) = (id - prox_{γf}) / γ,γ⁻¹-Lipschitz; descent inequality; same infimum and minimizers asf;(e_γ f)* = f* + γ ‖·‖² / 2; Moreau's identitye₁ f + e₁ f* = ‖·‖² / 2;id - prox f = prox f*firmly nonexpansive - Moreau decomposition
x = prox_f x + prox_{f*} x
Mathlib has the projection onto a complete convex set (exists_norm_eq_iInf_of_complete_convex) and its
characterization norm_eq_iInf_iff_real_inner_le_zero, which says x - p ∈ N_K p
(Mathlib/Analysis/InnerProductSpace/Projection/Minimal.lean). Needed: ∂f x = {∇f x} for differentiable convex f
(also for M7). H × ℝ has no inner product instance; a projection onto an epigraph needs WithLp 2 (H × ℝ).
M4. Monotone operators
- monotone and maximal monotone set-valued operators
H → Set H;∂fis monotone for everyf - resolvent of a monotone operator is firmly nonexpansive, single valued and nonexpansive; the resolvent of
∂fisprox f ∂fis maximal monotone for proper lsc convexf(Rockafellar), via surjectivity ofid + ∂f(the existence of proximal points) and the easy direction of Minty's theorem- Minty's theorem (
Minty.lean, [BC, Theorem 21.1]; Fitzpatrick function [BC, Definition 20.51, Propositions 20.56, 20.58]; resolvents [BC, Corollary 23.11]):Tmonotone is maximal monotone iffid + Tis surjective, also forγ T; via the Fitzpatrick function onWithLp 2 (H × H)(convex, lsc,≥ ⟪x, u⟫with equality exactly on the graph) and its proximal point at(x, x), which is(J_T x, x - J_T x). The resolvent of a maximal monotone operator as a functionresolventMap T, firmly nonexpansive on all ofH, withresolventMap ∂f = prox f; the proximal point algorithm for maximal monotone operators converges weakly to a zero - maximal monotonicity is Mathlib's
Maximal IsMonotoneOp; closed convex values and a closed graph; inverses, nonnegative multiples and sums of monotone operators; the scaled resolventJ_{γ ∂f} = prox (γ f)
M5. Duality and KKT
- Fenchel–Rockafellar duality: weak duality for every
f,g,A; strong duality with dual attainment and no primal minimizer ifgis bounded above nearA x₀,x₀ ∈ dom f(FenchelRockafellar.lean, via the sandwich theoremexists_affine_sandwichinSumRule.lean); primal–dual and primal optimality conditions; Fenchel duality (A = id) - Lagrangian duality for
min f₀ xs.t.gᵢ x ≤ 0,A x = b(HilbertH, finite-dimensionalK): weak duality - Slater's condition implies strong duality and existence of a dual solution, without a primal minimizer and
without continuity of
f₀,gᵢor completeness (PolyhedralDuality.lean):exists_le_lagrangian_of_le(multipliersμ ≥ 0,νwithp ≤ L(·, μ, ν)for any lower boundp), theERealformexists_iInf_lagrangian_eq(no lower bound needed),exists_dual_eq_primalfor inequality constraints on a convex set (no lower bound on the primal needed);exists_lagrangeMultipliers_of_leneeds no topology; at a minimizer, a saddle point (isSaddlePointOn_lagrangian); sensitivity:-μ ∈ ∂v 0for the value functionvof the perturbed problem (exists_neg_mem_subdifferential_valueFunction,KKT.lean) - KKT conditions: sufficient for any functions (
isMinOn_of_kkt); necessary under Slater for convexf₀,gᵢwithout continuity (exists_kkt_of_isMinOn, inPolyhedralDuality.leansince 2026-12-01), with an abstract convex constraint set (KKT.lean, continuousf₀), with gradients, and in the matrix form of [BV] onℝⁿ(exists_kkt_euclidean);∂f x = {∇f x}for differentiable convexf(Gradient.lean); under the refined Slater condition at a minimizer with no continuity off₀(exists_kkt_of_isMinOn_of_affine, also withA x = b:exists_kkt_of_isMinOn_of_eq_of_affine)
For Slater-type KKT the interior form of the sum rule suffices: f₀ + ∑ ι_{fᵢ ≤ 0} is continuous at a Slater
point, and ι_{Ax = b} is the summand without continuity. The refined Slater condition (affine inequality constraints
need only be feasible) needs no relative interior for real valued f₀, gᵢ. PolyhedralDuality.lean ([R, Section 28])
proves it without a primal minimizer: multipliers μ ≥ 0 for the convex and λ ≥ 0 for the affine inequalities with
p ≤ L(·, μ, λ) (exists_le_lagrangian_of_le_of_affine), the zero-gap EReal form with dual attainment, a saddle
point and the KKT conditions at a minimizer, also with equality constraints A x = b (finite-dimensional K). It
needs neither continuity of f₀, gᵢ nor completeness, and holds for linear functionals on any real vector space
(the _of_linear versions): Slater for the convex constraints on the polyhedron (no topology); then, for
φ = f₀ + ∑ μᵢ gᵢ and L y = (ℓ k y)_k, the partial minimum ψ t = inf {φ y | L y = t} on the finite-dimensional
range of L is convex and bounded below (a midpoint argument), hence continuous, and the separation of its strict
epigraph from the polyhedron is not vertical; the nonhomogeneous Farkas lemma (from closedness of finitely generated
cones, also without completeness and as an iff) gives the multipliers. With no affine inequalities this is Slater
duality without continuity. ReasBook proves [R, Theorem 28.2] on Fin n → ℝ via the perturbation function and
relative interiors; nothing was adapted.
Strong Fenchel–Rockafellar duality without attainment of the primal infimum comes from the sandwich theorem
(exists_affine_sandwich, from which the sum rule is derived); the qualification is the continuity form only.
Open, not needed for M6 and M7: the relative-interior qualification of [R, Section 31] and the strong relative interior
of [BC]; the exact formulas (f ∘ A)* u = min {f* w | A† w = u} and (f + g)* = f* □ g* under continuity (short
corollaries of strong duality).
Useful: for x ∈ C the normal cone is an inner dual cone, N_C x = ProperCone.innerDual ({x} - C)
(Mathlib/Analysis/Convex/Cone/InnerDual.lean), which connects it to Mathlib's cone duality and Farkas lemmas.
M6. Linear programming
- strong duality for linear programs (standard form, matrices), with attainment on both sides and no Slater
condition, and the full duality theorem (all feasibility cases,
sInf = sSup, the dual of the dual, the inequality form): Carathéodory's theorem for cones (exists_linearIndepOn_of_mem_finiteCone, [R, Corollary 17.1.2]), finitely generated cones are closed (isClosed_finiteCone, in any Hausdorff real TVS; Mathlib lacks Minkowski–Weyl), Farkas' lemma for cones (locally convex spaces) and matrices with variants, the bridge to Mathlib'sPointedCone.FGandProperCone, weak duality, existence of a primal solution - complementary slackness, and the duality gap
∑ (c j - (yᵀ A) j) x j
M7. Algorithms
- gradient descent for
L-smooth convexf:f xₖ - f* ≤ L ‖x₀ - x*‖² / (2k), with the descent lemma - subgradient method with diminishing and constant step sizes (best iterate)
- proximal gradient (ISTA),
O(1/k), from the fundamental inequality of the step; the proximal point method,O(1/k)in the values; gradient descent and the proximal point method as special cases - FISTA:
F x_{N+1} - F x⋆ ≤ L ‖x₀ - x⋆‖² / (2 t_N²)for any momentum sequence witht (k + 1)² - t (k + 1) ≤ t k²(fista_rate), henceO(1/k²)for the Beck–Teboulle sequence (fista_rate_beckTeboulle) and fort k = (k + a) / a,a ≥ 2(fista_rate_of_linear,a² L ‖x₀ - x⋆‖² / (2 (N + a)²)), from the Lyapunov lemmasfista_lyapunov_succ_le,fista_lyapunov_le -
[x] sufficient decrease and Fejér monotonicity of the proximal gradient step; linear convergence of the iterates for strongly convex
f(ista_norm_sub_sq_le_of_strongConvexOn, factor1 - γ μ); ISTA with any stepγ ≤ 1 / Land for real-valuedg -
[x] weak convergence in Hilbert spaces (
WeakConvergence.lean, Mathlib'sWeakSpace): bounded sequences have weakly convergent subsequences, convex lscf : H → ERealare weakly lsc, Opial's lemma; Fejér monotone sequences, the demiclosedness principle and the Krasnosel'skiĭ–Mann theorem (Fejer.lean; [BC, Lemma 2.47, Theorems 4.27, 5.5 and 5.15]), relaxed for averaged maps ([BC, Proposition 5.16]); averaged and firmly nonexpansive maps as predicates (Averaged.lean) - Baillon–Haddad:
∇fof a convexL-smoothfis1/L-cocoercive, and conversely (Cocoercive.lean); gradient descent with stepsγ ∈ (0, 2 / L),f (x (N + 1)) - f x⋆ ≤ ‖x₀ - x⋆‖² / (γ (1 - γ L / 2) (N + 1)); the forward–backward step withγ ∈ (0, 2 / L)is averaged, its fixed points are the minimizers off + g -
[x] convergence of the iterates (
IterateConvergence.lean): the proximal point method, the proximal gradient method withγ ∈ (0, 2 / L)(ISTA in particular) and gradient descent withγ ∈ (0, 2 / L)converge weakly to a minimizer, in norm in finite dimension, all through the Picard iteration of a nonexpansive map -
[x] convergence of the iterates of FISTA (
FistaConvergence.lean): for momentum weights witht k ≥ 1,t (k + 1)² - t (k + 1) ≤ t k²andt k → ∞(not 0 = 1ory 0 = x 0needed), bothx kandy kconverge weakly to a minimizer off + g, in norm in finite dimension; this covers the Beck–Teboulle momentum andt k = (k + a) / afor everya ≥ 2, the critical casea = 2included. FISTA is not Fejér monotone, so the argument ofIterateConvergence.leandoes not apply; for the Beck–Teboulle momentum this was an open problem until October 2025 (U. Jang, E. K. Ryu, arXiv 2510.23513; R. I. Boţ, J. Fadili, D.-K. Nguyen, arXiv 2510.22715). The theorem is a mild generalization of Theorem 6.1 of Bauschke and Moursi's self-contained Hilbert-space account (arXiv 2601.15398), whose proof it follows; they assumet k ≥ (k + 2) / 2, which excludesa > 2, the case of Chambolle and Dossal (JOTA 166, 2015), here reproved by the same argument. Steps: the Lyapunov energy bounds the iterates, weak cluster points are minimizers, the inner products⟪x k, z₁ - z₂⟫converge by an averaging lemma, and Salzo's form of Opial's lemma (arXiv 2511.12665, now inWeakConvergence.lean, from which Opial's lemma is derived) concludes.
M8. Further topics
- Ekeland's variational principle (complete metric spaces;
Ekeland.lean), with Caristi's fixed point theorem and approximate critical points of differentiable functions bounded below - Clarke generalized gradient for locally Lipschitz functions (
Clarke.lean, withf°inClarkeDeriv.lean; since 2026-12-01 derived fromClarkeBanach.lean), in real inner product spaces instead ofℝⁿ: finiteness, sublinearity, the max formula, Fermat's rule, scaling, strictly differentiable and convexf, the sum rule (via the convex sum rule forf° + g°), Lebourg's mean value theorem, the chain rule with a strictly differentiable inner map, upper semicontinuity off°and the closed graph of∂_C f - Clarke regularity and calculus (
ClarkeRegular.leanin normed spaces; the subdifferential equality rules and the max rule inClarke.leanandClarkeBanach.lean):ClarkeRegularAt(the one-sided directional derivative exists and equalsf°), for convex, strictly differentiable andC¹functions, nonnegative multiples, finite sums and maxima; equality in the sum rule for regular functions; the max rule∂_C (max Fᵢ) x ⊆ co ⋃ active ∂_C Fᵢ x(closed convex hull in Hilbert space, convex hull in finite dimension) with equality for regularFᵢ - Clarke's theorem on limits of gradients (
ClarkeGradientLimits.lean, finite dimension):∂_C f x = convexHull {lim ∇f (x k) : x k → x, x k ∉ S, f differentiable at x k}for every null setS, via Rademacher's theorem, Tonelli along lines parallel tovand absolute continuity offon segments. Alsof°(x; v) = limsup ⟪∇f y, v⟫over differentiability pointsy → xoutsideS(clarkeDeriv_eq_limsup_inner_gradient); the max rule holds with the convex hull in every Hilbert space. - equality in the chain rule (
Clarke.lean,ClarkeBanach.lean):∂_C (f ∘ G) x = G'(x)† ∂_C f (G x)forGstrictly differentiable andfregular (thenf ∘ Gis regular), or-fregular, orfconvex, orG'(x)surjective (no regularity, via the open mapping property ofG) - Clarke's generalized gradient in normed spaces (
ClarkeBanach.lean):clarkeSubdifferentialDual f xin the dual, nonempty, convex, weak-* compact and bounded by the Lipschitz constant, the max formula, Fermat's rule, scaling, differentiable,C¹and convexf, the sum, finite-sum and chain rules (inclusion, and equality under regularity or surjectivity) from one Hahn–Banach argument onrange A, Lebourg's mean value theorem, the closed graph inE × WeakDual ℝ E, the⊇half of the max rule for regular functions (the bridge to the Hilbert-space version through the Riesz map is inClarke.lean); equality in the dual chain rule also for regular-fand for convexf. Open: convexity only nearx(instead of onuniv) in the convex cases of the Clarke theorems - ε-subdifferentials ([R, Section 23]; they are not in [BC]) and the Brøndsted–Rockafellar theorem
(
EpsSubdifferential.lean, [BC, Theorem 16.58]; density ofdom ∂f, [BC, Corollary 16.39]):∂_ε f xclosed and convex, its conjugate characterizationf x + f* u ≤ ⟪x, u⟫ + ε, nonempty ondom fforε > 0for lsc convexf; Brøndsted–Rockafellar via Ekeland and the sum rule (‖x - x₀‖ ≤ ε / μ,‖u - u₀‖ ≤ μ), hencedom ∂fis dense indom fand the range of∂fis dense indom f* - fixed points: Brouwer (
Brouwer.lean, an analytic proof with Milnor's volume polynomial instead of Sperner's lemma: Mathlib's change of variables formula makes it shorter, about 550 lines), the no-retraction theorem, Kakutani for closed-graph correspondences (thenKakutani.lean, nowKakutaniFanGlicksberg.lean), Nash equilibria of finite games in mixed strategies (Nash.lean). - Tychonoff's fixed point theorem in Hausdorff locally convex spaces (
Tychonoff.lean, also in the Granas–Dugundji form) and the Kakutani–Fan–Glicksberg theorem (KakutaniFanGlicksberg.lean, closed graph or upper hemicontinuous with closed values, nonempty convex values, on a compact convex set of a locally convex space; no Hausdorff assumption needed), with Kakutani's theorem in normed spaces as a corollary and, in complete spaces, the form for closed convex domains and compact range (Bohnenblust–Karlin in Banach spaces); both through one approximation lemma with gauges of convex neighbourhoods.Hemicontinuity.lean(formerlyKakutani.lean) keeps the closed-graph criteria - Himmelberg's fixed point theorem (
KakutaniFanGlicksberg.lean): a correspondence on a convex (not necessarily closed) setCof a locally convex space, with nonempty convex values in a compactL ⊆ C, and closed graph relative toC(or upper hemicontinuous with closed values), has a fixed point; no completeness and no Hausdorff assumption. The compact Kakutani–Fan–Glicksberg theorem and the form for closed convex domains with compact range (Bohnenblust–Karlin, nowexists_mem_self_of_isClosed_graph_of_isClosed_of_isCompact_of_locallyConvexSpace, without completeness, also for upper hemicontinuous correspondences) are corollaries; since 2026-12-01 the values and the graph need be closed only relative toCandC × C - the hairy ball theorem (
HairyBall.lean): on an even-dimensional sphere (the unit sphere of a space of odd dimension) every continuous tangent field vanishes somewhere, and every continuous mapgof the sphere has a point withg x = c x, in particular a fixed or an antipodal point; Milnor's analytic proof, sharing the volume polynomial and the change of variables step withBrouwer.lean, a smooth approximation from Mathlib's partitions of unity, and the rootiof(1 + X²)ⁿwith oddn - Poincaré–Miranda (
PoincareMiranda.lean, on boxes inι → ℝandEuclideanSpace ℝ ι, also with signs chosen per coordinate as in Miranda's existence test of interval methods), the KKM lemma in any real topological vector space and Ky Fan's infinite version for KKM maps (IsKKMMap,KKM.lean), and Schauder's fixed point theorem in real normed spaces, also in the Granas–Dugundji form (Cconvex,fmapsCinto a compactL ⊆ C, no completeness) and, in Banach spaces, for closed convexCwith a totally bounded image (Schauder.lean); all from Brouwer through the probability simplex (Simplex.lean) and one Schauder projection lemma
M9. Open items of M1–M8
The open items listed under M1–M8, finished before the paper, in this order:
- iterate convergence (M7): Fejér monotonicity, Opial, Krasnosel'skiĭ–Mann
- Baillon–Haddad and steps in
(0, 2 / L)(M7) - the converse of Minty's theorem (M4), via the Fitzpatrick function
- ε-subdifferentials and Brøndsted–Rockafellar (M8)
- KKT with affine constraints without a primal minimizer (M5)
- Clarke: regular functions, equality in the sum rule, the max rule, limits of gradients (M8)
- the max rule in infinite dimension: the convex hull of the subdifferentials is closed (M1)
- fixed points: Poincaré–Miranda, KKM (and Ky Fan's infinite version), Schauder (M8)
- fixed points: Kakutani–Fan–Glicksberg (with Tychonoff), the hairy ball theorem (M8)
- Newton-type methods and global optimization: moved to M10
- convergence of the iterates of FISTA (M7), including the critical case
M10. Newton-type methods and global optimization
Newton-type methods for zeros and minimizers, interval methods and branch and bound from global optimization, with the Kantorovich theorem first.
- the Kantorovich theorem for Newton's method (
Kantorovich.lean), forF : E → Gbetween Banach spaces withF'given within a setD: in the affine covariant form of Deuflhard (‖F'(x₀)⁻¹ (F' x - F' y)‖ ≤ ω ‖x - y‖,h = ω η ≤ 1/2) and the classical form (h = β L η ≤ 1/2), the Newton iterates are defined, stay in the ball of radiust* = 2η / (1 + √(1 - 2h)), converge to a zerox*, with the majorant bounds‖x* - x k‖ ≤ t* - t k, the error bound‖x* - x k‖ ≤ 2 (2h)^(2^k - 1) η / 2^k(quadratic forh < 1/2), and uniqueness inclosedBall x₀ t* ∪ ball x₀ t**(the closed ball of radiust**fails forh < 1/2); the Banach perturbation lemma; local quadratic convergence near a regular zero (ω ρ < 2/3, the Traub–Woźniakowski radius) and uniqueness of a regular zero forω ρ < 2; for minimization (F = ∇f), the limit is a strict local minimizer if the Hessian atx₀is⪰ μandL η < μ / 2(newton_kantorovich_eventually_lt, with a second-order sufficient condition;newton_kantorovich_isLocalMinforIsLocalMin; invertibility of the Hessian follows from⪰ μby Lax–Milgram) - interval Newton and Krawczyk on boxes (
IntervalNewton.lean): for a set of matrices that encloses the slopes off(from entrywise Jacobian bounds by the mean value theorem), the Krawczyk testK(X) ⊆ Xgives a zero (Brouwer on the box), andK(X) ⊆ int Xgives invertibility ofYand of every enclosed matrix and a unique zero; interval Newton: every zero lies inN(X), the exclusion testN(X) ∩ X = ∅, the existence testN(X) ⊆ Xfor a compact convex enclosure (via Kakutani; convexity is necessary when only slopes atx₀are enclosed, counterexample in the docstring), uniqueness, the nested iteration keeps every zero, anddiam X (k + 1) ≤ 2 β L (diam X k)²if‖(A - B) v‖ ≤ L diam X k ‖v‖on the enclosures, sodiam X k ≤ q^(2^k - 1) diam X 0withq = 2 β L diam X 0(intervalNewton_diam_le_pow, quadratic convergence of the boxes); applied to the gradient: exclusion and localization of local minimizers in a box. Miranda's test isPoincareMiranda.lean. The operators are the exact ranges and solution sets, so a test with an interval enclosure follows by inclusion; the convergence theorem covers the idealized method (the exact solution set or its interval hull,diam_Icc_sInf_sSup), not computed enclosures that overestimate it; slope enclosures come from entrywise Jacobian bounds or from any compact convex set of Jacobians; interval arithmetic itself is in M11 - cubic regularization of Newton's method (
CubicNewton.lean, Nesterov–Polyak 2006): forfwhose Hessian isL-Lipschitz on a setFwhose interior contains the level set ofx 0(sox⁴andexpare covered; the steps stay inFby Nesterov–Polyak's first-exit argument), the Taylor bounds, the characterization of the global minimizers of the cubic model (the stationarity and the second-order conditionA + M/2 ‖h‖ ⪰ 0, and their existence in finite dimension); for every step satisfying them andM ≥ L: decrease byM/12 ‖h‖³,‖∇f‖ ≤ (L + M)/2 ‖h‖², the Hessian bound⪰ -(2L + M)/2 ‖h‖; forfbounded below along the iterates∑ ‖h k‖³ < ∞, gradients tend to0, the rateO(N^(-2/3))for the gradient with the matching Hessian bound at the same iterate, and every cluster point is second-order stationary; for convex (or star-convex)fthe rate9 (L + M) D³ / (2 (k + 5)²)atx (k + 1), one index better than [Nesterov, (4.1.26)] and without its hypothesisf x₀ - f* ≤ 3c. Not done: local quadratic convergence, the line search forM - convergence of branch and bound for global minimization (
BranchAndBound.lean, namespaceBranchAndBound, Horst–Tuy, Chapter IV): a run (IsRun) is a sequence of finite partitions of a finitely branching tree of sets with best-first selection (a special case of bound-improving selection), a known feasible point in every selected piece, and a deletion rule that never loses a better point; its invariants are proved, and best-first runs exist, also with deletion by bound and by infeasibility. For an exhaustive subdivision and consistent lower bounds the bounds and the incumbent converge to the infimum offonD(no minimizer needed), cluster points of the evaluated points are global minimizers, and the stopping testincumbent - bound ≤ εis sound; with Horst–Tuy's consistency along the nested sequences of the run (IsConsistentRun) the same holds without exhaustiveness. The Lipschitz method on a box with longest-edge bisection ([HT, Chapter XI]) satisfies all hypotheses and reachesε-optimality withinmax 1 ((K ‖b - a‖ / ε)ⁿ)steps; inclusion functions give consistent bounds (interval branch and bound). Not done: deletion with the interval Newton exclusion test (it excludes only interior local minimizers)
Further open items: Himmelberg's form of Kakutani–Fan–Glicksberg (done); an equality chain
rule for Clarke gradients under regularity (done); Clarke's generalized gradient in Banach spaces (done); the [BC]
citations checked against the book (done on 2026-11-30, see DESIGN.md, section 2); the paper.
M11. Interval and ball arithmetic
Interval arithmetic itself and ball (midpoint–radius) arithmetic, which fit the interval methods of M10 and say something about verified global optimization.
- interval arithmetic (
IntervalArithmetic.lean, on Mathlib'sNonemptyInterval ℝ): operations+,-,*, inverse,exp,log,sqrt, powers with the inclusion property, exactness, isotonicity and the least-interval characterization; boxes; arithmetic expressions (with+,*, … notation) with their natural interval extension and Moore's fundamental theorem (the range lies in the interval evaluation, [Neumaier, Theorem 1.4.1]), isotonicity, the dependency problem, Moore's single-use theorem (exact range), outward rounding (the rounded results are the intervals containing the natural extension); convergence of the natural extension in width for every expression defined on the box (√contributes√(width)) and linear convergence forsqrtarguments away from0(Neumaier's "Lipschitz atx°"; the condition cannot be dropped,√xon[0, 1]); the mean value form encloses the range, with an enclosure off(c), the a posteriori overestimation bound∑ length(Gᵢ) |Xᵢ - cᵢ|and overestimationn L w²(Krawczyk–Nickel, quadratic); interval branch and bound (Moore–Skelboe) with the natural extension (no condition on square roots) or the mean value form (with derivative enclosures of lengthO(w)or only bounded) converges, viaBranchAndBound.lean; Mathlib'sinclusiontactic: its+,-are exact and its*an outward rounding of the exact product on finite intervals with endpoints in any ordered type mapped intoℝ. The bridge for itsexp,log,√, natural powers,roundOutand rational constants, and a dyadic inverse (the tactic has none; open PR #46311), is inIntervalDyadic.lean - interval differentiation (
IntervalDerivative.lean): symbolic partial derivativesArithExpr.pderiv(no simplification, so a defined enclosure certifies smoothness on the box) withHasFDerivAt/ContDiffAtcorrectness; derivative enclosures by Moore's theorem, also with outward rounding, converging linearly with no condition on square roots; the mean value form with computed derivatives encloses the range and converges quadratically, and interval branch and bound with it converges; slope enclosures of systemsF : ι → ArithExpr ιfrom the interval Jacobian, hence the interval Krawczyk test with automatically computed slopes and an enclosureFx₀ofF(x₀)(existsUnique_eq_zero_of_intervalKrawczyk_pderiv, needing onlyx₀ ∈ Xand the computed inclusions); the interval Newton test with these slopes (existsUnique_eq_zero_of_intervalNewton_subset_pderiv) still assumes the interval matrix regular and the exact Newton set included (IsSmoothAtis a sufficient syntactic condition, not equivalent to smoothness). The symbolic form was chosen over interval dual numbers because the derivative is again anArithExpr, so the whole theory applies unchanged; the intervals are those of forward-mode automatic differentiation (Rall; Neumaier, Section 2.2). The Hansen–Sengupta operator (HansenSengupta.lean), one interval Gauss–Seidel sweep with enclosuresG ∋ Y Aandb ∋ Y f(x₀): every zero lies in it, an empty result excludes zeros ([Neumaier, Theorem 5.1.8 (i), (ii)]), and ifX' ⊂ int X(rows without repetition) every matrix ofGis invertible and the zero is unique ([Neumaier, Theorem 5.1.8 (iii)], Moore–Qi;existsUnique_eq_zero_of_hansenSengupta,_pderiv), so the test certifies regularity itself; with slopes atx₀only, a zero inX'([Neumaier, Corollary 5.4.3 (iii)];exists_eq_zero_of_hansenSengupta). Rows with0 ∈ Gᵢᵢare skipped, intersections are Mathlib'sInterval ℝ⊓. The dyadic operatorRatArithExpr.hansenSenguptaBox(intersecting sweep) gives exclusion (exists_ne_zero_of_hansenSenguptaBox_eq_none), enclosure (mem_hansenSenguptaBox_of_eq_zero,mem_Icc_of_hansenSenguptaEnclosureTest) and the testhansenSenguptaTest, proved through the real theorem. Not done: genuine slope arithmetic, second derivatives, the H-matrix conclusion, extended division for0 ∈ Gᵢᵢ, iterated sweeps, Hansen–Sengupta pruning in branch and bound - ball arithmetic (
BallArithmetic.lean): balls (center, radius) in normed rings with van der Hoeven's ball order (a partial order in normed groups);+,-, scalars,*, powers, Horner's scheme for polynomials and the inverse (Neumann series) with the inclusion property and isotonicity; rounding as any enlargement; balls inℝare intervals (an order isomorphismBall ℝ ≃o NonemptyInterval ℝthat carries ball addition and negation to the interval operations), and the ball product overestimates the interval product by at most3/2(Rump); anInclusion.ToSetinstance for Mathlib'sinclusiontactic - the radii polynomial theorem (
RadiiPolynomial.lean; a norm form of [DLM2007, Theorem 2.1], as in van den Berg–Lessard), over real and complex Banach spaces (RCLike 𝕜): forFwith an injective approximate inverseA,‖A F x̄‖ ≤ Y,‖1 - A F' x‖ ≤ Zon the whole ball andY + Z r ≤ r, a unique zero in the ball (Banach's fixed point theorem forx - A F x); the forms withZ₀ + Z₁ r, with a Lipschitz derivative (Y + Z₀ r + Z₂ r²/2 ≤ r) and an explicit radius, in finite dimension and onℝ; Kantorovich's radius as the root of a radii polynomial and the simplified Newton method from a Lipschitz bound ofF'atx₀only, with uniqueness inclosedBall x₀ t⋆; a ball Krawczyk test - computer-assisted existence proofs checked by Lean (
ComputerAssistedProofs.lean):x = exp (-x)has exactly one solution in0.5671432904 ± 10⁻¹⁰, with the bounds computed by Mathlib'sdyadic_intervaltactic in the kernel (no extra axioms);x² = 2near1.41421356, also with the derivative bound computed in ball arithmetic; the intersection of the circlex² + y² = 4and the hyperbolax y = 1near(1.93185165, 0.51763809). Complex and matrix examples by the dyadic Krawczyk test, with reusable bridges from a unique zero of a real system in a box (RatArithExpr.HasUniqueZero, the conclusion of the Krawczyk and Hansen–Sengupta tests): a zero off : ℂ → ℂin a rectangle[a, b] ×ℂ [c, d]from the system of real and imaginary parts (RatArithExpr.existsUnique_eq_zero_complex_of_hasUniqueZero;z³ - 2z + 2near0.88465 + 0.58974 iwithin10⁻¹⁴); eigenpairsA *ᵥ v = λ • v,v 0 = 1(RatArithExpr.eigenSystem,existsUnique_eigenpair_of_hasUniqueZero, [Rump, Section 13.4]; the eigenpair(3 + √3, (1, 1 + √3, 2 + √3))of a 3×3 matrix); matrix square rootsX * X = A(RatArithExpr.mulSelfSystem,existsUnique_mul_self_eq_of_hasUniqueZero; the principal root of[[4, 1], [2, 3]]). Kernel times 0.11 s, 0.15 s and 0.34 s. Not done: aninclusionextension for dyadic balls, a disc version of complex zeros via the radii polynomial theorem overℂ, automatic real/imaginary splitting of complex expressions - links between the interval models (from the review of M11): balls in
ℝand intervals (Ball.orderIsoInterval); the Krawczyk operator in interval arithmetic (intervalKrawczyk, with an interval matrix, an interval enclosureFx₀off x₀, and interval sums and products) encloseskrawczyk f 𝒜 Y x₀ (box X), and the Krawczyk test holds with it (existsUnique_eq_zero_of_intervalKrawczyk,RadiiPolynomial.lean). Slope enclosures from interval differentiation (isSlopeEnclosure_of_isRoundedEval_pderiv,IntervalDerivative.lean) and the Krawczyk and interval Newton tests with them. A computable dyadic evaluator of expressions with rational constants (RatArithExpr.dyadicEval,IntervalDyadic.lean) whose results satisfyIsRoundedEval(isRoundedEval_dyadicEval), and the dyadic Krawczyk testkrawczykTestwithexistsUnique_eq_zero_of_krawczykTest, run bydecide +kernel(x = exp(-x)within10⁻¹⁵,x log x = 1, circle ∩ hyperbola within10⁻¹³, each under 0.1 s; the complex and matrix examples take up to 0.35 s). A dyadic Hansen–Sengupta test (existsUnique_eq_zero_of_hansenSenguptaTest; circle ∩ hyperbola on a box of half-widths1/2 × 1/20, where the Krawczyk test fails, in about 0.09 s, and the enclosure[1.9246, 1.9391] × [0.5166, 0.5187]of the solution from the operator, in about 0.07 s). Not done: automatic reification of real expressions - dyadic bound tests and branch and bound (
IntervalBranchAndBound.lean): bisection of dyadic boxes along a widest side (DyadicInterval.bisect) and the adaptive bisection testDyadicInterval.allPieces(structural recursion on a depth bound, evaluated by the kernel,forall_of_allPieces); the mean value form computed in dyadic arithmetic with the symbolic derivatives (RatArithExpr.meanValueEval,eval_mem_of_meanValueEval, [Neumaier, Theorem 2.3.3]); a box test with the natural extension and, on pieces of width at mostmvfWidth, the mean value form; bound tests forc ≤ e,c < e,e ≤ c,e < c(le_eval_of_lowerBoundTest, …), an exclusion test for systems (forall_exists_ne_zero_of_exclusionTest) and a global minimum test (exists_isMinOn_of_minimumTest,sInf_mem_Icc_of_minimumTest: the minimum exists and lies in[L, U]; Moore–Kearfott–Cloud, Algorithm 11.1, with the incumbent given). Examples inComputerAssistedProofs.lean: the global minimum of the six-hump camel function on[-2, 2] × [-1, 1]in[-1.035, -1.03162](3.5 s, 201 boxes, by the symmetryf (-x, -y) = f (x, y)on half the box),x e⁻ˣ < 0.3679on[0, 10](2.4 s),(x - 1)(x - 2)(x - 3)(x - 4) > -1.01on[0, 5](1 s), no real solution ofx² + y² = 1,x y = 0.51(1.2 s). Not done: a best-first search with an incumbent updated in the kernel, monotonicity and Newton-based pruning, a verified simplification of the derivative expressions (they are evaluated unsimplified), a lighter dyadic interval type for the kernel; continuity from the final pieces instead of the natural extension on the whole box (the minimum test needs the latter, which fails for(x² - x + 1)⁻¹on[0, 1]); one-variable_realforms of the bound tests and default values forprec,depth,mvfWidth
M12. Smoothing and lower complexity bounds
From Nesterov's Lectures on Convex Optimization (2nd ed., 2018): the smoothing technique for nonsmooth problems, and lower complexity bounds, which show what no method can do better.
- the complexity of global optimization (
GlobalComplexity.lean, [Nesterov, Section 1.1.3]): a model of deterministic adaptive zero-order methods; the uniform grid method (Theorem 1.1.1, Corollary 1.1.1 in the strict form); the resisting-oracle lower bound, sharpened from Nesterov's⌊L/(2ε)⌋ⁿ(Theorem 1.1.2) to(⌊L/(2ε)⌋ + 1)ⁿ; hence the exact complexity(⌊L/(2ε)⌋ + 1)ⁿof finding anε-optimal point of anL-Lipschitz function on[0, 1]ⁿ(sup norm, strict goal), for methods answering with a queried point (isLeast_pow_output_eq_query) and for all deterministic methods whenn ≥ 1andε ≤ L/2(isLeast_pow_of_two_mul_le; otherwise no query is needed,isLeast_ite_pow). The textbook proof of Theorem 1.1.2 has two repairable gaps, documented in the file: it counts test points in overlapping closed boxes (exists_forall_norm_sub_gridPoint_two_le), and the method's answer need not be a test point. For the non-strict goal≤ εthe complexity is⌈L/(2ε)⌉ⁿ(isLeast_ceil_pow_output_eq_query,isLeast_ite_ceil_pow; the_mem_Iccvariants for methods that answer in the cube; the lower bounds hold for globally Lipschitzf; no query ifn = 0orε ≥ L/2), so Corollary 1.1.1 uses one grid point per axis too many whenL/(2ε)is an integer; this was Remark 4.6 of the notenotes/lipschitz-complexity, where a review found an error in the unformalized caseε = L/2. Literature (checked against the originals on 2026-11-30): as an optimal worst-case error the value is Sukharev 1971 (best-query answers, passive = sequential, the cube in (2.7)) and, for adaptive methods with an arbitrary answer, Novak 1988, Proposition 1.3.6, with the same proof idea; the library adds the complexity form for the strict goal with all edge cases and the formal proof. Open: the formal comparison with the Lipschitz branch-and-bound bound - smoothing (
Smoothing.lean,SmoothingComplexity.lean, [Nesterov, Section 6.1], Nesterov 2005): forf x = sup_{u ∈ Q} ⟪A x, u⟫ - φ uand aσ-strongly convex prox-functiond, the smoothingf_μis convex and differentiable with gradientA† u_μ x(the unique maximizer, a proximal point), the gradient is‖A‖² / (μ σ)-Lipschitz (Theorem 6.1.1), andf_μ ≤ f ≤ f_μ + μ D((6.1.16)); Theorem 6.1.1 needs no boundedQ(with0 ≤ d ≤ DonQ,diam Q ≤ √(8D/σ),diam_le_of_strongConvexOn),φanddneed only be lsc onQ. The Huber function is the smoothing of the norm (nesterovSmoothing_closedBall_eq_huber, [Nesterov, (6.1.43)], [Beck, (6.43)]) and its Moreau envelope (moreauEnvelope_norm); ford = ½‖·‖²the smoothing is the Moreau envelope off(coe_nesterovSmoothing_eq_moreauEnvelope, [BC, Proposition 14.1]). FISTA with the Beck–Teboulle weights has its rate against every point ofdom g, not only a minimizer (fista_rate_beckTeboulle_of_mem_dom, fromt (k + 1)² - t (k + 1) = t k²). So S-FISTA onf + f_μ + ggivesH (x (N + 1)) - H z ≤ μ D + 2 L̃ ‖x 0 - z‖² / (N + 2)²for everyz(sfista_rate) and, withμchosen forNand‖x 0 - z‖ ≤ R, theO(1/N)bound2√2 ‖A‖ R √(D/σ) / (N + 2) + 2 L_f R² / (N + 2)²for allx (M + 1),M ≥ N(sfista_complexity). The rate holds for any smooth approximation in Beck's sense (sfista_rate_of_smoothApprox,sfista_complexity_of_smoothApprox), with the Huber function and the Moreau envelope of a Lipschitz function as instances (sfista_complexity_huber,sfista_complexity_moreauEnvelope). [Beck, Theorem 10.57] assumes bounded level sets and compares with a minimizer of the smoothed problem; [Nesterov, Theorem 6.1.3] uses another method on a bounded set and bounds the primal–dual gap - lower bound for smooth convex optimization (
SmoothLowerBound.lean, [Nesterov, Section 2.1.2]): Nesterov's worst functionf_k, written with the difference operator asf_k x = L/8 (‖D x - e₀‖² - 1), its minimizer and minimal value ((2.1.17), (2.1.19)), Lemma 2.1.5 and Corollary 2.1.1, and Theorem 2.1.7 for anyx0and2k + 1 ≤ n(LowerBound.exists_le_sub_of_forall_mem_span, also fork = 0): if the test points satisfy Assumption 2.1.4, thenf (x k) - f* ≥ 3 L ‖x0 - x*‖² / (32 (k + 1)²)for the minimizerx*nearest tox0and‖x k - z‖² ≥ ‖x0 - z‖² / 8for every minimizerz, and so does every point ofx0 + spanof the firstkgradients (LowerBound.exists_le_sub_of_mem_span). Hence FISTA (withg = 0) is optimal up to the factor64/3: on the worst function3 L R² / (32 (N + 2)²) ≤ f (x (N + 1)) - f* ≤ 2 L R² / (N + 2)²withR = ‖x0 - x*‖(LowerBound.exists_le_sub_le_of_fista, withacceleratedGradient_rate). ReasBook also proves Theorem 2.1.7 (Chap02/Theorem_2_8.lean); nothing was adapted from it
M13. Coverage of the basic theory and operator splitting
The coverage items of the external review of 2026-11-30 (its section 2.2), added on 2026-12-01.
- subdifferential rules without a qualification condition of the sum rule (
SubdifferentialCalculus.lean,Subgradient.lean):∂(f + c) = ∂f, the tilt∂(f + ⟪a, ·⟫) x = ∂f x + a(everyf); locality of∂(ConvexFun.subdifferential_eq_of_le_of_eventuallyEq);N_C x = {0}at interior points of anyC([BC, Proposition 6.44 (ii)] for convexC);∂(f + ι_C) x = ∂f xfor convexfatx ∈ int C(no continuity); the max rule for two functions, without convexity of an inactive one - differentiable convex functions (
Gradient.lean,SmoothConvex.lean): the gradient inequality from a directional derivative within a convex set (ConvexOn.add_hasLineDerivWithinAt_le, containing [BC, Proposition 17.6];ConvexOn.add_hasLineDerivAt_lehas the name and statement of open Mathlib PR #41494), its converse, monotone gradient ⇔ convex,IsMinOn f C x ↔ -∇f x ∈ N_C xforfconvex onC(no closedness, no qualification; [BC, Proposition 27.8] with a Fréchet in place of a Gâteaux gradient); strong convexity: the gradient inequality, strong monotonicity and their converses - infimal convolution (
InfimalConvolution.lean, [BC, Definition 12.1]): domain ([BC, Proposition 12.6 (ii)]), convexity ([BC, Proposition 12.11]),ι_C □ ι_D = ι_{C+D},(f □ g)* = f* + g*([BC, Proposition 13.24 (i)]),(f + g)* ≤ f* □ g*; the Moreau envelope as an infimal convolution - conjugate calculus (
ConjugateCalculus.lean):(f (-·))*,(f (c • ·))*, epi-multiplication ([BC, Proposition 13.23]); support functions sublinear,σ_{C+D} = σ_C + σ_D;(f + g ∘ A)* u = min_w f* (u - A† w) + g* wwith attainment whengis convex and bounded above near a point ofA (dom f)([BC, Theorem 15.27]), with the sum rule(f + g)* = f* □ g*(Attouch–Brézis, [BC, Theorem 15.3]) and the composition rule(g ∘ A)* u = min {g* w | A† w = u}as special cases; no lower semicontinuity needed - prox calculus (
ProxCalculus.lean): the scaled Moreau decomposition and identity forγ > 0([BC, Theorem 14.3], pointwise for everyf),prox_{γ f*}([BC, Proposition 24.8 (ix)]); translation, tilt, constants, linear isometriesH ≃ K, rescaling and reflection as equalities ([BC, Proposition 24.8]; all but the tilt need only proper convexf);e_γ f x → f xasγ ↓ 0([BC, Proposition 12.33 (ii)]; in general forflsc atxwithe_{γ₀} f x > ⊥, no convexity) - the Yosida approximation (
Yosida.lean, [BC, Chapter 23]): resolvent identities ([BC, Propositions 23.20, 23.31]);T_γ = γ⁻¹ (id - J_{γT})isγ-cocoercive,γ⁻¹-Lipschitz, maximal monotone, has the zeros ofT,T_{γ+μ} = (T_μ)_γ;(∂f)_γ = ∇ e_γ f, so∇ e_γ fisγ-cocoercive; the graph of a maximal monotone operator is sequentially closed in strong × weak ([BC, Proposition 20.38 (i)]); its zeros are closed and convex ([BC, Proposition 23.39]) - operator splitting (
Splitting.lean, [BC, Chapters 26 and 28]), with the stepsforwardBackwardStepanddouglasRachfordStepiterated in Krasnosel'skiĭ–Mann form: forward–backward for maximal monotoneAplus cocoerciveB(L ≥ 0, more general than [BC]'sβ > 0), relaxed, withB x k → B x⋆([BC, Theorem 26.14 (i), (ii)]), and the relaxed proximal gradient method ([BC, Corollary 28.9 (i), (ii)], inIterateConvergence.lean); Douglas–Rachford, relaxed ([BC, Theorem 26.11 (i)–(iv)]: governing, shadow and dual sequences; Lions–Mercier for the governing sequence, Svaiter for the shadow sequence) and formin f + g([BC, Corollary 28.3 (i)–(iv)] without the conjugate dual problem); weak closedness of a pair of maximal monotone operators ([BC, Corollary 26.6], whose printed signs are exchanged) - Nesterov's accelerated gradient method as FISTA with
g = 0: the rate and the weak (in finite dimension norm) convergence of the iterates; FISTA's stepsx (k + 1) - x k → 0,O(1/k)for the Beck–Teboulle momentum - strongly convex
fwith0 ≤ μ ≤ Landγ (L + μ) ≤ 2: the gradient step contracts by1 - γ μ(sharper than [Nesterov, Theorem 2.1.15], equal atγ = 2/(L + μ)), linear convergence of gradient descent and forward–backward; Baillon–Haddad from the descent inequality alone - the nonconvex proximal gradient method: sufficient decrease for every
γ > 0([Beck, Lemma 10.4]),min_{k ≤ N} ‖G(x k)‖² = O(1/N)andG(x k) → 0([Beck, Theorem 10.15])
Open: the max rule subdifferential_iSup_eq_convexHull without convexity of inactive functions (re-indexing over the
active indices); the prox of γ e_μ f ([BC, Proposition 24.8 (vii)]); cocoercive maps as Yosida approximations
([BC, Proposition 23.21]); the uniformly monotone cases ([BC, Theorem 26.11 (v), (vi), Theorem 26.14 (iii)]); the dual
problem of [BC, Corollary 28.3 (i)]; Tseng, Peaceman–Rachford, ADMM.
Paper
A technical paper on the library for the convex analysis and optimization community (paper/paper.tex; a tag
paper-vN.M publishes the PDF): design (section 3 of DESIGN.md), what Lean and Mathlib made easy or hard, a
comparison with optlib and ReasBook, and the use of AI. A first draft described the library at commit 91b1798;
on 2026-11-30 it was brought up to the final state (commit f6cda8f, M0–M12) and revised after an independent review
(Claude Fable: no wrong mathematical statement; fixed a table row, overclaims on the proof check and on FISTA's
optimality, credit to optlib and to Mathlib PRs, notation, length). The author's decisions (2026-11-30): Claude
(Opus 5.5) is named as co-author, as in the short note; the review agents, not the author, check each statement
against its docstring and source (README and paper say so); no archive DOI; venue aiXiv. Layout: KOMA-Script report
in Fira Sans. Released on 2026-11-30 as tag paper-v1.0 (commit 3005fdb) and published as
aiXiv:2611.03751 (math.OC, ai-authored, no sessions). v2 was uploaded by
mistake while testing paper/aixiv-new-version.sh (same paper, raw LaTeX abstract); v3 restores the metadata.
Every later tag paper-vN.M is also uploaded to aiXiv as a new version, with paper/aixiv-new-version.sh.
Reviews
An independent review agent reads the new code against the references, and its findings are fixed or recorded here. Until 2026-11-30 this happened after each step; from then on once per milestone or substantial part of one.
- 2026-11-29, M0 and M1 as of commit
116a992. No wrong definition or theorem. Fixed: the axiom check covered only 14 listed theorems and missedset_option warn.sorry falseandaxiomdeclarations (now every declaration is checked, plusverify/check_sources.sh); the sum rule∂(f + ι_C) = ∂f + N_Cno longer assumesx ∈ C; Fermat's rule concludesIsMinOn f univ xas in PR #45868, plushasSubgradientAt_zero_iff;protectedfor the lemma that shares its name with a Mathlib root lemma; normal cone and indicator API; theConvexOn ℝ s fbridge; a citation number that could not be confirmed (Rockafellar 27.4) replaced by the section (later confirmed against the book and restored); prose on PR #45868, the∞ - ∞convention andConvexOn. Deferred to the milestone that needs it: the items listed under M2, M3 and M5, the chain rule along linear maps (with the adjoint) and aWithinvariant of subgradients (not planned). - 2026-11-29, existence of subgradients (commit
c934fc3). No wrong statement. Fixed: the parts of the separation proof that the sum rule, the chain rule and duality need are now public lemmas (interior of the epigraph,hasSubgradientAt_of_forall_mem_epigraph_le); the sharp bound‖u‖ ≤ (M - f x) / δ; boundedness under upper semicontinuity, without a domain hypothesis; continuity of convex functions inContinuity.lean(continuousAt_of_eventually_levia Mathlib'sConvexOn.continuousOn_tfae,eq_bot_of_mem_interior), so the finite-dimensional results needf x > ⊥instead of properness; the sum-rule hypothesis in this file; hypothesis names; prose. Deferred: removing the duplicate separation proof inSubgradient.lean(with the sum rule; done ina96a1bb), weak compactness for the max rule. - 2026-11-29, sum rule (commit
a96a1bb). No wrong statement; the moved theorems kept their statements. Fixed: companion lemmas (the sum rule withgcontinuous, in finite dimension at a point ofinterior (dom f) ∩ dom g, the set inclusion∂f x + ∂g x ⊆ ∂(f + g) x, the indicator rule and the optimality condition for proper convexf : H → EReal, sufficiency0 ∈ ∂f x + N_C x → IsMinOn f C xfor anyf); the real-valued versions renamed with_coe_(subdifferential_coe_add_convexIndicator,isMinOn_iff_exists_mem_subdifferential_coe_neg_mem_normalCone);nonempty_subdifferential_of_continuousmoved toSubgradientExistence.lean;strongDual_prod_applyfor any normed space; imports; citations (the continuity form is classical, [BC] states sum rules for lower semicontinuous functions); prose. Deferred, with the plan in M1 and M5: the combined rule∂(g + f ∘ A)(next step), finite sums, strong duality without attainment. - 2026-11-29, chain rule (commit
8c22e21). No wrong statement; the sum rule kept its statement. Fixed: the roles in the combined rule follow [BC] (f + g ∘ A,gcontinuous), names…_comp_continuousLinearMap(the baresubdifferential_compis left for an outer composition rule), the notationA†; the easy inclusionssubset_subdifferential_add_comp_continuousLinearMapandsubset_subdifferential_comp_continuousLinearMap(subdifferential_add_subsetrenamedsubset_subdifferential_add); the finite-dimensional rule atA x₀ ∈ interior (dom g); translationsubdifferential_comp_add_right;ConvexFun.comp_linearMap,convexFun_zero,subdifferential_zero; the normal cone of{y | A y = b}, sinceι_{Ax=b}is not covered; the counterexamples in docstrings and here; citations; DESIGN notes on the adjoint and on PR #45868. Deferred: the sandwich lemma (M2, M5), the chain rule for surjectiveAand scaling (M3). - 2026-11-29, scaling and the chain rule for surjective maps (commit
d68f98d). No wrong statement;c > 0is needed in∂(c f) x = c • ∂f x(counterexamplef ≡ ⊤,c = 0). Fixed: the inclusionc • ∂f x ⊆ ∂(c f) xandHasSubgradientAt.const_mulforc ≥ 0(multipliersλᵢ = 0in M5);mem_subdifferential_const_mul_iffin the form used for proximal points; the order isomorphismmulOrderIsoofERealinstead of ad hoc lemmas, witheffectiveDomain_const_mul,IsProper.const_mul,epigraph_const_mul,convexFun_const_mul_iffandlowerSemicontinuous_const_mul(needed forprox_{γf}in M3); the0 · ∞ = 0convention inDESIGN.md;∂(f ∘ A) x ⊆ (ker A)ᗮfor everyA; the chain rule for affine maps with surjective linear part and for linear isometry equivalences; a shorter proof through Mathlib's bounded right inversenonlinearRightInverseOfSurjective; docstrings. - 2026-11-29, finite sums (commit
9b7dc98). No wrong statement. Fixed: the finite sum rule needs no hypothesis that thefᵢnever take the value⊥(both sides are empty otherwise), like the rule for two functions; the corollariessubdifferential_sum_of_continuousAt(all summands continuous, also for emptys) andsubdifferential_add_sum(∂(g + ∑ fᵢ), the form for KKT); the easy inclusionsubset_subdifferential_sumandHasSubgradientAt.sum;continuousAt_convexIndicator_of_mem_interior(for Slater points);continuousAt_sumneeds only values< ⊤;dom (∑ fᵢ) ⊇ ⋂ dom fᵢwithout hypotheses;ConvexFun.add_of_bot_lt_right; Mathlib'sWithBot.bot_lt_sum_iffinstead of an own lemma; shorter proofs byFinset.sum_induction; the false claim thatι_{Ax=b}is continuous nowhere (it is continuous off the set, and everywhere forA = 0); citations. Recorded, not done:ConvexFun.addholds under the weaker{f = ⊥} ⊆ dom g(not needed so far). -
2026-11-29, max formula and max rule (commit
abb1a77). No wrong statement. Fixed: the citation of [R, Section 23] for the max rule (that section has the max formula, not the max rule; the max rule had no [BC] citation until it was checked; the check of 2026-11-30 found it as [BC, Theorem 18.5]); attainmentexists_isMaxOn_inner; the segment lemmaConvexFun.apply_add_smul_lt_of_lt(monotone difference quotients) and the local form of the max formula,forall_le_of_eventually_le;ConvexFun.iSup;HasSubgradientAt.iSup; the real valued rulesubdifferential_coe_iSup; the rule at a common interior point in finite dimension, withupperSemicontinuousAt_of_mem_interior;isCompact_convexHullfor finite-dimensional topological vector spaces; counterexamples for the upper semicontinuity hypothesis; shorter proofs (Fintype.sum_of_injective,Finset.sup_lt_iff,fun_prop). Open: in infinite dimension the convex hull is closed (weak compactness); done in M9. -
2026-11-29, Fenchel conjugate (commit
c2cfac0). No wrong statement, allERealedge cases checked. Fixed: the theoremHasSubgradientAt.fenchelConjugatehid the definition inside its namespace (renamedhasSubgradientAt_fenchelConjugate);fenchelConjugate_top/_botstated with⊤/⊥forsimp; theERealhelpers in general form with descriptive names (ereal_sub_le_comm,ereal_sub_add_eq_add_sub,ereal_sub_add_coe,ereal_iSup_add_coe); new: properness off*(isProper_fenchelConjugate_iff,HasSubgradientAt.isProper_fenchelConjugate, which makes the Moreau decomposition in M3 independent of Fenchel–Moreau), the converse at points withf** x = f x, the additive Fenchel–Young forms,f* u = ⊥ ↔ f ≡ ⊤,f*** = f*,f* 0 = -inf f,(⨅ fᵢ)*,0*,⟪a, ·⟫*, composition with isometries and invertible maps,(g ∘ A)* (A† w) ≤ g* w, weak Fenchel–Rockafellar duality, support-function API; the Mathlib search recorded inDESIGN.md; docstrings. Not done (optional):(f (c • ·))*,(γ/2 ‖·‖²)*, subadditivity ofσ_C,σ_C = σ_{closed convex hull}. - 2026-11-29, Fenchel–Moreau (commit
7aeb976). No wrong statement. Fixed: completeness ofHis needed, with a counterexample in the docstring (finitely supported sequences,f = ⟪·, a⟫,a ∉ H); properness weakened to∀ x, f x ≠ ⊥(addsf ≡ ⊤); names in theConvexFunnamespace; new:σ_C* = ι_C,σof the closed convex hull,ι_C**, the closed convex hull through support functions,f** x = f xat points with a subgradient (no hypotheses; the step from a subgradient of the value function to no duality gap in M5),f**as the lsc convex hull,f*proper impliesfproper, the real valued theorem on a closed convex set (Mathlib's shape) and in finite dimension without lsc,lowerSemicontinuous_coe_add_convexIndicator_iff; the Riesz splitstrongDual_prod_apply_eq_innerandaffine_le_of_forall_mem_epigraph_lefactored out of three proofs; the wrong Mathlib nameConvexOn.univ_sSup_affine_eqin this file corrected toConvexOn.sSup_affine_eq; docstrings. Noted for M3:(f □ g)* = f* + g*needsf,gnever⊥with Mathlib's⊥ + ⊤ = ⊥. - 2026-11-29, proximal operator (commit
e125495). No wrong statement. Fixed: the three-point inequalityHasSubgradientAt.add_norm_sq_leandHasSubgradientAt.prox_eqfor everyf(no convexity, completeness, lsc or properness), which shortens the Moreau decomposition; existence without properness; the argument orderIsProxAt f p x(base point last, as inHasSubgradientAt f u x);IsMinOnform;prox fis1-Lipschitz and continuous; Mathlib's orthogonal projection onto a subspace isproxof its indicator, and projections onto complete convex sets exist withoutCompleteSpace H;prox (γ f)(prox_const_mul_eq_iff, the‖·‖²/(2γ)form for the Moreau envelope), tilt and translation rules,prox (½‖·‖²); completeness, convexity and lsc counterexamples in the docstring; a wrong docstring claim onnorm_eq_iInf_iff_real_inner_le_zero; names (…_sq_le_inner,…_iff_hasSubgradientAt); simpler proofs. Not done: separable sums (PiLp 2), shrinkageprox_{γ‖·‖}, projection onto balls,f ∘ LwithL L† = id, the scaled Moreau decomposition. - 2026-11-29, Moreau envelope (commit
d7cfb3f). No wrong statement. Fixed: differentiability by the sandwich0 ≤ e (x + h) - e x - ⟪g, h⟫ ≤ ‖h‖² / (2γ)(descent inequality and a subgradient of the envelope, both for everyf), convexity frome** = e, so both proofs are a few lines;id - prox f = prox f*firmly nonexpansive, moved toProx.lean; new:gradient_moreauEnvelope,lipschitzWith_gradient_moreauEnvelope,contDiff_one_moreauEnvelope,(e_γ f)* = f* + γ ‖·‖² / 2for everyf, Moreau's identity, minimizers ofe_γ f,e_γ f x = f xiffxminimizes, monotonicity inγ,IsProxAt.moreauEnvelope_eqfor everyf, the public value formula;γ ≥ 0iniInf_moreauEnvelope; theγ = 0convention in the docstring. Not done: the scaled Moreau identity (needs the scaled Moreau decomposition), infimal convolution,e_γ f ↑ fasγ ↓ 0, convexity ofe_γ ffor every convexf(all done on 2026-12-01, M13 and the review pass). - 2026-11-30, KKT (commit
fda066c). No wrong statement; edge cases (emptyι,EuclideanSpace) checked. Fixed: "strong duality" assumed a primal minimizer; now multipliers exist for any lower bound (exists_lagrangeMultipliers_of_le) and the zero gap with dual attainment holds without a minimizer for inequality constraints (exists_dual_eq_primal); the wording in README and here;def lagrangianwith⟪A y - b, ν⟫(point first); the shared stepisMinOn_lagrangian_of_stationary;lagrangian_lewith explicitf₀(it did not elaborate before); new: KKT with an abstract convex set, in finite dimension without continuity, the iff form, the gradient form and∂f x = {∇f x}(Gradient.lean), the matrix form onℝⁿ, the saddle point with Mathlib'sIsSaddlePointOn; counterexamples for completeness, continuity ofg iand the condition onAin the docstring; [BC] chapters 19 and 27 (titles checked at Crossref). Not done: equality constraints without a primal minimizer, the refined Slater condition, dropping the continuity off₀. - 2026-11-30, milestone review of M5 (commit
9ebdad0, the first review at the new cadence). No wrong statement. Fixed: strong duality needs no hypothesis⊥ < inf(weak duality covers⊥), so README and ROADMAP claims are now exact; the primal–dual optimality conditions (hasSubgradientAt_and_hasSubgradientAt_iff_dual_eq, no convexity) and the primal conditionisMinOn_add_comp_iff; theERealzero-gap formexists_iInf_lagrangian_eqfor the full program; finite-dimensional variants without continuity; Fenchel duality split into two theorems; the citation of the sandwich theorem; the stale ROADMAP paragraph. Recorded as open: see the paragraph above. - 2026-11-30, milestone review of M6 (commit
30d4821). No wrong statement; edge cases (empty index types) checked. Fixed: the full LP duality theorem with all feasibility cases andsInf = sSup; theIsMinOnform; Farkas in Hausdorff locally convex spaces; Farkas variants (A x ≤ bwith and withoutx ≥ 0) and the inequality-form LP; the bridge to Mathlib'sPointedCone.FGandProperCone; the normal cone of a polyhedron and KKT under the refined Slater condition at a minimizer (Polyhedral.lean); the Farkas citation ([R, Section 22]); helpers made private; the Mathlib search and the matrix convention recorded inDESIGN.md. - 2026-11-30, milestone review of M4 and M7 (commits
d87a00d,afe2397,16df3e6). No wrong statement. Fixed: the FISTA claim in this file overstatedfista_rate, which bounds byt_N²(t ≡ 1satisfies its hypothesis); the Beck–Teboulle sequence is now proved to grow linearly (le_beckTeboulle) with its corollaryfista_rate_beckTeboulle; the fundamental inequality without convexity off(proxGradStep_le_linearization, withproxGradStep_leas its corollary), sufficient decrease, Fejér monotonicity, the strongly convex linear rate,ista_rate_of_leandista_rate_coe; the M4 lemmas listed above; the momentum offista_rate_of_linearwritten ask / (k + 3); the diminishing-step docstring (a bound for everyy, a limit only for a minimizer); citations (Rockafellar's theorem in [BC, Chapter 20], now [BC, Theorem 20.25], the descent lemma in [Beck, Chapter 5], the proximal point rate from Güler 1991); the Mathlib search recorded inDESIGN.md. Recorded as open: see M4 and M7. Not changed:∃ r, g x = r ∧ …in the rates (atoRealform would need a separate finiteness lemma;ista_rate_coecovers real-valuedg), the hypothesishmininstead ofIsMinOnon theERealsum, and the namesIsMonotoneOpandIsMaximalMonotone. - 2026-11-30, review of the fixed-point part of M8 (commit
2f37da0). No wrong statement; edge cases (dimension 0, no players, a player without strategies) checked. Fixed: Mathlib's one-dimensional Brouwer theorem, the sequential closed-graph criterionUpperHemicontinuousAt.of_sequencesand further open PRs are now recorded; the attribution (Milnor's volume polynomial for the straight-line homotopy to a retraction; Rogers is cited as a related version); Brouwer for closed balls, boxes, retracts, homeomorphic spaces andConvexity.StdSimplex; closed graph iff upper hemicontinuous with closed values (compact range, regular space), Kakutani in its textbook form, the graph inX × Yfor any domain; named projections ofIsNashEquilibrium,exists_isNashEquilibrium_iff, theStdSimplexform, pure equilibria, the indifference principle;not_exists_retractionrenamednot_exists_continuousOn_retraction. Not cited: Krylov's note (arXiv 2502.11311), whose abstract describes a different, non-analytic approach. Recorded as open: see M8. - 2026-11-30, review of the second part of M8 (commit
6c51737, Ekeland and Clarke). No wrong statement; every hypothesis checked to be needed (ε > 0,f x₀finite, a real lower bound,Nonempty Xfor Caristi, completeness ofHfor nonemptiness, the max formula and the sum rule). Fixed: the chain rule (strictly differentiable inner map, and linear maps), upper semicontinuity ofy ↦ f°(y; v), the closed graph of∂_C f, compactness in finite dimension, Fréchet derivatives and gradients lie in∂_C f,f°(x; ·)is the support function of∂_C f x, convex functions are regular (tendsto_clarkeDeriv_of_convexOn); Takahashi's theorem, Caristi–Kirk for set-valued maps and the converse of Ekeland's principle (Weston, Sullivan); names (clarkeDeriv_add_leforf + g,clarkeDeriv_add_le_addfor subadditivity in the direction,clarkeSubdifferential_const_smulfor everyc); docstrings (completeness, the scope ofclarkeSubdifferential, Rademacher). Not changed:LocallyLipschitzcorollaries,ha : f x₀ = ain the strong form, convexity only nearx. Recorded as open: see M8. -
2026-11-30, cleanup pass (
simplify, four reviewers: reuse, simplification, compile time, altitude) over the whole library, after all milestones were done. No public statement changed. The separation from the interior of an epigraph is one shared lemma (ConvexFun.exists_separation_interior_epigraph) for the max formula and the sandwich theorem, which moved toSumRule.lean; the sum rule is derived from the sandwich theorem, so the argument appears once instead of three times. LP strong duality via the matrix Gale lemma, the inequality form from the dual standard form; FISTA with a rescaled Lyapunov function and linear arithmetic only (the file compiles in 5 s instead of 11–17 s); Clarke's strictly differentiable case, Lebourg's line step and the linear chain rule from the chain rule; Fejér monotonicity from the linear rate; duplicated private helpers replaced by Mathlib lemmas (EReal.sub_le_of_le_add,HasFDerivAt.hasLineDerivAt,Filter.map_eq_of_inverse,AntilipschitzWith,ConvexOn.locallyLipschitz). About 400 lines fewer. Skipped: replacing the remainingnlinarithcalls thatlinarithcloses (gain within noise), splittingBrouwer.leanoffProxfor build parallelism, trimming implied Mathlib imports, and dropping the unused-by-the-new-proof hypothesisIsProper fofIsProper.hasSubgradientAt_iff_add_fenchelConjugate_eq(done on 2026-12-01: nowhasSubgradientAt_iff_add_fenchelConjugate_eqfor everyf). -
2026-11-30, review of the first part of M9 (commit
53e0499: weak convergence, Fejér, Baillon–Haddad, iterate convergence, ε-subdifferentials). No wrong or vacuous statement; all rate constants recomputed. Fixed: the averaged and nonexpansive forward step and the forward–backward inequalities hold for any cocoerciveB : H → H, the gradient versions are corollaries (ConvexOn.…); one theorem for the Picard iteration of averaged maps (‖T x - T y‖² ≤ ‖x - y‖² - κ ‖(x - T x) - (y - T y)‖²,κ > 0), used for the proximal point method, forward–backward and gradient descent, and the relaxed Krasnosel'skiĭ–Mann iteration for averaged maps; boundedness of weakly convergent sequences, weak lsc of the norm and demiclosedness without completeness; weaker hypotheses (gradient_eq_zero_of_isMinOnat one point, a lower bound instead of a minimizer for summability of gradients,⊥ < f xinstead of∀ y, f y ≠ ⊥for nonempty∂_ε f x); names (algorithm prefix first,picard_…); public companions: the KM residual bound (theO(1 / √N)rate), Fejér monotonicity of the three methods, weak–strong closedness of the graph of a maximal monotone operator and of∂f, weak–strong limits of inner products, Radon–Riesz, weak cluster points of minimizing sequences,IsProper.isMinOn_coe_add_ifffor thehminform,∂_ε f* = (∂_ε f)⁻¹,ConvexFun.ne_bot_of_lowerSemicontinuous. Kept:∀ x, f x ≠ ⊥in the two density results, which is necessary (an lsc convexfwith a value⊥has no subgradients). Not done: composition of averaged maps, quasi-Fejér sequences; topological weak compactness of balls came with the max rule in infinite dimension. -
2026-11-30, review of the second part of M9 (commit
f0d2943: Minty, Poincaré–Miranda, KKM, Schauder). No wrong statement; all eight literature references confirmed. Fixed: Schauder's compact-image form needs no completeness (Granas–Dugundji form for convexC), the totally bounded form does (counterexample inc₀₀in the docstring); the probability simplex moved fromNash.leantoSimplex.lean(Mathlib'sConvexity.StdSimplexis a type, not a set), so Schauder no longer imports Nash and Kakutani shares Schauder's projection lemma; Schauder has the plain nameexists_isFixedPt_of_isCompact_of_convex, Brouwer's is…_of_finiteDimensional; the predicateIsKKMMap; completeness is necessary in Minty's theorem (counterexample2 I + S + S*onc₀₀in the docstring);resolventMapmoved toMonotoneOperator.lean; companions for splitting methods (continuity and nonexpansiveness ofJ_T, the reflected resolvent,J_{T⁻¹} = id - J_T, continuous monotone maps are maximal monotone, the forward–backward fixed points0 ∈ T x + B x); "constant step" for the proximal point algorithm; Poincaré 1883 and Kulpa 1997 cited; "hard direction" of Minty's theorem. Not done: "finitely closed" and open-set KKM variants; the function proximal point method as a corollary of the operator version. -
2026-11-30, review of the third part of M9 (commit
de7847e: PolyhedralDuality, Clarke regularity and gradient limits, the max rule in Hilbert space). No wrong or vacuous statement; [R, Theorem 28.2], Clarke's regularity, sum, max and gradient-limit theorems checked. Fixed: KKT under the refined Slater condition without continuity off₀, also withA x = b; Slater duality, itsERealand saddle point forms without continuity off₀,gᵢand without completeness (moved fromKKT.leantoPolyhedralDuality.leanunder the same names), via a multiplier theorem for linear functionals on any real vector space; Farkas without completeness and as an iff; the Clarke max rule with the convex hull;f° = limsup ⟪∇f, v⟫proved instead of only claimed;subdifferential_iSup_of_finiteDimensionalas a corollary of the Hilbert-space rule; duplicated helpers shared (ConvexOn.add_sum_mul,strongDual_prod_apply_eq_inner,tendsto_add_smul); stale docstrings; a sensitivity theorem-μ ∈ ∂v 0. Not done: an equality chain rule under regularity. -
2026-11-30, review of the fourth part of M9 (commit
cf250d8: FISTA iterates, hairy ball, Tychonoff, Kakutani–Fan–Glicksberg). No wrong statement; FISTA's conventions against Beck–Teboulle and Chambolle–Dossal, the arXiv citations and Bauschke–Moursi's Theorem 6.1 checked. Fixed: the FISTA theorem is credited as a mild generalization of Bauschke–Moursi (anda > 2to Chambolle–Dossal), and needs neithert 0 = 1nory 0 = x 0; FISTA's Lyapunov lemmas moved toAlgorithms.lean, from whichfista_ratefollows;fista_rate_of_linearfor everya ≥ 2(the old statement isfista_rate_of_linear_two); Salzo's lemma and weak ⇒ norm convergence in finite dimension inWeakConvergence.lean, Opial's lemma derived from Salzo's; the Milnor steps shared betweenBrouwer.leanandHairyBall.lean(no copies); Kakutani in normed spaces as a corollary of Kakutani–Fan–Glicksberg, the second proof removed,Kakutani.leanrenamedHemicontinuity.lean; the Bohnenblust–Karlin attribution; "even-dimensional sphere"; Tychonoff as the single-valued case of KFG only in T1 spaces; the hairy ball corollaryg x = c x; an unverified lemma number (Boţ–Chenchene–Csetnek–Hulett) dropped. Moved toBasic.lean:ConvexFun.convex_setOf_le_coe,ConvexFun.eq_bot_of_lowerSemicontinuousand its two companions,isMinOn_const_mul_iff,IsProper.isMinOn_coe_add_iff. Open: Himmelberg's form of KFG. -
2026-11-30, review of M10 (Kantorovich, cubic regularization, interval Newton) and Himmelberg (commits up to
91b1798). No wrong or vacuous statement; Kantorovich's radius, majorants, uniqueness region and error bounds, all Nesterov–Polyak constants (checked against the 2003 CORE preprint), the Krawczyk and interval Newton tests and Himmelberg's theorem without Hausdorff checked. Fixed: the cubic method needs the Lipschitz Hessian only on a set containing the level set, and a lower bound only along the iterates;IsSlopeEnclosureAt; the hull diameter lemma and the idealized scope of the interval Newton convergence theorem; Kantorovich's minimization corollary and local uniqueness; one Taylor bound shared by Kantorovich and the cubic method; "semilocal" instead of "conditions atx₀only"; the Traub–Woźniakowski citation; names (intervalNewton_tendsto_diam,tendsto_newtonSeq_of_mem_closedBall). -
2026-11-30, review of branch and bound and Clarke in normed spaces (commit
cb9e08d). No wrong statement and no vacuous hypotheses (the Lipschitz instance satisfies all of them). Fixed: Horst–Tuy's consistency depends on the run and needs no exhaustiveness (IsConsistentRun); no minimizer needed (convergence to the infimum,IsGLB); a sentence on deletion restricted to deletion by bound; best-first as a special case of bound-improving selection; the iteration bound sharpened by2ⁿ; the namespacesBranchAndBoundandBox,IsBranchAndBound→IsRun,mem_sel→point_mem, Mathlib'smidpoint; a pruned best-first run; Lipschitz optimization cited to [HT, Chapter XI], Piyavskii and Shubert as related work; Hahn–Banach lemma names (exists_continuous_extension_of_le_sublinear); dual chain rule for regular-fand convexf. Not done: convexity only nearxin the convex Clarke cases. -
2026-11-30, review of M11 (commit
019ff6e: interval and ball arithmetic, the radii polynomial theorem, the examples). No wrong statement and no unsound definition. Fixed: interval branch and bound needs no condition on square roots (isConsistent_intervalBound,exists_isMinOn_and_tendsto_interval,exists_incumbent_sub_intervalBound_le, same names): the natural extension converges with a modulusωfor every expression defined on the box (exists_length_intervalEval_le_modulus, from√b - √a ≤ √(b - a)), soeis uniformly continuous there;SqrtArgPosis kept for the linear rate, with the counterexample√xon[0, 1]as a theorem; the radii polynomial theorem is credited as a norm form of [DLM2007, Theorem 2.1] (componentwise, Yamamoto-type, weighted sup norm,Jinvertible; radii polynomials in their Definitions 3.1–3.3 and Theorem 3.4), a special case in a weighted sup norm with strict inequality and a generalization on Banach spaces; theinclusionbridge now covers+,-(exact) and*(outward rounding) for intervals with endpoints in any ordered type (ofInclusion), not only*with real endpoints;BallArithmeticExamples.leanrenamedComputerAssistedProofs.lean, with an example that uses ball arithmetic;existsUnique_eq_zero_of_kantorovichneeds only the center-Lipschitz bound and the derivative on the ball and returns the zero with convergence and uniqueness in one statement (existsUnique_eq_zero_of_kantorovich_of_subsetis the corollary in the setting ofnewton_kantorovich_affine);RadiiPolynomial.leanoverRCLike 𝕜(the Lipschitz forms withIsScalarTower ℝ 𝕜 E); Neumaier citations checked against the book (Theorem 1.4.1 for the fundamental theorem and isotonicity, Theorem 1.4.3 and Corollary 1.4.4 for single use, Theorem 2.1.1 and Corollary 2.1.2 for linear convergence, Theorem 2.3.3 and Corollary 2.3.4 for the mean value form) and Moore–Kearfott–Cloud Theorem 5.1 and Lemma 6.1; the mean value form with an enclosure off(c), Neumaier's a posteriori bound, and branch and bound with bounded derivative enclosures (…_of_length_le);radiiPolynomialas a definition, theradiiPolynomialRootdocstring fora < 0;isRoundedEval_iff;exists_lipschitzOnWith_evalwithK : ℝ≥0; theBallinverse's radius0when‖c⁻¹‖ r ≥ 1documented; a partial order on balls in normed groups;Ball ℝ ≃o NonemptyInterval ℝ;ArithExprnotation;BranchAndBound.centerrenamedBranchAndBound.bisectionCenter;apply_eq_sumfrom Mathlib'sLinearMap.pi_apply_eq_sum_univ;closedBall_eq_Icc_pimoved toBox.lean; stale text and PR lists. New: the Krawczyk operator in interval arithmetic encloseskrawczyk(krawczyk_subset_box_intervalKrawczyk) and gives the Krawczyk test (existsUnique_eq_zero_of_intervalKrawczyk). Open: slope enclosures from derivative expressions (see M11). Not changed:exists_snd_meanValueForm_leis not derived from the lower endpoint via-f(both now follow from the a posteriori bounds in two lines), andexists_mul_eq_fst/_sndare kept as API (endpoints of a product are products of points). - 2026-11-30, review of M12 (commit
4744b1c: global complexity, smoothing, S-FISTA, the lower bound for smooth problems), two reviewers. No wrong theorem; all constants recomputed (Theorem 2.1.7, (2.1.17), (2.1.19), the S-FISTAμ,64/3) and all citations checked against the extracts. Fixed inGlobalComplexity.lean: a false sentence in the module docstring (pigeonhole gives one far point, not more), the casen ≥ 1atε = L/2, "the formula of Nesterov's bound" where his theorem assumesε < L/2; the lower bounds assume accuracy only on globally Lipschitzf(stronger, same proofs), andisLeast_pow_output_eq_queryasks for answers at test points only on the class;hLdropped where not needed; Novak's Proposition 1.3.6 (2) gives the non-strict value, the strict one needs attainment in addition; variants for answers in the cube (isLeast_ite_pow_mem_Iccand four more), as in Nesterov's (1.1.7); repair (b) is a gap only for answers that are not test points; the branch-and-bound comparison;centerMethodshared by the twoifftheorems;Method.history_zero. Fixed in the smoothing files: S-FISTA'sQis bounded by the hypotheses (diam_le_of_strongConvexOn), Beck's Theorem 10.57 assumes bounded level sets, not a minimizer of the smoothed problem; the lower bound now assumesL > 0, gives the minimizer nearest tox0and the distance bound for every minimizer (the minimizers form an affine subspace forn > 2k + 1); an abstract S-FISTA for Beck's smooth approximations with Huber and Moreau-envelope instances; bounds for allM ≥ N;gradient_nesterovSmoothing,proxGradStep_zero,acceleratedGradient_rate, a variable step insub_mem_span_of_accelerated; names (truncCoord,truncDiff,exists_le_sub_of_mem_span,sfista_complexity_nonsmooth); qualified names in the module docstrings, missing references. Not done:Methodfor general domains and oracle values, a named predicate for the success condition andIsEmpty ιforFintype.card ι = 0(the explicit sets show what is claimed without unfolding a definition, and a published note cites these statements);IsLeasttheorems for the class of globally Lipschitz functions (the docstrings say the value is the same; each is three lines from the lower bounds); renaminggrid_mem_Icc. - 2026-12-01, the pass on the external review of 2026-11-30 (Gemini, baseline
c99feb5, M0–M10), commits0f3fd79to the commit of this entry. Done: all of its sections 1 (docstrings, weaker hypotheses), 2.1 (structure and API) and 3 (proofs). The two large refactors:proxGradSteptakes the stepγ(rates for0 < γ,γ L ≤ 1,L = 0allowed; FISTA withL⁻¹), and the Clarke files are splitClarkeDeriv→ClarkeRegular→ClarkeBanach→Clarke, with every Hilbert-space result derived from the normed-space one. Further: minimizers off + gasIsMinOn;IsAveraged,IsFirmlyNonexpansive(Averaged.lean); the iterated linear rate for strongly convexf; KKT forA x = bwithout continuity andnormalCone_polyhedronwithout completeness (Polyhedral.leanremoved); Himmelberg with relative closedness; invertibility from coercivity in Kantorovich (Lax–Milgram); branch and bound without a bounded root (ediam); interval Newton with2 β Land the explicit rate; the cubic Newton rate with(k + 5)²(the review's(k + 3)²would have been weaker); conic Carathéodory. Two independent reviews of the pass (Claude) found no wrong theorem; fixed after them: consistency in branch and bound still useddiam, so "no bounded root" was empty for the exhaustive theorems (a reviewer proved that an unbounded root forcedfto be constant); the converse characterization of averaged maps andIsAveraged.mono; citations of [BC, Definition 4.1] for the equivalent form;ista_exists_tendsto*removed as duplicates offorwardBackward_*; about 190 module docstring names qualified; the Tychonoff remark; stale names in the paper. Not done: the sharper contraction factor(1 - γ μ)²and steps up to2/(L + μ)for strongly convexf(done in M13); the max rule⊆in normed spaces (weak-* compactness);exists_kkt_of_isMinOn_of_convex(abstract convex set) still assumes continuousf₀;hL0in the interval Newton theorems; the coverage items of section 2.2 (done as M13). - 2026-12-01, first run of the
mathlib-syncskill (.claude/skills/mathlib-sync): Mathlibd747d52→5a27f5e(90 commits, no repair needed; no tracked PR newly merged). A search of Mathlib for the 289 theorems whose statements use only Mathlib's notions (tools/MathlibOnly.lean) found 4 identical (IntervalArith.mem_iff,le_iff,coe_eq_Icc,neg_mem_neg, removed in favour ofNonemptyInterval.mem_def,le_def,coe_def,neg_mem_neg) and a handful of shorter proofs from Mathlib (abs_sub_le_length,apply_eq_sum,gradient_eq_zero_of_isMinOn,eq_of_isMaxOn_inner_sub,ae_ae_add_smul_notMemfromMeasureTheory.ae_ae_add_linearMap_mem_iff); the other theorems have no counterpart in Mathlib. Inside the library:ArithExpr.intervalEval_monoderived fromArithExpr.IsRoundedEval.of_box_le, the mean-value branch-and-bound theorems derived from their_of_length_leforms, the convexity and closedness proofs of∂f xand∂_ε f xshared (convex_setOf_forall_coe_add_inner_le,isClosed_setOf_forall_coe_add_inner_le),ConvexFun.eq_bot_of_mem_interiorfromConvexFun.apply_smul_add_smul_eq_bot; 31804 → 31743 lines, no statement changed. Left: Schauder as a corollary of Schauder–Tychonoff (it would drop the classical normed proof, Granas–Dugundji (6.3.2)); subgradient rules as the caseε = 0(a change of definition, against the shape of Mathlib PR #45868). - 2026-12-01, review of the dyadic branch and bound (
IntervalBranchAndBound.leanand its examples; uncommitted work). No unsound definition and no wrong statement;#evalcounter-tests (a lower bound above the minimum,poutside the box,Ubelowe(p), an exclusion box containing a solution, an empty system, a strict bound below1/e) all returnedfalse, and all numbers and box counts were recomputed. Fixed: box counts in the implementation notes, the upper bound of the camel example (-1.03162, a bound for the value atp, not the value), the share of the mean value form in the exponential example, the convergence references (the uniform convergenceexists_length_intervalEval_lewith its square-root condition, not only the best-first theorems), the exclusion conclusion (∃ k, F k ≠ 0instead of a function inequality), one parameter order (okbeforemvfWidth),isNarrowmoved toDyadicInterval, the namelt_sub_one_mul_sub_two_mul_sub_three_mul_sub_four, the camel expression bound once. Not changed (recorded above as not done): the continuity condition ofminimumTest(documented),_realforms and defaults; the lower bound of the camel example stays-1.035(-1.032costs about8s and1.5GB more), andmeanValueEvalevaluates each derivative once in theisSomecheck and once in the sum, which the kernel cache shares. - 2026-12-01, review of the open M11 items (interval differentiation, the
inclusionbridge and dyadic evaluator, complex and matrix examples; commits173f765,4155ac6,95be091). No unsound statement; a counter-test campaign (#evalofkrawczykTeston boxes without a zero, with two zeros, a continuum of zeros, a negative logarithm argument,x₀outside the box,Y = 0, low precision, a shifted 2-D box) returnedfalseevery time; all numerical values recomputed. Fixed: the claim that the interval Newton test needs nothing besides the computed inclusion (it still needs regularity and the exact Newton set);intervalKrawczyktakes an enclosureFx₀off x₀, so the dyadic test is an instance of the real-interval statement (DyadicInterval.mem_krawczyk_of_mem_intervalKrawczyk) and the Krawczyk argument is proved once;[Nonempty ι]dropped from the mean value form with computed derivatives; redundant bridge lemmas removed; names (existsUnique_eq_exp_neg_krawczyk,existsUnique_mul_log_eq_one_krawczyk,DyadicInterval.isInside); docstrings (IsSmoothAtsufficient, not necessary; Moore–Kearfott–Cloud cited). Not changed:RatArithExprstays separate fromArithExpr(parametrizingArithExprby the constant type would touch every statement about it to save about 90 lines);_realkeeps marking the form stated onℝ. - 2026-12-01, Hansen–Sengupta and branch-and-bound review (
HansenSengupta.lean, commitfdaeed9;IntervalBranchAndBound.lean, commit7e0c2ab). No unsound statement. Findings and what was done: (1) the complex, eigenpair, matrix square root and one-variable bridges tookkrawczykTest … = truebut used only its conclusion; they now takeRatArithExpr.HasUniqueZero F lo hi(anabbrevfor that conclusion) and serve every test (existsUnique_eq_zero_complex_of_hasUniqueZero,existsUnique_eigenpair_of_hasUniqueZero,existsUnique_mul_self_eq_of_hasUniqueZero,existsUnique_eq_zero_real_of_hasUniqueZero, replacing the_of_krawczykTestforms;existsUnique_eq_zero_of_krawczykTest_realkept andexistsUnique_eq_zero_of_hansenSenguptaTest_realadded as one-liners); (2) the dyadic sweep checked each side instead of intersecting, so it gave neither exclusion nor enclosure: the sweep now intersects (DyadicInterval.inter, on Mathlib'sInclusion.Interval.inter),RatArithExpr.hansenSenguptaBoxgives exclusion (exists_ne_zero_of_hansenSenguptaBox_eq_none), enclosure (mem_hansenSenguptaBox_of_eq_zero,hansenSenguptaEnclosureTest,mem_Icc_of_hansenSenguptaEnclosureTest) and the existence test; the circle ∩ hyperbola example also states the enclosure[1.9246, 1.9391] × [0.5166, 0.5187](the review's[1.9247, 1.9390]rounded to nearest; the computed sides are[1.924664, 1.939040] × [0.516605, 0.518672]); the kernel time of the test went from about0.05to0.09s (the sweep no longer stops early), the enclosure test adds0.07s; (3) the hypothesishG : ∀ i, 0 ∉ G i iis gone: a row with0 ∈ Gᵢᵢkeeps its side (hansenSenguptaStep_of_zero_mem), so inclusion and exclusion hold unconditionally, and the existence test proves that no row was skipped (zero_notMem_of_hansenSengupta); (4) the existence form with slopes atx₀, a zero inX'(exists_eq_zero_of_hansenSengupta, [Neumaier, Corollary 5.4.3 (iii)]), which also gives the zero ofexistsUnique_eq_zero_of_hansenSenguptainX'; (5)hf : ContinuousOn f (box X)dropped fromexistsUnique_eq_zero_of_hansenSengupta,existsUnique_eq_zero_of_intervalKrawczykand alsoexistsUnique_eq_zero_of_intervalNewton_subset, byIsSlopeEnclosure.continuousOn(a compact slope enclosure gives continuity;isCompact_setOf_forall_mem,convex_setOf_forall_mem, withsetOf_forall_mem_eq_matrixIccmoved toRadiiPolynomial.lean); (6)IntervalArith.interand its four lemmas replaced by the latticeInterval ℝof Mathlib (⊓,Interval.coe_inf;IntervalArith.mem_of_inf_eq_coe,exists_inf_eq_coe,mem_of_inf_eq_coe_of_lt); the real operator is not computed, so the kernel is not affected; (7) the stale pointer to examples inIntervalDyadic.leanremoved; (8) Moore–Kearfott–Cloud cited: the interval Gauss–Seidel iteration (7.10) is in Section 7.5 of the book, not 7.4 as the review said (checked against the book), and Theorem 8.4, with the note that it assumes an enclosure of the whole solution set, which the intersected sweep does not give; (9)existsUnique_eq_zero_of_hansenSenguptaand_pderivtakehx₀before the enclosurehbofY f(x₀), as the Krawczyk forms; (10)exists_ne_zero_of_exclusionTestrenamedforall_exists_ne_zero_of_exclusionTest. Left: Hansen–Sengupta pruning insideallPieces(the exclusion form fits as a predicate on dyadic boxes, seeDESIGN.md, but a preconditioner per piece needs an approximate inverse computed in the kernel); extended division for0 ∈ Gᵢᵢ.