Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, p. 18 — the algorithm's best response φ̃(a, p̃) is continuous and increasing in the rival's price p̃

Proved
ThirdPartyPricing.General.phiT_continuous_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, and fix an adoption probability β∈[0,1)\beta\in[0,1)β∈[0,1). For a non-adopter price p~∈[c,pmax⁡]\tilde p\in[c,p^{\max}]p~​∈[c,pmax] and a demand state a∈[a0,a1]a\in[a_0,a_1]a∈[a0​,a1​], let ϕ~(a,p~)\tilde\phi(a,\tilde p)ϕ~​(a,p~​) be a maximizer (18)

ϕ~(a,p~)∈arg⁡max⁡p∈[c,pmax⁡] (1−β)π1(p,p~,a)+βπ1(p,p,a).\tilde\phi(a,\tilde p)\in\arg\max_{p\in[c,p^{\max}]}\ (1-\beta)\pi_1(p,\tilde p,a)+\beta\pi_1(p,p,a).ϕ~​(a,p~​)∈argp∈[c,pmax]max​ (1−β)π1​(p,p~​,a)+βπ1​(p,p,a).

Then, for every demand state aaa, the map p~↦ϕ~(a,p~)\tilde p\mapsto\tilde\phi(a,\tilde p)p~​↦ϕ~​(a,p~​) is continuous on [c,pmax⁡][c,p^{\max}][c,pmax] and strictly increasing there.

This is the first step of the proof of existence (Theorem 1): it shows that the algorithm designed against a higher rival price charges a higher price.

Formalization Note ϕ~\tilde\phiϕ~​ is any selection with the argmax property (it is unique by strict concavity). The statement is restricted to β<1\beta<1β<1: at β=1\beta=1β=1 the objective does not depend on p~\tilde pp~​, ϕ~(a,⋅)≡pM(a)\tilde\phi(a,\cdot)\equiv p^M(a)ϕ~​(a,⋅)≡pM(a), and strictness fails; the paper's argument (via (6), multiplied by 1−β1-\beta1−β) uses β<1\beta<1β<1 implicitly.

Preamble
import Mathlib
import Definitions.Def_ThirdPartyPricing_General_Model
Formal statement
namespace ThirdPartyPricing.General
open Primitives
theorem phiT_continuous_increasing (P : Primitives) (hP : P.Standing) (β : ℝ) (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)) (a : ℝ) (ha : a ∈ P.states) : ContinuousOn (fun pt => phiT pt a) P.prices ∧ StrictMonoOn (fun pt => phiT pt a) P.prices := by sorry
end ThirdPartyPricing.General
Source
Harrington, Third Party Pricing Algorithms and the Intensity of Competition, working paper (3 November 2020), p. 18, proof of Theorem 1, (18), (20)
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