Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(8), (11), (13) — the pathwise expansion θn−θ⋆=θ~n(tr)+Jn(0)+Jn(1)+Hn(1)\theta_n-\theta^\star=\tilde\theta^{(\mathrm{tr})}_n+J^{(0)}_n+J^{(1)}_n+H^{(1)}_nθn​−θ⋆=θ~n(tr)​+Jn(0)​+Jn(1)​+Hn(1)​

Proved
LSAPR.decomposition_8_13

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-approximation

Let Aˉθ⋆=bˉ\bar{\mathbf A}\theta^\star=\bar{\mathbf b}Aˉθ⋆=bˉ, α>0\alpha>0α>0, θ0∈Rd\theta_0\in\mathbb R^dθ0​∈Rd, and let (Zk)(Z_k)(Zk​) be any sequence in Z\mathsf ZZ. Let θn\theta_nθn​ be the LSA iterates (1), θ~n(tr)=Γ1:n(α)(θ0−θ⋆)\tilde\theta^{(\mathrm{tr})}_n=\Gamma^{(\alpha)}_{1:n}(\theta_0-\theta^\star)θ~n(tr)​=Γ1:n(α)​(θ0​−θ⋆) the transient term (4), and let J(0),H(0),J(1),H(1)J^{(0)},H^{(0)},J^{(1)},H^{(1)}J(0),H(0),J(1),H(1) be defined by the recursions (9), (10), (12). Then for every n∈Nn\in\mathbb Nn∈N,

θn−θ⋆=θ~n(tr)+Jn(0)+Hn(0),Hn(0)=Jn(1)+Hn(1),\theta_n-\theta^\star=\tilde\theta^{(\mathrm{tr})}_n+J^{(0)}_n+H^{(0)}_n,\qquad H^{(0)}_n=J^{(1)}_n+H^{(1)}_n,θn​−θ⋆=θ~n(tr)​+Jn(0)​+Hn(0)​,Hn(0)​=Jn(1)​+Hn(1)​,

and consequently

θn−θ⋆=θ~n(tr)+Jn(0)+Jn(1)+Hn(1).\theta_n-\theta^\star=\tilde\theta^{(\mathrm{tr})}_n+J^{(0)}_n+J^{(1)}_n+H^{(1)}_n.θn​−θ⋆=θ~n(tr)​+Jn(0)​+Jn(1)​+Hn(1)​.

The paper calls the last display the cornerstone of its analysis. No probability is involved: the identities hold along every path.

Differences from the source:

  • encoding: (8) is about θ̃^(fl)_n, with θ_n − θ⋆ = θ̃^(tr)_n + θ̃^(fl)_n (p.3) → the first clause states θ_n − θ⋆ = tr + J⁽⁰⁾ + H⁽⁰⁾ directly; reason: θ̃^(fl)_n is not a separate Lean object; substituting (8) in the display of p.3 gives this clause
Preamble
import Mathlib
import Definitions.Def_PolyakJuditsky_Averaging_Model
import Definitions.Def_LSAPR_Model

open MeasureTheory ProbabilityTheory PolyakJuditsky.Averaging
Formal statement
namespace LSAPR

/-- The pathwise error expansions (8), (11) and (13), arXiv:2207.04475v2, pp.3–5: along every
sample path and for every `n`, with `θ̃^{(tr)}_n = Γ^{(α)}_{1:n}(θ₀ - θ⋆)` ((4), p.3) and
`θ̃^{(fl)}_n = J^{(0)}_n + H^{(0)}_n`,
`θ_n - θ⋆ = θ̃^{(tr)}_n + J^{(0)}_n + H^{(0)}_n` and `H^{(0)}_n = J^{(1)}_n + H^{(1)}_n`, hence
(13) `θ_n - θ⋆ = θ̃^{(tr)}_n + J^{(0)}_n + J^{(1)}_n + H^{(1)}_n`. -/
theorem decomposition_8_13 {d : ℕ} {Z : Type*} [MeasurableSpace Z] (π : Measure Z)
    (A : Z → Mat d) (b : Z → Vec d) (θstar : Vec d)
    (hsol : matApply (Abar π A) θstar = bbar π b)
    (α : ℝ) (hα : 0 < α) (θ0 : Vec d) (Zpath : ℕ → Z) (n : ℕ) :
    lsaIter α A b θ0 Zpath n - θstar =
        matApply (Gamma α A Zpath 1 n) (θ0 - θstar)
          + J0 (Abar π A) (epsNoise π A b θstar) α Zpath n
          + H0 (Abar π A) A (epsNoise π A b θstar) α Zpath n ∧
      H0 (Abar π A) A (epsNoise π A b θstar) α Zpath n =
        J1 (Abar π A) A (epsNoise π A b θstar) α Zpath n
          + H1 (Abar π A) A (epsNoise π A b θstar) α Zpath n ∧
      lsaIter α A b θ0 Zpath n - θstar =
        matApply (Gamma α A Zpath 1 n) (θ0 - θstar)
          + J0 (Abar π A) (epsNoise π A b θstar) α Zpath n
          + J1 (Abar π A) A (epsNoise π A b θstar) α Zpath n
          + H1 (Abar π A) A (epsNoise π A b θstar) α Zpath n := by sorry

end LSAPR
Source
Durmus, Moulines, Naumov & Samsonov, Finite-time High-probability Bounds for Polyak-Ruppert Averaged Iterates of Linear Stochastic Approximation, arXiv:2207.04475v2, (8) p.4, (11) and (13) p.5
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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