Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 1, p. 5 — (ln(nm/δ) + 3tε²/16)/(tε/4) = (3/4)ε + 4ln(nm/δ)/(tε) ≤ ε for t ≥ 16ln(nm/δ)/ε²

Proved
QZeroSum19.GK.fixed_step_bound

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

elementary-inequalitygrigoriadis-khachiyanp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let n,m∈Nn,m\in\mathbb Nn,m∈N, δ∈R\delta\in\mathbb Rδ∈R, ε>0\varepsilon>0ε>0 and let t≥1t\ge1t≥1 be an integer. Writing L=ln⁡(nm/δ)L=\ln(nm/\delta)L=ln(nm/δ),

L+3tε2/16tε/4=34ε+4Ltε,\frac{L+3t\varepsilon^2/16}{t\varepsilon/4}=\frac34\varepsilon+\frac{4L}{t\varepsilon},tε/4L+3tε2/16​=43​ε+tε4L​,

and if t≥16L/ε2t\ge 16L/\varepsilon^2t≥16L/ε2 then this quantity is at most ε\varepsilonε.

With the fixed step η=ε/4\eta=\varepsilon/4η=ε/4 the right-hand side of (3) is exactly this quantity (since ∑τ≤tη=tε/4\sum_{\tau\le t}\eta=t\varepsilon/4∑τ≤t​η=tε/4 and ∑τ≤tη2=tε2/16\sum_{\tau\le t}\eta^2=t\varepsilon^2/16∑τ≤t​η2=tε2/16); this is the computation that fixes the constant 161616 in Lemma 1.

Preamble
import Mathlib
Formal statement
namespace QZeroSum19.GK

/-- Proof of Lemma 1, p. 5, fixed-error display: with `η = ε/4` the right-hand side of (3) is
`(ln(nm/δ) + 3tε²/16)/(tε/4) = (3/4)ε + 4 ln(nm/δ)/(tε)`, which is at most `ε` once
`t ≥ 16 ln(nm/δ)/ε²`. -/
theorem fixed_step_bound (n m : ℕ) (δ ε : ℝ) (hε : 0 < ε) (t : ℕ) (ht : 0 < t) :
    (Real.log ((n : ℝ) * m / δ) + 3 * t * ε ^ 2 / 16) / (t * ε / 4) =
        3 / 4 * ε + 4 * Real.log ((n : ℝ) * m / δ) / (t * ε) ∧
      (16 * Real.log ((n : ℝ) * m / δ) / ε ^ 2 ≤ t →
        (Real.log ((n : ℝ) * m / δ) + 3 * t * ε ^ 2 / 16) / (t * ε / 4) ≤ ε) := by sorry

end QZeroSum19.GK
Source
van Apeldoorn and Gilyén, Quantum algorithms for zero-sum games, arXiv:1904.03180v1, p. 5, proof of Lemma 1, fixed-error display
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

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