Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.2 — the iterates lie on the lattice x0+βrLBα−rUBΔ0B Znx_0+\beta^{r_{LB}}\alpha^{-r_{UB}}\Delta_0 B\,\mathbb Z^nx0​+βrLB​α−rUB​Δ0​BZn

Proved
LewisTorczon.BoundPS.theorem_2_2

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

derivative-free-optimizationlatticep2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1pattern-search

Consider a run xk,Δkx_k,\Delta_kxk​,Δk​ of the generalized pattern search method for bound constrained problems, with basis matrix BBB and expansion/contraction base τ∈Q\tau\in\mathbb Qτ∈Q, τ>1\tau>1τ>1. Write τ=β/α\tau=\beta/\alphaτ=β/α with α,β∈N\alpha,\beta\in\mathbb Nα,β∈N relatively prime. Because the update of Δk\Delta_kΔk​ multiplies by integer powers of τ\tauτ, we can write Δk=τrkΔ0\Delta_k=\tau^{r_k}\Delta_0Δk​=τrk​Δ0​ with rk∈Zr_k\in\mathbb Zrk​∈Z. For N≥1N\ge1N≥1 put

rLB=min⁡0≤k<Nrk,rUB=max⁡0≤k<Nrk.r_{LB}=\min_{0\le k<N} r_k,\qquad r_{UB}=\max_{0\le k<N} r_k .rLB​=0≤k<Nmin​rk​,rUB​=0≤k<Nmax​rk​.

Then there are integer vectors z0,…,zN−1∈Znz_0,\dots,z_{N-1}\in\mathbb Z^nz0​,…,zN−1​∈Zn such that

xN=x0+(βrLBα−rUB)Δ0 B∑k=0N−1zk.x_N=x_0+\bigl(\beta^{r_{LB}}\alpha^{-r_{UB}}\bigr)\Delta_0\,B\sum_{k=0}^{N-1}z_k .xN​=x0​+(βrLB​α−rUB​)Δ0​Bk=0∑N−1​zk​.

The theorem says that the iterates are confined to a translated integer lattice whose mesh size is controlled by the extreme step lengths; combined with compactness of the level set, it forces the iterates to take only finitely many values when Δk\Delta_kΔk​ is bounded away from zero, which drives the proof that lim inf⁡kΔk=0\liminf_k\Delta_k=0liminfk​Δk​=0.

Formalization Note The sequence rkr_krk​ is taken as a hypothesis Δk=τrkΔ0\Delta_k=\tau^{r_k}\Delta_0Δk​=τrk​Δ0​ for all kkk (it is uniquely determined, since τ>1\tau>1τ>1 and Δ0>0\Delta_0>0Δ0​>0). rLBr_{LB}rLB​ and rUBr_{UB}rUB​ are pinned to the minimum and maximum over 0≤k<N0\le k<N0≤k<N, as identified on p. 10 of the paper; the case N=0N=0N=0 is excluded because these are undefined for an empty range (for N=0N=0N=0 the statement is trivial with an empty sum). The paper quotes this result from Torczon (1997), Theorem 3.2.

Preamble
import Mathlib
import Definitions.Def_LewisTorczon_BoundPS_Box
import Definitions.Def_LewisTorczon_BoundPS_ProjQ
import Definitions.Def_LewisTorczon_BoundPS_GPS
Formal statement
namespace LewisTorczon.BoundPS

/-- **Theorem 2.2** (Theorem 3.2 of Torczon 1997), p. 5, eq. (5), with `r_LB`, `r_UB` as identified
on p. 10: write `τ = β/α` with `α, β ∈ ℕ` coprime, and `Δ_k = τ^{r_k} Δ_0` with `r_k ∈ ℤ`. For
every `N ≥ 1` there are integer vectors `z_0, …, z_{N-1}` with
`x_N = x_0 + (β^{r_LB} α^{-r_UB}) Δ_0 B Σ_{k=0}^{N-1} z_k`, where
`r_LB = min_{0 ≤ k < N} r_k` and `r_UB = max_{0 ≤ k < N} r_k`. -/
theorem theorem_2_2 {n m : ℕ} (P : GPSParams n) (lo hi : Fin n → EReal)
    (hlohi : ∀ j, lo j < hi j) (f : EuclideanSpace ℝ (Fin n) → ℝ) (R : GPSRun n m)
    (hR : IsGPSRun P lo hi f R) (α β : ℕ) (hα : 0 < α) (hcop : Nat.Coprime α β)
    (hτ : P.τ = (β : ℚ) / (α : ℚ)) (r : ℕ → ℤ)
    (hr : ∀ k, R.Δ k = (P.τ : ℝ) ^ r k * R.Δ 0) (N : ℕ) (hN : 1 ≤ N) :
    ∃ z : ℕ → (Fin n → ℤ),
      R.x N = R.x 0 +
        ((β : ℝ) ^ ((Finset.range N).inf' (Finset.nonempty_range_iff.mpr (by omega)) r) *
            (α : ℝ) ^ (-((Finset.range N).sup' (Finset.nonempty_range_iff.mpr (by omega)) r)) *
            R.Δ 0) •
          WithLp.toLp 2 (P.B.mulVec (fun i => (((∑ k ∈ Finset.range N, z k i : ℤ)) : ℝ))) := by sorry

end LewisTorczon.BoundPS
Source
Lewis & Torczon, Pattern Search Algorithms for Bound Constrained Minimization, ICASE Report No. 96-20 (NASA CR-198306), March 1996, p. 5, Theorem 2.2 (Theorem 3.2 from [14]), eq. (5); r_LB, r_UB as identified on p. 10 (proof of Theorem 4.5)
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