Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.9.1, pp. 93–94 — the market at w(α, Q) allocates output optimally, ∂π/∂Q = w, and paying (46) per unit induces e° at zero expected profit

Proved
CachonCoord.InternalMarket.sec_6_9_1_internal_market

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

coordinationinternal-marketp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1supply-chain

Consider the internal-market model of §6.9.1: elasticity η>1\eta>1η>1, demand shocks A1,A2>0A_1,A_2>0A1​,A2​>0, output shock Y∈[0,1]Y\in[0,1]Y∈[0,1], output Q=YeQ=YeQ=Ye from effort eee at the strictly convex increasing cost c(e)c(e)c(e), retailer profits πi(qi,w)=αiqi(η−1)/η−wqi\pi_i(q_i,w)=\alpha_iq_i^{(\eta-1)/\eta}-wq_iπi​(qi​,w)=αi​qi(η−1)/η​−wqi​, and the contingent price

w(α,Q)=(η−1η)(α1η+α2η)1/ηQ−1/η.w(\alpha,Q)=\Big(\frac{\eta-1}{\eta}\Big)(\alpha_1^\eta+\alpha_2^\eta)^{1/\eta}Q^{-1/\eta}.w(α,Q)=(ηη−1​)(α1η​+α2η​)1/ηQ−1/η.
  1. The market allocates output optimally. For every realization α1,α2>0\alpha_1,\alpha_2>0α1​,α2​>0 and output Q>0Q>0Q>0: at the price w(α,Q)w(\alpha,Q)w(α,Q) retailer one's unique optimal quantity is γo(α)Q\gamma^o(\alpha)Qγo(α)Q and retailer two's is (1−γo(α))Q(1-\gamma^o(\alpha))Q(1−γo(α))Q, where γo(α)=α1η/(α1η+α2η)\gamma^o(\alpha)=\alpha_1^\eta/(\alpha_1^\eta+\alpha_2^\eta)γo(α)=α1η​/(α1η​+α2η​), so they order exactly QQQ in total; this allocation maximizes the retailers' total revenue over all q1,q2≥0q_1,q_2\ge0q1​,q2​≥0 with q1+q2≤Qq_1+q_2\le Qq1​+q2​≤Q; and w(α,Q)w(\alpha,Q)w(α,Q) is the marginal value of output,
∂π(α,Q)∂Q=w(α,Q).\frac{\partial\pi(\alpha,Q)}{\partial Q}=w(\alpha,Q).∂Q∂π(α,Q)​=w(α,Q).
  1. The payment (46) induces the optimal effort. Assume K=E[(A1η+A2η)1/ηY(η−1)/η]K=E\big[(A_1^\eta+A_2^\eta)^{1/\eta}Y^{(\eta-1)/\eta}\big]K=E[(A1η​+A2η​)1/ηY(η−1)/η] has an integrable integrand, E[Y]>0E[Y]>0E[Y]>0, and eo>0e^o>0eo>0 satisfies (45). If the supplier pays the manager
(η−1η)(eo)−1/ηK/E[Y]\Big(\frac{\eta-1}{\eta}\Big)(e^o)^{-1/\eta}K/E[Y](ηη−1​)(eo)−1/ηK/E[Y]

per unit of realized output, then eoe^oeo uniquely maximizes the manager's expected utility over e≥0e\ge0e≥0, the payment equals E[Q w(A,Q)∣eo]/E[Q∣eo]E[Q\,w(A,Q)\mid e^o]/E[Q\mid e^o]E[Qw(A,Q)∣eo]/E[Q∣eo], and the supplier's expected profit from the internal market at eoe^oeo is zero.

Together these say that an internal market for output, plus a linear payment for realized output, coordinates the production and allocation decisions without the supplier observing the demand shocks or the manager's effort.

Formalization Note E[Y]>0E[Y]>0E[Y]>0 and the integrability of the integrand of KKK are added (the page divides by E[Y]E[Y]E[Y] and takes the expectation). The existence of an effort satisfying (45) is a hypothesis, as on the page. The supplier's per-unit price must be positive for the retailers' problems to have solutions; w(α,Q)>0w(\alpha,Q)>0w(α,Q)>0 automatically.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_InternalMarket_Revenue
import Definitions.Def_CachonCoord_InternalMarket_Model
Formal statement
namespace CachonCoord.InternalMarket

