Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(34), App. A, p. 39 — the root of 1 − e^{−α} = (1 − α)/ln(r⁽ᵐ⁾/r⁽¹⁾) is the unique solution of α + Σⱼ (1 − e^{−α}) ln(r⁽ʲ⁾/r⁽ʲ⁻¹⁾) = 1

Proved
MultiPriceOnline.Ratios.eq_34

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

exponentialp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1real-analysis

Let m≥2m \ge 2m≥2 and let 0<r(1)<⋯<r(m)0 < r^{(1)} < \dots < r^{(m)}0<r(1)<⋯<r(m) be a price set. Then:

  1. a real number aaa solves
1−e−a=1−aln⁡(r(m)/r(1))(13)1 - e^{-a} = \frac{1 - a}{\ln(r^{(m)}/r^{(1)})} \qquad (13)1−e−a=ln(r(m)/r(1))1−a​(13)

if and only if it solves

a+∑j=2m(1−e−a)ln⁡r(j)r(j−1)=1;(34)a + \sum_{j=2}^{m} \bigl(1 - e^{-a}\bigr)\ln\frac{r^{(j)}}{r^{(j-1)}} = 1; \qquad (34)a+j=2∑m​(1−e−a)lnr(j−1)r(j)​=1;(34)
  1. equation (34) has exactly one real solution;
  2. every solution of (34) lies in the open interval (0,1)(0, 1)(0,1).

The solution α\alphaα defines 1−e−α1 - e^{-\alpha}1−e−α, the paper's competitive ratio when every item may be priced anywhere in the continuum [r(1),r(m)][r^{(1)}, r^{(m)}][r(1),r(m)]; (34) puts it in the same form as (33), which is how (13) is proved.

Formalization Note Items 2 and 3 make precise the paper's phrase "α\alphaα is the unique solution". The logarithm ln⁡(r(m)/r(1))\ln(r^{(m)}/r^{(1)})ln(r(m)/r(1)) is positive for m≥2m \ge 2m≥2, so the division in (13) is by a nonzero number.

Preamble
import Mathlib
import Definitions.Def_MultiPriceOnline_Ratios_Setting
Formal statement
namespace MultiPriceOnline.Ratios

open Finset

theorem eq_34 (m : ℕ) (hm : 2 ≤ m) (r : ℕ → ℝ) (hr : MultiPriceOnline.Balance.IsPriceSet m r) :
    (∀ a : ℝ, 1 - Real.exp (-a) = (1 - a) / Real.log (r m / r 1) ↔
      a + ∑ j ∈ Icc 2 m, (1 - Real.exp (-a)) * Real.log (r j / r (j - 1)) = 1) ∧
    (∃! a : ℝ, a + ∑ j ∈ Icc 2 m, (1 - Real.exp (-a)) * Real.log (r j / r (j - 1)) = 1) ∧
    ∀ a : ℝ, a + ∑ j ∈ Icc 2 m, (1 - Real.exp (-a)) * Real.log (r j / r (j - 1)) = 1 →
      0 < a ∧ a < 1 := by sorry

end MultiPriceOnline.Ratios
Source
Ma, Simchi-Levi, Algorithms for Online Matching, Assortment, and Pricing with Tight Weight-dependent Competitive Ratios, arXiv:1905.04770v1, p. 39, App. A, proof of Proposition 2, (34); p. 17, (13)
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

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