Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section IV A: process-state lifting preserves the metric property

Proved
QAlgorithms.Papers.Independent.Advance50.P17.proMetric

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let E,F\mathcal E,\mathcal FE,F range over CPTP maps on a fixed positive finite-dimensional system. Write ρE=(I⊗E)(∣Φd⟩⟨Φd∣)\rho_{\mathcal E}=(\mathcal I\otimes\mathcal E)(|\Phi_d\rangle\langle\Phi_d|)ρE​=(I⊗E)(∣Φd​⟩⟨Φd​∣), where ∣Φd⟩=d−1/2∑j∣j⟩∣j⟩|\Phi_d\rangle=d^{-1/2}\sum_j|j\rangle|j\rangle∣Φd​⟩=d−1/2∑j​∣j⟩∣j⟩ has the reference register first. If Δ\DeltaΔ is a metric on normalized density matrices of this doubled register, then

Δpro(E,F)=Δ(ρE,ρF)\Delta_{\rm pro}(\mathcal E,\mathcal F)=\Delta(\rho_{\mathcal E},\rho_{\mathcal F})Δpro​(E,F)=Δ(ρE​,ρF​)

is a metric on CPTP maps, including separation of distinct maps. This transfers state comparison to process comparison.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P17
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped Matrix ComplexConjugate Topology

namespace QAlgorithms.Papers.Independent.Advance50.P17

open QAlgorithms.Papers.Independent.Information100.P53 (fidelity)

open QAlgorithms.Papers.Independent.Information100.P08 (canonicalPurification)

open QAlgorithms.Papers.Independent.Information100.P75 (hermitianReal)

variable {I J K : Type} [Fintype I] [Fintype J] [Fintype K]
  [DecidableEq I] [DecidableEq J] [DecidableEq K]
  [Nonempty I] [Nonempty J] [Nonempty K]

/-- Section IV A, PDF p.5: Choi lifting preserves all metric axioms. -/
theorem proMetric (delta : FiniteStateDistance)
    (hm : MetricAxioms (fun rho sigma : ProcessDensityInput (I × I) => delta rho.val sigma.val)) :
    MetricAxioms (fun E F : FiniteProcess I I => proDistance delta E.val F.val) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P17

end
Source
Distance measures to compare real and ideal quantum processes, arXiv:quant-ph/0408063v2, PDF p. 5, Section IV A: process-state lifting preserves the metric property
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let III be a finite nonempty type with decidable equality, and let δ\deltaδ assign a real number to each pair of complex square matrices on every finite type with decidable equality. Assume that on positive semidefinite trace-one matrices indexed by I×II\times II×I, δ\deltaδ is nonnegative, vanishes exactly on equal matrices, is symmetric, and satisfies the triangle inequality. Put d=∣I∣d=|I|d=∣I∣, let ϕ(i,j)=d−1/2\phi(i,j)=d^{-1/2}ϕ(i,j)=d−1/2 when i=ji=ji=j and 000 otherwise, and define

CE=(id⁡I⊗E)(ϕϕ†),D(E,F)=δ(CE,CF).C_E=(\operatorname{id}_I\otimes E)(\phi\phi^\dagger), \qquad D(E,F)=\delta(C_E,C_F).CE​=(idI​⊗E)(ϕϕ†),D(E,F)=δ(CE​,CF​).

Here (id⁡I⊗E)(X)(a,i),(b,j)=E((X(a,u),(b,v))u,v)i,j(\operatorname{id}_I\otimes E)(X)_{(a,i),(b,j)} =E((X_{(a,u),(b,v)})_{u,v})_{i,j}(idI​⊗E)(X)(a,i),(b,j)​=E((X(a,u),(b,v)​)u,v​)i,j​, and a channel is a map E(X)=∑jKjXKj†E(X)=\sum_jK_jXK_j^\daggerE(X)=∑j​Kj​XKj†​ for a finite family satisfying ∑jKj†Kj=1\sum_jK_j^\dagger K_j=1∑j​Kj†​Kj​=1. On channels from III to itself, DDD is nonnegative, vanishes exactly on equal channels, is symmetric, and satisfies the triangle inequality.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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