Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.6.1, p. 65 — Π₂(y|x, q₁, q₂, ξ) = (1 − λ)(Ω₂(y|q₁, ξ) − c₂q₁) + c₂x − w₂q₁; the supplier fills q₂ ≤ q₂(q₁, ξ)

Proved
CachonCoord.DemandUpdate.p65_supplier_fills

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

buy-backp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1supply-chainvoluntary-compliance

Take buy back terms with λ∈[0,1]\lambda \in [0,1]λ∈[0,1], p−b=λpp - b = \lambda pp−b=λp and w2=λc2+bw_2 = \lambda c_2 + bw2​=λc2​+b.

  1. For all arguments the supplier's period-2 profit satisfies
Π2(y ∣ x,q1,q2,ξ)=(1−λ)(Ω2(y ∣ q1,ξ)−c2q1)+c2x−w2q1.\Pi_2(y\,|\,x,q_1,q_2,\xi) = (1-\lambda)\big(\Omega_2(y\,|\,q_1,\xi) - c_2 q_1\big) + c_2 x - w_2 q_1 .Π2​(y∣x,q1​,q2​,ξ)=(1−λ)(Ω2​(y∣q1​,ξ)−c2​q1​)+c2​x−w2​q1​.
  1. Let q1≤x<q2q_1 \le x < q_2q1​≤x<q2​, where xxx is the supply chain's inventory at the start of period 2. Suppose q2≤q2(q1,ξ)q_2 \le q_2(q_1,\xi)q2​≤q2​(q1​,ξ) for a supply chain optimal period-2 order q2(q1,ξ)q_2(q_1,\xi)q2​(q1​,ξ), i.e. a maximizer of Ω2(⋅ ∣ q1,ξ)\Omega_2(\cdot\,|\,q_1,\xi)Ω2​(⋅∣q1​,ξ) over q2≥q1q_2 \ge q_1q2​≥q1​. Then delivering in full, y=q2y = q_2y=q2​, maximizes Π2(y ∣ x,q1,q2,ξ)\Pi_2(y\,|\,x,q_1,q_2,\xi)Π2​(y∣x,q1​,q2​,ξ) over x≤y≤q2x \le y \le q_2x≤y≤q2​.

  2. Conversely, if λ<1\lambda < 1λ<1, q1≤x<q2q_1 \le x < q_2q1​≤x<q2​ and q2>q2(q1,ξ)q_2 > q_2(q_1,\xi)q2​>q2​(q1​,ξ) (the retailer orders too much), then y=q2y = q_2y=q2​ does not maximize Π2(y ∣ x,q1,q2,ξ)\Pi_2(y\,|\,x,q_1,q_2,\xi)Π2​(y∣x,q1​,q2​,ξ) over x≤y≤q2x \le y \le q_2x≤y≤q2​: the supplier does not fill the order.

Thus, even under voluntary compliance, the supplier fills any retailer order that does not exceed the supply chain optimum.

Formalization Note "Fills entirely" is read as: y=q2y = q_2y=q2​ is a maximizer over [x,q2][x, q_2][x,q2​]. At λ=1\lambda = 1λ=1 the supplier's profit does not depend on yyy, and filling is one of her optima.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_DemandUpdate_Model
import Definitions.Def_CachonCoord_DemandUpdate_Profits

open MeasureTheory ProbabilityTheory
Formal statement
namespace CachonCoord.DemandUpdate

open Model

/-- Cachon (2003), 3rd draft, §6.6.1, p. 65 (the display defining `Π_2(y|x, q_1, q_2, ξ)` and the
sentence after it). With `λ ∈ [0, 1]`, `p − b = λp` and `w_2 = λc_2 + b`:
1. `Π_2(y|x, q_1, q_2, ξ) = (1 − λ)(Ω_2(y|q_1, ξ) − c_2 q_1) + c_2 x − w_2 q_1` for all arguments;
2. if `q_1 ≤ x < q_2` and `q_2 ≤ q_2(q_1, ξ)` (`qopt`, a maximizer of `Ω_2(·|q_1, ξ)` over `q_2 ≥ q_1`),
   then delivering in full, `y = q_2`, maximizes the supplier's profit over `x ≤ y ≤ q_2`;
3. ("i.e., the supplier does not satisfy the retailer if the retailer happens to irrationally order
   too much") if `λ < 1`, `q_1 ≤ x < q_2` and `q_2 > q_2(q_1, ξ)`, then `y = q_2` does not maximize the
   supplier's profit over `x ≤ y ≤ q_2`. -/
theorem p65_supplier_fills (M : Model) (lam w2 b : ℝ) (hlam0 : 0 ≤ lam) (hlam1 : lam ≤ 1)
    (hb : M.p - b = lam * M.p) (hw2 : w2 = lam * M.c2 + b) :
    (∀ x q1 ξ y, M.supplierProfit2Fill w2 b x q1 ξ y =
      (1 - lam) * (M.Omega2 q1 ξ y - M.c2 * q1) + M.c2 * x - w2 * q1) ∧
    (∀ q1 ξ x q2 qopt, 0 ≤ q1 → 0 ≤ ξ → q1 ≤ x → x < q2 →
      q1 ≤ qopt → IsMaxOn (M.Omega2 q1 ξ) (Set.Ici q1) qopt → q2 ≤ qopt →
      IsMaxOn (M.supplierProfit2Fill w2 b x q1 ξ) (Set.Icc x q2) q2) ∧
    (∀ q1 ξ x q2 qopt, 0 ≤ q1 → 0 ≤ ξ → q1 ≤ x → x < q2 →
      q1 ≤ qopt → IsMaxOn (M.Omega2 q1 ξ) (Set.Ici q1) qopt → lam < 1 → qopt < q2 →
      ¬ IsMaxOn (M.supplierProfit2Fill w2 b x q1 ξ) (Set.Icc x q2) q2) := by sorry

end CachonCoord.DemandUpdate
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.6.1, p. 65, the display of Π₂(y|x, q₁, q₂, ξ) and the sentence after it
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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