Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.2, p. 9, (1)–(2) — benchmark subgame given u: q^N_R, w^N(u) = ku²/2 + u/2, Π^N_M(u) = u(1−ku)²/8, Π^N_R(u) = u(1−ku)²/16

Proved
QualityEncroach.Uniform.benchmark_given_u

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1product-qualitysupply-chainwholesale-price

Fix a quality cost k>0k>0k>0 and a quality uuu with 0<u<1/k0<u<1/k0<u<1/k, and consider the benchmark supply chain without a direct channel (§3.2). Write qRN(w,u)=12−w2uq^N_R(w,u)=\tfrac12-\tfrac{w}{2u}qRN​(w,u)=21​−2uw​ and wN(u)=ku22+u2w^N(u)=\tfrac{ku^2}{2}+\tfrac u2wN(u)=2ku2​+2u​. Then:

  1. for every wholesale price www with qRN(w,u)≥0q^N_R(w,u)\ge0qRN​(w,u)≥0, the order qRN(w,u)q^N_R(w,u)qRN​(w,u) is the retailer's unique profit-maximizing order among all qR≥0q_R\ge 0qR​≥0, where his profit is ΠRN(qR,w,u)=(u(1−qR)−w)qR\Pi^N_R(q_R,w,u)=(u(1-q_R)-w)q_RΠRN​(qR​,w,u)=(u(1−qR​)−w)qR​;
  2. wN(u)w^N(u)wN(u) is the unique maximizer over w∈Rw\in\mathbb Rw∈R of the manufacturer's anticipated profit (w−ku2) qRN(w,u)(w-ku^2)\,q^N_R(w,u)(w−ku2)qRN​(w,u);
  3. qRN(wN(u),u)=14−ku4q^N_R(w^N(u),u)=\tfrac14-\tfrac{ku}{4}qRN​(wN(u),u)=41​−4ku​;
  4. at wN(u)w^N(u)wN(u) the two profits are
ΠMN(u)=u(1−ku)28,ΠRN(u)=u(1−ku)216.\Pi^N_M(u)=\frac{u(1-ku)^2}{8},\qquad \Pi^N_R(u)=\frac{u(1-ku)^2}{16}.ΠMN​(u)=8u(1−ku)2​,ΠRN​(u)=16u(1−ku)2​.

These are equations (1) and (2) of the paper, the first two steps of the backward induction in the benchmark.

Formalization Note. The bound u<1/ku<1/ku<1/k is the paper's footnote 1 (p. 28): it makes qRN(wN(u),u)>0q^N_R(w^N(u),u)>0qRN​(wN(u),u)>0.

Preamble
import Mathlib
import Definitions.Def_QualityEncroach_Uniform_Game
Formal statement
namespace QualityEncroach.Uniform

/-- §3.2, p. 9, (1)–(2): the benchmark subgame for a given quality `u` with `0 < u < 1/k`.
(a) Whenever `q^N_R(w, u) = 1/2 − w/(2u) ≥ 0`, it is the retailer's unique best order.
(b) `w^N(u) = ku²/2 + u/2` is the unique maximizer of `w ↦ (w − ku²) q^N_R(w, u)`.
(c) `q^N_R(w^N(u), u) = 1/4 − ku/4`.
(d) The two profits at `w^N(u)` are `Π^N_M(u) = u(1 − ku)²/8` and `Π^N_R(u) = u(1 − ku)²/16`. -/
theorem benchmark_given_u (k u : ℝ) (hk : 0 < k) (hu : 0 < u) (huk : u < 1 / k) :
    (∀ w : ℝ, 0 ≤ qRN w u → ∀ qR : ℝ, 0 ≤ qR → qR ≠ qRN w u →
        benchRetailerPayoff ⟨w, u, qR⟩ < benchRetailerPayoff ⟨w, u, qRN w u⟩) ∧
    (∀ w : ℝ, w ≠ wN k u →
        (w - k * u ^ 2) * qRN w u < (wN k u - k * u ^ 2) * qRN (wN k u) u) ∧
    qRN (wN k u) u = 1 / 4 - k * u / 4 ∧
    benchMfrPayoff k ⟨wN k u, u, qRN (wN k u) u⟩ = PiNM k u ∧
    benchRetailerPayoff ⟨wN k u, u, qRN (wN k u) u⟩ = PiNR k u := by sorry

end QualityEncroach.Uniform
Source
Ha, Long & Nasiry, Quality in Supply Chain Encroachment, authors' manuscript, SSRN 3970373, p. 9, §3.2, equations (1)–(2); footnote 1, p. 28
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

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