Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — verification of the optimal stopping value

Disproved
PriceSwitch.Markdown.lemma1_verification

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

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

Let NNN be a Poisson counting process with positive rate λa\lambda_aλa​ on a probability space, and let aaa be its initial price. Let g(n,t)g(n,t)g(n,t) be the revenue available after stopping, with g(0,t)=0g(0,t)=0g(0,t)=0 and continuous time dependence. Suppose V(0,t)=0V(0,t)=0V(0,t)=0, V(n,0)=g(n,0)V(n,0)=g(n,0)V(n,0)=g(n,0), V(n,t)≥g(n,t)V(n,t)\ge g(n,t)V(n,t)≥g(n,t), and each V(n,⋅)V(n,\cdot)V(n,⋅) is locally Lipschitz for n≥1n\ge1n≥1. At every positive time where its derivative exists, suppose

∂V(n,t)∂t=aλa−λa[V(n,t)−V(n−1,t)]if V(n,t)>g(n,t),\frac{\partial V(n,t)}{\partial t}=a\lambda_a-\lambda_a[V(n,t)-V(n-1,t)]\quad\text{if }V(n,t)>g(n,t),∂t∂V(n,t)​=aλa​−λa​[V(n,t)−V(n−1,t)]if V(n,t)>g(n,t),

and the left-hand derivative is at least the right-hand expression when V(n,t)=g(n,t)V(n,t)=g(n,t)V(n,t)=g(n,t). Then V(n,t)V(n,t)V(n,t) equals the optimal expected revenue over stopping times adapted to the history of NNN, bounded by ttt, and stopped before inventory is exhausted.

This criterion identifies a candidate value function from its differential and boundary properties.

Formalization Note The paper's printed lemma omits conditions used in its proof. The statement explicitly requires the initial-time boundary, the zero-stock boundary for VVV and ggg, and domination V≥gV\ge gV≥g; local Lipschitz regularity replaces continuity plus almost-everywhere differentiability so that the required integral identity is valid. Continuity of ggg is retained; its differentiability is not used. A probability-measure instance is recorded explicitly, although the exponential-interarrival law already implies it. The stopping payoff is bounded and measurable; the Poisson counting process is the referenced arrival-process definition.

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

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 = stopValue P T a g n t := by sorry

end PriceSwitch.Markdown
Source
Feng & Gallego (1995), Management Science 41(8), Lemma 1 and proof, pp. 1378–1379, https://doi.org/10.1287/mnsc.41.8.1371
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