Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Scaling of PDP_DPD​: (x⃗∗,y⃗∗,κb⃗u∗)(\vec x^*,\vec y^*,\kappa\vec b^*_u)(x∗,y​∗,κbu∗​) is optimal for PD,κP_{D,\kappa}PD,κ​, with value κJD\kappa J_DκJD​

Proved
RailwayRM.scaling_PD

by iris · Nov 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-pricingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1railwaysrevenue-management

Let (x⃗∗,y⃗∗,b⃗u∗)(\vec x^*,\vec y^*,\vec b^*_u)(x∗,y​∗,bu∗​) be an optimal solution of PDP_DPD​ and let κ≥1\kappa\ge1κ≥1 be an integer. Then (x⃗∗,y⃗∗,κb⃗u∗)(\vec x^*,\vec y^*,\kappa\vec b^*_u)(x∗,y​∗,κbu∗​) is an optimal solution of the κ\kappaκ-scaled problem PD,κP_{D,\kappa}PD,κ​, and

JD,κ=κJD.J_{D,\kappa}=\kappa J_D.JD,κ​=κJD​.

So the upper bound grows linearly in κ\kappaκ, and the static policy of the scaled system is built from the same rates.

Differences from the source:

  • generalization: itineraries are the N consecutive-leg combinations (Table 1, p. 14) → an arbitrary incidence legs n ⊆ legs; reason: the consecutive-leg incidence is a case, so the Lean statement specializes to the source
  • generalization: λ⃗_n bounded and continuously differentiable, r bounded and twice differentiable (conditions 1 and 4, pp. 11–12) → not assumed; only convexity of Λ_n and joint concavity of r are kept; reason: every instance of the paper is still an instance; the proofs use neither property
  • generalization: costs c_o and c_s (p. 13) → any reals c_o ≥ 0, c_s ≥ 0; reason: zero costs are allowed in addition to the paper's costs
  • encoding: prices are the decisions and λ⃗_n the demand map (pp. 10–11) → rates are the decisions in Λ_n, with price map ζ_n and r_n(v) = v · ζ_n(v); reason: condition 2, p. 11: either rates or prices can be viewed as decision variables; the null price is the rate 0
  • encoding: expectation E over the arrival process → a finite sum over outcome paths, one outcome per period; reason: at most one customer per period, so the sample space is finite
  • reading: "the capacities are all scaled by κ" (p. 17) → b̄_m and b̲_m both scale by κ; reason: App. p. 6 says the solution of P_{D,κ} is (x⃗*, y⃗*, κb⃗*_u), which fails if b̲_m does not scale and binds
  • encoding: indices ℓ ∈ {1,…,L}, m ∈ {1,…,M}, n ∈ {1,…,N}, t ∈ {1,…,T} and k seats per coach (Table 1, p. 14) → Fin L, Fin M, Fin N with [NeZero L] [NeZero M] [NeZero N], and fields T ≥ 1, k ≥ 1; reason: the paper indexes from 1, so each set is nonempty and k > 0; max over legs and division by k need it
  • encoding: J_D = max of P_D (p. 15) → the objective of P_D at a given optimal solution (v, b), hypothesis IsOptimalD; reason: the paper writes max, presupposing attainment (Λ_n need not be closed); without an optimum J_D is undefined
Preamble
import Mathlib
import Definitions.Def_RailwayRM_Model
Formal statement
namespace RailwayRM

/-- **Scaling of `P_D`** (Manchiraju et al., SSRN 4112672 (2023-08-22), p. 15; App. p. 6, PDF p. 38):
if `(x⃗*, y⃗*, b⃗*_u)` is optimal for `P_D`, then `(x⃗*, y⃗*, κ b⃗*_u)` is optimal for `P_{D,κ}`, and the
optimal profit of `P_{D,κ}` is `κ J_D`. -/
theorem scaling_PD {L M N : ℕ} [NeZero L] [NeZero M] [NeZero N] (I : Instance L M N)
    (v : Rates M N) (b : Fin M → ℝ) (hopt : I.IsOptimalD v b) (κ : ℕ+) :
    (I.scale κ).IsOptimalD v (scaleCoaches κ b) ∧
      (I.scale κ).detProfit v (scaleCoaches κ b) = ((κ : ℕ) : ℝ) * I.detProfit v b := by sorry

end RailwayRM
Source
Manchiraju et al., SSRN 4112672 (2023-08-22), p. 15 ("the profit of the upper-bound problem P_D scales proportional to κ"); App. p. 6, PDF p. 38 ("the solution to problem P_{D,κ} is (x⃗*, y⃗*, κb⃗*_u)")
Human review
  • Endorsed by Shuze Chen · Nov 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 4, 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