Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Example 3 / Eqs.(62),(63): amplitude-damping zero-error cost

Open
QAlgorithms.Papers.Independent.Intakethird100.P65.damping_zeroError

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

All systems have finite positive dimension and fixed computational bases. Matrix order is Loewner order and logarithms are base two.

For 0≤r≤10\le r\le10≤r≤1, let Nr\mathcal N_rNr​ be the qubit channel with Kraus matrices E0=∣0⟩⟨0∣+1−r∣1⟩⟨1∣E_0=|0\rangle\langle0|+\sqrt{1-r}|1\rangle\langle1|E0​=∣0⟩⟨0∣+1−r​∣1⟩⟨1∣ and E1=r∣0⟩⟨1∣E_1=\sqrt r|0\rangle\langle1|E1​=r​∣0⟩⟨1∣. Then

SNS,0(Nr)=12log⁡2(2(1+1−r)−r).S_{\rm NS,0}(\mathcal N_r)=\tfrac12\log_2\bigl(2(1+\sqrt{1-r})-r\bigr).SNS,0​(Nr​)=21​log2​(2(1+1−r​)−r).

The subtraction of rrr is outside the factor two. The regularized zero-error cost is one qubit at r=0r=0r=0 and zero at r=1r=1r=1.

The matrices V=(1+1−r)∣0⟩⟨0∣+(1−r+1−r)∣1⟩⟨1∣V=(1+\sqrt{1-r})|0\rangle\langle0|+(\sqrt{1-r}+1-r)|1\rangle\langle1|V=(1+1−r​)∣0⟩⟨0∣+(1−r​+1−r)∣1⟩⟨1∣ and X=(∣00⟩+∣11⟩)(⟨00∣+⟨11∣)X=(|00\rangle+|11\rangle)(\langle00|+\langle11|)X=(∣00⟩+∣11⟩)(⟨00∣+⟨11∣) satisfy the primal and dual constraints in Eqs.(57),(58), and both objective values equal the independently defined minimum t0(Nr)t_0(\mathcal N_r)t0​(Nr​). Thus the displayed witnesses in Eq.(62) are optimal.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P65
Formal statement
noncomputable section

open Filter QAlgorithms

open scoped BigOperators Matrix ComplexConjugate ComplexOrder Topology

namespace QAlgorithms.Papers.Independent.Intakethird100.P65

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P09 (transposeBob)

open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative)

open QAlgorithms.Papers.Independent.Independent2.P01 (dampingKraus damping)

open QAlgorithms.Papers.Independent.Gap48.P33 (phaseFlipChannel)

open QAlgorithms.Papers.Independent.Information100.P06 (Below)

open QAlgorithms.Papers.Independent.Information100.P34 (choi)

open QAlgorithms.Papers.Independent.Information100.P62 (Stochastic)

open QAlgorithms.Papers.Independent.Information100.P63 (Mat)

open QAlgorithms.Papers.Independent.Information100.P67 (IsSubnormalized purifiedDistance)

open QAlgorithms.Papers.Independent.Information100.P69 (replacer permute)

open QAlgorithms.Papers.Independent.Information100.P71 (diamond channelPower channelRelative)

open QAlgorithms.Papers.Independent.Support50.P39 (quantumMutualInformation)

variable {A B C D R : Type} [Fintype A] [DecidableEq A]
  [Fintype B] [DecidableEq B] [Fintype C] [DecidableEq C]
  [Fintype D] [DecidableEq D] [Fintype R] [DecidableEq R]

variable [Nonempty A] [Nonempty B] [Nonempty C] [Nonempty D] [Nonempty R]

/-- Example 3, Eqs.(62)--(63), PDF p.14: -r is outside the factor 2.
The displayed primal optimizer and unnormalized plus-Bell dual optimizer are
feasible and attain the independently defined zero-error trace optimum. -/
theorem damping_zeroError (r : ℝ) (h0 : 0 ≤ r) (h1 : r ≤ 1) :
    zeroErrorCost (damping r) = Real.logb 2 (2*(1 + Real.sqrt (1-r)) - r) / 2 ∧
    ZeroErrorWitnessPair (damping r) (dampingPrimalWitness r)
      (choi (fun X : Mat Bool => X)) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P65

