Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 9 — ΔVₙ increases in time-to-go, sharing unit n is optimal iff t ≤ tₙ, and Vₙ has the form (4) on [tⱼ₋₁, tⱼ] (exponents with r)

Proved
MarketplaceSharing.Threshold.theorem_1

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

closed-formhjb-equationinventory-sharingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1revenue-managementthreshold-policy

Let (Vn)n≥0(V_n)_{n\ge0}(Vn​)n≥0​ be the revenue-to-go of the inventory sharing model with price π\piπ, commission θ∈[0,1]\theta\in[0,1]θ∈[0,1], arrival rates λD,λP>0\lambda_D, \lambda_P > 0λD​,λP​>0 and discount rate r≥0r \ge 0r≥0 — a solution of the HJB system (3) with V0≡0V_0 \equiv 0V0​≡0 and Vn(0)=0V_n(0) = 0Vn​(0)=0. Let ΔVn(t)=Vn(t)−Vn−1(t)\Delta V_n(t) = V_n(t) - V_{n-1}(t)ΔVn​(t)=Vn​(t)−Vn−1​(t), t0=0t_0 = 0t0​=0, and

tn=sup⁡{t≥0:ΔVn(t)≤(1−θ)π}∈[0,∞](n≥1).t_n = \sup\{t \ge 0 : \Delta V_n(t) \le (1-\theta)\pi\} \in [0,\infty] \quad (n \ge 1).tn​=sup{t≥0:ΔVn​(t)≤(1−θ)π}∈[0,∞](n≥1).

Then for every n≥1n \ge 1n≥1:

  1. ΔVn\Delta V_nΔVn​ is strictly increasing on [0,∞)[0,\infty)[0,∞), and for t≥0t \ge 0t≥0, ΔVn(t)=(1−θ)π\Delta V_n(t) = (1-\theta)\piΔVn​(t)=(1−θ)π if and only if t=tnt = t_nt=tn​;
  2. for t≥0t \ge 0t≥0, sharing unit nnn is optimal (attains the supremum in (3)) if and only if t≤tnt \le t_nt≤tn​, and for t>tnt > t_nt>tn​ not sharing is optimal and sharing is not;
  3. on each interval Inj=[tj−1,tj]I_{nj} = [t_{j-1}, t_j]Inj​=[tj−1​,tj​], j∈{1,…,n}j \in \{1,\dots,n\}j∈{1,…,n}, and on In,n+1=[tn,∞)I_{n,n+1} = [t_n, \infty)In,n+1​=[tn​,∞), there are constants CnjC_{nj}Cnj​, AnjiA_{nji}Anji​, BnjiB_{nji}Bnji​ with
Vn(t)=Cnj+∑i=0n−jAnji tie−(λD+λP+r)t+∑i=0j−2Bnji tie−(λD+r)t,t∈Inj.V_n(t) = C_{nj} + \sum_{i=0}^{n-j} A_{nji}\, t^i e^{-(\lambda_D+\lambda_P+r)t} + \sum_{i=0}^{j-2} B_{nji}\, t^i e^{-(\lambda_D+r)t}, \qquad t \in I_{nj}.Vn​(t)=Cnj​+i=0∑n−j​Anji​tie−(λD​+λP​+r)t+i=0∑j−2​Bnji​tie−(λD​+r)t,t∈Inj​.

The theorem characterizes the optimal sharing policy completely — a time threshold per unit — and gives the revenue-to-go in closed form between consecutive thresholds.

Formalization Note. The printed (4) has exponents λD+λP\lambda_D + \lambda_PλD​+λP​ and λD\lambda_DλD​; with discounting the proof on p. 30 carries rrr (e.g. A110e−(λ+r)tA_{110}e^{-(\lambda+r)t}A110​e−(λ+r)t), and the printed form is exact only at r=0r = 0r=0. When some tj=∞t_j = \inftytj​=∞ the later intervals are empty and clause 3 holds there trivially, as in the paper. "There is an unique tnt_ntn​" is read with p. 10's convention tn=∞t_n = \inftytn​=∞ when ΔVn=(1−θ)π\Delta V_n = (1-\theta)\piΔVn​=(1−θ)π has no solution. The coefficients are existential ("can be written as"); their recursions are not part of the statement. nnn ranges over n≥1n \ge 1n≥1.

Preamble
import Mathlib
import Definitions.Def_MarketplaceSharing_Threshold_Model
Formal statement
namespace MarketplaceSharing.Threshold
theorem theorem_1 (p : Params) (V : ℕ → ℝ → ℝ) (hV : p.IsRevenueToGo V) :
    ∀ n : ℕ, 1 ≤ n →
      (StrictMonoOn (marginal V n) (Set.Ici 0) ∧
      (∀ t : ℝ, 0 ≤ t → (marginal V n t = p.platformMargin ↔ (t : EReal) = p.threshold V n)) ∧
      (∀ t : ℝ, 0 ≤ t → (p.IsOptimalDecision V n t true ↔ (t : EReal) ≤ p.threshold V n)) ∧
      (∀ t : ℝ, 0 ≤ t → p.threshold V n < (t : EReal) →
        p.IsOptimalDecision V n t false ∧ ¬ p.IsOptimalDecision V n t true)) ∧
      ∀ j : ℕ, 1 ≤ j → j ≤ n + 1 →
        ClosedFormOn p (V n) n j
          {t : ℝ | 0 ≤ t ∧ p.threshold V (j - 1) ≤ (t : EReal) ∧
            (j ≤ n → (t : EReal) ≤ p.threshold V j)} := by sorry
end MarketplaceSharing.Threshold
Source
Martínez-de-Albéniz, Pinto & Amorim, Driving Supply to Marketplaces, SSRN 3643261 (June 30, 2020), p. 9, Theorem 1 (both bullets, eq. (4)); p. 10 (tₙ = ∞ convention); Appendix p. 30 (exponents with r)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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