Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4, p. 21 — discrete Dynkin formula: if f(z) = E[u(Y₂)|Y₁ = z] − u(z) then Σ_{s≤t} E f(Y_s) = E u(Y_{t+1}) − E u(Y₁)

Proved
SpreadBetting.Inertial.lemma_4

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynkin-formulamarkov-chainp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (Yt)t≥1(Y_t)_{t \ge 1}(Yt​)t≥1​ be a time-homogeneous Markov chain on a measurable space SSS with transition kernel KKK and an arbitrary initial law. Let u,f:S→Ru, f : S \to \mathbb Ru,f:S→R satisfy

f(z)=E[u(Y2)∣Y1=z]−u(z)=∫u dK(z,⋅)−u(z)for all z∈S.f(z) = \mathbb E[u(Y_2) \mid Y_1 = z] - u(z) = \int u \, dK(z,\cdot) - u(z)\quad\text{for all } z \in S.f(z)=E[u(Y2​)∣Y1​=z]−u(z)=∫udK(z,⋅)−u(z)for all z∈S.

Then for every ttt,

Ef(Y1)+Ef(Y2)+⋯+Ef(Yt)=Eu(Yt+1)−Eu(Y1).\mathbb E f(Y_1) + \mathbb E f(Y_2) + \cdots + \mathbb E f(Y_t) = \mathbb E u(Y_{t+1}) - \mathbb E u(Y_1).Ef(Y1​)+Ef(Y2​)+⋯+Ef(Yt​)=Eu(Yt+1​)−Eu(Y1​).

This identity is the paper's main tool: solving the difference equation for uuu turns a ttt-period sum of expectations into two terminal expectations.

Formalization Note The chain is the canonical (Ionescu–Tulcea) process Kernel.trajMeasure μ₀ (markovChainStep K), indexed from 000, so Ys+1Y_{s+1}Ys+1​ is ωs\omega_sωs​. The paper's S⊂RS \subset \mathbb RS⊂R is generalized to any measurable space. Added hypotheses, which the paper takes for granted: uuu is measurable, uuu is integrable under each K(z,⋅)K(z,\cdot)K(z,⋅), and u(Ys)u(Y_s)u(Ys​) is integrable for every sss.

Preamble
import Mathlib
import Definitions.Def_GittinsIndex
Formal statement
namespace SpreadBetting.Inertial

open MeasureTheory ProbabilityTheory Filter Topology

theorem lemma_4 {S : Type*} [MeasurableSpace S] (K : Kernel S S) [IsMarkovKernel K]
    (μ₀ : Measure S) [IsProbabilityMeasure μ₀] (u fn : S → ℝ) (hu : Measurable u)
    (huK : ∀ z, Integrable u (K z)) (hf : ∀ z, fn z = (∫ y, u y ∂(K z)) - u z)
    (hint : ∀ s : ℕ, Integrable (fun ω : ℕ → S => u (ω s))
      (Kernel.trajMeasure (X := fun _ => S) μ₀ (BanditAlgorithm.markovChainStep K))) :
    ∀ t : ℕ, ∑ s ∈ Finset.range t,
        ∫ ω, fn (ω s) ∂(Kernel.trajMeasure (X := fun _ => S) μ₀ (BanditAlgorithm.markovChainStep K))
      = (∫ ω, u (ω t) ∂(Kernel.trajMeasure (X := fun _ => S) μ₀ (BanditAlgorithm.markovChainStep K)))
        - ∫ ω, u (ω 0) ∂(Kernel.trajMeasure (X := fun _ => S) μ₀ (BanditAlgorithm.markovChainStep K)) := by sorry

end SpreadBetting.Inertial
Source
Birge, Feng, Keskin & Schultz, SSRN 3283392 (version of April 14, 2020), p. 21, Lemma 4; proof in Appendix F, pp. 47–48
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 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