end
Source
Quantum Channel Simulation and the Channel's Smooth Max-Information, arXiv:1807.05354v2, PDF p. 14, Example 3 / Eqs.(62),(63): amplitude-damping zero-error cost
Read-back

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

For every real rrr satisfying 0≤r≤10\le r\le10≤r≤1, let Q={false,true}Q=\{\mathrm{false},\mathrm{true}\}Q={false,true}, ordered in that order, and define the map DrD_rDr​ by

Dr(Y)=K0YK0†+K1YK1†,K0=(1001−r),K1=(0r00).D_r(Y)=K_0YK_0^\dagger+K_1YK_1^\dagger,\qquad K_0=\begin{pmatrix}1&0\\0&\sqrt{1-r}\end{pmatrix},\qquad K_1=\begin{pmatrix}0&\sqrt r\\0&0\end{pmatrix}.Dr​(Y)=K0​YK0†​+K1​YK1†​,K0​=(10​01−r​​),K1​=(00​r​0​).

The theorem asserts

C0(Dr)=12log⁡2 ⁣(2(1+1−r)−r)C_0(D_r)=\frac12\log_2\!\left(2(1+\sqrt{1-r})-r\right)C0​(Dr​)=21​log2​(2(1+1−r​)−r)

and the matrix certificate specified below. To define C0(Dr)C_0(D_r)C0​(Dr​), a channel means a map Y↦∑jLjYLj†Y\mapsto\sum_jL_jYL_j^\daggerY↦∑j​Lj​YLj†​ for a finite family satisfying ∑jLj†Lj=I\sum_jL_j^\dagger L_j=I∑j​Lj†​Lj​=I; for every natural nnn, define Dr[n]D_r^{[n]}Dr[n]​ on matrix units by

