Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, pp. 18–19 — the non-adopter's best response ϕ(p̃) to the algorithm φ̃(·, p̃) is increasing

Proved
ThirdPartyPricing.General.varphi_increasing

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

algorithmic-pricingbest-responsemonotone-comparative-staticsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Work in the model of §3 under the standing assumptions, with demand-state support [a‾,aˉ]⊆[a0,a1][\underline a,\bar a]\subseteq[a_0,a_1][a​,aˉ]⊆[a0​,a1​], a‾<aˉ\underline a<\bar aa​<aˉ, and continuous density F′F'F′ on it. Fix β∈[0,1)\beta\in[0,1)β∈[0,1) and let ϕ~(a,p~)\tilde\phi(a,\tilde p)ϕ~​(a,p~​) be the algorithm's best response (18) for p~∈[c,pmax⁡]\tilde p\in[c,p^{\max}]p~​∈[c,pmax] and a∈[a0,a1]a\in[a_0,a_1]a∈[a0​,a1​]. Let φ(p~)∈[c,pmax⁡]\varphi(\tilde p)\in[c,p^{\max}]φ(p~​)∈[c,pmax] be a best response of the non-adopting firm to the algorithm ϕ~(⋅,p~)\tilde\phi(\cdot,\tilde p)ϕ~​(⋅,p~​), (19):

φ(p~)∈arg⁡max⁡p2∈[c,pmax⁡]∫a‾aˉπ2(ϕ~(a,p~),p2,a)F′(a) da.\varphi(\tilde p)\in\arg\max_{p_2\in[c,p^{\max}]}\int_{\underline a}^{\bar a}\pi_2\big(\tilde\phi(a,\tilde p),p_2,a\big)F'(a)\,da.φ(p~​)∈argp2​∈[c,pmax]max​∫a​aˉ​π2​(ϕ~​(a,p~​),p2​,a)F′(a)da.

Then φ\varphiφ is strictly increasing on [c,pmax⁡][c,p^{\max}][c,pmax].

Equilibrium non-adopter prices are exactly the fixed points of φ\varphiφ, so this is the monotonicity on which the Tarski argument for Theorem 1 rests.

Formalization Note ϕ~\tilde\phiϕ~​ and φ\varphiφ are arbitrary selections with the argmax properties. As in the previous step, β<1\beta<1β<1 is needed for strictness: at β=1\beta=1β=1 the algorithm does not depend on p~\tilde pp~​ and φ\varphiφ is constant.

Preamble
import Mathlib
import Definitions.Def_ThirdPartyPricing_General_Model
Formal statement
namespace ThirdPartyPricing.General
open Primitives
theorem varphi_increasing (P : Primitives) (hP : P.Standing) (alo ahi : ℝ) (hA : P.IsSupport alo ahi) (f : ℝ → ℝ) (hf : IsDensity alo ahi f) (β : ℝ) (hβ : β ∈ Set.Ico (0:ℝ) 1) (phiT : ℝ → ℝ → ℝ) (hphiT : ∀ pt ∈ P.prices, ∀ a ∈ P.states, phiT pt a ∈ P.prices ∧ IsMaxOn (P.tpObj β pt a) P.prices (phiT pt a)) (varphi : ℝ → ℝ) (hvarphi : ∀ pt ∈ P.prices, varphi pt ∈ P.prices ∧ IsMaxOn (P.naProfit alo ahi f (phiT pt)) P.prices (varphi pt)) : StrictMonoOn varphi P.prices := by sorry
end ThirdPartyPricing.General
Source
Harrington, Third Party Pricing Algorithms and the Intensity of Competition, working paper (3 November 2020), pp. 18–19, proof of Theorem 1, (19)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 20, 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