Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1.4, p. 6 — the constant price pm∗=Pm(z∗)p^*_m=\mathcal P_m(z^*)pm∗​=Pm​(z∗) solves the fluid problem, with complementary slackness

Proved
PrimalDualPricing.Regret.proposition_1_4

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

dualityfluid-approximationp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1revenue-management

Let the demand functions satisfy Assumption 1, let z∗=argmin⁡z≥0g(z)z^*=\operatorname{argmin}_{z\ge0}g(z)z∗=argminz≥0​g(z) with g(z)=cz+T∑mRm(z)g(z)=cz+T\sum_m\mathcal R_m(z)g(z)=cz+T∑m​Rm​(z), and let pm∗=Pm(z∗)p^*_m=\mathcal P_m(z^*)pm∗​=Pm​(z∗). Then:

  1. the constant path pm(t)≡pm∗p_m(t)\equiv p^*_mpm​(t)≡pm∗​ is feasible for the fluid problem (2);
  2. it is optimal:
JD(T,c)=T∑m=1Mpm∗ dm(pm∗);J^D(T,c)=T\sum_{m=1}^M p^*_m\,d_m(p^*_m);JD(T,c)=Tm=1∑M​pm∗​dm​(pm∗​);
  1. complementary slackness holds:
z∗(c−T∑m=1Mdm(Pm(z∗)))=0;z^*\Big(c-T\sum_{m=1}^M d_m(\mathcal P_m(z^*))\Big)=0;z∗(c−Tm=1∑M​dm​(Pm​(z∗)))=0;
  1. consequently, for every nnn, the scaled fluid value is JnD(T,c)=n T∑mpm∗dm(pm∗)J^D_n(T,c)=n\,T\sum_m p^*_m d_m(p^*_m)JnD​(T,c)=nT∑m​pm∗​dm​(pm∗​).

This identifies the benchmark in the regret Rnπ=1−Jnπ/JnDR^\pi_n=1-J^\pi_n/J^D_nRnπ​=1−Jnπ​/JnD​. It also shows that the learning target is the vector of constant prices p∗p^*p∗, determined by the scalar dual optimum z∗z^*z∗.

Formalization Note The fluid value JDJ^DJD is the supremum of (2) over measurable price paths with values in [0,p∞][0,p_\infty][0,p∞​]. Part 4 is the scaling remark of p. 7 applied to parts 1–2.

Preamble
import Mathlib
import Definitions.Def_PrimalDualPricing_Regret_Model
import Definitions.Def_PrimalDualPricing_Regret_FluidValue
Formal statement
namespace PrimalDualPricing.Regret

/-- Proposition 1.4 (Chen–Gallego, arXiv:1812.09234v3, p. 6), under Assumption 1 (`Model`): with
`z* = argmin_{z ≥ 0} g(z)` and `p*_m = 𝒫_m(z*)`, the constant path `p_m(t) ≡ p*_m` is an optimal solution of
the fluid problem (2) — it is feasible and attains `J^D(T, c) = T ∑_m p*_m d_m(p*_m)` — and complementary
slackness `z*(c − T ∑_m d_m(𝒫_m(z*))) = 0` holds. Consequently, in the `n`-th system (demand `n d_m`,
inventory `n c`), `J^D_n(T, c) = n T ∑_m p*_m d_m(p*_m)`. -/
theorem proposition_1_4 {M : ℕ} (μ : Model M) :
    FluidFeasible μ.d μ.pinf μ.c μ.T (fun _ m => μ.pstar m) ∧
    fluidValue μ.d μ.pinf μ.c μ.T = μ.T * ∑ m, μ.pstar m * μ.d m (μ.pstar m) ∧
    μ.zstar * (μ.c - μ.T * ∑ m, μ.d m (μ.P m μ.zstar)) = 0 ∧
    ∀ n : ℕ, fluidValueN μ.d μ.pinf μ.c μ.T n
      = (n : ℝ) * (μ.T * ∑ m, μ.pstar m * μ.d m (μ.pstar m)) := by sorry

end PrimalDualPricing.Regret
Source
Chen, Gallego, A Primal-dual Learning Algorithm for Personalized Dynamic Pricing with an Inventory Constraint, arXiv:1812.09234v3, p. 6, Proposition 1, part 4; p. 7 (J^D_n scales linearly in n)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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