Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1 (p. 8) — equilibrium in the decentralized system: delivery-irrelevant vs delivery-only regime

Proved
FoodDeliv.Decentral.proposition_1

by Shuze Chen · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

equilibriumplatform-economicsqueueing-gamestackelberg

Let R,μ,c,Λ0R,\mu,c,\Lambda_0R,μ,c,Λ0​ satisfy μ>0\mu>0μ>0, c>0c>0c>0, c<Rμc<R\muc<Rμ and Λ0≥μ\Lambda_0\ge\muΛ0​≥μ. There is ϕ1\phi_1ϕ1​ such that for every ϕ∈[0,c)\phi\in[0,c)ϕ∈[0,c) there are λ1∈(0,μ)\lambda_1\in(0,\mu)λ1​∈(0,μ) and, for every Λ1∈(0,μ)\Lambda_1\in(0,\mu)Λ1​∈(0,μ), a subgame-perfect equilibrium of the food-delivery game with parameters (R,μ,c,ϕ,Λ0,Λ1)(R,\mu,c,\phi,\Lambda_0,\Lambda_1)(R,μ,c,ϕ,Λ0​,Λ1​) whose outcome p∗,π∗,S∗,λD∗,λW∗p^*,\pi^*,S^*,\lambda^*_D,\lambda^*_Wp∗,π∗,S∗,λD∗​,λW∗​ (as functions of Λ1\Lambda_1Λ1​) satisfies the following. Let I=(0,μ)I=(0,\mu)I=(0,μ) if ϕ>ϕ1\phi>\phi_1ϕ>ϕ1​ and I=(0,λ1]I=(0,\lambda_1]I=(0,λ1​] if ϕ≤ϕ1\phi\le\phi_1ϕ≤ϕ1​.

  1. On III, p∗p^*p∗ and λD∗+λW∗\lambda^*_D+\lambda^*_WλD∗​+λW∗​ are constant, while π∗\pi^*π∗, S∗S^*S∗, λD∗\lambda^*_DλD∗​ and −λW∗-\lambda^*_W−λW∗​ are weakly increasing in Λ1\Lambda_1Λ1​.
  2. If ϕ≤ϕ1\phi\le\phi_1ϕ≤ϕ1​:
p∗(a)<p∗(b)  (a∈(0,λ1], b∈(λ1,μ)),π∗(λ1)>lim⁡Λ1↘λ1π∗(Λ1),S∗(λ1)>lim⁡Λ1↘λ1S∗(Λ1),p^*(a)<p^*(b)\ \ (a\in(0,\lambda_1],\ b\in(\lambda_1,\mu)),\qquad \pi^*(\lambda_1)>\lim_{\Lambda_1\searrow\lambda_1}\pi^*(\Lambda_1),\qquad S^*(\lambda_1)>\lim_{\Lambda_1\searrow\lambda_1}S^*(\Lambda_1),p∗(a)<p∗(b)  (a∈(0,λ1​], b∈(λ1​,μ)),π∗(λ1​)>Λ1​↘λ1​lim​π∗(Λ1​),S∗(λ1​)>Λ1​↘λ1​lim​S∗(Λ1​),

both limits existing. 3. If ϕ<c/(2Rμ/c−1)\phi<c/(2\sqrt{R\mu/c}-1)ϕ<c/(2Rμ/c​−1), then c/(2Rμ/c−1)≤ϕ1c/(2\sqrt{R\mu/c}-1)\le\phi_1c/(2Rμ/c​−1)≤ϕ1​, the limit L=lim⁡Λ1↗μ(λD∗+λW∗)L=\lim_{\Lambda_1\nearrow\mu}(\lambda^*_D+\lambda^*_W)L=limΛ1​↗μ​(λD∗​+λW∗​) exists, and λD∗+λW∗<L\lambda^*_D+\lambda^*_W<LλD∗​+λW∗​<L on (0,λ1](0,\lambda_1](0,λ1​].

In words: if delivery is inconvenient or tech-savvy customers are few, the restaurant ignores the platform and more tech-savvy customers only shift its customer mix; otherwise, at a critical mass λ1\lambda_1λ1​, the restaurant switches to a delivery-only regime with a higher price, the platform's profit and welfare drop, and when delivery is convenient enough, demand eventually exceeds its level before delivery.

