Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 1, pp. A6–A7 — flexible case j = 1: v_F concave on [2x+U, 2x+2U], slope at 2x+U, threshold p̃ < 2c_F

Proved
FlexLearning.Threshold.vF_branch_one

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

bayesian-learningdemand-censoringdynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1resource-flexibility

In the two-period model with second-period demand equal to first-period demand, independent demands uniform on [x,x+U][x, x+U][x,x+U] (x≥0x \ge 0x≥0, U>0U > 0U>0), price ppp, dedicated unit cost ccc and flexible unit cost cFc_FcF​ with 0<c≤cF<p0 < c \le c_F < p0<c≤cF​<p, let vF(QF)v_F(Q_F)vF​(QF​) be the two-period objective of the flexible system at first-period flexible capacity QFQ_FQF​. Then:

  1. vFv_FvF​ is concave on [2x+U, 2x+2U][2x+U,\, 2x+2U][2x+U,2x+2U];
  2. its right derivative at 2x+U2x + U2x+U is
−c2+cp+p(p−2cF)2p;\frac{-c^2 + cp + p(p - 2c_F)}{2p};2p−c2+cp+p(p−2cF​)​;
  1. this slope is nonnegative if and only if p≥p~p \ge \tilde pp≥p~​, where p~=12(2cF−c+5c2−4ccF+4cF2)\tilde p = \tfrac12\big(2c_F - c + \sqrt{5c^2 - 4cc_F + 4c_F^2}\big)p~​=21​(2cF​−c+5c2−4ccF​+4cF2​​);
  2. p~<2cF\tilde p < 2c_Fp~​<2cF​.

Case j=1j = 1j=1 (QF≥2x+UQ_F \ge 2x+UQF​≥2x+U) is the regime in which product 1's demand is always observed; together with case j=3j = 3j=3 it is the only regime at x=0x = 0x=0, and it splits the proof of Proposition 1 into sub-cases.

Formalization Note U>0U > 0U>0 and c>0c > 0c>0 are added (p~<2cF\tilde p < 2c_Fp~​<2cF​ fails at c=0c = 0c=0, where p~=2cF\tilde p = 2c_Fp~​=2cF​). The concavity is stated only on [2x+U,2x+2U][2x+U, 2x+2U][2x+U,2x+2U], where the page's second derivative applies. Item 2 is a one-sided derivative within [2x+U,∞)[2x+U, \infty)[2x+U,∞).

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

theorem vF_branch_one (p c x U cF : ℝ) (hc : 0 < c) (hccF : c ≤ cF) (hcFp : cF < p)
    (hx : 0 ≤ x) (hU : 0 < U) :
    ConcaveOn ℝ (Set.Icc (2 * x + U) (2 * x + 2 * U)) (vF p c x U cF) ∧
    HasDerivWithinAt (vF p c x U cF) ((-c ^ 2 + c * p + p * (p - 2 * cF)) / (2 * p))
      (Set.Ici (2 * x + U)) (2 * x + U) ∧
    (0 ≤ (-c ^ 2 + c * p + p * (p - 2 * cF)) / (2 * p) ↔ pTilde c cF ≤ p) ∧
    pTilde c cF < 2 * cF := by sorry

end FlexLearning.Threshold
Source
Chod, Markakis & Trichakis, On the Learning Benefits of Resource Flexibility, SSRN preprint 3212177 (version of December 6, 2019), pp. A6–A7 (PDF 39–40), proof of Proposition 1, case j = 1
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