Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1, p. 1378 — a solution of (3)/(4) above the switch-at-once revenue is the optimal stopping value

Disproved
PriceSwitch.UpOrDown.lemma1_verification

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

dynamic-pricingoptimal-stoppingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1poisson-processverification-theorem

Let NNN be a Poisson process with intensity λa>0\lambda_a > 0λa​>0 (the demand at the current price aaa), and let g(m,u)g(m,u)g(m,u) be a terminal revenue with g(0,u)=0g(0,u) = 0g(0,u)=0 and g(m,⋅)g(m,\cdot)g(m,⋅) continuous on [0,∞)[0,\infty)[0,∞) for each mmm. Write J(n,t)=sup⁡τ∈TE[amin⁡(n,N(τ))+g(n−N(τ),t−τ)]J(n,t) = \sup_{\tau \in \mathcal T} E[a\min(n,N(\tau)) + g(n - N(\tau), t - \tau)]J(n,t)=supτ∈T​E[amin(n,N(τ))+g(n−N(τ),t−τ)] for the optimal stopping value. Suppose V(n,t)V(n,t)V(n,t), n∈Z+n \in \mathbb Z_+n∈Z+​, t≥0t \ge 0t≥0, satisfies

  1. V(0,t)=0V(0,t) = 0V(0,t)=0 and, for n≥1n \ge 1n≥1, V(n,0)=g(n,0)V(n,0) = g(n,0)V(n,0)=g(n,0) and V(n,t)≥g(n,t)V(n,t) \ge g(n,t)V(n,t)≥g(n,t);
  2. V(n,⋅)V(n,\cdot)V(n,⋅) is Lipschitz on every interval [0,R][0,R][0,R];
  3. at every t>0t > 0t>0 where V(n,⋅)V(n,\cdot)V(n,⋅) is differentiable,
∂V(n,t)∂t=aλa−λa[V(n,t)−V(n−1,t)]if V(n,t)>g(n,t),(3)\frac{\partial V(n,t)}{\partial t} = a\lambda_a - \lambda_a\bigl[V(n,t) - V(n-1,t)\bigr] \quad \text{if } V(n,t) > g(n,t), \tag{3}∂t∂V(n,t)​=aλa​−λa​[V(n,t)−V(n−1,t)]if V(n,t)>g(n,t),(3) ∂V(n,t)∂t≥aλa−λa[V(n,t)−V(n−1,t)]if V(n,t)=g(n,t).(4)\frac{\partial V(n,t)}{\partial t} \ge a\lambda_a - \lambda_a\bigl[V(n,t) - V(n-1,t)\bigr] \quad \text{if } V(n,t) = g(n,t). \tag{4}∂t∂V(n,t)​≥aλa​−λa​[V(n,t)−V(n−1,t)]if V(n,t)=g(n,t).(4)

Then V(n,t)=J(n,t)V(n,t) = J(n,t)V(n,t)=J(n,t) for all nnn and all t≥0t \ge 0t≥0.

This is the verification criterion of the paper. In §5 it is applied with the initial price ppp, intensity λ\lambdaλ, and g=J(⋅,⋅;0)=max⁡{J1(⋅,⋅;0),J2(⋅,⋅;0)}g = J(\cdot,\cdot;0) = \max\{J^1(\cdot,\cdot;0), J^2(\cdot,\cdot;0)\}g=J(⋅,⋅;0)=max{J1(⋅,⋅;0),J2(⋅,⋅;0)} ("Lemma 1 applies, with N(t)N(t)N(t) taking the place of N1(t)N_1(t)N1​(t)", p. 1385); the proof of Theorem 3 ends by checking its conditions.

Formalization Note Lemma 1 as printed is false: with n=1n = 1n=1, V(0,⋅)=0V(0,\cdot) = 0V(0,⋅)=0 and V(1,t)=p1+(c−p1)e−λ1tV(1,t) = p_1 + (c - p_1)e^{-\lambda_1 t}V(1,t)=p1​+(c−p1​)e−λ1​t, c≥p1c \ge p_1c≥p1​, in case (i), (3) holds, (4) is vacuous, and yet J(1,t)<p1J(1,t) < p_1J(1,t)<p1​. The statement adds the four conditions the page's proof uses: V(n,0)=g(n,0)V(n,0) = g(n,0)V(n,0)=g(n,0) (the proof stops at σ=t\sigma = tσ=t), V(0,⋅)=g(0,⋅)=0V(0,\cdot) = g(0,\cdot) = 0V(0,⋅)=g(0,⋅)=0 (stock runs out; "J(n,t;0)≐0J(n,t;0) \doteq 0J(n,t;0)≐0 for n≤0n \le 0n≤0"), V≥gV \ge gV≥g (used in the proof's last step and stated on p. 1379), and local Lipschitz continuity in place of "continuous and almost everywhere differentiable", which does not give the fundamental theorem of calculus that the Brémaud decomposition needs. The terminal function ggg replaces J(⋅,⋅;0)J(\cdot,\cdot;0)J(⋅,⋅;0), as the page allows (p. 1379); only its continuity is assumed. The rate enters through IsExpInterarrivals P la T; IsProbabilityMeasure P is redundant given it and is stated for convenience.

Preamble
import Mathlib
import Definitions.Def_PriceSwitch_Markdown_Model
Formal statement
namespace PriceSwitch.UpOrDown

open MeasureTheory QueueingFundamentals.Foundations

variable {Ω : Type*} [MeasurableSpace Ω]

/-- Feng–Gallego (1995), Lemma 1, p. 1378, with the boundary, zero-stock, obstacle and
absolute-continuity conditions used by its proof made explicit. -/
theorem lemma1_verification
    (P : Measure Ω) [IsProbabilityMeasure P] (T : ℕ → Ω → ℝ) (a la : ℝ) (hla : 0 < la)
    (hT : IsExpInterarrivals P la T)
    (g : ℕ → ℝ → ℝ) (hg0 : ∀ u, 0 ≤ u → g 0 u = 0) (hgc : ∀ m, ContinuousOn (g m) (Set.Ici 0))
    (V : ℕ → ℝ → ℝ)
    (hV0 : ∀ u, 0 ≤ u → V 0 u = 0)
    (hVinit : ∀ n, 1 ≤ n → V n 0 = g n 0)
    (hVge : ∀ n, 1 ≤ n → ∀ u, 0 ≤ u → g n u ≤ V n u)
    (hVlip : ∀ n, 1 ≤ n → ∀ R : ℝ, ∃ K, LipschitzOnWith K (V n) (Set.Icc 0 R))
    (h3 : ∀ n, 1 ≤ n → ∀ u, 0 < u → g n u < V n u → ∀ d, HasDerivAt (V n) d u →
      d = a * la - la * (V n u - V (n - 1) u))
    (h4 : ∀ n, 1 ≤ n → ∀ u, 0 < u → V n u = g n u → ∀ d, HasDerivAt (V n) d u →
      a * la - la * (V n u - V (n - 1) u) ≤ d) :
    ∀ n t, 0 ≤ t → V n t = PriceSwitch.Markdown.stopValue P T a g n t := by sorry

end PriceSwitch.UpOrDown
Source
Feng & Gallego (1995), Management Science 41(8), Lemma 1, p. 1378; applied in §5, p. 1385
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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