Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1, p. 20 — (i+1)Σ_j V_j x_ij + Σ_{k>i}Σ_j V_j x_kj = Σ_{j: α_i<R_j} V_j β_j (R_j − α_i) for the allocations (B-12)

Proved
BudgetCournot.Equilibrium.lemma_1

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

cournot-competitionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1summation-identity

Let R1,…,RM≥0R_1,\dots,R_M\ge 0R1​,…,RM​≥0 and β1,…,βM>0\beta_1,\dots,\beta_M>0β1​,…,βM​>0, and let 0≤α1≤α2≤⋯≤αN0\le\alpha_1\le\alpha_2\le\cdots\le\alpha_N0≤α1​≤α2​≤⋯≤αN​. Put nj=max⁡{i∈{0}∪[N]:αi≤Rj}n_j=\max\{i\in\{0\}\cup[N]:\alpha_i\le R_j\}nj​=max{i∈{0}∪[N]:αi​≤Rj​} as in (B-13) and

xij=βj[Rj1+nj−αii+1+∑k=1njαkk(k+1)−∑k=1iαkk(k+1)]+x_{ij}=\beta_j\Big[\frac{R_j}{1+n_j}-\frac{\alpha_i}{i+1}+\sum_{k=1}^{n_j}\frac{\alpha_k}{k(k+1)}-\sum_{k=1}^{i}\frac{\alpha_k}{k(k+1)}\Big]^+xij​=βj​[1+nj​Rj​​−i+1αi​​+k=1∑nj​​k(k+1)αk​​−k=1∑i​k(k+1)αk​​]+

as in (B-12). Then for every vector (V1,…,VM)(V_1,\dots,V_M)(V1​,…,VM​) and every firm iii,

(i+1)∑j=1MVjxij+∑k=i+1N∑j=1MVjxkj=∑j: αi<RjVjβj(Rj−αi).(i+1)\sum_{j=1}^M V_jx_{ij}+\sum_{k=i+1}^N\sum_{j=1}^M V_jx_{kj}=\sum_{j:\,\alpha_i<R_j}V_j\beta_j(R_j-\alpha_i).(i+1)j=1∑M​Vj​xij​+k=i+1∑N​j=1∑M​Vj​xkj​=j:αi​<Rj​∑​Vj​βj​(Rj​−αi​).

With V≡1V\equiv 1V≡1 this converts the budget constraints of the firms into the inequalities (B-16) on the levels αi\alpha_iαi​.

Formalization Note The lemma is an identity about the allocations (B-12) built from any non-decreasing α≥0\alpha\ge 0α≥0; no equilibrium is assumed. The market ordering R1≤⋯≤RMR_1\le\cdots\le R_MR1​≤⋯≤RM​ is not assumed: both sides split market by market, and xijx_{ij}xij​ depends on market jjj only through Rj,βjR_j,\beta_jRj​,βj​, so the statement holds for markets in any order (a strengthening of the page, confirmed numerically). The empty maximum in (B-13) is 000.

Preamble
import Mathlib
import Definitions.Def_BudgetCournot_Equilibrium_Model

open Finset
Formal statement
namespace BudgetCournot.Equilibrium

/-- Lemma 1 (B-18), p. 20: for non-decreasing levels `α ≥ 0`, the allocations `x_ij` of (B-12)
with `n_j` of (B-13) satisfy, for every vector `V` and paper index `i`,
`(i+1) ∑_j V_j x_ij + ∑_{k>i} ∑_j V_j x_kj = ∑_{j : α_i < R_j} V_j β_j (R_j - α_i)`. -/
theorem lemma_1 {N M : ℕ} (R β : Fin M → ℝ) (hR0 : ∀ j, 0 ≤ R j) (hβ : ∀ j, 0 < β j)
    (α : Fin N → ℝ) (hα : Monotone α) (hα0 : ∀ i, 0 ≤ α i) (V : Fin M → ℝ) (i : Fin N) :
    ((i : ℕ) + 2 : ℝ) * ∑ j, V j * xAlpha R β α i j
        + ∑ k ∈ univ.filter (fun k => i < k), ∑ j, V j * xAlpha R β α k j =
      ∑ j ∈ univ.filter (fun j => α i < R j), V j * β j * (R j - α i) := 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. 20, Lemma 1, (B-18); (B-12), (B-13), p. 19
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