Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 1 Pauli: example 1 pauli

Open
QAlgorithms.Papers.Independent.Bridge50.P50.example_1_pauli

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

prove2quantum

Let p0,p1,p2,p3≥0p_0,p_1,p_2,p_3\ge0p0​,p1​,p2​,p3​≥0 sum to one and let Wp(A)=∑k=03pkσkAσk∗W_p(A)=\sum_{k=0}^3p_k\sigma_k A\sigma_k^*Wp​(A)=∑k=03​pk​σk​Aσk∗​, where σ0=I\sigma_0=Iσ0​=I and σ1,σ2,σ3\sigma_1,\sigma_2,\sigma_3σ1​,σ2​,σ3​ are the qubit Pauli matrices. Let SSS be its image on all qubit density matrices. Define

λ=(p0+p1−p2−p3, p0−p1+p2−p3, p0−p1−p2+p3),q=(1−max⁡j∣λj∣)/2.\lambda=(p_0+p_1-p_2-p_3,\ p_0-p_1+p_2-p_3,\ p_0-p_1-p_2+p_3),\quad q=(1-\max_j|\lambda_j|)/2.λ=(p0​+p1​−p2​−p3​, p0​−p1​+p2​−p3​, p0​−p1​−p2​+p3​),q=(1−jmax​∣λj​∣)/2.

The set SSS is invariant under ρ↦I−ρ\rho\mapsto I-\rhoρ↦I−ρ, its divergence center is I/2I/2I/2, and every capacity-achieving finite ensemble of minimum support size consists of pairwise commuting positive-weight states. Moreover,

C(Wp)=χ(S)=1−h2(q),vmin⁡(S)=vmax⁡(S)=q(1−q)log⁡221−qq,C(W_p)=\chi(S)=1-h_2(q),\qquad v_{\min}(S)=v_{\max}(S)=q(1-q)\log_2^2\frac{1-q}{q},C(Wp​)=χ(S)=1−h2​(q),vmin​(S)=vmax​(S)=q(1−q)log22​q1−q​,

where h2h_2h2​ is binary entropy and the variance is zero at deterministic BSC endpoints. Here CCC is the unrestricted operational classical capacity, defined using the actual tensor channel and arbitrary joint-state encodings and POVMs.

Thus the comparison BSC is constructed from the channel itself. The singleton-image completely depolarizing case and noiseless case are included.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P50
Formal statement
noncomputable section

open scoped Topology BigOperators ComplexConjugate ComplexOrder ENNReal Matrix.Norms.L2Operator

open MeasureTheory Filter Set

namespace QAlgorithms.Papers.Independent.Bridge50.P50

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact accepted primitives; these names do not create local declarations.

open QAlgorithms.Papers.Independent.Information100.P63 (Mat logTwo testingBeta normalCDF normalQuantile)

open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble ensembleAverage)

open QAlgorithms.Papers.Independent.Information100.P69 (entropy)

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

open QAlgorithms.Papers.Independent.Dependency50.P36 (pairInformationVariance)

open QAlgorithms (vnEntropy traceDistance minEigenvalue)

attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelSpace

/-- Example 1, PDF p.10: reflection symmetry, maximally mixed divergence center,
EVERY minimal achieving ensemble commutes, and capacity/dispersion equal those of
the constructed BSC. Includes the singleton image and noiseless endpoints. -/
theorem example_1_pauli (p : Fin 4 → ℝ) (hp : ∀ k, 0 ≤ p k) (htotal : ∑ k, p k = 1) :
    (∀ rho ∈ pauliImage p, (1 : Mat Bool)-rho ∈ pauliImage p) ∧
    divergenceCenter (pauliImage p) = (1/2 : ℝ) • (1 : Mat Bool) ∧
    (∀ E : Ensemble Bool, MinimalAchieving (pauliImage p) E →
      ∀ i j, 0 < E.prob i → 0 < E.prob j → E.state i * E.state j = E.state j * E.state i) ∧
    pauliQuantumCapacity p = 1-QAlgorithms.binEntropy2 (bscCrossover p) ∧
    capacityBits (pauliImage p) = 1-QAlgorithms.binEntropy2 (bscCrossover p) ∧
    vMin (pauliImage p) = bscVariance (bscCrossover p) ∧
    vMax (pauliImage p) = bscVariance (bscCrossover p) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P50

end
Source
Second-Order Asymptotics for the Classical Capacity of Image-Additive Quantum Channels, arXiv:1308.6503v3, PDF p. 10, Example 1 Pauli
Read-back

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

For every p:{0,1,2,3}→Rp:\{0,1,2,3\}\to\mathbb Rp:{0,1,2,3}→R satisfying pk≥0p_k\ge0pk​≥0 for every kkk and ∑k=03pk=1\sum_{k=0}^{3}p_k=1∑k=03​pk​=1, define

