Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Shift identity (p. 290) — Φ(ω, s) = L(ω, δ₁) + P(δ₁) Φ(T_{δ₁} ω, s′)

Proved
KarlinDP.Deterministic.totalYield_shift

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

dynamic-programmingp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the setting of Karlin's deterministic model (Ω\OmegaΩ Hausdorff, DDD nonempty compact Hausdorff, L≥0L \ge 0L≥0 continuous on Ω×D\Omega \times DΩ×D, (δ,ω)↦Tδ ω(\delta, \omega) \mapsto T_\delta\,\omega(δ,ω)↦Tδ​ω continuous, P>0P > 0P>0 continuous, ω1=ω\omega_1 = \omegaω1​=ω, ωn=Tδn−1 ωn−1\omega_n = T_{\delta_{n-1}}\,\omega_{n-1}ωn​=Tδn−1​​ωn−1​, Pn(s)=∏i=1n−1P(δi)P_n(s) = \prod_{i=1}^{n-1} P(\delta_i)Pn​(s)=∏i=1n−1​P(δi​)), let ω∈Ω\omega \in \Omegaω∈Ω and let s=(δ1,δ2,… )s = (\delta_1, \delta_2, \dots)s=(δ1​,δ2​,…) be a strategy whose yield series ∑nL(ωn,δn)Pn(s)\sum_{n} L(\omega_n, \delta_n) P_n(s)∑n​L(ωn​,δn​)Pn​(s) converges. Write s′=(δ2,δ3,… )s' = (\delta_2, \delta_3, \dots)s′=(δ2​,δ3​,…) for the shifted strategy. Then

Φ(ω,s)=L(ω,δ1)+P(δ1) Φ(Tδ1 ω,s′).\Phi(\omega, s) = L(\omega, \delta_1) + P(\delta_1)\, \Phi(T_{\delta_1}\,\omega, s').Φ(ω,s)=L(ω,δ1​)+P(δ1​)Φ(Tδ1​​ω,s′).

The identity splits off the first stage: after the first decision, the remaining yield is the yield of the shifted strategy from the next state, scaled by P(δ1)P(\delta_1)P(δ1​). It is the step from which the functional equation (2) is derived.

Formalization Note The shift is fun k => s (k + 1). The paper states the identity inside a maximum over sss; this item is the pointwise identity for each sss. Summability of the series for this particular sss is assumed; it follows from the uniform convergence (1) and is needed because Lean's tsum of a non-summable series is 000. The model's standing hypotheses (continuity, compactness, joint continuity of TTT as in Theorem 1) are kept as in every item of the mission.

Preamble
import Mathlib
import Definitions.Def_KarlinDP_Deterministic_Model
Formal statement
namespace KarlinDP.Deterministic

/-- The shift identity (Karlin 1955, p. 290, first display): for every strategy
`s = (δ₁, δ₂, …)` whose yield series is summable, with `s' = (δ₂, δ₃, …)`,
`Φ(ω, s) = L(ω, δ₁) + P(δ₁) Φ(T_{δ₁} ω, s')`. -/
theorem totalYield_shift {Ω D : Type*} [TopologicalSpace Ω] [T2Space Ω]
    [TopologicalSpace D] [CompactSpace D] [T2Space D] [Nonempty D]
    (L : Ω → D → ℝ) (T : D → Ω → Ω) (P : D → ℝ)
    (hL0 : ∀ ω δ, 0 ≤ L ω δ) (hL : Continuous (fun p : Ω × D => L p.1 p.2))
    (hT : Continuous (fun p : D × Ω => T p.1 p.2))
    (hP0 : ∀ δ, 0 < P δ) (hP : Continuous P)
    (ω : Ω) (s : ℕ → D)
    (hsum : Summable (fun n => L (trajectory T ω s n) (s n) * weight P s n)) :
    totalYield L T P ω s
      = L ω (s 0) + P (s 0) * totalYield L T P (T (s 0) ω) (fun k => s (k + 1)) := by sorry

end KarlinDP.Deterministic
Source
Karlin, The Structure of Dynamic Programing Models, Naval Res. Logist. Quart. 2(4), 1955, p. 290, §Functional Equation for the Optimal Strategy, first display (lines 2–3; printed slip Π P(δ_1) read as Π P(δ_i))
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me