Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sections V A and VI: comparison of the two operational bounds

Open
QAlgorithms.Papers.Independent.Advance50.P17.boundIncomparability

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

prove2quantum

Among positive finite-dimensional CPTP function computations with an ideal map that has zero worst-case error for the specified function, both Dstab<Cstab2D_{\rm stab}<C_{\rm stab}^2Dstab​<Cstab2​ and Dstab>Cstab2D_{\rm stab}>C_{\rm stab}^2Dstab​>Cstab2​ occur. Moreover, for function computation with computational-basis inputs and outputs, let eUe_UeU​ be the actual worst-case ideal function error for a unitary ideal UUU. There exist real CPTP maps and such ideal computations with each strict ordering

eU+Dstab(E,U)<(eU+Cstab(E,U))2,e_U+D_{\rm stab}(\mathcal E,U)<(\sqrt{e_U}+C_{\rm stab}(\mathcal E,U))^2,eU​+Dstab​(E,U)<(eU​​+Cstab​(E,U))2, eU+Dstab(E,U)>(eU+Cstab(E,U))2.e_U+D_{\rm stab}(\mathcal E,U)>(\sqrt{e_U}+C_{\rm stab}(\mathcal E,U))^2.eU​+Dstab​(E,U)>(eU​​+Cstab​(E,U))2.

The witnesses in the two comparisons may differ, and intrinsic ideal error is permitted. Neither operational bound is universally the stronger one.

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]

/-- Sections V A and VI, PDF pp.9,12: both orderings of D_stab and C_stab squared occur
with zero ideal function error; both orderings of the complete function-error bounds occur
even with a unitary ideal.
The second comparison includes the actual intrinsic ideal function error. -/
theorem boundIncomparability :
    (∃ d : ℕ, ∃ hd : 0 < d, letI : Nonempty (Fin d) := ⟨⟨0,hd⟩⟩
      ∃ E F : FiniteProcess (Fin d) (Fin d), ∃ f : Fin d → Fin d,
        worstFunctionErrorProbability F.val f = 0 ∧
        stabDistance (stateDistance .trace) E.val F.val < stabC E.val F.val ^ 2) ∧
    (∃ d : ℕ, ∃ hd : 0 < d, letI : Nonempty (Fin d) := ⟨⟨0,hd⟩⟩
      ∃ E F : FiniteProcess (Fin d) (Fin d), ∃ f : Fin d → Fin d,
        worstFunctionErrorProbability F.val f = 0 ∧
        stabC E.val F.val ^ 2 < stabDistance (stateDistance .trace) E.val F.val) ∧
    (∃ d : ℕ, ∃ hd : 0 < d, letI : Nonempty (Fin d) := ⟨⟨0,hd⟩⟩
      ∃ E : FiniteProcess (Fin d) (Fin d), ∃ U : Matrix.unitaryGroup (Fin d) ℂ, ∃ f : Fin d → Fin d,
        let ideal := conjSuperop (U : Matrix (Fin d) (Fin d) ℂ)
        worstFunctionErrorProbability ideal f + stabDistance (stateDistance .trace) E.val ideal <
          (Real.sqrt (worstFunctionErrorProbability ideal f) + stabC E.val ideal) ^ 2) ∧
    (∃ d : ℕ, ∃ hd : 0 < d, letI : Nonempty (Fin d) := ⟨⟨0,hd⟩⟩
      ∃ E : FiniteProcess (Fin d) (Fin d), ∃ U : Matrix.unitaryGroup (Fin d) ℂ, ∃ f : Fin d → Fin d,
        let ideal := conjSuperop (U : Matrix (Fin d) (Fin d) ℂ)
        (Real.sqrt (worstFunctionErrorProbability ideal f) + stabC E.val ideal) ^ 2 <
          worstFunctionErrorProbability ideal f + stabDistance (stateDistance .trace) E.val ideal) := 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. 12, Sections V A and VI: comparison of the two operational bounds
Read-back

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

