Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1 — convergence rate of the reference price

Proved
RefDemandLearning.SlowMoving.proposition_1

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

demand-learningdynamic-pricingp2o-gran-per-chapterp2o-plan-paperp2o-v1reference-effects

Let I=[ℓ,u]I=[\ell,u]I=[ℓ,u] with 0≤ℓ<u0\le\ell<u0≤ℓ<u and let ρ\rhoρ be a continuous interval-valued reference mechanism. Suppose that, for some ζ∈[0,1)\zeta\in[0,1)ζ∈[0,1) and every feasible history, rt+1=ζrt+(1−ζ)ptr_{t+1}=\zeta r_t+(1-\zeta)p_trt+1​=ζrt​+(1−ζ)pt​.

There exists a finite constant c2>0c_2>0c2​>0 such that for all positive integers s<ts<ts<t, all price histories p1,…,ps∈Ip_1,\ldots,p_s\in Ip1​,…,ps​∈I and every held price p∈Ip\in Ip∈I,

∑k=s+1t∣ρk(p1,…,ps,p,…,p⏟k−s−1)−p∣≤c2.\sum_{k=s+1}^{t}|\rho_k(p_1,\ldots,p_s,\underbrace{p,\ldots,p}_{k-s-1})-p|\le c_2.k=s+1∑t​∣ρk​(p1​,…,ps​,k−s−1p,…,p​​)−p∣≤c2​.

The constant is uniform in both endpoints, the history and the held price. This bounds the sum of absolute deviations, not merely each deviation or a limiting value. The case ζ=0\zeta=0ζ=0 is included. No demand-model or noise assumptions are needed for this mechanism-only assertion.

Formalization Note. The proof's available choice (u−ℓ)/(1−ζ)(u-\ell)/(1-\zeta)(u−ℓ)/(1−ζ) explains the constant's scale; the source's stated conclusion is existential and is kept that way.

Differences from the source:

  • encoding: periods start at 1 and positive integer horizons → period n represents source period n+1; horizons and interval endpoints retain explicit positive-natural guards; reason: finite histories use Fin n and finite sums are reindexed without changing any term
Preamble
import Definitions.Def_RefDemandLearning_SlowMoving_Mechanism

set_option autoImplicit false
Formal statement
namespace RefDemandLearning.SlowMoving

theorem proposition_1 (I : PriceInterval) (ρ : Mechanism I) (hρ : IsES ρ) :
    ∃ c₂ : ℝ, 0 < c₂ ∧ ∀ s t : ℕ, 1 ≤ s → s < t →
      ∀ (h : Fin s → Price I) (p : Price I), trackingError ρ s t h p ≤ c₂ := by sorry

end RefDemandLearning.SlowMoving
Source
den Boer and Keskin, Dynamic Pricing with Demand Learning and Reference Effects, DOI https://doi.org/10.1287/mnsc.2021.4234, supplied April 19, 2021 artifact, Proposition 1, printed p. 13, PDF p. 13
Read-back

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

Objects.

  • III is any price interval [p‾,p‾][\underline p, \overline p][p​,p​] with 0≤p‾<p‾0 \le \underline p < \overline p0≤p​<p​.
  • ρ=(ρn)n≥0\rho = (\rho_n)_{n\ge0}ρ=(ρn​)n≥0​ is a mechanism of continuous maps ρn:[p‾,p‾]n→[p‾,p‾]\rho_n : [\underline p,\overline p]^n \to [\underline p,\overline p]ρn​:[p​,p​]n→[p​,p​]; ρ0\rho_0ρ0​ is a single fixed price.

Hypothesis. ρ\rhoρ is exponential smoothing: there is a single real ζ\zetaζ with 0≤ζ<10 \le \zeta < 10≤ζ<1 such that for every infinite path ppp in [p‾,p‾][\underline p,\overline p][p​,p​] and every n≥0n \ge 0n≥0,

ρn+1(p0,…,pn)=ζ ρn(p0,…,pn−1)+(1−ζ) pn.\rho_{n+1}(p_0,\dots,p_n) = \zeta\,\rho_n(p_0,\dots,p_{n-1}) + (1-\zeta)\,p_n .ρn+1​(p0​,…,pn​)=ζρn​(p0​,…,pn−1​)+(1−ζ)pn​.

Tracking error. For integers s,ts, ts,t, a history h=(h0,…,hs−1)∈[p‾,p‾]sh = (h_0,\dots,h_{s-1}) \in [\underline p,\overline p]^sh=(h0​,…,hs−1​)∈[p​,p​]s and a price p∈[p‾,p‾]p \in [\underline p,\overline p]p∈[p​,p​], let

p~=(h0,…,hs−1,p,p,… )\tilde p = (h_0,\dots,h_{s-1}, p, p, \dots)p~​=(h0​,…,hs−1​,p,p,…)

be the path that follows the history and then holds ppp forever. Then

TE(s,t,h,p)=∑n=st−1∣ρn(p~0,…,p~n−1)−p∣.\mathrm{TE}(s,t,h,p) = \sum_{n=s}^{t-1} \bigl|\rho_n(\tilde p_0,\dots,\tilde p_{n-1}) - p\bigr| .TE(s,t,h,p)=n=s∑t−1​​ρn​(p~​0​,…,p~​n−1​)−p​.

The first term (n=sn = sn=s) is ∣ρs(h0,…,hs−1)−p∣|\rho_s(h_0,\dots,h_{s-1}) - p|∣ρs​(h0​,…,hs−1​)−p∣.

Conclusion. There exists a real c2>0c_2 > 0c2​>0 such that for all integers s,ts, ts,t with 1≤s<t1 \le s < t1≤s<t, every history h∈[p‾,p‾]sh \in [\underline p,\overline p]^sh∈[p​,p​]s and every p∈[p‾,p‾]p \in [\underline p,\overline p]p∈[p​,p​],

TE(s,t,h,p)≤c2.\mathrm{TE}(s,t,h,p) \le c_2 .TE(s,t,h,p)≤c2​.

The bound is uniform in sss, ttt, hhh and ppp; c2c_2c2​ is chosen after, and may depend on, III and ρ\rhoρ.

Degenerate cases.

  • s=0s = 0s=0 (an empty history) is excluded, and t>st > st>s guarantees at least one summand.
  • ζ=0\zeta = 0ζ=0 is permitted; then ρn+1\rho_{n+1}ρn+1​ returns the last price, the term n=sn = sn=s is ∣hs−1−p∣|h_{s-1} - p|∣hs−1​−p∣, and every later term is 000.
  • The interval always has positive length, so histories and prices always exist.
  • The initial reference ρ0\rho_0ρ0​ is unconstrained by the hypothesis.
Human review
  • Endorsed by Community (Bot) · Oct 29, 2026

    Confirmed by the moderator at approval.

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