Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 4, display: Td(λ)=∑i≥1(λ′)di/λd/(d−1)T_d(\lambda)=\sum_{i\ge1}(\lambda')^{d^i}/\lambda^{d/(d-1)}Td​(λ)=∑i≥1​(λ′)di/λd/(d−1) with λ′=λ1/(d−1)\lambda'=\lambda^{1/(d-1)}λ′=λ1/(d−1)

Proved
PowerTwoChoices.Asymptotics.td_rewriting

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

asymptoticsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1series

Let d≥2d\ge2d≥2 be an integer and 0<λ<10<\lambda<10<λ<1, and put λ′=λ1/(d−1)\lambda'=\lambda^{1/(d-1)}λ′=λ1/(d−1) (the positive real root). Then the series ∑i≥1(λ′)di\sum_{i\ge1}(\lambda')^{d^i}∑i≥1​(λ′)di converges and

Td(λ)=∑i=1∞λdi−dd−1=∑i=1∞(λ′)diλd/(d−1).T_d(\lambda)=\sum_{i=1}^{\infty}\lambda^{\frac{d^i-d}{d-1}}=\frac{\sum_{i=1}^{\infty}(\lambda')^{d^i}}{\lambda^{d/(d-1)}} .Td​(λ)=i=1∑∞​λd−1di−d​=λd/(d−1)∑i=1∞​(λ′)di​.

This rewriting expresses Td(λ)T_d(\lambda)Td​(λ) through the lacunary series ∑ixdi\sum_i x^{d^i}∑i​xdi evaluated at x=λ′x=\lambda'x=λ′, which is how the paper reduces Theorem 4 to Lemma 3.

Formalization Note. λ′\lambda'λ′ and λd/(d−1)\lambda^{d/(d-1)}λd/(d−1) are real powers (Real.rpow); (λ′)di(\lambda')^{d^i}(λ′)di is a natural-number power. Both sums over i≥1i\ge1i≥1 are written over i∈Ni\in\mathbb Ni∈N with the i=0i=0i=0 term set to 000. The hypothesis λ>0\lambda>0λ>0 is needed because the identity divides by λd/(d−1)\lambda^{d/(d-1)}λd/(d−1).

Preamble
import Mathlib
import Definitions.Def_PowerTwoChoices_Asymptotics_ExpectedTime

open Filter Topology
Formal statement
namespace PowerTwoChoices.Asymptotics

/-- The rewriting of `T_d` in the proof of Theorem 4 (Mitzenmacher 2001, p. 1099): for `d ≥ 2`
and `0 < λ < 1`, with `λ' = λ^{1/(d-1)}` (real power), the series `∑_{i ≥ 1} (λ')^{d^i}`
converges and
`T_d(λ) = (∑_{i ≥ 1} (λ')^{d^i}) / λ^{d/(d-1)}`. -/
theorem td_rewriting (d : ℕ) (hd : 2 ≤ d) (lam : ℝ) (h0 : 0 < lam) (h1 : lam < 1) :
    Summable (fun i : ℕ => if 1 ≤ i then (lam ^ (1 / ((d : ℝ) - 1))) ^ (d ^ i) else 0) ∧
      Td d lam =
        (∑' i : ℕ, if 1 ≤ i then (lam ^ (1 / ((d : ℝ) - 1))) ^ (d ^ i) else 0) /
          lam ^ ((d : ℝ) / ((d : ℝ) - 1)) := by sorry

end PowerTwoChoices.Asymptotics
Source
Mitzenmacher, The Power of Two Choices in Randomized Load Balancing, IEEE Trans. Parallel Distrib. Syst. 12(10), 2001, p. 1099, proof of Theorem 4, display
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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