Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Wholesale price equilibrium

Proved
DrugMarket.wholesale_price_equilibrium

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

economicsgame-theoryindustrial-organization

The wholesale first-order conditions hold if and only if wa∗=3t+c+(2ka+kb)/3w_a^*=3t+c+(2k_a+k_b)/3wa∗​=3t+c+(2ka​+kb​)/3 and wb∗=3t+c+(2kb+ka)/3w_b^*=3t+c+(2k_b+k_a)/3wb∗​=3t+c+(2kb​+ka​)/3, where ki=sρi/(1−ρi)k_i=s\rho_i/(1-\rho_i)ki​=sρi​/(1−ρi​) and ρi=q1/vri\rho_i=q^{1/v_{ri}}ρi​=q1/vri​. (The printed constant 3s3s3s in (3.50)–(3.51) is corrected to s/3s/3s/3, as obtained by solving (3.48)–(3.49).)

Preamble
import Mathlib
import Definitions.Def_drug_market_model
import Definitions.Def_drug_market_equilibrium
Formal statement
namespace DrugMarket
theorem wholesale_price_equilibrium (q s t c v_ra v_rb w_a w_b : ℝ) (hq : q ∈ Set.Ioo (0:ℝ) 1) (hs : 0 < s) (ht : 0 < t) (hvra : 0 < v_ra) (hvrb : 0 < v_rb) :
  (deriv (fun wa => wholesaleProfitA q s t c v_ra wa w_b) w_a = 0 ∧ deriv (fun wb => wholesaleProfitB q s t c v_rb w_a wb) w_b = 0) ↔ (w_a = wholesalePriceA q s t c v_ra v_rb ∧ w_b = wholesalePriceB q s t c v_ra v_rb) := 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.46)–(3.51), constant corrected.
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