Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(B-4), p. 18 — a firm's best response is water-filling with a budget multiplier λ_i ≥ 0

Proved
BudgetCournot.Equilibrium.eq_B4

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

best-responsecournot-competitionkkt-conditionsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Assume the standing assumptions of the model. Fix a profile xxx and a firm iii, and let Xij−=∑k≠ixkjX_{ij-}=\sum_{k\ne i}x_{kj}Xij−​=∑k=i​xkj​ be the others' total in market jjj. Firm iii's allocation is feasible and solves its problem (2) against Xi−X_{i-}Xi−​ — no feasible allocation yyy gives firm iii a higher profit when the others keep their allocations — if and only if there is λi≥0\lambda_i\ge 0λi​≥0 with

xij=(βjRj−βjλi−Xij−)+2for all j,x_{ij}=\frac{(\beta_jR_j-\beta_j\lambda_i-X_{ij-})^+}{2}\quad\text{for all }j,xij​=2(βj​Rj​−βj​λi​−Xij−​)+​for all j,

∑jxij≤Bi\sum_j x_{ij}\le B_i∑j​xij​≤Bi​, and λi=0\lambda_i=0λi​=0 or ∑jxij=Bi\sum_j x_{ij}=B_i∑j​xij​=Bi​.

This is the first step of the proof of Theorem 1: it reduces each firm's optimization to a one-dimensional choice of the multiplier.

Formalization Note "λi\lambda_iλi​ is the smallest real such that ∑jxij≤Bi\sum_j x_{ij}\le B_i∑j​xij​≤Bi​" is encoded as complementary slackness; since Bi>0B_i>0Bi​>0 the two readings determine the same λi\lambda_iλi​. The others' allocations are arbitrary reals; no sign condition is placed on them.

Preamble
import Mathlib
import Definitions.Def_BudgetCournot_Equilibrium_Model

open Finset
Formal statement
namespace BudgetCournot.Equilibrium

/-- (B-4), p. 18: firm `i`'s allocation solves (2) against the others' allocations iff it is
the water-filling response `x_ij = (β_j R_j - β_j λ_i - X_{ij-})⁺/2` for a multiplier `λ_i ≥ 0`
with the budget constraint and complementary slackness. -/
theorem eq_B4 {N M : ℕ} (R β : Fin M → ℝ) (B : Fin N → ℝ) (hS : Standing R β B)
    (x : Fin N → Fin M → ℝ) (i : Fin N) :
    (x i ∈ feasible B i ∧
        ∀ y ∈ feasible B i, payoff R β i (Function.update x i y) ≤ payoff R β i x) ↔
      ∃ lam : ℝ, IsBR R β B i x lam := by sorry

end BudgetCournot.Equilibrium
Source
Caldentey & Haugh, Multimarket Cournot equilibria with heterogeneous resource-constrained firms, Operations Research (2024), author version of January 20, 2024, p. 18, proof of Theorem 1, (B-4)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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