Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§4, p. 14 — the surrogate error satisfies ẽᵢ ≤ γϕ̄ᵢ/π ≤ γ for every i ≤ t

Proved
QuantumWalkSearch.ApproxRAA.etilde_le

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

error-analysisinequalitiesp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1recurrences

Let γ>0\gamma>0γ>0, ϕ0≥0\phi_0\ge0ϕ0​≥0, ϕˉi=3iϕ0\bar\phi_i=3^i\phi_0ϕˉ​i​=3iϕ0​ and βi=184π3γi2\beta_i=\frac{18}{4\pi^3}\frac{\gamma}{i^2}βi​=4π318​i2γ​. Define the surrogate error by

e~0=0,e~i+1=4βi+1ϕˉi+3e~i.\tilde e_0=0,\qquad \tilde e_{i+1}=4\beta_{i+1}\bar\phi_i+3\tilde e_i .e~0​=0,e~i+1​=4βi+1​ϕˉ​i​+3e~i​.

If ttt is a non-negative integer with ϕˉt≤π\bar\phi_t\le\piϕˉ​t​≤π, then for every i≤ti\le ti≤t

e~i≤γ ϕˉiπ≤γ.\tilde e_i\le\frac{\gamma\,\bar\phi_i}{\pi}\le\gamma .e~i​≤πγϕˉ​i​​≤γ.

The precisions βi\beta_iβi​ are summable, ∑iβi<3γ/(4π)\sum_i\beta_i<3\gamma/(4\pi)∑i​βi​<3γ/(4π), so the errors injected at successive levels stay below γ\gammaγ although every level triples the error already present. In the proof of Lemma 1 the bound is applied with ϕ0=sin⁡−1pM\phi_0=\sin^{-1}\sqrt{p_M}ϕ0​=sin−1pM​​ and ttt the number of levels.

Preamble
import Mathlib
import Definitions.Def_QuantumWalkSearch_ApproxRAA_Setting
import Definitions.Def_QuantumWalkSearch_ApproxRAA_Circuit
Formal statement
namespace QuantumWalkSearch.ApproxRAA

/-- §4, p. 14: the surrogate error `ẽ_0 = 0`, `ẽ_{i+1} = 4 β_{i+1} ϕ̄_i + 3 ẽ_i`
(`ϕ̄_i = 3^i ϕ₀`, `β_i = 18γ/(4π³ i²)`) satisfies `ẽ_i ≤ γ ϕ̄_i / π ≤ γ` for every `i ≤ t`,
when `γ > 0` and `0 ≤ ϕ̄_t ≤ π`. -/
theorem etilde_le (γ φ₀ : ℝ) (hγ : 0 < γ) (hφ₀ : 0 ≤ φ₀) (t : ℕ)
    (ht : (3 : ℝ) ^ t * φ₀ ≤ Real.pi) (i : ℕ) (hi : i ≤ t) :
    etilde γ φ₀ i ≤ γ * ((3 : ℝ) ^ i * φ₀) / Real.pi ∧
      γ * ((3 : ℝ) ^ i * φ₀) / Real.pi ≤ γ := by sorry

end QuantumWalkSearch.ApproxRAA
Source
Magniez, Nayak, Roland, Santha, Search via Quantum Walk, arXiv:quant-ph/0608026v4, p. 14, §4 ("We show that ẽᵢ ≤ γ for every i ≤ t" and "ẽᵢ ≤ γϕ̄ᵢ/π ≤ γ since 0 ≤ ϕ̄_t ≤ π for i ≤ t")
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me