Φp(A)=∑k=03pkPkAPk†,Sp={Φp(A):A⪰0, tr⁡A=1},\Phi_p(A)=\sum_{k=0}^{3}p_kP_kAP_k^\dagger,\qquad S_p=\{\Phi_p(A):A\succeq0,\ \operatorname{tr}A=1\},Φp​(A)=k=0∑3​pk​Pk​APk†​,Sp​={Φp​(A):A⪰0, trA=1},

where, in Boolean order, P0=IP_0=IP0​=I, P1=(0110)P_1=\begin{pmatrix}0&1\\1&0\end{pmatrix}P1​=(01​10​), P2=(0−ii0)P_2=\begin{pmatrix}0&-\mathrm i\\\mathrm i&0\end{pmatrix}P2​=(0i​−i0​), and P3=(100−1)P_3=\begin{pmatrix}1&0\\0&-1\end{pmatrix}P3​=(10​0−1​). Write ℓ(x)=log⁡x/log⁡2\ell(x)=\log x/\log2ℓ(x)=logx/log2, let H(ρ)=−Re⁡tr⁡(x↦xℓ(x))[ρ]H(\rho)=-\operatorname{Re}\operatorname{tr}(x\mapsto x\ell(x))[\rho]H(ρ)=−Retr(x↦xℓ(x))[ρ], and define the extended nonnegative quantity D(ρ∥σ)D(\rho\Vert\sigma)D(ρ∥σ) to be +∞+\infty+∞ unless both arguments are density matrices and ker⁡σ⊆ker⁡ρ\ker\sigma\subseteq\ker\rhokerσ⊆kerρ; otherwise it is the nonnegative truncation of Re⁡tr⁡(f[ρ]−ρ(log⁡)[σ])/log⁡2\operatorname{Re}\operatorname{tr}(f[\rho]-\rho(\log)[\sigma])/\log2Retr(f[ρ]−ρ(log)[σ])/log2, with f(x)=xlog⁡xf(x)=x\log xf(x)=xlogx. Define

R(S)=inf⁡σ⪰0, tr⁡σ=1sup⁡ρ∈SD(ρ∥σ),C(S)=R(S)real,R(S)=\inf_{\sigma\succeq0,\ \operatorname{tr}\sigma=1}\sup_{\rho\in S}D(\rho\Vert\sigma), \qquad C(S)=R(S)_{\mathrm{real}},R(S)=σ⪰0, trσ=1inf​ρ∈Ssup​D(ρ∥σ),C(S)=R(S)real​,

where conversion to a real number sends +∞+\infty+∞ to zero; define c(S)c(S)c(S) by choosing a density matrix σ\sigmaσ attaining this radius if one exists, and by setting c(S)=0c(S)=0c(S)=0 otherwise. Let P(S)={ρ∈S:D(ρ∥c(S))=sup⁡τ∈SD(τ∥c(S))}\mathcal P(S)=\{\rho\in S:D(\rho\Vert c(S))=\sup_{\tau\in S}D(\tau\Vert c(S))\}P(S)={ρ∈S:D(ρ∥c(S))=supτ∈S​D(τ∥c(S))}. For a probability measure μ\muμ on the finite-dimensional matrix space, put

V(ρ,σ)=Re⁡tr⁡ ⁣(ρ(ℓ[ρ]−ℓ[σ])2)−(Re⁡tr⁡(f[ρ]−ρ(log⁡)[σ])log⁡2)2,v−(S)=inf⁡μ∫V(ρ,c(S)) dμ(ρ),v+(S)=sup⁡μ∫V(ρ,c(S)) dμ(ρ),\begin{aligned} V(\rho,\sigma) &=\operatorname{Re}\operatorname{tr}\!\left(\rho(\ell[\rho]-\ell[\sigma])^2\right) -\left(\frac{\operatorname{Re}\operatorname{tr}(f[\rho]-\rho(\log)[\sigma])}{\log2}\right)^2,\\ v_-(S)&=\inf_\mu\int V(\rho,c(S))\,d\mu(\rho),\qquad v_+(S)=\sup_\mu\int V(\rho,c(S))\,d\mu(\rho), \end{aligned}V(ρ,σ)v−​(S)​=Retr(ρ(ℓ[ρ]−ℓ[σ])2)−(log2Retr(f[ρ]−ρ(log)[σ])​)2,=μinf​∫V(ρ,c(S))dμ(ρ),v+​(S)=μsup​∫V(ρ,c(S))dμ(ρ),​

where both extrema range over probability measures satisfying μ(P(S))=1\mu(\mathcal P(S))=1μ(P(S))=1 and ∫ρ dμ(ρ)=c(S)\int\rho\,d\mu(\rho)=c(S)∫ρdμ(ρ)=c(S). Finally set

