Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.1, p. 13 — under (3.14) and (3.12′), the derivative u*′(·, x) is continuous on [θ₀ − ε, θ₀ + ε]

Open
LyapDiffMC.RandomHorizon.proof_3_1_derivative_continuity

by tianyipeng · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

derivativelyapunov-functionmarkov-chainsensitivity-analysis

Throughout, SSS is a measurable state space, (P(θ):θ∈Λ)(P(\theta):\theta\in\Lambda)(P(θ):θ∈Λ) a family of Markov transition kernels on SSS indexed by an open interval Λ=(a,b)\Lambda=(a,b)Λ=(a,b), f,g:S→Rf, g : S\to\mathbb Rf,g:S→R measurable, and ∅≠C⊆S\emptyset\neq C\subseteq S∅=C⊆S measurable. The non-negative kernel K(θ,x,dy)=eg(x)P(θ,x,dy)K(\theta,x,dy)=e^{g(x)}P(\theta,x,dy)K(θ,x,dy)=eg(x)P(θ,x,dy) restricted to y∈Cy\in Cy∈C is K(θ)K(\theta)K(θ), its powers are Kn(θ)K^n(\theta)Kn(θ) (K0(x,dy)=δx(dy)K^0(x,dy)=\delta_x(dy)K0(x,dy)=δx​(dy)), G(θ,x,dy)=∑n≥0Kn(θ,x,dy)G(\theta,x,dy)=\sum_{n\ge0}K^n(\theta,x,dy)G(θ,x,dy)=∑n≥0​Kn(θ,x,dy) (possibly an infinite measure), f~(θ,x)=f(x)+∫CcK(θ,x,dy)f(y)\tilde f(\theta,x)=f(x)+\int_{C^c}K(\theta,x,dy)f(y)f~​(θ,x)=f(x)+∫Cc​K(θ,x,dy)f(y), and u∗(θ,x)=∑n≥0(Kn(θ)f~(θ))(x)=∫f~(θ,y) G(θ,x,dy)u^*(\theta,x)=\sum_{n\ge0}(K^n(\theta)\tilde f(\theta))(x)=\int \tilde f(\theta,y)\,G(\theta,x,dy)u∗(θ,x)=∑n≥0​(Kn(θ)f~​(θ))(x)=∫f~​(θ,y)G(θ,x,dy). Write K=K(θ0)K=K(\theta_0)K=K(θ0​) and G=G(θ0)G=G(\theta_0)G=G(θ0​).

Let k(θ,x,y)k(\theta,x,y)k(θ,x,y) be a measurable density with K(θ,x,dy)=k(θ,x,y)K(x,dy)K(\theta,x,dy)=k(\theta,x,y)K(x,dy)K(θ,x,dy)=k(θ,x,y)K(x,dy) for θ∈Λ\theta\in\Lambdaθ∈Λ, x∈Cx\in Cx∈C and all yyy (A1 for y∈Cy\in Cy∈C, A3 for y∈Ccy\in C^cy∈Cc), such that k(⋅,x,y)k(\cdot,x,y)k(⋅,x,y) is continuously differentiable on [θ0−ε,θ0+ε]⊆Λ[\theta_0-\varepsilon,\theta_0+\varepsilon]\subseteq\Lambda[θ0​−ε,θ0​+ε]⊆Λ with derivative k′(⋅,x,y)k'(\cdot,x,y)k′(⋅,x,y) (A2, A3). Put ωε(x,y)=sup⁡∣θ−θ0∣<ε∣k′(θ,x,y)∣\omega_\varepsilon(x,y)=\sup_{|\theta-\theta_0|<\varepsilon}|k'(\theta,x,y)|ωε​(x,y)=sup∣θ−θ0​∣<ε​∣k′(θ,x,y)∣ (written ω~ε\tilde\omega_\varepsilonω~ε​ when y∈Ccy\in C^cy∈Cc), k′(x,y)=k′(θ0,x,y)k'(x,y)=k'(\theta_0,x,y)k′(x,y)=k′(θ0​,x,y), and r~ε(x)=∫Ccω~ε(x,y)∣f(y)∣K(x,dy)\tilde r_\varepsilon(x)=\int_{C^c}\tilde\omega_\varepsilon(x,y)|f(y)|K(x,dy)r~ε​(x)=∫Cc​ω~ε​(x,y)∣f(y)∣K(x,dy), assumed finite for x∈Cx\in Cx∈C (A3). Assume fff is integrable on CcC^cCc against K(θ,x,⋅)K(\theta,x,\cdot)K(θ,x,⋅) for ∣θ−θ0∣<ε|\theta-\theta_0|<\varepsilon∣θ−θ0​∣<ε, x∈Cx\in Cx∈C, so that f~(θ,x)\tilde f(\theta,x)f~​(θ,x) is a real number.

Let v0,v1v_0,v_1v0​,v1​ be finite non-negative measurable functions on CCC with

