Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 10, p. 30 — the sequential FOC algorithm (Steps 1–4, any argmin) is well defined and outputs the unique Nash equilibrium

Open
HetExponomial.ChoiceProb.Supplement.theorem_10

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithmexponomial-choicenash-equilibriump2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1price-competition

Throughout, N={1,…,n}N=\{1,\dots,n\}N={1,…,n} with n≥2n\ge 2n≥2, the ideal utilities uiu_iui​ are real, and the errors z1,…,znz_1,\dots,z_nz1​,…,zn​ are independent with zj∼Exp(λj)z_j\sim\mathrm{Exp}(\lambda_j)zj​∼Exp(λj​), λj>0\lambda_j>0λj​>0; Qi(u,λ)=P{ui−zi≥uj−zj ∀j≠i}Q_i(\mathbf u,\boldsymbol\lambda)=P\{u_i-z_i\ge u_j-z_j\ \forall j\ne i\}Qi​(u,λ)=P{ui​−zi​≥uj​−zj​ ∀j=i} is the HEC choice probability. In the pricing model, product iii has ideal utility ui=αi−βpiu_i=\alpha_i-\beta p_iui​=αi​−βpi​ at price pip_ipi​, with intrinsic desirability αi∈R\alpha_i\in\mathbb Rαi​∈R and price sensitivity β>0\beta>0β>0; market size is 111 and marginal costs are 000. In the nnn-firm oligopoly, firm iii sells product iii, chooses a price pi≥0p_i\ge 0pi​≥0 (equivalently ui≤αiu_i\le\alpha_iui​≤αi​) and earns Ri=pi QiR_i=p_i\,Q_iRi​=pi​Qi​. A Nash equilibrium in prices is a price vector p∗≥0p^*\ge 0p∗≥0 from which no firm can raise its revenue by changing its own price to any other nonnegative price; ui∗=αi−βpi∗u^*_i=\alpha_i-\beta p^*_iui∗​=αi​−βpi∗​, Qi∗Q^*_iQi∗​ and Ri∗R^*_iRi∗​ are the equilibrium ideal utilities, market shares and revenues. The ratio τi(u)=Qi(u)/(∂Qi(u)/∂ui)\tau_i(\mathbf u)=Q_i(\mathbf u)/(\partial Q_i(\mathbf u)/\partial u_i)τi​(u)=Qi​(u)/(∂Qi​(u)/∂ui​) is (12), L=∑k∈NλkL=\sum_{k\in N}\lambda_kL=∑k∈N​λk​, M=max⁡jαjM=\max_{j}\alpha_jM=maxj​αj​, and for a set SSS of solved products with values uk∗u^*_kuk∗​, τi(ui∣u(S))\tau_i(u_i\mid u(S))τi​(ui​∣u(S)) is τi\tau_iτi​ evaluated with coordinate iii equal to uiu_iui​, coordinate k∈Sk\in Sk∈S equal to uk∗u^*_kuk∗​, and every other coordinate equal to MMM (13). Consider the algorithm:

  1. Step 1: S=∅S=\emptysetS=∅, M=max⁡jαjM=\max_j\alpha_jM=maxj​αj​, u∗=(M,…,M)\mathbf u^*=(M,\dots,M)u∗=(M,…,M), t=1t=1t=1.
  2. Step 2: compute ui1=αi−1/(L−λi)u^1_i=\alpha_i-1/(L-\lambda_i)ui1​=αi​−1/(L−λi​) for all iii, pick k∈arg⁡min⁡iui1k\in\arg\min_i u^1_ik∈argmini​ui1​, set uk∗=uk1u^*_k=u^1_kuk∗​=uk1​ and S←S∪{k}S\leftarrow S\cup\{k\}S←S∪{k}.
  3. Step 3: while t≤nt\le nt≤n after incrementing ttt, for every unsolved i∉Si\notin Si∈/S solve for the unique uitu^t_iuit​ with αi−uit=τi(uit∣u(S))\alpha_i-u^t_i=\tau_i(u^t_i\mid u(S))αi​−uit​=τi​(uit​∣u(S)), pick k∈arg⁡min⁡i∉Suitk\in\arg\min_{i\notin S}u^t_ik∈argmini∈/S​uit​, set uk∗=uktu^*_k=u^t_kuk∗​=ukt​, S←S∪{k}S\leftarrow S\cup\{k\}S←S∪{k}.
  4. Step 4: pi∗=(αi−ui∗)/βp^*_i=(\alpha_i-u^*_i)/\betapi∗​=(αi​−ui∗​)/β.

Theorem 10: the algorithm can be run, with argmin ties broken arbitrarily; in every run each equation of Step 3 has exactly one solution; and the output p∗\mathbf p^*p∗ is a Nash equilibrium in prices and the only one:

p∗ is the unique Nash equilibrium in prices.\mathbf p^*\ \text{is the unique Nash equilibrium in prices}.p∗ is the unique Nash equilibrium in prices.

This is a general method that computes the equilibrium of Theorem 9 by solving n(n−1)/2n(n-1)/2n(n−1)/2 one-dimensional equations.

Formalization Note A run is an order σ : Fin n ≃ Fin n (σ s is the product fixed at step s+1s+1s+1) together with the final values u∗u^*u∗. In Step 3 the vector (u1∗,…,uit,…,un∗)(u^*_1,\dots,u^t_i,\dots,u^*_n)(u1∗​,…,uit​,…,un∗​) has MMM at unsolved coordinates other than iii, which is condVec. The candidates of a step are required to solve their equations for every unsolved product; the conclusion asserts the uniqueness of those solutions.

Differences from the source:

  • encoding: the algorithm with "find k := argmin" (ties arbitrary) → every σ : Fin n ≃ Fin n and u* satisfying IsGeneralRun, plus existence of one; reason: quantifying over every run is the paper's arbitrary tie-breaking
Preamble
import Mathlib
import Definitions.Def_HetExponomial_ChoiceProb_Model
import Definitions.Def_HetExponomial_ChoiceProb_Supplement_Model
Formal statement
namespace HetExponomial.ChoiceProb.Supplement

open MeasureTheory ProbabilityTheory HetExponomial.ChoiceProb

theorem theorem_10 {n : ℕ} (hn : 2 ≤ n) (α : Fin n → ℝ) (β : ℝ) (hβ : 0 < β)
    (lam : Fin n → ℝ) (hlam : ∀ j, 0 < lam j) :
    (∃ (σ : Fin n ≃ Fin n) (ustar : Fin n → ℝ), IsGeneralRun α lam σ ustar) ∧
      ∀ (σ : Fin n ≃ Fin n) (ustar : Fin n → ℝ), IsGeneralRun α lam σ ustar →
        (∀ s : Fin n, 0 < s.val → ∀ i, i ∉ solvedBefore σ s.val →
            ∃! x : ℝ, α i - x = tauCond α lam (solvedBefore σ s.val) ustar i x) ∧
          IsPriceNE α β lam (eqPrices α β ustar) ∧
          ∀ p, IsPriceNE α β lam p → p = eqPrices α β ustar := by sorry

end HetExponomial.ChoiceProb.Supplement
Source
Alptekinoğlu & Semple, Heteroscedastic Exponomial Choice, SSRN 3232788 (version of August 8, 2020; forthcoming in Operations Research), p. 30, Theorem 10; §6.2, pp. 28–30; (13), p. 29

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