Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.1 — Euclidean distance bounds the distance of observed distributions

Proved
BBBV.RandomPermutation.theorem_3_1

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-query-complexitytotal-variation

Let uuu and vvv be unit vectors in a finite-dimensional complex Hilbert space with a fixed orthonormal computational basis. If ∥u−v∥≤ε\|u-v\|\le\varepsilon∥u−v∥≤ε, then the distributions obtained by observing their basis coordinates satisfy

∑c∣∣uc∣2−∣vc∣2∣≤4ε.\sum_c\bigl||u_c|^2-|v_c|^2\bigr|\le 4\varepsilon.c∑​​∣uc​∣2−∣vc​∣2​≤4ε.

This converts a bound on final quantum states into a bound on measurement outcomes.

Formalization Note Total variation follows the paper's footnote 7: the sum of absolute differences, with no factor 1/21/21/2.

Preamble
import Mathlib
import Definitions.Def_BBBV_RandomPermutation_QueryModel
Formal statement
namespace BBBV.RandomPermutation

theorem theorem_3_1 {ι : Type} [Fintype ι] (u v : EuclideanSpace ℂ ι)
    (hu : ‖u‖ = 1) (hv : ‖v‖ = 1) (ε : ℝ) (h : ‖u - v‖ ≤ ε) :
    (∑ c : ι, |‖u c‖ ^ 2 - ‖v c‖ ^ 2|) ≤ 4 * ε := by sorry

end BBBV.RandomPermutation
Source
Bennett, Bernstein, Brassard and Vazirani, Strengths and weaknesses of quantum computing, arXiv:quant-ph/9701001v1, p. 7, Theorem 3.1 and footnote 7
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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