Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 19, p. 21 — the series (77) truncated at j₀ = √(b log(4b/ε)) is ε-close to (1 − (1 − x²)^b)/x on [−1, 1]

Proved
QuantumLinSys.Chebyshev.lemma_19

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

chebyshev-polynomialsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-linear-systemsuniform-approximation

Let b≥0b \ge 0b≥0 be an integer and ε>0\varepsilon > 0ε>0, and put j0=blog⁡(4b/ε)j_0 = \sqrt{b\log(4b/\varepsilon)}j0​=blog(4b/ε)​. Then the truncation of the series (77),

g(x):=4∑j=0j0(−1)j[∑i=j+1b(2bb+i)22b]T2j+1(x),(88)g(x) := 4 \sum_{j=0}^{j_0} (-1)^j \left[ \frac{\sum_{i=j+1}^{b} \binom{2b}{b+i}}{2^{2b}} \right] \mathcal T_{2j+1}(x), \tag{88}g(x):=4j=0∑j0​​(−1)j[22b∑i=j+1b​(b+i2b​)​]T2j+1​(x),(88)

is ε\varepsilonε-close on [−1,1][-1,1][−1,1] to the function fb(x)=1−(1−x2)bxf_b(x) = \dfrac{1-(1-x^2)^b}{x}fb​(x)=x1−(1−x2)b​ of (74):

∣g(x)−fb(x)∣≤εfor all x∈[−1,1].|g(x) - f_b(x)| \le \varepsilon \qquad \text{for all } x \in [-1,1].∣g(x)−fb​(x)∣≤εfor all x∈[−1,1].

Thus fbf_bfb​ is ε\varepsilonε-approximated by a combination of Chebyshev polynomials of order O(blog⁡(b/ε))O(\sqrt{b\log(b/\varepsilon)})O(blog(b/ε)​) rather than 2b−12b-12b−1, which is what reduces the cost of the quantum walk implementation.

Formalization Note The sum runs over j=0,…,⌊j0⌋j = 0, \dots, \lfloor j_0 \rfloorj=0,…,⌊j0​⌋, so ggg has degree 2⌊j0⌋+12\lfloor j_0\rfloor + 12⌊j0​⌋+1; the page's order bound O(blog⁡(b/ε))O(\sqrt{b\log(b/\varepsilon)})O(blog(b/ε)​) is this degree and is not stated separately. At x=0x = 0x=0, fb(0)f_b(0)fb​(0) is read as 000 (the continuous extension; see Lemma 18). If 4b/ε<14b/\varepsilon < 14b/ε<1, Lean's log⁡\loglog and ⋅\sqrt{\cdot}⋅​ give j0=0j_0 = 0j0​=0; the statement is still the page's.

Preamble
import Mathlib
import Definitions.Def_QuantumLinSys_Chebyshev_Setting
Formal statement
namespace QuantumLinSys.Chebyshev

theorem lemma_19 (b : ℕ) (ε : ℝ) (hε : 0 < ε) :
    ∀ x ∈ Set.Icc (-1 : ℝ) 1, |chebSum b (j0Of b ε + 1) x - fTamed b x| ≤ ε := by sorry

end QuantumLinSys.Chebyshev
Source
Childs, Kothari and Somma, Quantum algorithm for systems of linear equations with exponentially improved dependence on precision, arXiv:1511.02306v2, p. 21, Lemma 19 (eq. (88))
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me