Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3 — with positive self-loops, D(P) has exactly one singular value equal to 1

Proved
QuantumWalkSearch.SingularGap.proposition_3

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

markov-chainsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-walkssingular-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 such that

pxx>0for every x∈X,p_{xx}>0\qquad\text{for every }x\in X,pxx​>0for every x∈X,

and let π\piπ be its stationary distribution. Then the discriminant matrix

D(P)=diag⁡(π)1/2⋅P⋅diag⁡(π)−1/2D(P)=\operatorname{diag}(\pi)^{1/2}\cdot P\cdot\operatorname{diag}(\pi)^{-1/2}D(P)=diag(π)1/2⋅P⋅diag(π)−1/2

has exactly one singular value equal to 111: among its ∣X∣|X|∣X∣ singular values σ0≥σ1≥⋯≥σ∣X∣−1\sigma_0\ge\sigma_1\ge\dots\ge\sigma_{|X|-1}σ0​≥σ1​≥⋯≥σ∣X∣−1​, counted with multiplicity,

#{ i<∣X∣:σi=1 }=1.\#\{\,i<|X| : \sigma_i=1\,\}=1 .#{i<∣X∣:σi​=1}=1.

Combined with Lemma 3 (all singular values lie in [0,1][0,1][0,1]), this says that D(P)D(P)D(P) has a non-zero singular value gap. The self-loop hypothesis cannot be dropped: there are ergodic chains whose discriminant has zero singular value gap. The result is what allows the quantum-walk search algorithm of the paper to be run with a non-reversible Markov chain, with the eigenvalue gap of PPP replaced by the singular value gap of D(P)D(P)D(P) (Theorem 8).

Formalization Note The chain is a row-stochastic real matrix, irreducible in the sense of Mathlib's Matrix.IsIrreducible; the stationary distribution is given as data (positive, summing to 111, left 111-eigenvector of PPP). The singular values are Mathlib's LinearMap.singularValues of D(P)D(P)D(P) acting on CX\mathbb C^XCX, which lists the square roots of the eigenvalues of D(P)†D(P)D(P)^\dagger D(P)D(P)†D(P) with multiplicity, so the count is the multiplicity of the singular value 111. Reversibility is not assumed.

Preamble
import Mathlib
import Definitions.Def_QuantumWalkSearch_SingularGap_Discriminant

open Matrix
Formal statement
namespace QuantumWalkSearch.SingularGap

theorem proposition_3 {X : Type*} [Fintype X] [DecidableEq X]
    (P : Matrix X X ℝ) (π : X → ℝ)
    (hP : P ∈ Matrix.rowStochastic ℝ X) (hirr : P.IsIrreducible)
    (hπ : IsStationaryDistribution P π)
    (hself : ∀ x : X, 0 < P x x) :
    ((Finset.range (Fintype.card X)).filter
        (fun i => discriminantSingularValues P π i = 1)).card = 1 := by sorry

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