qp=1−max⁡{∣p0+p1−p2−p3∣, ∣p0−p1+p2−p3∣, ∣p0−p1−p2+p3∣}2,h2(q)=Real.binEntropy⁡(q)log⁡2,q_p=\frac{1-\max\{|p_0+p_1-p_2-p_3|,\ |p_0-p_1+p_2-p_3|,\ |p_0-p_1-p_2+p_3|\}}2, \quad h_2(q)=\frac{\operatorname{Real.binEntropy}(q)}{\log2},qp​=21−max{∣p0​+p1​−p2​−p3​∣, ∣p0​−p1​+p2​−p3​∣, ∣p0​−p1​−p2​+p3​∣}​,h2​(q)=log2Real.binEntropy(q)​,

and Vbin(q)=0V_{\mathrm{bin}}(q)=0Vbin​(q)=0 if q=0q=0q=0 or q=1q=1q=1, and Vbin(q)=q(1−q)ℓ((1−q)/q)2V_{\mathrm{bin}}(q)=q(1-q)\ell((1-q)/q)^2Vbin​(q)=q(1−q)ℓ((1−q)/q)2 otherwise. The assertion is the conjunction that I−ρ∈SpI-\rho\in S_pI−ρ∈Sp​ for every ρ∈Sp\rho\in S_pρ∈Sp​; that c(Sp)=I/2c(S_p)=I/2c(Sp​)=I/2; that every finite ensemble E=(wi,ρi)E=(w_i,\rho_i)E=(wi​,ρi​) of density matrices with nonnegative weights summing to one which has all positive-weight states in SpS_pSp​, satisfies ∑iwiD(ρi∥∑jwjρj)real=C(Sp)\sum_iw_iD(\rho_i\Vert\sum_jw_j\rho_j)_{\mathrm{real}}=C(S_p)∑i​wi​D(ρi​∥∑j​wj​ρj​)real​=C(Sp​), and minimizes the number of distinct positive-weight states among all ensembles with those same two properties, has ρiρj=ρjρi\rho_i\rho_j=\rho_j\rho_iρi​ρj​=ρj​ρi​ whenever wi>0w_i>0wi​>0 and wj>0w_j>0wj​>0; and that

Cp=1−h2(qp),C(Sp)=1−h2(qp),v−(Sp)=Vbin(qp),v+(Sp)=Vbin(qp).\mathcal C_p=1-h_2(q_p),\qquad C(S_p)=1-h_2(q_p),\qquad v_-(S_p)=V_{\mathrm{bin}}(q_p),\qquad v_+(S_p)=V_{\mathrm{bin}}(q_p).Cp​=1−h2​(qp​),C(Sp​)=1−h2​(qp​),v−​(Sp​)=Vbin​(qp​),v+​(Sp​)=Vbin​(qp​).

Here Cp=lim inf⁡e→0, e>0lim inf⁡n→∞ℓ(M∗(n,e))/n\mathcal C_p=\liminf_{e\to0,\ e>0}\liminf_{n\to\infty}\ell(M_*(n,e))/nCp​=liminfe→0, e>0​liminfn→∞​ℓ(M∗​(n,e))/n, where M∗(n,e)M_*(n,e)M∗​(n,e) is the natural-number supremum of positive integers MMM admitting arbitrary nnn-coordinate input density matrices ρj\rho_jρj​ and positive semidefinite decoding matrices DjD_jDj​ summing to the identity with 1−M−1∑jRe⁡tr⁡(DjΦp(n)(ρj))≤e1-M^{-1}\sum_j\operatorname{Re}\operatorname{tr}(D_j\Phi_p^{(n)}(\rho_j))\le e1−M−1∑j​Retr(Dj​Φp(n)​(ρj​))≤e; the extension is given explicitly by [Φp(n)(A)]y,y′=∑x,x′Ax,x′∏i<n[Φp(Exi,xi′)]yi,yi′[\Phi_p^{(n)}(A)]_{y,y'}=\sum_{x,x'}A_{x,x'}\prod_{i<n}[\Phi_p(E_{x_i,x_i'})]_{y_i,y_i'}[Φp(n)​(A)]y,y′​=∑x,x′​Ax,x′​∏i<n​[Φp​(Exi​,xi′​​)]yi​,yi′​​. Zero coefficients pkp_kpk​ and the endpoint cases qp=0q_p=0qp​=0 and qp=1/2q_p=1/2qp​=1/2 are included. All functional-calculus logarithms use the total real logarithm, with log⁡0=0\log0=0log0=0; the block definition includes n=0n=0n=0, uses empty products equal to one and division by zero equal to zero, and assigns a natural-number supremum of zero to an empty or unbounded qualifying set.

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