(K(θ)v0)(x)≤v0(x)−∣f~(θ,x)∣(x∈C, ∣θ−θ0∣<ε),(3.11)(K(\theta)v_0)(x)\le v_0(x)-|\tilde f(\theta,x)|\quad(x\in C,\ |\theta-\theta_0|<\varepsilon),\tag{3.11}(K(θ)v0​)(x)≤v0​(x)−∣f~​(θ,x)∣(x∈C, ∣θ−θ0​∣<ε),(3.11) (Kv1)(x)≤v1(x)−∫Cωε(x,y)v0(y)K(x,dy)−r~ε(x)(x∈C).(3.12)(Kv_1)(x)\le v_1(x)-\int_C\omega_\varepsilon(x,y)v_0(y)K(x,dy)-\tilde r_\varepsilon(x)\quad(x\in C).\tag{3.12}(Kv1​)(x)≤v1​(x)−∫C​ωε​(x,y)v0​(y)K(x,dy)−r~ε​(x)(x∈C).(3.12)

Assume in addition

∫Cωε(x,y)v1(y)K(x,dy)<∞(x∈C)(3.14)\int_C\omega_\varepsilon(x,y)v_1(y)K(x,dy)<\infty\quad(x\in C)\tag{3.14}∫C​ωε​(x,y)v1​(y)K(x,dy)<∞(x∈C)(3.14)

