Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 8 — the demand equilibria (1) are exactly the weighted Voronoi diagrams A_k(w*) with weights solving (3)

Proved
SpatialDemandEq.Optimal.eq_iff_weights

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

demand-equilibriump2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1spatial-queueingvoronoi-diagram

Assume the standing assumptions of the spatial model and service rates μ∈RK\mu \in \mathbb R^Kμ∈RK with ∑kμk>λ\sum_k \mu_k > \lambda∑k​μk​>λ.

  1. If (Ak)(\mathcal A_k)(Ak​) is a decentralized demand equilibrium (1) under μ\muμ, then the weights wk=c/(μk−λAk)w_k = c/(\mu_k - \lambda A_k)wk​=c/(μk​−λAk​) solve the equilibrium condition
wk=fk(Ak(w))=cμk−λAk(w),λAk(w)<μk,(3)w_k = f_k(A_k(w)) = \frac{c}{\mu_k - \lambda A_k(w)}, \qquad \lambda A_k(w) < \mu_k, \tag{3}wk​=fk​(Ak​(w))=μk​−λAk​(w)c​,λAk​(w)<μk​,(3)

and Ak=Ak(w)\mathcal A_k = \mathcal A_k(w)Ak​=Ak​(w) up to a ν\nuν-null set for every kkk. 2. Conversely, if www solves (3), then the cells (Ak(w))k(\mathcal A_k(w))_k(Ak​(w))k​ form a decentralized demand equilibrium (1) under μ\muμ.

In the paper's words, (1) describes a particular additively weighted Voronoi diagram whose weights are chosen to satisfy (3). This equivalence transfers uniqueness of the weights (Theorem 2) to uniqueness of the equilibrium partition.

Formalization Note The waiting cost is real-valued with the stability conjunct λAk<μk\lambda A_k < \mu_kλAk​<μk​ in both (1) and (3) (see the model file). The equality in part 1 is up to ν\nuν-null sets, because an equilibrium partition may differ from the Voronoi cells on the null set of ties.

Preamble
import Mathlib
import Definitions.Def_SpatialDemandEq_Optimal_Model

open MeasureTheory
Formal statement
namespace SpatialDemandEq.Optimal

theorem eq_iff_weights {n K : ℕ} (S : Set (E n)) (ν : Measure (E n)) (dst : E n → E n → ℝ)
    (xs : Fin K → E n) (c lam : ℝ) (hS : Standing S ν dst xs c lam) (μ : Fin K → ℝ)
    (hcap : lam < ∑ k, μ k) :
    (∀ A : Fin K → Set (E n), IsDecentralizedEq ν S (distFn dst xs) c lam μ A →
        IsEqWeight ν S (distFn dst xs) c lam μ (fun i => c / (μ i - lam * area ν (A i))) ∧
          ∀ k, A k =ᵐ[ν] cell S (distFn dst xs) (fun i => c / (μ i - lam * area ν (A i))) k) ∧
      ∀ w : Fin K → ℝ, IsEqWeight ν S (distFn dst xs) c lam μ w →
        IsDecentralizedEq ν S (distFn dst xs) c lam μ (cell S (distFn dst xs) w) := by sorry

end SpatialDemandEq.Optimal
Source
Carlsson, Peng & Ryzhov, Demand Equilibria in Spatial Service Systems, SSRN preprint 4794156 (version of 2024-04-14), p. 8, equilibrium condition (3) and 'In other words, (1) describes a particular additively weighted Voronoi diagram whose weights are chosen to satisfy (3)'; (1), p. 7
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