Dr[n](Exx′)(y,y′)=∏i=0n−1Dr(Exixi′)(yi,yi′),x,x′,y,y′∈Qn.D_r^{[n]}(E_{xx'})(y,y')=\prod_{i=0}^{n-1}D_r(E_{x_i x'_i})(y_i,y'_i), \qquad x,x',y,y'\in Q^n.Dr[n]​(Exx′​)(y,y′)=i=0∏n−1​Dr​(Exi​xi′​​)(yi​,yi′​),x,x′,y,y′∈Qn.

For each positive integer mmm, range over channels PPP from matrices on Qn×{0,…,m−1}Q^n\times\{0,\ldots,m-1\}Qn×{0,…,m−1} to matrices on {0,…,m−1}×Qn\{0,\ldots,m-1\}\times Q^n{0,…,m−1}×Qn for which there exist channels F:Qn→{0,…,m−1}F:Q^n\to\{0,\ldots,m-1\}F:Qn→{0,…,m−1} and G:{0,…,m−1}→QnG:\{0,\ldots,m-1\}\to Q^nG:{0,…,m−1}→Qn such that, for every matrix YYY,

tr⁡Qn(P(Y))=F(tr⁡{0,…,m−1}Y),tr⁡{0,…,m−1}(P(Y))=G(tr⁡QnY).\operatorname{tr}_{Q^n}(P(Y))=F(\operatorname{tr}_{\{0,\ldots,m-1\}}Y), \qquad \operatorname{tr}_{\{0,\ldots,m-1\}}(P(Y))=G(\operatorname{tr}_{Q^n}Y).trQn​(P(Y))=F(tr{0,…,m−1}​Y),tr{0,…,m−1}​(P(Y))=G(trQn​Y).

Define

WP(Y)(b,b′)=∑u,v=0m−1P(Y⊗Euv)((u,b),(v,b′)),en(m)=inf⁡P12sup⁡∥Z∥1≤1∥(id⁡Qn⊗(WP−Dr[n]))(Z)∥1.W_P(Y)(b,b')=\sum_{u,v=0}^{m-1}P(Y\otimes E_{uv})((u,b),(v,b')), \qquad e_n(m)=\inf_P\frac12\sup_{\|Z\|_1\le1} \left\|(\operatorname{id}_{Q^n}\otimes(W_P-D_r^{[n]}))(Z)\right\|_1.WP​(Y)(b,b′)=u,v=0∑m−1​P(Y⊗Euv​)((u,b),(v,b′)),en​(m)=Pinf​21​∥Z∥1​≤1sup​​(idQn​⊗(WP​−Dr[n]​))(Z)​1​.

Here ZZZ is any complex matrix on Qn×QnQ^n\times Q^nQn×Qn, amplification applies the map to each reference-indexed block, and ∥Z∥1=Re⁡tr⁡Z†Z\|Z\|_1=\operatorname{Re}\operatorname{tr}\sqrt{Z^\dagger Z}∥Z∥1​=RetrZ†Z​. With cn=inf⁡{log⁡2m:m∈N, m>0, en(m)≤0}c_n=\inf\{\log_2m:m\in\mathbb N,\ m>0,\ e_n(m)\le0\}cn​=inf{log2​m:m∈N, m>0, en​(m)≤0}, the cost is

C0(Dr)=inf⁡{s∈R:∀δ>0 ∃n0∈N ∀n≥n0, n>0⇒cnn≤s+δ}.C_0(D_r)=\inf\left\{s\in\mathbb R: \forall\delta>0\ \exists n_0\in\mathbb N\ \forall n\ge n_0,\ n>0\Rightarrow \frac{c_n}{n}\le s+\delta\right\}.C0​(Dr​)=inf{s∈R:∀δ>0 ∃n0​∈N ∀n≥n0​, n>0⇒ncn​​≤s+δ}.

The condition en(m)≤0e_n(m)\le0en​(m)≤0 is a condition on an infimum and does not require an attaining PPP. For the certificate, let JDr((a,b),(a′,b′))=Dr(Eaa′)(b,b′)J_{D_r}((a,b),(a',b'))=D_r(E_{aa'})(b,b')JDr​​((a,b),(a′,b′))=Dr​(Eaa′​)(b,b′), let Jid((a,b),(a′,b′))J_{\mathrm{id}}((a,b),(a',b'))Jid​((a,b),(a′,b′)) equal 111 when a=ba=ba=b and a′=b′a'=b'a′=b′ and 000 otherwise, and set

V=diag⁡(1+1−r, 1−r+1−r),z(Dr)=inf⁡{Re⁡tr⁡W:W=W†, IQ⊗W−JDr⪰0}.V=\operatorname{diag}(1+\sqrt{1-r},\,\sqrt{1-r}+1-r),\qquad z(D_r)=\inf\{\operatorname{Re}\operatorname{tr}W:W=W^\dagger,\ I_Q\otimes W-J_{D_r}\succeq0\}.V=diag(1+1−r​,1−r​+1−r),z(Dr​)=inf{RetrW:W=W†, IQ​⊗W−JDr​​⪰0}.

The asserted certificate is

V=V†,IQ⊗V−JDr⪰0,Jid⪰0,IQ−tr⁡QJid⪰0,Re⁡tr⁡V=z(Dr),Re⁡tr⁡(JDrJid)=z(Dr).V=V^\dagger,\quad I_Q\otimes V-J_{D_r}\succeq0,\quad J_{\mathrm{id}}\succeq0,\quad I_Q-\operatorname{tr}_QJ_{\mathrm{id}}\succeq0,\quad \operatorname{Re}\operatorname{tr}V=z(D_r),\quad \operatorname{Re}\operatorname{tr}(J_{D_r}J_{\mathrm{id}})=z(D_r).V=V†,IQ​⊗V−JDr​​⪰0,Jid​⪰0,IQ​−trQ​Jid​⪰0,RetrV=z(Dr​),Retr(JDr​​Jid​)=z(Dr​).

The endpoints r=0r=0r=0 and r=1r=1r=1 are included; all infima above are total real infima, taking value 000 for empty or unbounded-below sets.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me