and, for θ∈[θ0−ε,θ0+ε]\theta\in[\theta_0-\varepsilon,\theta_0+\varepsilon]θ∈[θ0​−ε,θ0​+ε] and x∈Cx\in Cx∈C, (K(\theta)v_1)(x)\le v_1(x)-\int_C\omega_\varepsilon(x,y)v_0(y)K(\theta,x,dy)-\int_{C^c}\tilde\omega_\varepsilon(x,y)|f(y)|K(\theta,x,dy).\tag{3.12$'$} Let u∗′(θ,x)u^{*\prime}(\theta,x)u∗′(θ,x) denote the derivative of u∗(⋅,x)u^*(\cdot,x)u∗(⋅,x) within [θ0−ε,θ0+ε][\theta_0-\varepsilon,\theta_0+\varepsilon][θ0​−ε,θ0​+ε] (one-sided at the endpoints). Then for every x∈Cx\in Cx∈C,

θ↦u∗′(θ,x)  is continuous on [θ0−ε,θ0+ε],\theta\mapsto u^{*\prime}(\theta,x)\ \text{ is continuous on }[\theta_0-\varepsilon,\theta_0+\varepsilon],θ↦u∗′(θ,x)  is continuous on [θ0​−ε,θ0​+ε],

i.e. u∗′(θ+h,x)−u∗′(θ,x)→0u^{*\prime}(\theta+h,x)-u^{*\prime}(\theta,x)\to0u∗′(θ+h,x)−u∗′(θ,x)→0 as h→0h\to0h→0 with θ,θ+h∈[θ0−ε,θ0+ε]\theta,\theta+h\in[\theta_0-\varepsilon,\theta_0+\varepsilon]θ,θ+h∈[θ0​−ε,θ0​+ε].

This is the final step of the proof of Theorem 3.1 (II) (p. 13, "Turning to the continuity of u∗′(⋅,x)u^{*\prime}(\cdot,x)u∗′(⋅,x) ... shows that u∗′(θ+h)−u∗′(θ)→0u^{*\prime}(\theta+h)-u^{*\prime}(\theta)\to0u∗′(θ+h)−u∗′(θ)→0"). Together with the differentiated equation proof_3_1_derivative_equation (which provides the derivative within the interval at every point), it gives clause (II) of Theorem 3.1: u∗(⋅,x)u^*(\cdot,x)u∗(⋅,x) is continuously differentiable on [θ0−ε,θ0+ε][\theta_0-\varepsilon,\theta_0+\varepsilon][θ0​−ε,θ0​+ε], with one-sided derivatives at the endpoints.

Formalization Note The hypotheses are exactly those of LyapDiffMC.RandomHorizon.proof_3_1_derivative_equation (the hypotheses of Theorem 3.1 together with (3.14) and (3.12′'′)). The derivative is Mathlib's derivWithin on Set.Icc (θ₀ - ε) (θ₀ + ε); continuity is ContinuousOn on the closed interval. The statement is implied by clause (II) of theorem_3_1 (a C1C^1C1 function on a closed interval has a continuous derivative within it).

Preamble
import Mathlib
import Definitions.Def_LyapDiffMC_RandomHorizon_Model

open MeasureTheory ProbabilityTheory
open scoped ENNReal
Formal statement
namespace LyapDiffMC.RandomHorizon

/-- Proof of Theorem 3.1, continuity of the derivative (p. 13). Under the hypotheses of
Theorem 3.1 together with (3.14) and (3.12′), for every `x ∈ C` the derivative
`u*′(θ, x)` of `u*(·, x)` within `[θ₀ - ε, θ₀ + ε]` depends continuously on
`θ ∈ [θ₀ - ε, θ₀ + ε]`. -/
theorem proof_3_1_derivative_continuity {S : Type*} [MeasurableSpace S] (M : Setting S)
    (a b θ₀ ε : ℝ) (hθ₀ : θ₀ ∈ Set.Ioo a b) (hε : 0 < ε)
    (hεΛ : Set.Icc (θ₀ - ε) (θ₀ + ε) ⊆ Set.Ioo a b)
    (k : ℝ → S → S → ℝ)
    (hk_meas : ∀ θ ∈ Set.Ioo a b, Measurable (Function.uncurry (k θ)))
    -- A1 and A3: K(θ, x, dy) = k(θ, x, y) K(θ₀, x, dy) for x ∈ C, y ∈ C and y ∈ Cᶜ
    (hA13 : ∀ θ ∈ Set.Ioo a b, ∀ x ∈ M.C,
      discKernel M θ x = (discKernel M θ₀ x).withDensity (fun y => ENNReal.ofReal (k θ x y)))
    (hk_nonneg : ∀ θ ∈ Set.Ioo a b, ∀ x ∈ M.C, ∀ᵐ y ∂(discKernel M θ₀ x), 0 ≤ k θ x y)
    -- A2 and A3: k(·, x, y) is continuously differentiable on [θ₀ - ε, θ₀ + ε]
    (hA2 : ∀ x ∈ M.C, ∀ y, ContDiffOn ℝ 1 (fun θ => k θ x y) (Set.Icc (θ₀ - ε) (θ₀ + ε)))
    -- A3: r̃_ε(x) < ∞
    (hA3 : ∀ x ∈ M.C, rtilde M k θ₀ ε x < ⊤)
    -- f̃(θ, x) in (3.11) is a real number
    (hf_int : ∀ θ ∈ Set.Ioo (θ₀ - ε) (θ₀ + ε), ∀ x ∈ M.C,
      IntegrableOn M.f M.Cᶜ (discKernel M θ x))
    (v₀ v₁ : S → ℝ) (hv₀ : Measurable v₀) (hv₁ : Measurable v₁)
    (hv₀_nn : ∀ x ∈ M.C, 0 ≤ v₀ x) (hv₁_nn : ∀ x ∈ M.C, 0 ≤ v₁ x)
    -- (3.11)
    (h311 : ∀ θ ∈ Set.Ioo (θ₀ - ε) (θ₀ + ε), ∀ x ∈ M.C,
      ∫⁻ y in M.C, ENNReal.ofReal (v₀ y) ∂(discKernel M θ x) + ‖ftilde M θ x‖ₑ
        ≤ ENNReal.ofReal (v₀ x))
    -- (3.12)
    (h312 : ∀ x ∈ M.C,
      ∫⁻ y in M.C, ENNReal.ofReal (v₁ y) ∂(discKernel M θ₀ x)
        + ∫⁻ y in M.C, omega k θ₀ ε x y * ENNReal.ofReal (v₀ y) ∂(discKernel M θ₀ x)
        + rtilde M k θ₀ ε x ≤ ENNReal.ofReal (v₁ x))
    -- (3.14)
    (h314 : ∀ x ∈ M.C,
      ∫⁻ y in M.C, omega k θ₀ ε x y * ENNReal.ofReal (v₁ y) ∂(discKernel M θ₀ x) < ⊤)
    -- (3.12′)
    (h312' : ∀ θ ∈ Set.Icc (θ₀ - ε) (θ₀ + ε), ∀ x ∈ M.C,
      ∫⁻ y in M.C, ENNReal.ofReal (v₁ y) ∂(discKernel M θ x)
        + ∫⁻ y in M.C, omega k θ₀ ε x y * ENNReal.ofReal (v₀ y) ∂(discKernel M θ x)
        + ∫⁻ y in M.Cᶜ, omega k θ₀ ε x y * ‖M.f y‖ₑ ∂(discKernel M θ x)
        ≤ ENNReal.ofReal (v₁ x)) :
    ∀ x ∈ M.C, ContinuousOn
      (fun θ => derivWithin (fun t => uStar M t x) (Set.Icc (θ₀ - ε) (θ₀ + ε)) θ)
      (Set.Icc (θ₀ - ε) (θ₀ + ε)) := by sorry

end LyapDiffMC.RandomHorizon
Source
Rhee, Glynn, Lyapunov Conditions for Differentiability of Markov Chain Expectations, arXiv:1707.03870v1, p. 13, proof of Theorem 3.1 ("Turning to the continuity of u*′(·, x) ... shows that u*′(θ + h) − u*′(θ) → 0 for θ ∈ [θ0 − ε, θ0 + ε]")

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