Formalization Note The equilibrium is defined by optimality conditions (customers' equilibrium with the p. 7 tie rule, the platform's best response over θ≥0\theta\ge0θ≥0, the restaurant's optimum over p≥0p\ge0p≥0), never by the paper's tables. S∗S^*S∗ includes the customers' surplus. "p∗p^*p∗" is read existentially: there is an SPE at every Λ1∈(0,μ)\Lambda_1\in(0,\mu)Λ1​∈(0,μ), including λ1\lambda_1λ1​ itself, with these properties; at Λ1=λ1\Lambda_1=\lambda_1Λ1​=λ1​, and when ϕ=ϕ1\phi=\phi_1ϕ=ϕ1​ on part of (λ1,μ)(\lambda_1,\mu)(λ1​,μ), the restaurant has two optimal prices (findings F1, F2), and the universal reading is false there. "π∗∣Λ1≤λ1>π∗∣Λ1↘λ1\pi^*|_{\Lambda_1\le\lambda_1}>\pi^*|_{\Lambda_1\searrow\lambda_1}π∗∣Λ1​≤λ1​​>π∗∣Λ1​↘λ1​​" is read as the value at λ1\lambda_1λ1​ against the right limit, which the proof compares (Online Appendix p. 27); "λD∗+λW∗∣Λ1↗μ\lambda^*_D+\lambda^*_W|_{\Lambda_1\nearrow\mu}λD∗​+λW∗​∣Λ1​↗μ​" is the left limit at μ\muμ; limits are asserted to exist. In "if ϕ<c/(2Rμ/c−1)≤ϕ1\phi<c/(2\sqrt{R\mu/c}-1)\le\phi_1ϕ<c/(2Rμ/c​−1)≤ϕ1​" the part "≤ϕ1\le\phi_1≤ϕ1​" is a conclusion. c<Rμc<R\muc<Rμ is used by the paper's proofs without being stated (finding F4); Λ1<μ\Lambda_1<\muΛ1​<μ is the paper's focus (Online Appendix p. 7). ϕ=0\phi=0ϕ=0 is included, as in the paper.

Preamble
import Mathlib
import Definitions.Def_FoodDeliv_Decentral_Model

open Filter Topology
Formal statement
namespace FoodDeliv.Decentral

/-- Proposition 1 (Equilibrium in Decentralized System), p. 8, its "Formally, …" sentence:
there exist `ϕ1` and, for each `ϕ ∈ [0, c)`, a threshold `λ1 ∈ (0, μ)` (`l1` in Lean) and a subgame-perfect
equilibrium `E Λ1` of the game with tech-savvy arrival rate `Λ1`, for every `Λ1 ∈ (0, μ)`, such
that, writing `p*, π*, S*, λ*_D, λ*_W` for its outcome:
1. if `ϕ > ϕ1`, on `(0, μ)`, and if `ϕ ≤ ϕ1`, on `(0, λ1]`: `p*` and `λ*_D + λ*_W` are constant,
   and `π*`, `S*`, `λ*_D`, `-λ*_W` are weakly increasing in `Λ1`;
2. if `ϕ ≤ ϕ1`: `p*` on `(0, λ1]` is below `p*` on `(λ1, μ)`, and `π*`, `S*` at `λ1` exceed
   their right limits at `λ1`;
3. if `ϕ < c / (2√(Rμ/c) - 1)`, then `c / (2√(Rμ/c) - 1) ≤ ϕ1` and `λ*_D + λ*_W` on `(0, λ1]`
   is below its left limit at `μ`. -/
theorem proposition_1 (R μ c Λ0 : ℝ) (hμ : 0 < μ) (hc : 0 < c) (hcR : c < R * μ)
    (hΛ0 : μ ≤ Λ0) :
    ∃ ϕ1 : ℝ, ∀ ϕ : ℝ, 0 ≤ ϕ → ϕ < c →
    ∃ l1 : ℝ, 0 < l1 ∧ l1 < μ ∧
    ∃ E : ℝ → Strategy,
      (∀ Λ1 ∈ Set.Ioo 0 μ, IsSPE ⟨R, μ, c, ϕ, Λ0, Λ1⟩ (E Λ1)) ∧
      let I : Set ℝ := if ϕ1 < ϕ then Set.Ioo 0 μ else Set.Ioc 0 l1
      -- (i) / (ii)
      ((∀ a ∈ I, ∀ b ∈ I, (E a).pStar = (E b).pStar) ∧
        (∀ a ∈ I, ∀ b ∈ I,
          (E a).lamDStar + (E a).lamWStar = (E b).lamDStar + (E b).lamWStar) ∧
        MonotoneOn (fun Λ1 => (E Λ1).platProfitStar) I ∧
        MonotoneOn (fun Λ1 => (E Λ1).welfareStar ⟨R, μ, c, ϕ, Λ0, Λ1⟩) I ∧
        MonotoneOn (fun Λ1 => (E Λ1).lamDStar) I ∧
        MonotoneOn (fun Λ1 => -(E Λ1).lamWStar) I) ∧
      -- otherwise
      (ϕ ≤ ϕ1 →
        (∀ a ∈ Set.Ioc 0 l1, ∀ b ∈ Set.Ioo l1 μ, (E a).pStar < (E b).pStar) ∧
        (∃ L : ℝ, Tendsto (fun Λ1 => (E Λ1).platProfitStar) (𝓝[>] l1) (𝓝 L) ∧
          L < (E l1).platProfitStar) ∧
        (∃ L : ℝ, Tendsto (fun Λ1 => (E Λ1).welfareStar ⟨R, μ, c, ϕ, Λ0, Λ1⟩) (𝓝[>] l1) (𝓝 L) ∧
          L < (E l1).welfareStar ⟨R, μ, c, ϕ, Λ0, l1⟩)) ∧
      -- furthermore
      (ϕ < c / (2 * Real.sqrt (R * μ / c) - 1) →
        c / (2 * Real.sqrt (R * μ / c) - 1) ≤ ϕ1 ∧
        ∃ L : ℝ, Tendsto (fun Λ1 => (E Λ1).lamDStar + (E Λ1).lamWStar) (𝓝[<] μ) (𝓝 L) ∧
          ∀ a ∈ Set.Ioc 0 l1, (E a).lamDStar + (E a).lamWStar < L) := by sorry

end FoodDeliv.Decentral
Source
Chen, Hu & Wang, Food Delivery Service and Restaurant: Friend or Foe?, SSRN 3469971 (author version of Management Sci. DOI 10.1287/mnsc.2021.4245), p. 8, Proposition 1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

For fixed real parameters R,μ,c,Λ0R, \mu, c, \Lambda_0R,μ,c,Λ0​, this declaration is about a model that comes from the imported module Definitions.Def_FoodDeliv_Decentral_Model. That module's source is not part of the code under review, so the following imported names are used here only as labels and are not unfolded:

  • M(R,μ,c,ϕ,Λ0,Λ1)\mathcal M(R,\mu,c,\phi,\Lambda_0,\Lambda_1)M(R,μ,c,ϕ,Λ0​,Λ1​) is the model instance built from six real numbers, in that order.
  • A strategy EEE is an object with these real-valued fields:
    • p∗(E)p^*(E)p∗(E) (pStar)
    • λD∗(E)\lambda_D^*(E)λD∗​(E) (lamDStar)
    • λW∗(E)\lambda_W^*(E)λW∗​(E) (lamWStar)
    • π∗(E)\pi^*(E)π∗(E) (platProfitStar)
  • S∗(E;M)S^*(E;\mathcal M)S∗(E;M) (welfareStar) is a real number that depends on both a strategy and a model instance.
  • "EEE is an SPE of M\mathcal MM" is the imported predicate IsSPE.

Hypotheses. The statement assumes

0<μ,0<c,c<Rμ,μ≤Λ0.0<\mu,\qquad 0<c,\qquad c<R\mu,\qquad \mu\le\Lambda_0 .0<μ,0<c,c<Rμ,μ≤Λ0​.

Write ϕc:=c2Rμ/c−1\phi_c := \dfrac{c}{2\sqrt{R\mu/c}-1}ϕc​:=2Rμ/c​−1c​ for the constant that appears in the last part.

Assertion. There is one real number ϕ1\phi_1ϕ1​, chosen before ϕ\phiϕ and so depending only on R,μ,c,Λ0R,\mu,c,\Lambda_0R,μ,c,Λ0​, with the following property. For every real ϕ\phiϕ with 0≤ϕ<c0\le\phi<c0≤ϕ<c, there exist a real number λ1\lambda_1λ1​ with 0<λ1<μ0<\lambda_1<\mu0<λ1​<μ and a function Λ1↦E(Λ1)\Lambda_1\mapsto E(\Lambda_1)Λ1​↦E(Λ1​) from all reals to strategies such that all of (A)–(D) hold. Both λ1\lambda_1λ1​ and EEE may depend on ϕ\phiϕ.

  • (A) Equilibrium. For every Λ1∈(0,μ)\Lambda_1\in(0,\mu)Λ1​∈(0,μ), E(Λ1)E(\Lambda_1)E(Λ1​) is an SPE of M(R,μ,c,ϕ,Λ0,Λ1)\mathcal M(R,\mu,c,\phi,\Lambda_0,\Lambda_1)M(R,μ,c,ϕ,Λ0​,Λ1​). Nothing is required of E(Λ1)E(\Lambda_1)E(Λ1​) for Λ1∉(0,μ)\Lambda_1\notin(0,\mu)Λ1​∈/(0,μ).

  • (B) Behaviour on an interval III. Define

I={(0,μ)if ϕ1<ϕ,(0,λ1]if ϕ≤ϕ1.I=\begin{cases}(0,\mu) & \text{if } \phi_1<\phi,\\ (0,\lambda_1] & \text{if } \phi\le\phi_1.\end{cases}I={(0,μ)(0,λ1​]​if ϕ1​<ϕ,if ϕ≤ϕ1​.​

On III:

  • p∗(E(Λ1))p^*(E(\Lambda_1))p∗(E(Λ1​)) takes the same value at every point of III.

  • λD∗(E(Λ1))+λW∗(E(Λ1))\lambda_D^*(E(\Lambda_1))+\lambda_W^*(E(\Lambda_1))λD∗​(E(Λ1​))+λW∗​(E(Λ1​)) takes the same value at every point of III.

  • Each of the following is weakly increasing on III (that is, a≤ba\le ba≤b in III implies value at aaa ≤\le≤ value at bbb):

    • Λ1↦π∗(E(Λ1))\Lambda_1\mapsto\pi^*(E(\Lambda_1))Λ1​↦π∗(E(Λ1​))
    • Λ1↦S∗(E(Λ1);M(R,μ,c,ϕ,Λ0,Λ1))\Lambda_1\mapsto S^*\big(E(\Lambda_1);\mathcal M(R,\mu,c,\phi,\Lambda_0,\Lambda_1)\big)Λ1​↦S∗(E(Λ1​);M(R,μ,c,ϕ,Λ0​,Λ1​))
    • Λ1↦λD∗(E(Λ1))\Lambda_1\mapsto\lambda_D^*(E(\Lambda_1))Λ1​↦λD∗​(E(Λ1​))
    • Λ1↦−λW∗(E(Λ1))\Lambda_1\mapsto-\lambda_W^*(E(\Lambda_1))Λ1​↦−λW∗​(E(Λ1​)), which means λW∗(E(Λ1))\lambda_W^*(E(\Lambda_1))λW∗​(E(Λ1​)) is weakly decreasing on III.
  • (C) If ϕ≤ϕ1\phi\le\phi_1ϕ≤ϕ1​:

    • For every a∈(0,λ1]a\in(0,\lambda_1]a∈(0,λ1​] and every b∈(λ1,μ)b\in(\lambda_1,\mu)b∈(λ1​,μ):
p∗(E(a))<p∗(E(b)).p^*(E(a))<p^*(E(b)).p∗(E(a))<p∗(E(b)).
  • There is a real LLL that is the limit of π∗(E(Λ1))\pi^*(E(\Lambda_1))π∗(E(Λ1​)) as Λ1→λ1\Lambda_1\to\lambda_1Λ1​→λ1​ strictly from the right, and
L<π∗(E(λ1)).L<\pi^*(E(\lambda_1)).L<π∗(E(λ1​)).
  • There is a real L′L'L′ that is the limit of S∗(E(Λ1);M(R,μ,c,ϕ,Λ0,Λ1))S^*\big(E(\Lambda_1);\mathcal M(R,\mu,c,\phi,\Lambda_0,\Lambda_1)\big)S∗(E(Λ1​);M(R,μ,c,ϕ,Λ0​,Λ1​)) as Λ1→λ1+\Lambda_1\to\lambda_1^+Λ1​→λ1+​, and
L′<S∗(E(λ1);M(R,μ,c,ϕ,Λ0,λ1)).L'<S^*\big(E(\lambda_1);\mathcal M(R,\mu,c,\phi,\Lambda_0,\lambda_1)\big).L′<S∗(E(λ1​);M(R,μ,c,ϕ,Λ0​,λ1​)).
  • (D) If ϕ<ϕc\phi<\phi_cϕ<ϕc​:
    • ϕc≤ϕ1\phi_c\le\phi_1ϕc​≤ϕ1​.
    • There is a real L′′L''L′′ that is the limit of λD∗(E(Λ1))+λW∗(E(Λ1))\lambda_D^*(E(\Lambda_1))+\lambda_W^*(E(\Lambda_1))λD∗​(E(Λ1​))+λW∗​(E(Λ1​)) as Λ1→μ\Lambda_1\to\muΛ1​→μ strictly from the left.
    • For every a∈(0,λ1]a\in(0,\lambda_1]a∈(0,λ1​]:
λD∗(E(a))+λW∗(E(a))<L′′.\lambda_D^*(E(a))+\lambda_W^*(E(a))<L''.λD∗​(E(a))+λW∗​(E(a))<L′′.

Edge cases and what the hypotheses permit.

  • ϕc\phi_cϕc​ is well defined. From 0<c<Rμ0<c<R\mu0<c<Rμ we get Rμ/c>1R\mu/c>1Rμ/c>1. So the square root is of a number greater than 111 and is itself greater than 111, and the denominator 2Rμ/c−12\sqrt{R\mu/c}-12Rμ/c​−1 is greater than 111. There is no division by zero and no square root of a negative number, and 0<ϕc<c0<\phi_c<c0<ϕc​<c.
  • ϕ1\phi_1ϕ1​ is forced to be at least ϕc\phi_cϕc​. The range [0,c)[0,c)[0,c) for ϕ\phiϕ is nonempty and contains ϕ=0<ϕc\phi=0<\phi_cϕ=0<ϕc​. Part (D) therefore applies at ϕ=0\phi=0ϕ=0, so any witness ϕ1\phi_1ϕ1​ must satisfy ϕ1≥ϕc>0\phi_1\ge\phi_c>0ϕ1​≥ϕc​>0. In particular, whenever (D) applies we have ϕ<ϕ1\phi<\phi_1ϕ<ϕ1​, so I=(0,λ1]I=(0,\lambda_1]I=(0,λ1​] and (C) also applies.
  • Only some values of EEE matter.
    • The one-sided limits in (C) depend only on values of EEE just to the right of λ1\lambda_1λ1​; those points lie in (0,μ)(0,\mu)(0,μ) because λ1<μ\lambda_1<\muλ1​<μ.
    • The limit in (D) depends only on values of EEE just to the left of μ\muμ. The value E(μ)E(\mu)E(μ) never enters any condition.
    • The limits are required to exist as finite real numbers.
  • Interval endpoints. The point λ1\lambda_1λ1​ itself belongs to III when ϕ≤ϕ1\phi\le\phi_1ϕ≤ϕ1​. The conditions in (B) are weak (constancy and non-strict monotonicity), so a constant function EEE on III would satisfy them.
  • The statement is an existence claim. It is not vacuously true: if no SPE exists for some Λ1∈(0,μ)\Lambda_1\in(0,\mu)Λ1​∈(0,μ), the statement is false.
  • Unused parameters. Λ0\Lambda_0Λ0​ enters only through the model instance and the hypothesis μ≤Λ0\mu\le\Lambda_0μ≤Λ0​.
  • What it depends on. Everything the statement says about prices, rates, profit, welfare and equilibrium rests on the imported definitions, which this read-back does not expand.
Human review
  • Endorsed by Community (Bot) · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 22, 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