§3.2.1, pp. 15–16, and App. F.1, p. 40 — the explicit Hotelling demand maximizes consumer surplus over the simplex
ProvedProcureAssort.Hotelling.hotDemand_isDemandby mikedeng1 · Oct 18, 2026 · Mathlib 0df444a (Lean v4.33.1)
consumer-surplusdemandhotellingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Consider the general Hotelling model with n≥2 suppliers at 0≤ℓ1<⋯<ℓn≤1, transportation cost δ>0, unit mass of consumers uniform on [0,1], and no outside option. For any price vector p∈Rn, let Q(p)={i:pi≤mink=i(pk+δ∣ℓk−ℓi∣)} and let d(p) be the Hotelling demand: di(p)=0 for i∈/Q(p), and for i∈Q(p) with left and right active neighbours L, R,
di(p)=[ℓi or 2δpL−pi+δ∣ℓi−ℓL∣]+[1−ℓi or 2δpR−pi+δ∣ℓR−ℓi∣],
the first alternative applying when i is the leftmost (resp. rightmost) active supplier. Then d(p) lies in the simplex and
d(p)∈argmaxx∈X(GCS(x)−p⋅x),
i.e. it is a consumer-optimal demand when all products are offered.
This is the paper's description of the Hotelling demand ("two consecutive suppliers i,j∈Q(p) split the segment between ℓi and ℓj … i obtains (pj−pi+δ∣ℓj−ℓi∣)/(2δ) and j the rest"), and it is what makes x⋆(θ)=d(v(θ)) the centralized optimum.
Formalization Note The page's "positive demand if and only if i∈Q(p)" is not asserted: at a tie pi=pk+δ∣ℓk−ℓi∣ supplier i is in Q(p) with zero demand, and with interior locations the argmax is then not unique; the statement claims only that the explicit d(p) is one maximizer.
Preamble
import Mathlib
import Definitions.Def_ProcureAssort_Hotelling_Setting
Formal statement
namespace ProcureAssort.Hotelling
theorem hotDemand_isDemand
(n : ℕ) (hn : 2 ≤ n)
(ℓ : Fin n → ℝ) (hℓ : StrictMono ℓ) (hℓ0 : ∀ i, 0 ≤ ℓ i) (hℓ1 : ∀ i, ℓ i ≤ 1)
(δ : ℝ) (hδ : 0 < δ) (p : Fin n → ℝ) :
IsDemand (hotGCS ℓ δ) (simplex n) Finset.univ p (hotDemand ℓ δ p) := by sorry
end ProcureAssort.Hotelling
Source
Saban & Weintraub, Procurement Mechanisms for Assortments of Differentiated Products, SSRN 3453144 (author version of 2020-03-03; Oper. Res. doi:10.1287/opre.2020.2053), §3.2.1, pp. 15–16 (Q(p), split rule) and Appendix F.1, p. 40 (Hotelling demands of active suppliers)
View graph
Confirmed by the moderator at approval.