Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

(G.41), OA p. 23 — profit gaps between three reduced problems

Proved
RightRepair.Equilibrium.G41_profit_gaps

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

optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1profit-comparisonright-to-repair

Let π5\pi_5π5​ be the extended partial-repair objective at pn5=(c+1+δ(1−f))/2p_{n5}=(c+1+\delta(1-f))/2pn5​=(c+1+δ(1−f))/2 and pr5=(δ+cM)/2p_{r5}=(\delta+c_M)/2pr5​=(δ+cM​)/2. Let π4\pi_4π4​ and π1\pi_1π1​ be the optimal values of the full-repair and no-repair reduced problems. Their two differences equal the nonnegative squared expressions in (G.41):

π5−π4=(cM+δ−2cδ+3cMδ−δ2−2cMδf)24δ(1−δ)(1+3δ)≥0,\pi_5-\pi_4=\frac{(c_M+\delta-2c\delta+3c_M\delta-\delta^2-2c_M\delta f)^2}{4\delta(1-\delta)(1+3\delta)}\ge0,π5​−π4​=4δ(1−δ)(1+3δ)(cM​+δ−2cδ+3cM​δ−δ2−2cM​δf)2​≥0, π5−π1=(cM+δ−2cδ+3cMδ−δf+δ2f−δ2+cδf−4cMδf+cMδf2)24δ(1−δ)[1+δ(1−f)(3−f)]≥0.\pi_5-\pi_1=\frac{(c_M+\delta-2c\delta+3c_M\delta-\delta f+\delta^2f-\delta^2+c\delta f-4c_M\delta f+c_M\delta f^2)^2}{4\delta(1-\delta)[1+\delta(1-f)(3-f)]}\ge0.π5​−π1​=4δ(1−δ)[1+δ(1−f)(3−f)](cM​+δ−2cδ+3cM​δ−δf+δ2f−δ2+cδf−4cM​δf+cM​δf2)2​≥0.

These identities compare the candidate profits. Their algebraic form remains valid beyond the interior-feasibility regime used for the paper's economic comparison.

Formalization Note The source omits a factor δ\deltaδ from the second printed denominator; direct substitution into (G.36) gives the corrected denominator shown here. The polynomial extension of π5\pi_5π5​ avoids a 0/00/00/0 artifact where its rational expression is undefined. Standing assumptions contain the nonnegative unit-cost pins.

Preamble
import Mathlib
import Definitions.Def_RightRepair_Equilibrium_Setting
Formal statement
namespace RightRepair.Equilibrium

theorem G41_profit_gaps (P : Params) (hP : Standing P) :
    let π₅ := profit5 P (pnNo P) ((P.δ + P.cM) / 2)
    let π₄ := (P.c - P.δ + P.cM * P.f - 1) ^ 2 / (4 * (1 + 3 * P.δ))
    let π₁ := (P.c - P.δ + P.δ * P.f - 1) ^ 2 /
      (4 * (P.δ * P.f ^ 2 - 4 * P.δ * P.f + 3 * P.δ + 1))
    π₅ - π₄ =
      (P.cM + P.δ - 2 * P.c * P.δ + 3 * P.cM * P.δ - P.δ ^ 2 -
        2 * P.cM * P.δ * P.f) ^ 2 /
        (4 * P.δ * (1 - P.δ) * (1 + 3 * P.δ)) ∧
    π₅ - π₁ =
      (P.cM + P.δ - 2 * P.c * P.δ + 3 * P.cM * P.δ -
        P.δ * P.f + P.δ ^ 2 * P.f - P.δ ^ 2 + P.c * P.δ * P.f -
        4 * P.cM * P.δ * P.f + P.cM * P.δ * P.f ^ 2) ^ 2 /
        (4 * P.δ * (1 - P.δ) *
          (1 + P.δ * (1 - P.f) * (3 - P.f))) ∧
    0 ≤ π₅ - π₄ ∧ 0 ≤ π₅ - π₁ := by sorry

end RightRepair.Equilibrium
Source
Jin, Yang & Zhu, Right to Repair: Pricing, Welfare, and Environmental Implications, authors' manuscript of Management Science (2022), doi:10.1287/mnsc.2022.4401 (PDF sha256 b869b33a…1763), OA pp. 21–23, (G.36), (G.38)–(G.41) (PDF 54–56)
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 16, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me