Write Hd=Cd\mathcal H_d=\mathbb C^dHd​=Cd. A channel GGG here is a map on complex d×dd\times dd×d matrices admitting a finite Kraus representation G(X)=∑j=0m−1KjXKj†G(X)=\sum_{j=0}^{m-1}K_jXK_j^\daggerG(X)=∑j=0m−1​Kj​XKj†​, with m∈Nm\in\mathbb Nm∈N and ∑jKj†Kj=Id\sum_jK_j^\dagger K_j=I_d∑j​Kj†​Kj​=Id​. For f:{0,…,d−1}→{0,…,d−1}f:\{0,\ldots,d-1\}\to\{0,\ldots,d-1\}f:{0,…,d−1}→{0,…,d−1}, define its worst function error under GGG by ef(G)=sup⁡x(1−Re⁡(G(∣x⟩⟨x∣)f(x),f(x)))e_f(G)=\sup_x\bigl(1-\operatorname{Re}(G(|x\rangle\langle x|)_{f(x),f(x)})\bigr)ef​(G)=supx​(1−Re(G(∣x⟩⟨x∣)f(x),f(x)​)), where ∣x⟩|x\rangle∣x⟩ is the standard basis vector. For density matrices ρ,σ\rho,\sigmaρ,σ, put F(ρ,σ)=(Re⁡tr⁡ρ σρ)2\mathcal F(\rho,\sigma)=\bigl(\operatorname{Re}\operatorname{tr}\sqrt{\sqrt{\rho}\,\sigma\sqrt{\rho}}\bigr)^2F(ρ,σ)=(Retrρ​σρ​​)2, and for any matrix XXX put ∥X∥tr=Re⁡tr⁡X†X\|X\|_{\mathrm{tr}}=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥tr​=RetrX†X​. Define

D(E,F)=sup⁡ψ∈Hd⊗Hd∥ψ∥=112∥(id⊗E)(∣ψ⟩⟨ψ∣)−(id⊗F)(∣ψ⟩⟨ψ∣)∥tr,C(E,F)=1−inf⁡ψ∈Hd⊗Hd∥ψ∥=1F ⁣((id⊗E)(∣ψ⟩⟨ψ∣),(id⊗F)(∣ψ⟩⟨ψ∣)).D(E,F)=\sup_{\substack{\psi\in\mathcal H_d\otimes\mathcal H_d\\ \|\psi\|=1}} \frac12\left\|(\mathrm{id}\otimes E)(|\psi\rangle\langle\psi|) -(\mathrm{id}\otimes F)(|\psi\rangle\langle\psi|)\right\|_{\mathrm{tr}}, \qquad C(E,F)=\sqrt{1-\inf_{\substack{\psi\in\mathcal H_d\otimes\mathcal H_d\\ \|\psi\|=1}} \mathcal F\!\left((\mathrm{id}\otimes E)(|\psi\rangle\langle\psi|), (\mathrm{id}\otimes F)(|\psi\rangle\langle\psi|)\right)}.D(E,F)=ψ∈Hd​⊗Hd​∥ψ∥=1​sup​21​∥(id⊗E)(∣ψ⟩⟨ψ∣)−(id⊗F)(∣ψ⟩⟨ψ∣)∥tr​,C(E,F)=1−ψ∈Hd​⊗Hd​∥ψ∥=1​inf​F((id⊗E)(∣ψ⟩⟨ψ∣),(id⊗F)(∣ψ⟩⟨ψ∣))​.

Here ∣ψ⟩⟨ψ∣|\psi\rangle\langle\psi|∣ψ⟩⟨ψ∣ has entries ψaψb‾\psi_a\overline{\psi_b}ψa​ψb​​, and id⊗G\mathrm{id}\otimes Gid⊗G applies GGG to each matrix block indexed by the first register. The declaration asserts all four of the following existence statements, whose witnesses may differ: there exist a positive natural number ddd, channels E,FE,FE,F on Hd\mathcal H_dHd​, and a function fff as above such that ef(F)=0e_f(F)=0ef​(F)=0 and D(E,F)<C(E,F)2D(E,F)<C(E,F)^2D(E,F)<C(E,F)2; there exist a positive natural number ddd, channels E,FE,FE,F, and such an fff with ef(F)=0e_f(F)=0ef​(F)=0 and C(E,F)2<D(E,F)C(E,F)^2<D(E,F)C(E,F)2<D(E,F); there exist a positive natural number ddd, a channel EEE, a unitary d×dd\times dd×d matrix UUU, and such an fff, for which, writing G(X)=UXU†G(X)=UXU^\daggerG(X)=UXU†, one has ef(G)+D(E,G)<(ef(G)+C(E,G))2e_f(G)+D(E,G)<\bigl(\sqrt{e_f(G)}+C(E,G)\bigr)^2ef​(G)+D(E,G)<(ef​(G)​+C(E,G))2; and there exist a positive natural number ddd, a channel EEE, a unitary UUU, and such an fff for which (ef(G)+C(E,G))2<ef(G)+D(E,G)\bigl(\sqrt{e_f(G)}+C(E,G)\bigr)^2<e_f(G)+D(E,G)(ef​(G)​+C(E,G))2<ef​(G)+D(E,G), again with G(X)=UXU†G(X)=UXU^\daggerG(X)=UXU†. Each dimension is required only to satisfy d>0d>0d>0, so dimension zero is excluded and dimension one is allowed by the quantifiers.

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