Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (2), p. 13 — retailer best response under a conjectured rival price: p = (1+θp̃)/(2+2θ) + w/2, Q = demand

Proved
ContractUnobs.Compare.equation_2

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

best-responselinear-demandp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1passive-beliefssupply-chain-contracts

Fix the competition parameter θ≥0\theta \ge 0θ≥0, a retailer's belief p~≥0\tilde p \ge 0p~​≥0 about its rival's price, and a contract (K,w)(K, w)(K,w) with w≥0w \ge 0w≥0 and

(1+θ) w<1+θp~.(1+\theta)\,w < 1 + \theta \tilde p .(1+θ)w<1+θp~​.

Among admissible accepting actions (p,Q)(p, Q)(p,Q) (with p,Q≥0p, Q \ge 0p,Q≥0), an action maximizes the conjectured profit π~=pmin⁡(Q,max⁡(0,1−p+θ(p~−p)))−wQ−K\tilde\pi = p\min(Q, \max(0, 1 - p + \theta(\tilde p - p))) - wQ - Kπ~=pmin(Q,max(0,1−p+θ(p~​−p)))−wQ−K if and only if

p=1+θp~2+2θ+w2p = \frac{1 + \theta \tilde p}{2 + 2\theta} + \frac{w}{2}p=2+2θ1+θp~​​+2w​

and Q=1−p+θ(p~−p)Q = 1 - p + \theta(\tilde p - p)Q=1−p+θ(p~​−p), except that when w=0w = 0w=0 any Q≥1−p+θ(p~−p)Q \ge 1 - p + \theta(\tilde p - p)Q≥1−p+θ(p~​−p) is also optimal. The maximal conjectured profit over accepting actions is

(1+θp~−(1+θ)w)24(1+θ)−K.\frac{\bigl(1 + \theta\tilde p - (1+\theta) w\bigr)^2}{4(1+\theta)} - K .4(1+θ)(1+θp~​−(1+θ)w)2​−K.

This is the retailer's best response under passive beliefs, the building block of both equilibria: the price does not depend on the rival's wholesale price, which the retailer cannot see.

Formalization Note The page's side condition "if wi≤p~jw_i \le \tilde p_jwi​≤p~​j​" is replaced by the exact condition (1+θ)w<1+θp~(1+\theta)w < 1 + \theta\tilde p(1+θ)w<1+θp~​ under which the optimal order is positive (it follows from w≤p~<1w \le \tilde p < 1w≤p~​<1). The non-uniqueness of QQQ at w=0w = 0w=0 is stated explicitly, since at zero marginal cost any order covering demand is optimal. The maximal value is not printed on the page; it is the value at the displayed solution.

Preamble
import Mathlib
import Definitions.Def_ContractUnobs_Compare_Model
Formal statement
namespace ContractUnobs.Compare

theorem equation_2 (θ pt : ℝ) (hθ : 0 ≤ θ) (hpt : 0 ≤ pt) (C : Contract) (hw : 0 ≤ C.w)
    (hint : (1 + θ) * C.w < 1 + θ * pt) :
    (∀ a : Action, a.Feasible → a.accept = true →
      ((∀ b : Action, b.Feasible → b.accept = true → conjProfit θ pt C b ≤ conjProfit θ pt C a) ↔
        (a.p = (1 + θ * pt) / (2 + 2 * θ) + C.w / 2 ∧
          (a.Q = demand θ a.p pt ∨ (C.w = 0 ∧ demand θ a.p pt ≤ a.Q))))) ∧
    IsGreatest (conjProfit θ pt C '' {b : Action | b.Feasible ∧ b.accept = true})
      ((1 + θ * pt - (1 + θ) * C.w) ^ 2 / (4 * (1 + θ)) - C.K) := by sorry

end ContractUnobs.Compare
Source
Li & Liu, Contract Unobservability and Downstream Competition, SSRN 3339702, p. 13, Equation (2) (and p. 14, first line, "if w_i ≤ p̃_j")
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

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