open MeasureTheory

/-- §6.9.1, pp. 93–94 (Cachon 2003, 3rd draft), the internal market coordinates the chain.
1. **The market.** For every realization `α₁, α₂ > 0` and output `Q > 0`, at the price `w(α, Q)`
   retailer one's unique optimal quantity is `γ°(α) Q` and retailer two's is `(1 − γ°(α)) Q` (so they
   order exactly `Q` in total), this allocation maximizes total retailer revenue over all
   `q₁, q₂ ≥ 0` with `q₁ + q₂ ≤ Q`, and `∂π(α, Q)/∂Q = w(α, Q)`.
2. **The manager.** If `K = E[(A₁^η + A₂^η)^{1/η} Y^{(η−1)/η}]` is integrable, `E[Y] > 0` and `e° > 0`
   satisfies (45), then under the per-unit payment (46) the manager's expected utility
   `u(e) = payRate(e°) E[Ye] − c(e)` is uniquely maximized over `[0, ∞)` at `e°`, the payment rate
   equals `E[Q w(A, Q) | e°] / E[Q | e°]`, and the supplier's expected profit from the market,
   `E[Q w(A, Q) | e°] − payRate(e°) E[Q | e°]`, is zero. -/
theorem sec_6_9_1_internal_market {Ω : Type*} [MeasurableSpace Ω] (M : Model Ω) :
    (∀ α₁ α₂ Q : ℝ, 0 < α₁ → 0 < α₂ → 0 < Q →
      (∀ q : ℝ, 0 ≤ q →
        (IsMaxOn (retailerProfit M.η α₁ (price M.η α₁ α₂ Q)) (Set.Ici 0) q ↔
          q = optShare M.η α₁ α₂ * Q)) ∧
      (∀ q : ℝ, 0 ≤ q →
        (IsMaxOn (retailerProfit M.η α₂ (price M.η α₁ α₂ Q)) (Set.Ici 0) q ↔
          q = (1 - optShare M.η α₁ α₂) * Q)) ∧
      (∀ q₁ q₂ : ℝ, 0 ≤ q₁ → 0 ≤ q₂ → q₁ + q₂ ≤ Q →
        α₁ * q₁ ^ ((M.η - 1) / M.η) + α₂ * q₂ ^ ((M.η - 1) / M.η) ≤
          α₁ * (optShare M.η α₁ α₂ * Q) ^ ((M.η - 1) / M.η) +
            α₂ * ((1 - optShare M.η α₁ α₂) * Q) ^ ((M.η - 1) / M.η)) ∧
      HasDerivAt (fun Q' => optRevenue M.η α₁ α₂ Q') (price M.η α₁ α₂ Q) Q) ∧
    (Integrable (fun ω => (M.A₁ ω ^ M.η + M.A₂ ω ^ M.η) ^ (1 / M.η) *
        M.Y ω ^ ((M.η - 1) / M.η)) M.P →
      0 < ∫ ω, M.Y ω ∂M.P →
      ∀ eo : ℝ, 0 < eo →
        (M.η - 1) / M.η * eo ^ (-1 / M.η) * M.K - M.c' eo = 0 →
        IsMaxOn (M.managerUtility eo) (Set.Ici 0) eo ∧
        (∀ e : ℝ, 0 ≤ e → IsMaxOn (M.managerUtility eo) (Set.Ici 0) e → e = eo) ∧
        M.payRate eo = M.expMarketRevenue eo / M.expOutput eo ∧
        M.expMarketRevenue eo - M.payRate eo * M.expOutput eo = 0) := by sorry

end CachonCoord.InternalMarket
Source
Cachon (2003), Supply Chain Coordination with Contracts, 3rd draft (Jan. 2003), §6.9.1, pp. 93–94 (retailers' orders at w(α, Q), ∂π(α, Q)/∂Q = w(α, Q), Eq. (46), u(e), zero expected profit)
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