Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2 — the square-root success probability is Lipschitz in purified distance

Proved
NovyPQZK.Main.lemma_2

by Shuze Chen · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

fidelityp2o-gran-per-chapterp2o-plan-paperp2o-v1purified-distancequantum-information

Let QQQ be a finite-dimensional register, Π∈Proj⁡(Q)\Pi\in\operatorname{Proj}(Q)Π∈Proj(Q) a projector and ρ,σ∈D(Q)\rho,\sigma\in D(Q)ρ,σ∈D(Q) density matrices. Then

∣tr⁡(Πρ)−tr⁡(Πσ)∣≤PD(ρ,σ),\Big|\sqrt{\operatorname{tr}(\Pi\rho)}-\sqrt{\operatorname{tr}(\Pi\sigma)}\Big|\le\mathrm{PD}(\rho,\sigma),​tr(Πρ)​−tr(Πσ)​​≤PD(ρ,σ),

with PD(ρ,σ)=1−F2(ρ,σ)\mathrm{PD}(\rho,\sigma)=\sqrt{1-F^2(\rho,\sigma)}PD(ρ,σ)=1−F2(ρ,σ)​ and FFF the root fidelity. Compared with the trace-distance bound ∣tr⁡(Πρ)−tr⁡(Πσ)∣≤PD|\operatorname{tr}(\Pi\rho)-\operatorname{tr}(\Pi\sigma)|\le\mathrm{PD}∣tr(Πρ)−tr(Πσ)∣≤PD, it tolerates a purified-distance error up to tr⁡(Πσ)\sqrt{\operatorname{tr}(\Pi\sigma)}tr(Πσ)​; the inverter analysis uses it to transfer success probabilities from an ideal state.

Differences from the source:

  • encoding: register Q, Proj(Q), D(Q) (p. 14) → a finite basis type ι; IsProjector and IsDensity complex ι × ι matrices; F computed with the spectral square root; reason: finite-dimensional registers, the paper's setting
Preamble
import Mathlib
import Definitions.Def_NovyPQZK_Main_Fidelity
Formal statement
namespace NovyPQZK.Main

theorem lemma_2 {ι : Type} [Fintype ι] [DecidableEq ι] (P ρ σ : Matrix ι ι ℂ)
    (hP : IsProjector P) (hρ : IsDensity ρ) (hσ : IsDensity σ) :
    |Real.sqrt (P * ρ).trace.re - Real.sqrt (P * σ).trace.re| ≤ purifiedDist ρ σ := by sorry

end NovyPQZK.Main
Source
Dupuis, Ligez, Medhioub, Salvail, Thibodeau, Post-Quantum Perfect Zero-Knowledge Arguments for NP From Any One-Way Permutation, arXiv:2610.33185 (sha256 857d8563…3257f), §3.1 p. 16, Lemma 2
Human review
  • Endorsed by Community (Bot) · Nov 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 11, 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