Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.1, OA p. 1 (PDF 33) — with perfect shipment information, supplier R's best response to w_U in four regimes

Proved
ContingentSourcing.Competition.lemma_A_1

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

best-responsecontingent-sourcingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1supplier-competitionsupply-chain

Take perfect shipment information, ρ=1\rho=1ρ=1, and a price wUw_UwU​ of supplier U with cU/P1≤wU≤mc_U/P_1\le w_U\le mcU​/P1​≤wU​≤m. A pair (wR,wE)(w_R,w_E)(wR​,wE​) with cR≤wR≤wE≤mc_R\le w_R\le w_E\le mcR​≤wR​≤wE​≤m is a best response of supplier R if it maximizes R's payoff (5) given wUw_UwU​. Supplier R's best responses are as follows.

  1. If wU>(m+cR)/2w_U>(m+c_R)/2wU​>(m+cR​)/2, the best responses are exactly wR=(m+cR)/2w_R=(m+c_R)/2wR​=(m+cR​)/2 with any wE∈[(m+cR)/2,m]w_E\in[(m+c_R)/2,m]wE​∈[(m+cR​)/2,m].
  2. If P0m+cRP0+1<wU≤m+cR2\frac{P_0m+c_R}{P_0+1}<w_U\le\frac{m+c_R}{2}P0​+1P0​m+cR​​<wU​≤2m+cR​​, the best responses are exactly wR=wUw_R=w_UwR​=wU​ with any wE∈[wU,m]w_E\in[w_U,m]wE​∈[wU​,m].
  3. If cR<wU≤P0m+cRP0+1c_R<w_U\le\frac{P_0m+c_R}{P_0+1}cR​<wU​≤P0​+1P0​m+cR​​, then
wR∗=P1wU+P0m+cR2w_R^*=\frac{P_1w_U+P_0m+c_R}{2}wR∗​=2P1​wU​+P0​m+cR​​

with any wE≤mw_E\le mwE​≤m satisfying wE>(wR∗−P1wU)/P0w_E>(w_R^*-P_1w_U)/P_0wE​>(wR∗​−P1​wU​)/P0​ is a best response; when wU<P0m+cRP0+1w_U<\frac{P_0m+c_R}{P_0+1}wU​<P0​+1P0​m+cR​​ these are all the best responses. 4. If wU≤cRw_U\le c_RwU​≤cR​, then wE=(m+cR)/2w_E=(m+c_R)/2wE​=(m+cR​)/2 with any wRw_RwR​ satisfying max⁡(cR,P0wE+P1wU)≤wR≤wE\max(c_R,P_0w_E+P_1w_U)\le w_R\le w_Emax(cR​,P0​wE​+P1​wU​)≤wR​≤wE​ is a best response; when wU<cRw_U<c_RwU​<cR​ these are all the best responses.

In regimes 1–2 R takes the whole initial order, in regime 3 a part of it, and in regime 4 only the emergency order. These best responses are one half of the graphical construction of the equilibria of Proposition 2.

Formalization Note. The lemma is stated as a characterization: the listed pairs are best responses, and every best response has the listed form. The second half is dropped at the two regime endpoints wU=P0m+cRP0+1w_U=\frac{P_0m+c_R}{P_0+1}wU​=P0​+1P0​m+cR​​ and wU=cRw_U=c_RwU​=cR​, where it is false as printed: there the best response of the neighbouring regime earns the same payoff (at wU=cRw_U=c_RwU​=cR​, the diversification price (P1cR+P0m+cR)/2(P_1c_R+P_0m+c_R)/2(P1​cR​+P0​m+cR​)/2 and the emergency-only response both give P0(m−cR)2/8P_0(m-c_R)^2/8P0​(m−cR​)2/8; at wU=P0m+cRP0+1w_U=\frac{P_0m+c_R}{P_0+1}wU​=P0​+1P0​m+cR​​, wR∗=wUw_R^*=w_UwR∗​=wU​ and any wE∈[wU,m]w_E\in[w_U,m]wE​∈[wU​,m] is a best response). "Any wE∗≥wR∗w_E^*\ge w_R^*wE∗​≥wR∗​" is read within the strategy space (wE≤mw_E\le mwE​≤m). The printed "at time 1" in regimes 1–3 refers to the initial order (Time 0); this does not enter the statement, which is about prices only.

Preamble
import Mathlib
import Definitions.Def_ContingentSourcing_Competition_Model
Formal statement
namespace ContingentSourcing.Competition

/-- Lemma A.1, OA p. 1: with ρ = 1, supplier R's best responses to w_U in the four regimes. In each regime
the listed price pairs are best responses (w_E ranges up to the strategy-space bound m), and every best
response has that form, except at the two regime endpoints w_U = (P0 m + cR)/(P0 + 1) and w_U = cR,
where a best response of the neighbouring regime ties and the printed set is not exhaustive. -/
theorem lemma_A_1 (P : Params) (hP : P.Standing) (wU : ℝ) (hwU : P.UFeasible wU) :
    ((P.m + P.cR) / 2 < wU →
      (∀ wE, (P.m + P.cR) / 2 ≤ wE → wE ≤ P.m →
        P.IsBestResponseR 1 wU ((P.m + P.cR) / 2) wE) ∧
      (∀ wR wE, P.IsBestResponseR 1 wU wR wE → wR = (P.m + P.cR) / 2)) ∧
    ((P.P0 * P.m + P.cR) / (P.P0 + 1) < wU → wU ≤ (P.m + P.cR) / 2 →
      (∀ wE, wU ≤ wE → wE ≤ P.m → P.IsBestResponseR 1 wU wU wE) ∧
      (∀ wR wE, P.IsBestResponseR 1 wU wR wE → wR = wU)) ∧
    (P.cR < wU → wU ≤ (P.P0 * P.m + P.cR) / (P.P0 + 1) →
      (∀ wE, ((P.P1 * wU + P.P0 * P.m + P.cR) / 2 - P.P1 * wU) / P.P0 < wE → wE ≤ P.m →
        P.IsBestResponseR 1 wU ((P.P1 * wU + P.P0 * P.m + P.cR) / 2) wE) ∧
      (wU < (P.P0 * P.m + P.cR) / (P.P0 + 1) → ∀ wR wE, P.IsBestResponseR 1 wU wR wE →
        wR = (P.P1 * wU + P.P0 * P.m + P.cR) / 2 ∧ (wR - P.P1 * wU) / P.P0 < wE)) ∧
    (wU ≤ P.cR →
      (∀ wR, P.P0 * ((P.m + P.cR) / 2) + P.P1 * wU ≤ wR → P.cR ≤ wR →
        wR ≤ (P.m + P.cR) / 2 → P.IsBestResponseR 1 wU wR ((P.m + P.cR) / 2)) ∧
      (wU < P.cR → ∀ wR wE, P.IsBestResponseR 1 wU wR wE →
        wE = (P.m + P.cR) / 2 ∧ P.P0 * wE + P.P1 * wU ≤ wR)) := by sorry

end ContingentSourcing.Competition
Source
Lu & Tomlin, Forewarned Is Forearmed?, SSRN 4260604 author manuscript (1 May 2023) of MSOM doi:10.1287/msom.2021.0540, Online Appendix p. 1 (PDF 33), Lemma A.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