Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Indifferent consumer and Hotelling demand

Proved
DrugMarket.indifferent_consumer

by LG · Nov 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

economicsgame-theoryindustrial-organization

With outlets at the endpoints (a=0a=0a=0, 1−b=11-b=11−b=1) and t>0t>0t>0, a consumer located at x∈[0,1]x\in[0,1]x∈[0,1] is indifferent between the two outlets exactly when x=12+(pb−pa)/(2t)x=\tfrac12+(p_b-p_a)/(2t)x=21​+(pb​−pa​)/(2t). The violence disutility z(va+vb+vr)z(v_a+v_b+v_r)z(va​+vb​+vr​) is common to both outlets and cancels, so the location choice reacts to prices only, not to violence.

Preamble
import Mathlib
import Definitions.Def_drug_market_model
import Definitions.Def_drug_market_equilibrium
Formal statement
namespace DrugMarket
theorem indifferent_consumer (u z t p_a p_b v_a v_b v_r x : ℝ) (ht : 0 < t) (hx : x ∈ Set.Icc (0:ℝ) 1) :
  utilA u z t p_a v_a v_b v_r x = utilB u z t p_b v_a v_b v_r x ↔ x = (1:ℝ)/2 + (p_b - p_a)/(2*t) := by sorry
end DrugMarket
Source
Gilberto José Nogueira Júnior, *Mercado de Drogas e Repressão: Efeitos da Intervenção Governamental sobre a Violência gerada pelo Mercado de Drogas numa Rede Verticalmente Relacionada*, MSc dissertation, UFPE/PIMES, 2019, Chapter 3. Eq. (3.5)–(3.7).
Human review
  • Endorsed by Shuze Chen · Nov 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Nov 16, 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