Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5, p. 566 — the ratio of Theorem 12 increases in ddd and tends to e/(e−1)e/(e-1)e/(e−1)

Proved
NonuniformCompetitive.Isosceles.ratio_increases_to_e_ratio

by mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

competitive-analysisp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1real-analysis

For an integer d≥1d\ge1d≥1 let

αd=e2d−1+1/4d(e2d−1−1)+1/2d,e2d−1=(2d2d−1)2d−1.\alpha_d=\frac{e_{2d-1}+1/4d}{(e_{2d-1}-1)+1/2d},\qquad e_{2d-1}=\left(\frac{2d}{2d-1}\right)^{2d-1}.αd​=(e2d−1​−1)+1/2de2d−1​+1/4d​,e2d−1​=(2d−12d​)2d−1.

Then the sequence α1,α2,α3,…\alpha_1,\alpha_2,\alpha_3,\dotsα1​,α2​,α3​,… is strictly increasing, and

lim⁡d→∞αd=ee−1.\lim_{d\to\infty}\alpha_d=\frac{e}{e-1}.d→∞lim​αd​=e−1e​.

Thus the optimal randomized two-server ratio on the 111-ddd-ddd triangle starts at 3/23/23/2 (equilateral triangle, d=1d=1d=1) and approaches the optimal randomized ratio e/(e−1)e/(e-1)e/(e−1) of ski-rental-type problems as the triangle becomes long and thin.

Formalization Note The paper says the ratio "grows"; this is read as strict increase, stated as strict monotonicity of n↦αn+1n\mapsto\alpha_{n+1}n↦αn+1​ on N\mathbb NN. The limit is along d→∞d\to\inftyd→∞ in N\mathbb NN (the value at d=0d=0d=0 is irrelevant to it).

Preamble
import Mathlib
import Definitions.Def_NonuniformCompetitive_Isosceles_isoscelesRatio
Formal statement
namespace NonuniformCompetitive.Isosceles

/-- §5, p. 566 (Karlin–Manasse–McGeoch–Owicki 1994): the competitive ratio of Theorem 12 grows
and approaches `e/(e - 1)` as `d` grows. "Grows" is read as strictly increasing over the
admissible values `d = 1, 2, 3, …`, stated as strict monotonicity of `n ↦ isoscelesRatio (n + 1)`;
the limit is taken as `d → ∞`. -/
theorem ratio_increases_to_e_ratio :
    StrictMono (fun n : ℕ => isoscelesRatio (n + 1)) ∧
      Filter.Tendsto isoscelesRatio Filter.atTop
        (nhds (Real.exp 1 / (Real.exp 1 - 1))) := by sorry

end NonuniformCompetitive.Isosceles
Source
Karlin, Manasse, McGeoch, Owicki, Competitive Randomized Algorithms for Nonuniform Problems, Algorithmica 11 (1994), DOI 10.1007/BF01189993, p. 566, §5, sentence after the proof of Theorem 12
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

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