Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 1, pp. A6–A7 — closed form of the flexible two-period objective v_F at x = 0 (three capacity regimes)

Proved
FlexLearning.Threshold.vF_closed_form_x0

by tianyipeng · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

demand-censoringresource-flexibility

Take the two-product, two-period model with ξ=0\xi=0ξ=0 and first-period demands i.i.d. uniform on [0,U][0,U][0,U] (x=0x=0x=0, U>0U>0U>0). Let ppp be the price, ccc the dedicated unit cost (0≤c<p0\le c<p0≤c<p), cFc_FcF​ the flexible unit cost, and Δ=(p−c)(p+c)+cp\Delta=(p-c)(p+c)+cpΔ=(p−c)(p+c)+cp. The two-period objective of the flexible system, vF(QF)v_F(Q_F)vF​(QF​) (first-period flexible profit plus expected optimal second-period dedicated profit under the censored-sales posteriors), has the closed form

vF(QF)={(p−c)2Up+QF(Δp−cF)−Δ QF36U2p,0≤QF≤U,2U(p−cF)−Uc+cF(2U−QF)−Δ (2U−QF)36U2p,U≤QF≤2U,pU−cFQF+(p−c)U,QF≥2U.v_F(Q_F)=\begin{cases}\dfrac{(p-c)^2U}{p}+Q_F\Big(\dfrac{\Delta}{p}-c_F\Big)-\dfrac{\Delta\,Q_F^3}{6U^2p}, & 0\le Q_F\le U,\\[8pt] 2U(p-c_F)-Uc+c_F(2U-Q_F)-\dfrac{\Delta\,(2U-Q_F)^3}{6U^2p}, & U\le Q_F\le 2U,\\[8pt] pU-c_FQ_F+(p-c)U, & Q_F\ge 2U.\end{cases}vF​(QF​)=⎩⎨⎧​p(p−c)2U​+QF​(pΔ​−cF​)−6U2pΔQF3​​,2U(p−cF​)−Uc+cF​(2U−QF​)−6U2pΔ(2U−QF​)3​,pU−cF​QF​+(p−c)U,​0≤QF​≤U,U≤QF​≤2U,QF​≥2U.​

The three pieces are the regimes of the proof of Proposition 1 at x=0x=0x=0. For QF≥UQ_F\ge UQF​≥U product 1's demand is always observed (case j=1j=1j=1; the middle formula is the x=0x=0x=0 instance of vF,1v_{F,1}vF,1​). For QF≤UQ_F\le UQF​≤U product 1 may stock out, and then product 2 receives no capacity. Maximising vFv_FvF​ gives VF(cF)V_F(c_F)VF​(cF​), which is compared with VNV_NVN​ in Proposition 1.

Formalization Note. U>0U>0U>0 and 0≤c<p0\le c<p0≤c<p are assumed. The pieces agree at QF=UQ_F=UQF​=U and QF=2UQ_F=2UQF​=2U.

Preamble
import Mathlib
import Definitions.Def_FlexLearning_Threshold_Model
Formal statement
namespace FlexLearning.Threshold

theorem vF_closed_form_x0 (p c U cF Q : ℝ) (hc : 0 ≤ c) (hcp : c < p) (hU : 0 < U) :
    (0 ≤ Q → Q ≤ U → vF p c 0 U cF Q = (p - c) ^ 2 * U / p +
      Q * (((p - c) * (p + c) + c * p) / p - cF) -
      ((p - c) * (p + c) + c * p) * Q ^ 3 / (6 * U ^ 2 * p)) ∧
    (U ≤ Q → Q ≤ 2 * U → vF p c 0 U cF Q = 2 * U * (p - cF) - U * c + cF * (2 * U - Q) -
      ((p - c) * (p + c) + c * p) * (2 * U - Q) ^ 3 / (6 * U ^ 2 * p)) ∧
    (2 * U ≤ Q → vF p c 0 U cF Q = p * U - cF * Q + (p - c) * U) := by sorry

end FlexLearning.Threshold
Source
Chod, Markakis & Trichakis, On the Learning Benefits of Resource Flexibility, SSRN preprint 3212177 (version of December 6, 2019), proof of Proposition 1, pp. A6–A7 (cases j = 1 and j = 3 for x = 0; v_F via Lemma 3)

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