Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 3, p. 20 — u†D(P)w = 1 forces u_x = w_y √(π_x/π_y) whenever p_{xy} > 0

Proved
QuantumWalkSearch.SingularGap.equality_case

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

cauchy-schwarzmarkov-chainsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1singular-values

Let P=(pxy)x,y∈XP=(p_{xy})_{x,y\in X}P=(pxy​)x,y∈X​ be an irreducible Markov chain on a finite state space XXX with stationary distribution π\piπ, and D(P)=diag⁡(π)1/2Pdiag⁡(π)−1/2D(P)=\operatorname{diag}(\pi)^{1/2}P\operatorname{diag}(\pi)^{-1/2}D(P)=diag(π)1/2Pdiag(π)−1/2. Let u,w∈CXu,w\in\mathbb C^Xu,w∈CX be unit vectors with

u†D(P) w=1.u^\dagger D(P)\,w=1 .u†D(P)w=1.

Then for every pair x,y∈Xx,y\in Xx,y∈X with pxy>0p_{xy}>0pxy​>0,

ux=wyπxπy.u_x=w_y\sqrt{\frac{\pi_x}{\pi_y}} .ux​=wy​πy​πx​​​.

This is the equality case of the Cauchy–Schwarz inequality (9): equality forces the vectors u′=(uxpxy)x,yu'=(u_x\sqrt{p_{xy}})_{x,y}u′=(ux​pxy​​)x,y​ and w′=(wyπxpxy/πy)x,yw'=(w_y\sqrt{\pi_xp_{xy}/\pi_y})_{x,y}w′=(wy​πx​pxy​/πy​​)x,y​ in CX×X\mathbb C^{X\times X}CX×X to coincide. It is the first step in showing that the singular value 111 of D(P)D(P)D(P) is simple.

Formalization Note u†D(P)wu^\dagger D(P)wu†D(P)w is Mathlib's inner product inner ℂ u (D(P) w), conjugate-linear in uuu. Because the hypothesis is that this inner product equals the real number 111 exactly (not merely in absolute value), the paper's "ignoring an overall phase" is not needed: the conclusion holds with no phase factor.

Preamble
import Mathlib
import Definitions.Def_QuantumWalkSearch_SingularGap_Discriminant

open Matrix
Formal statement
namespace QuantumWalkSearch.SingularGap

theorem equality_case {X : Type*} [Fintype X] [DecidableEq X]
    (P : Matrix X X ℝ) (π : X → ℝ)
    (hP : P ∈ Matrix.rowStochastic ℝ X) (hirr : P.IsIrreducible)
    (hπ : IsStationaryDistribution P π)
    (u w : EuclideanSpace ℂ X) (hu : ‖u‖ = 1) (hw : ‖w‖ = 1)
    (h1 : inner ℂ u (discriminantOp P π w) = 1) :
    ∀ x y : X, 0 < P x y → u x = w y * ((Real.sqrt (π x / π y) : ℝ) : ℂ) := by sorry

end QuantumWalkSearch.SingularGap
Source
Magniez, Nayak, Roland, Santha, Search via Quantum Walk, arXiv:quant-ph/0608026v4, p. 20, proof of Proposition 3 (equality case of Equation (9))
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