Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4, p. 13 — one level of Approximate RAA: |sin ϕ_{i+1} − sin 3ϕᵢ| ≤ β_{i+1}|sin 2ϕᵢ|

Proved
QuantumWalkSearch.ApproxRAA.amplitude_step

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

amplitude-amplificationerror-analysisp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-algorithms

Under the hypotheses of Fact 1 (in particular γ>0\gamma>0γ>0), let ϕi∈[0,π/2]\phi_i\in[0,\pi/2]ϕi​∈[0,π/2] be the angle of ∣φi⟩=Ai∣π⟩∣0S⟩|\varphi_i\rangle=A_i|\pi\rangle|0^S\rangle∣φi​⟩=Ai​∣π⟩∣0S⟩ with the unmarked subspace, sin⁡ϕi=∥ΠM~∣φi⟩∥\sin\phi_i=\|\Pi_{\tilde M}|\varphi_i\rangle\|sinϕi​=∥ΠM~​∣φi​⟩∥. For every 0≤i<T0\le i<T0≤i<T with ϕi≤π/3\phi_i\le\pi/3ϕi​≤π/3,

∣sin⁡ϕi+1−sin⁡3ϕi∣≤βi+1 ∣sin⁡2ϕi∣.\big|\sin\phi_{i+1}-\sin 3\phi_i\big|\le\beta_{i+1}\,\big|\sin 2\phi_i\big| .​sinϕi+1​−sin3ϕi​​≤βi+1​​sin2ϕi​​.

One level of exact amplitude amplification triples the angle; the bound says that replacing ref(π)\mathrm{ref}(\pi)ref(π) by Ri+1R_{i+1}Ri+1​ perturbs the marked amplitude by at most βi+1∣sin⁡2ϕi∣\beta_{i+1}|\sin2\phi_i|βi+1​∣sin2ϕi​∣. Iterating it is the error analysis of Lemma 1.

Formalization Note The paper compares the marked amplitude of sin⁡3ϕi∣μi⟩+cos⁡3ϕi∣μi⊥⟩+∣ωi+1⟩\sin3\phi_i|\mu_i\rangle+\cos3\phi_i|\mu_i^\perp\rangle+|\omega_{i+1}\ranglesin3ϕi​∣μi​⟩+cos3ϕi​∣μi⊥​⟩+∣ωi+1​⟩ with sin⁡3ϕi\sin 3\phi_isin3ϕi​, which requires sin⁡3ϕi≥0\sin3\phi_i\ge0sin3ϕi​≥0; the hypothesis ϕi≤π/3\phi_i\le\pi/3ϕi​≤π/3 makes this explicit. In the proof of Lemma 1 it holds for every level used.

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

/-- The one-level amplitude bound (§4, p. 13, display after Eq. (3)). With
`ϕ_i = sin⁻¹ ‖Π_M̃ |φ_i⟩‖`, for `γ > 0`, `i = ii < T` and `ϕ_i ≤ π/3`:
`|sin ϕ_{i+1} − sin 3ϕ_i| ≤ β_{i+1} |sin 2ϕ_i|`. -/
theorem amplitude_step {X : Type*} [Fintype X] [DecidableEq X] {κ : ℕ → Type*}
    [∀ i, Fintype (κ i)] [∀ i, DecidableEq (κ i)]
    (M : Finset X) (piState : EuclideanSpace ℂ (X × X)) (hπ : ‖piState‖ = 1)
    (z : ∀ i, κ i) (R : ∀ i, Matrix (X × X × κ i) (X × X × κ i) ℂ) (γ : ℝ) (hγ : 0 < γ)
    (hR : ApproxReflections piState z R γ) (T : ℕ) (ii : Fin T)
    (hangle : markedAngle M (phi M z R piState T ii.val) ≤ Real.pi / 3) :
    |Real.sin (markedAngle M (phi M z R piState T (ii.val + 1))) -
        Real.sin (3 * markedAngle M (phi M z R piState T ii.val))| ≤
      beta γ (ii.val + 1) * |Real.sin (2 * markedAngle M (phi M z R piState T ii.val))| := by sorry

end QuantumWalkSearch.ApproxRAA
Source
Magniez, Nayak, Roland, Santha, Search via Quantum Walk, arXiv:quant-ph/0608026v4, p. 13, §4, display after Eq. (3) (proof of Lemma 1)
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