Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.1 — limit points of GPS iterates and the limit of f(xk)f(x_k)f(xk​)

Proved
GPSAnalysis.Core.limit_point_properties

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

convergencederivative-freep2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1pattern-search

Consider a GPS run {xk}\{x_k\}{xk​} on problem (1.1) satisfying A1 (fΩ(x0)<∞f_\Omega(x_0)<\inftyfΩ​(x0​)<∞) and A3 (all iterates lie in a compact set). Then:

  1. the sequence {xk}\{x_k\}{xk​} has at least one limit point (cluster point);
  2. if fff is lower semicontinuous at a limit point xˉ\bar xxˉ, then lim⁡kf(xk)\lim_k f(x_k)limk​f(xk​) exists, is finite, and
lim⁡k→∞f(xk) ≥ f(xˉ);\lim_{k\to\infty} f(x_k)\ \ge\ f(\bar x);k→∞lim​f(xk​) ≥ f(xˉ);
  1. if fff is continuous at every limit point of {xk}\{x_k\}{xk​}, then all limit points have the same function value.

The result needs no smoothness at all: it rests on the fact that GPS never increases fΩf_\OmegafΩ​. It shows that all limit points at which fff is continuous are equally good in function value.

Formalization Note fff takes values in R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞} with its order topology; lower semicontinuity and continuity are those of fff, not of fΩf_\OmegafΩ​. The limit is asserted to be a real number.

Preamble
import Mathlib
import Definitions.Def_GPSAnalysis_Core_Problem
import Definitions.Def_GPSAnalysis_Core_Mesh
import Definitions.Def_GPSAnalysis_Core_Run

open Filter Topology
Formal statement
namespace GPSAnalysis.Core

/-- Theorem 3.1 (Audet–Dennis 2003, p. 894). Under A1 and A3 the iterate sequence has a limit
point; if `f` is lower semicontinuous at a limit point `x̄`, then `lim_k f(x_k)` exists (finite)
and is `≥ f(x̄)`; if `f` is continuous at every limit point, all limit points have the same value. -/
theorem limit_point_properties {n m p : ℕ} (P : GPSSetup n m p) (R : GPSRun P)
    (hA1 : AssumptionA1 R) (hA3 : AssumptionA3 R) :
    (∃ xbar : Fin n → ℝ, MapClusterPt xbar atTop R.x) ∧
    (∀ xbar : Fin n → ℝ, MapClusterPt xbar atTop R.x → LowerSemicontinuousAt P.f xbar →
      ∃ ℓ : ℝ, Tendsto (fun k => P.f (R.x k)) atTop (𝓝 (ℓ : WithTop ℝ)) ∧
        P.f xbar ≤ (ℓ : WithTop ℝ)) ∧
    ((∀ xbar : Fin n → ℝ, MapClusterPt xbar atTop R.x → ContinuousAt P.f xbar) →
      ∀ x₁ x₂ : Fin n → ℝ, MapClusterPt x₁ atTop R.x → MapClusterPt x₂ atTop R.x →
        P.f x₁ = P.f x₂) := by sorry

end GPSAnalysis.Core
Source
Audet, Dennis, Analysis of Generalized Pattern Searches, SIAM J. Optim. 13 (2003), p. 894, Theorem 3.1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • PPP is a setup:
    • an objective f:Rn→R∪{+∞}f:\mathbb R^n\to\mathbb R\cup\{+\infty\}f:Rn→R∪{+∞};
    • a feasible set Ω={x:ℓ≤Ax≤u}\Omega=\{x:\ell\le Ax\le u\}Ω={x:ℓ≤Ax≤u} with barrier fΩf_\OmegafΩ​ (=f=f=f on Ω\OmegaΩ, +∞+\infty+∞ off it);
    • a direction matrix D=GZˉD=G\bar ZD=GZˉ with GGG invertible and the columns of DDD positively spanning;
    • a rational τ>1\tau>1τ>1 and integers w−≤−1≤0≤w+w^-\le-1\le 0\le w^+w−≤−1≤0≤w+.
  • RRR is a run of PPP: iterates xkx_kxk​, mesh sizes Δk\Delta_kΔk​ with Δ0>0\Delta_0>0Δ0​>0, poll sets DkD_kDk​, exponents wkw_kwk​ and a predicate LO\mathrm{LO}LO, obeying the improvement / local-optimizer rules.

Hypotheses.

  • A1: fΩ(x0)<+∞f_\Omega(x_0)<+\inftyfΩ​(x0​)<+∞.
  • A3: all xkx_kxk​ lie in some compact set.

Conclusions. All three of the following hold.

  1. A cluster point exists. There is a point xˉ∈Rn\bar x\in\mathbb R^nxˉ∈Rn that is a cluster point of (xk)(x_k)(xk​): every neighbourhood of xˉ\bar xxˉ contains xkx_kxk​ for infinitely many kkk.
  2. Convergence of values. For every cluster point xˉ\bar xxˉ at which fff is lower semicontinuous (as a map into R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞} with its order topology), there is a finite real ℓ\ellℓ such that
f(xk)→ℓ  as k→∞andf(xˉ)≤ℓ.f(x_k)\to \ell \ \text{ as } k\to\infty \qquad\text{and}\qquad f(\bar x)\le \ell.f(xk​)→ℓ  as k→∞andf(xˉ)≤ℓ.
  1. Equal values at cluster points. If fff is continuous (into R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞}) at every cluster point of (xk)(x_k)(xk​), then f(x1)=f(x2)f(x_1)=f(x_2)f(x1​)=f(x2​) for any two cluster points x1,x2x_1,x_2x1​,x2​.

All three conclusions are stated for the original objective fff, not for fΩf_\OmegafΩ​.

Degenerate cases.

  • Dimension zero (n=0n=0n=0). Every xkx_kxk​ is the single point 000, which is the unique cluster point. Parts 2 and 3 then concern the constant sequence f(0)f(0)f(0). Part 2 asserts in that case that this constant is finite, and it is (by A1).
  • Empty feasible set. A1 excludes Ω=∅\Omega=\emptysetΩ=∅.
  • Part 3 with infinite values. Part 3 does not exclude the common value being +∞+\infty+∞.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me