Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (17) — derivative of the immediate-switch revenue

Proved
PriceSwitch.Markdown.eq17_deriv_switch_now

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

dynamic-pricingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1poisson-processrevenue-management

Let aaa and bbb be prices, let λa\lambda_aλa​ be any real parameter and let λb≥0\lambda_b\ge0λb​≥0 be the second Poisson rate. For an inventory n≥1n\ge1n≥1 and time-to-go t>0t>0t>0, the expected revenue J(n,t;0)J(n,t;0)J(n,t;0) from switching immediately satisfies

∂J(n,t;0)∂t=aλa−λa[J(n,t;0)−J(n−1,t;0)]−G(n,t).\frac{\partial J(n,t;0)}{\partial t}=a\lambda_a-\lambda_a[J(n,t;0)-J(n-1,t;0)]-G(n,t).∂t∂J(n,t;0)​=aλa​−λa​[J(n,t;0)−J(n−1,t;0)]−G(n,t).

This identity relates the immediate-switch revenue to the differential conditions of the paper's verification lemma.

Formalization Note This is a deterministic calculus identity for the Poisson-tail definition of JJJ, so it needs no stochastic process, probability space, or markdown ordering. The sum of independent Poisson counts in JJJ is represented by their combined Poisson law. The parameter λa\lambda_aλa​ cancels algebraically; λb≥0\lambda_b\ge0λb​≥0 ensures that the Poisson mean is meaningful.

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

/-- Feng–Gallego (1995), Appendix, Eq. (17), p. 1387. -/
theorem eq17_deriv_switch_now
    (a la b lb : ℝ) (hlb : 0 ≤ lb) (n : ℕ) (hn : 1 ≤ n) (t : ℝ) (ht : 0 < t) :
    HasDerivAt (fun u => switchRevenue a la b lb n u 0)
      (a * la - la * (switchRevenue a la b lb n t 0 -
        switchRevenue a la b lb (n - 1) t 0) - G a la b lb n t) t := by sorry

end PriceSwitch.Markdown
Source
Feng & Gallego (1995), Management Science 41(8), Appendix, proof of Theorem 1, Eq. (17), p. 1387, 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