Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (2): measure/reprepare simulation and its forward cost

Proved
QAlgorithms.Papers.Independent.Gap48.P21.measurePrepareSimulation

by Goku · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let d≥2d\ge2d≥2 and d/(d+1)≤x≤1d/(d+1)\le x\le1d/(d+1)≤x≤1. Alice and Bob share an input-independent Haar-random orthonormal basis. Alice measures the unknown input in this basis, sends the outcome through a ddd-symbol channel that uniformly randomizes with probability r=(d+1)x−dr=(d+1)x-dr=(d+1)x−d, and Bob prepares the received basis state. The averaged channel equals DxD_xDx​ on every operator, including its action on inputs entangled with a reference. The integral defining this average is integrable. Its forward classical cost is

FCCCMR(Dx)=log⁡2d−Hd ⁣(d−x(d−1d)).{\rm FCCC}_{\rm MR}(D_x)=\log_2d-H_d\!\left(d-x\left(d-\frac1d\right)\right).FCCCMR​(Dx​)=log2​d−Hd​(d−x(d−d1​)).

The cost is the Shannon capacity of the displayed classical arm. The statement concerns this construction, not a minimum over all possible simulators.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P21
Formal statement
set_option backward.isDefEq.respectTransparency.types false

noncomputable section

open scoped BigOperators Matrix ComplexConjugate Matrix.Norms.Elementwise

open Filter MeasureTheory

namespace QAlgorithms.Papers.Independent.Gap48.P21

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

-- Reuse the finite Pi-space extended norm explicitly. Matrix has the same
-- product topology, but the generic instance search did not bridge the alias.

attribute [local instance] QAlgorithms.Papers.Independent.Gap48.P21.matrixContinuousENorm

open QAlgorithms.Papers.Independent.Dependency50.P45
  (resourceCapacity standardEbit DMC shannonCapacity blockProb)

open QAlgorithms.Papers.Independent.Claimed50.P43 (finiteWeyl chaotic)

open QAlgorithms.Papers.Independent.Information100.P58 (singleErasure)

open QAlgorithms.Papers.Independent.Information100.P27 (qubitDephasing)

-- CE uses resourceCapacity standardEbit directly; C uses the same accepted
-- operational capacity with the one-dimensional product resource.

open QAlgorithms.Papers.Independent.Information100.P80 (quantumCapacity)

open QAlgorithms.Papers.Independent.Frontier30.P12 (IsStochastic)

/-- PDF p.2, Eq.(2): actual common-random-basis simulator, integrability and
its particular forward cost. No minimum over all simulators is asserted. -/
theorem measurePrepareSimulation (d : ℕ) (hd : 2 ≤ d) (x : ℝ)
    (hx0 : (d:ℝ)/(d+1) ≤ x) (hx1 : x ≤ 1) :
    let P : Fin d → Fin d → ℝ := randomizing (((d:ℝ)+1)*x-d)
    IsStochastic P ∧
    (∀ X : Matrix (Fin d) (Fin d) ℂ,
      Integrable (fun U : Matrix.unitaryGroup (Fin d) ℂ =>
        ∑ i, ∑ j, ((P i j : ℂ) * (basisProjector U i * X).trace) • basisProjector U j)
        (Schur.unitaryHaar d)) ∧
    measurePrepare d P = QuditFidelity.depolarizingMap d (by omega) x ∧
    kernelCapacity P = Real.logb 2 d - symmetricEntropy d ((d:ℝ)-x*(d-(d:ℝ)⁻¹)) := by sorry

end QAlgorithms.Papers.Independent.Gap48.P21

end
Source
Entanglement-Assisted Classical Capacity of Noisy Quantum Channels, arXiv:quant-ph/9904023v5, PDF p. 2, Equation (2): measure/reprepare simulation and its forward cost
Read-back

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

For every natural number d≥2d\ge2d≥2 and every real xxx satisfying d/(d+1)≤x≤1d/(d+1)\le x\le1d/(d+1)≤x≤1, put r=(d+1)x−dr=(d+1)x-dr=(d+1)x−d and define P(i,j)=(1−r)1{i=j}+r/dP(i,j)=(1-r)\mathbf1_{\{i=j\}}+r/dP(i,j)=(1−r)1{i=j}​+r/d for i,j<di,j<di,j<d. For a unitary U∈U(d)U\in U(d)U∈U(d), let Πi(U)\Pi_i(U)Πi​(U) be the rank-one matrix formed from its iii-th column, and let μd\mu_dμd​ be Haar measure on U(d)U(d)U(d), normalized to have total mass one. Then P(i,j)≥0P(i,j)\ge0P(i,j)≥0 and ∑jP(i,j)=1\sum_jP(i,j)=1∑j​P(i,j)=1 for every iii; for every complex d×dd\times dd×d matrix XXX, without a positivity or normalization requirement, the matrix-valued function

U⟼∑i,j<dP(i,j)Tr⁡(Πi(U)X)Πj(U)U\longmapsto\sum_{i,j<d}P(i,j)\operatorname{Tr}(\Pi_i(U)X)\Pi_j(U)U⟼i,j<d∑​P(i,j)Tr(Πi​(U)X)Πj​(U)

is integrable with respect to μd\mu_dμd​; and

∫U(d)∑i,j<dP(i,j)Tr⁡(Πi(U)X)Πj(U) dμd(U)=xdTr⁡(X)I+(1−x)Xfor every X,Ccl(P)=log⁡2d−Hd ⁣(d−x(d−d−1)).\begin{gathered} \int_{U(d)}\sum_{i,j<d}P(i,j)\operatorname{Tr}(\Pi_i(U)X)\Pi_j(U)\,d\mu_d(U) =\frac{x}{d}\operatorname{Tr}(X)I+(1-x)X \quad\text{for every }X,\\ C_{\mathrm{cl}}(P)=\log_2d-H_d\!\left(d-x(d-d^{-1})\right). \end{gathered}∫U(d)​i,j<d∑​P(i,j)Tr(Πi​(U)X)Πj​(U)dμd​(U)=dx​Tr(X)I+(1−x)Xfor every X,Ccl​(P)=log2​d−Hd​(d−x(d−d−1)).​

Here Ccl(P)C_{\mathrm{cl}}(P)Ccl​(P) is the supremum of the Shannon mutual information in bits of qiP(i,j)q_iP(i,j)qi​P(i,j) over all probability distributions qqq on the input indices, and Hd(p)=−plog⁡2p−(1−p)log⁡2((1−p)/(d−1))H_d(p)=-p\log_2p-(1-p)\log_2((1-p)/(d-1))Hd​(p)=−plog2​p−(1−p)log2​((1−p)/(d−1)), with log⁡20=0\log_2 0=0log2​0=0. Both endpoints of the allowed interval for xxx are included.

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

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 21, 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