Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Entropy power inequalities for qudits

Definition
QAlgorithms_Papers_Independent_Advance50_P21

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

prove2quantum

The objects the formalized statements of Entropy power inequalities for qudits (arXiv:1503.04213) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • simplexShannonNats: PDF p.16: natural-log Shannon entropy; zero-weight terms have value zero. Specializes accepted Information100.P39.entropy at order one; the frozen Information100.P27.shannon is in bits and cannot be used without a unit conversion.
  • decreasingStateSpectrum: PDF p.5, (2.3): decreasing spectrum; the extension off Hermitian matrices is unused. Uses accepted orderedSpectrum; Renew46.P26.spectrum is a group-algebra weight set.
  • partialSwapUnitary: PDF p.9, Definition 8, (4.7): the constructed partial swap, with positive i.
  • partialSwapChannel: PDF p.9, (4.9): full linear operator action, including entangled inputs.
  • quditAddition: PDF pp.6,10, (3.1),(4.17): source qudit addition with minus i times the commutator.
  • StateConcave: PDF pp.5–6, Definition 3: concavity on precisely the normalized state space.
  • ConcaveSpectralClass: PDF pp.5–6, Definition 3: concave state functions depending only on the unordered spectrum. Equality of the computed decreasing spectra identifies exactly unordered eigenvalue multisets. No continuity, differentiability, or concavity outside the state space is imposed.
  • quditEntropyPower: PDF p.6, (3.2): qudit entropy power exp(c H) in nats. Dependency50.P05.entropyPower instead maps an extended entropy to 2^(-H).
  • quditEntropyPhotonNumber: PDF p.6, (3.3): inverse is restricted to the nonnegative occupation branch of g. Support50.P06.entropyPhotonNumber takes mode count and extended oscillator entropy.
  • renyiNats: PDF p.7, corrected (3.9): standard Renyi entropy in nats, with support rank at order zero. The printed coefficient 1/(alpha-1) is changed to 1/(1-alpha): the printed sign contradicts the claimed EPI on two orthogonal pure qubits. Independent moderation is required.
  • subentropyNats: PDF pp.7–8, (3.10): subentropy in nats, including the continuous extension at repeated and zero eigenvalues. Reuses the accepted Haar-average formula and its harmonic offset.
  • partialSwapKraus: PDF p.10, (4.15): exactly d rectangular Kraus matrices; columns index both input ports.
  • qubitBlochVector: PDF pp.10,32: density-matrix Bloch coordinates in Pauli order X,Y,Z, with the Euclidean norm. Accepted bloch declarations take pure kets or construct Pauli observables from coordinate vectors; they have different domains.
  • blochCross: PDF p.33, (A.8): right-handed cross product in Euclidean Bloch space.
  • logSecondMoment: PDF p.16: the logarithmic second moment; 0*(log 0)^2 is its continuous value zero.
  • simplexInformationVariance: PDF p.19, (6.29): classical information variance in nats squared, including distributions uniform on their support. Information100.P63.informationVariance instead takes a density matrix and uses bits squared.
  • oneHeavy: PDF pp.20–22, (6.31): d-1 equal small masses and one large final mass.
  • peakEntropy: PDF p.22, (6.46): s_r with r=d-1. The zero-weight convention includes x=0.
  • peakVariance: PDF p.22, (6.47): w_r with r=d-1. The branch x=0 explicitly supplies its limiting value.
  • fixedPort: PDF p.26, (7.1): fixed second port, constructed on every operator. Its fixed-state term on arbitrary X is (1-a)*Tr(X)*sigma, not (1-a)*sigma.
  • outputEntropyValues: PDF p.26, (7.3): minimum-output entropy value. Only positive-dimensional channels are used; the application statements retain attainment, so the real infimum has no junk-value reading.
  • finiteMinimumOutputEntropyNats: PDF p.26, (7.3): real infimum of finite-dimensional output entropies in nats. Next46.P42.minimumOutputEntropy uses countable trace-class states and extended nonnegative values. This finite formulation retains attainment in the statements.
  • outputBound: PDF p.26, (7.4)–(7.6): the three actual scalar bounds, indexed 0,1,2. The reciprocal constants are used only when d >= 2.
  • radialEntropy: PDF p.32, (A.3): qubit entropy as a function of Bloch radius, in nats.
  • radialInverse: PDF pp.26,32: inverse of ell on the decreasing nonnegative branch [0,1]. For entropy in [0,ln 2] this nonempty compact set has infimum equal to the unique root; no inverse of the even extension to [-1,1] is used.
  • holevoNats: PDF p.27, (7.9): single-use Holevo quantity, explicitly converted from bits to nats.
  • diagonalPort: PDF p.26: diagonal qubit port with eigenvalues delta and 1-delta.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Measurement
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P16
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P05
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P11
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P36
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P26
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P56
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P76

/-!
Audenaert, Datta and Ozols, Entropy power inequalities for qudits,
arXiv:1503.04213v3. All page references are PDF pages; all entropies are in nats.
Only theorem statements contain sorry. Compilation is pending the batch handoff.
Functions on matrices are constrained only on density matrices: their arbitrary
extension off the state space imposes no regularity assumption on state functions.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P21

open scoped BigOperators Matrix ComplexConjugate

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P26 (Mat)
open QAlgorithms.Papers.Independent.Information100.P56 (entropy)
open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)
open QAlgorithms.Papers.Independent.Dependency50.P16 (simplex orderedSpectrum majorizedBy)
open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble)
open QAlgorithms.Papers.Independent.Information100.P49 (thermalEntropy)
open QAlgorithms.Papers.Independent.Claimed50.P11 (thermalEntropyInverse)

/-- PDF p.16: natural-log Shannon entropy; zero-weight terms have value zero.
Specializes accepted Information100.P39.entropy at order one; the frozen
Information100.P27.shannon is in bits and cannot be used without a unit conversion. -/
abbrev simplexShannonNats {d : ℕ} (q : Fin d → ℝ) : ℝ :=
  QAlgorithms.Papers.Independent.Information100.P39.entropy 1 q

/-- PDF p.5, (2.3): decreasing spectrum; the extension off Hermitian matrices is unused.
Uses accepted orderedSpectrum; Renew46.P26.spectrum is a group-algebra weight set. -/
def decreasingStateSpectrum {d : ℕ} (rho : Mat d) : Fin d → ℝ :=
  if h : rho.IsHermitian then orderedSpectrum rho h else 0

/-- PDF p.9, Definition 8, (4.7): the constructed partial swap, with positive i. -/
def partialSwapUnitary (d : ℕ) (a : ℝ) : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ :=
  (Real.sqrt a : ℂ) • 1 + (Complex.I * (Real.sqrt (1 - a) : ℂ)) • (swapMatrix (I := Fin d))

/-- PDF p.9, (4.9): full linear operator action, including entangled inputs. -/
def partialSwapChannel (d : ℕ) (a : ℝ) : Superop (Fin d × Fin d) (Fin d) :=
  fun X => traceRight (partialSwapUnitary d a * X * (partialSwapUnitary d a)ᴴ)

/-- PDF pp.6,10, (3.1),(4.17): source qudit addition with minus i times the commutator. -/
def quditAddition {d : ℕ} (a : ℝ) (rho sigma : Mat d) : Mat d :=
  a • rho + (1 - a) • sigma -
    ((Real.sqrt (a * (1 - a)) : ℂ) * Complex.I) • (rho * sigma - sigma * rho)

/-- PDF pp.5–6, Definition 3: concavity on precisely the normalized state space. -/
def StateConcave {d : ℕ} (f : Mat d → ℝ) : Prop :=
  ∀ rho sigma, IsDensityMatrix rho → IsDensityMatrix sigma →
    ∀ a ∈ Set.Icc (0 : ℝ) 1,
      a * f rho + (1 - a) * f sigma ≤ f (a • rho + (1 - a) • sigma)

/-- PDF pp.5–6, Definition 3: concave state functions depending only on the unordered spectrum.
Equality of the computed decreasing spectra identifies exactly unordered eigenvalue multisets.
No continuity, differentiability, or concavity outside the state space is imposed. -/
def ConcaveSpectralClass {d : ℕ} (f : Mat d → ℝ) : Prop :=
  StateConcave f ∧ ∀ rho sigma, IsDensityMatrix rho → IsDensityMatrix sigma →
    decreasingStateSpectrum rho = decreasingStateSpectrum sigma → f rho = f sigma

/-- PDF p.6, (3.2): qudit entropy power exp(c H) in nats.
Dependency50.P05.entropyPower instead maps an extended entropy to 2^(-H). -/
def quditEntropyPower {d : ℕ} (c : ℝ) (rho : Mat d) : ℝ := Real.exp (c * entropy rho)

/-- PDF p.6, (3.3): inverse is restricted to the nonnegative occupation branch of g.
Support50.P06.entropyPhotonNumber takes mode count and extended oscillator entropy. -/
def quditEntropyPhotonNumber {d : ℕ} (c : ℝ) (rho : Mat d) : ℝ :=
  thermalEntropyInverse (c * entropy rho)

/-- PDF p.7, corrected (3.9): standard Renyi entropy in nats, with support rank at order zero.
The printed coefficient 1/(alpha-1) is changed to 1/(1-alpha): the printed sign contradicts
the claimed EPI on two orthogonal pure qubits. Independent moderation is required. -/
def renyiNats {d : ℕ} (alpha : ℝ) (rho : Mat d) : ℝ :=
  Real.log 2 * QAlgorithms.Papers.Independent.Dependency50.P05.renyiEntropy alpha rho

/-- PDF pp.7–8, (3.10): subentropy in nats, including the continuous extension at repeated
and zero eigenvalues. Reuses the accepted Haar-average formula and its harmonic offset. -/
def subentropyNats {d : ℕ} (rho : Mat d) : ℝ :=
  Real.log 2 * QAlgorithms.Papers.Independent.Bridge50.P36.subentropy rho

/-- PDF p.10, (4.15): exactly d rectangular Kraus matrices; columns index both input ports. -/
def partialSwapKraus (d : ℕ) (a : ℝ) (k : Fin d) :
    Matrix (Fin d) (Fin d × Fin d) ℂ :=
  fun i p => (Real.sqrt a : ℂ) * (if i = p.1 ∧ k = p.2 then 1 else 0) +
    Complex.I * (Real.sqrt (1 - a) : ℂ) * (if k = p.1 ∧ i = p.2 then 1 else 0)

/-- PDF pp.10,32: density-matrix Bloch coordinates in Pauli order X,Y,Z,
with the Euclidean norm. Accepted bloch declarations take pure kets or
construct Pauli observables from coordinate vectors; they have different domains. -/
def qubitBlochVector (rho : Mat 2) : EuclideanSpace ℝ (Fin 3) :=
  WithLp.toLp 2 ![2 * (rho 0 1).re, -2 * (rho 0 1).im, (rho 0 0).re - (rho 1 1).re]

/-- PDF p.33, (A.8): right-handed cross product in Euclidean Bloch space. -/
def blochCross (v w : EuclideanSpace ℝ (Fin 3)) : EuclideanSpace ℝ (Fin 3) :=
  WithLp.toLp 2 (crossProduct (fun i => v i) (fun i => w i))

/-- PDF p.16: the logarithmic second moment; 0*(log 0)^2 is its continuous value zero. -/
def logSecondMoment {d : ℕ} (q : Fin d → ℝ) : ℝ :=
  ∑ i, q i * (Real.log (q i)) ^ 2

/-- PDF p.19, (6.29): classical information variance in nats squared,
including distributions uniform on their support. Information100.P63.informationVariance
instead takes a density matrix and uses bits squared. -/
def simplexInformationVariance {d : ℕ} (q : Fin d → ℝ) : ℝ :=
  logSecondMoment q - simplexShannonNats q ^ 2

/-- PDF pp.20–22, (6.31): d-1 equal small masses and one large final mass. -/
def oneHeavy (d : ℕ) (x : ℝ) : Fin d → ℝ :=
  fun i => if i.val + 1 = d then 1 - (d - 1 : ℕ) * x else x

/-- PDF p.22, (6.46): s_r with r=d-1. The zero-weight convention includes x=0. -/
def peakEntropy (d : ℕ) (x : ℝ) : ℝ :=
  -((d - 1 : ℕ) : ℝ) * x * Real.log x -
    (1 - (d - 1 : ℕ) * x) * Real.log (1 - (d - 1 : ℕ) * x)

/-- PDF p.22, (6.47): w_r with r=d-1. The branch x=0 explicitly supplies its limiting value. -/
def peakVariance (d : ℕ) (x : ℝ) : ℝ :=
  if x = 0 then 0 else
    (d - 1 : ℕ) * x * (1 - (d - 1 : ℕ) * x) *
      (Real.log x - Real.log (1 - (d - 1 : ℕ) * x)) ^ 2

/-- PDF p.26, (7.1): fixed second port, constructed on every operator.
Its fixed-state term on arbitrary X is (1-a)*Tr(X)*sigma, not (1-a)*sigma. -/
def fixedPort {d : ℕ} (a : ℝ) (sigma : Mat d) : Superop (Fin d) (Fin d) :=
  fun X => partialSwapChannel d a (Matrix.kronecker X sigma)

/-- PDF p.26, (7.3): minimum-output entropy value. Only positive-dimensional channels are used;
the application statements retain attainment, so the real infimum has no junk-value reading. -/
def outputEntropyValues {e d : ℕ} (N : Superop (Fin e) (Fin d)) : Set ℝ :=
  {v | ∃ rho : Mat e, IsDensityMatrix rho ∧ v = entropy (N rho)}

/-- PDF p.26, (7.3): real infimum of finite-dimensional output entropies in nats.
Next46.P42.minimumOutputEntropy uses countable trace-class states and extended
nonnegative values. This finite formulation retains attainment in the statements. -/
def finiteMinimumOutputEntropyNats {e d : ℕ} (N : Superop (Fin e) (Fin d)) : ℝ :=
  sInf (outputEntropyValues N)

/-- PDF p.26, (7.4)–(7.6): the three actual scalar bounds, indexed 0,1,2.
The reciprocal constants are used only when d >= 2. -/
def outputBound (d : ℕ) (a s : ℝ) (j : Fin 3) (t : ℝ) : ℝ :=
  if j = 0 then a * t + (1 - a) * s
  else if j = 1 then
    let c := 1 / (Real.log (d : ℝ)) ^ 2
    Real.log (a * Real.exp (c * t) + (1 - a) * Real.exp (c * s)) / c
  else
    let c := 1 / ((d : ℝ) - 1)
    thermalEntropy (a * thermalEntropyInverse (c * t) +
      (1 - a) * thermalEntropyInverse (c * s)) / c

/-- PDF p.32, (A.3): qubit entropy as a function of Bloch radius, in nats. -/
def radialEntropy (r : ℝ) : ℝ := Real.binEntropy ((1 + r) / 2)

/-- PDF pp.26,32: inverse of ell on the decreasing nonnegative branch [0,1].
For entropy in [0,ln 2] this nonempty compact set has infimum equal to the unique root;
no inverse of the even extension to [-1,1] is used. -/
def radialInverse (s : ℝ) : ℝ :=
  sInf {r : ℝ | r ∈ Set.Icc (0 : ℝ) 1 ∧ radialEntropy r ≤ s}

/-- PDF p.27, (7.9): single-use Holevo quantity, explicitly converted from bits to nats. -/
def holevoNats {e d : ℕ} (N : Superop (Fin e) (Fin d)) : ℝ :=
  Real.log 2 * QAlgorithms.Papers.Independent.Information100.P08.channelHolevo N

/-- PDF p.26: diagonal qubit port with eigenvalues delta and 1-delta. -/
def diagonalPort (delta : ℝ) : Mat 2 :=
  Matrix.diagonal ![(delta : ℂ), ((1 - delta : ℝ) : ℂ)]

/-! Sanity examples pin endpoints, signs and the zero-weight conventions. -/

example (d : ℕ) : partialSwapUnitary d 1 = 1 := by
  simp [partialSwapUnitary]

example {d : ℕ} (rho sigma : Mat d) : quditAddition 0 rho sigma = sigma := by
  simp [quditAddition]

example {d : ℕ} (rho sigma : Mat d) : quditAddition 1 rho sigma = rho := by
  simp [quditAddition]

example {d : ℕ} (rho : Mat d) : quditEntropyPower 0 rho = 1 := by
  simp [quditEntropyPower]

example {d : ℕ} (rho : Mat d) : quditEntropyPhotonNumber 0 rho = 0 := by
  simp [quditEntropyPhotonNumber, thermalEntropyInverse]

example (d : ℕ) : peakVariance d 0 = 0 := by
  simp [peakVariance]

example : radialEntropy 1 = 0 := by
  norm_num [radialEntropy]

example (d : ℕ) (a s t : ℝ) : outputBound d a s 0 t = a * t + (1 - a) * s := by
  simp [outputBound]

example (d : ℕ) (i j : Fin d) : (swapMatrix (I := Fin d)) (i,j) (j,i) = 1 := by
  simp [QAlgorithms.Papers.Independent.Information100.P76.swapMatrix]

example : peakEntropy 2 0 = 0 := by
  norm_num [peakEntropy]

end QAlgorithms.Papers.Independent.Advance50.P21
Source
Entropy power inequalities for qudits, arXiv:1503.04213v3, https://arxiv.org/abs/1503.04213v3
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P21.ConcaveSpectralClass

For every natural number ddd and real-valued function fff on complex d×dd\times dd×d matrices, this requires both that

af(ρ)+(1−a)f(σ)≤f(aρ+(1−a)σ)a f(\rho)+(1-a)f(\sigma)\le f\bigl(a\rho+(1-a)\sigma\bigr)af(ρ)+(1−a)f(σ)≤f(aρ+(1−a)σ)

for every pair of positive semidefinite trace-one matrices ρ,σ\rho,\sigmaρ,σ and every a∈[0,1]a\in[0,1]a∈[0,1], and that f(ρ)=f(σ)f(\rho)=f(\sigma)f(ρ)=f(σ) whenever such ρ,σ\rho,\sigmaρ,σ have identical eigenvalue lists in nonincreasing order, including multiplicities. The spectrum function used in the latter condition returns the zero vector for a non-Hermitian matrix, although the density-matrix hypotheses ensure Hermiticity here. For d=0d=0d=0, both requirements are vacuous.

QAlgorithms.Papers.Independent.Advance50.P21.StateConcave

For every natural number ddd and function fff from complex d×dd\times dd×d matrices to R\mathbb RR, this is the condition that, for all positive semidefinite matrices ρ,σ\rho,\sigmaρ,σ with tr⁡ρ=tr⁡σ=1\operatorname{tr}\rho=\operatorname{tr}\sigma=1trρ=trσ=1, and every real aaa with 0≤a≤10\le a\le10≤a≤1,

af(ρ)+(1−a)f(σ)≤f(aρ+(1−a)σ).a f(\rho)+(1-a)f(\sigma)\le f\bigl(a\rho+(1-a)\sigma\bigr).af(ρ)+(1−a)f(σ)≤f(aρ+(1−a)σ).

It places no direct condition on fff outside these arguments. For d=0d=0d=0, there are no trace-one matrices, so the condition is vacuous.

QAlgorithms.Papers.Independent.Advance50.P21.blochCross

For all vectors v,w∈R3v,w\in\mathbb R^3v,w∈R3, this defines their cross product, regarded as a real Euclidean vector:

(v1w2−v2w1,  v2w0−v0w2,  v0w1−v1w0).(v_1w_2-v_2w_1,\;v_2w_0-v_0w_2,\;v_0w_1-v_1w_0).(v1​w2​−v2​w1​,v2​w0​−v0​w2​,v0​w1​−v1​w0​).

QAlgorithms.Papers.Independent.Advance50.P21.decreasingStateSpectrum

For every natural number ddd and every complex d×dd\times dd×d matrix ρ\rhoρ, this defines a real vector indexed by 0,…,d−10,\ldots,d-10,…,d−1: if ρ\rhoρ is Hermitian, it is the list of its eigenvalues in nonincreasing order, counted with multiplicity; otherwise it is the zero vector. No positivity or trace condition is imposed. For d=0d=0d=0, the resulting vector has no coordinates.

QAlgorithms.Papers.Independent.Advance50.P21.diagonalPort

For every real number δ\deltaδ, this defines the complex 2×22\times22×2 matrix

diagonalPort⁡(δ)=(δ001−δ).\operatorname{diagonalPort}(\delta) =\begin{pmatrix}\delta&0\\0&1-\delta\end{pmatrix}.diagonalPort(δ)=(δ0​01−δ​).

There is no restriction on δ\deltaδ, including no requirement that it lie in [0,1][0,1][0,1].

QAlgorithms.Papers.Independent.Advance50.P21.finiteMinimumOutputEntropyNats

For all natural numbers e,de,de,d and every function NNN from complex e×ee\times ee×e matrices to complex d×dd\times dd×d matrices, this defines the real infimum

inf⁡{−Re⁡tr⁡ ⁣[f(N(ρ))]:ρ⪰0, tr⁡ρ=1},f(x)=xlog⁡x,\inf\left\{-\operatorname{Re}\operatorname{tr}\!\left[f(N(\rho))\right]: \rho\succeq0,\ \operatorname{tr}\rho=1\right\}, \qquad f(x)=x\log x,inf{−Retr[f(N(ρ))]:ρ⪰0, trρ=1},f(x)=xlogx,

with fff evaluated by continuous functional calculus. No channel or linearity assumption is imposed on NNN, and attainment of the infimum is not asserted. The total real-infimum convention gives 000 when the set is empty or unbounded below; in particular, the value is 000 when e=0e=0e=0.

QAlgorithms.Papers.Independent.Advance50.P21.fixedPort

For every natural number ddd, real number aaa, and complex d×dd\times dd×d matrix σ\sigmaσ, this defines a function on all complex d×dd\times dd×d matrices by

X⟼Tr⁡2 ⁣[S(X⊗σ)S†],S=a I+i1−a F,X\longmapsto \operatorname{Tr}_2\!\left[S(X\otimes\sigma)S^\dagger\right], \qquad S=\sqrt a\,I+i\sqrt{1-a}\,F,X⟼Tr2​[S(X⊗σ)S†],S=a​I+i1−a​F,

where FFF exchanges the two ddd-dimensional registers, so F(i,k),(j,ℓ)=1F_{(i,k),(j,\ell)}=1F(i,k),(j,ℓ)​=1 exactly when i=ℓi=\elli=ℓ and k=jk=jk=j, and is 000 otherwise; the partial trace is (Tr⁡2Y)ij=∑k=0d−1Y(i,k),(j,k)(\operatorname{Tr}_2Y)_{ij}=\sum_{k=0}^{d-1}Y_{(i,k),(j,k)}(Tr2​Y)ij​=∑k=0d−1​Y(i,k),(j,k)​. No condition 0≤a≤10\le a\le10≤a≤1 or density-matrix condition on σ\sigmaσ is imposed, and the function is not required here to be a channel. Real square roots of negative numbers are 000. The case d=0d=0d=0 is included, with empty index sets.

QAlgorithms.Papers.Independent.Advance50.P21.holevoNats

For all natural numbers e,de,de,d, including zero, and every function NNN from complex e×ee\times ee×e matrices to complex d×dd\times dd×d matrices, this defines

holevoNats⁡(N)=(log⁡2)sup⁡E[S2 ⁣(N ⁣(∑j=0m−1pjρj))−∑j=0m−1pjS2(N(ρj))],\operatorname{holevoNats}(N) =(\log 2)\sup_{\mathcal E} \left[ S_2\!\left(N\!\left(\sum_{j=0}^{m-1}p_j\rho_j\right)\right) -\sum_{j=0}^{m-1}p_jS_2(N(\rho_j)) \right],holevoNats(N)=(log2)Esup​[S2​(N(j=0∑m−1​pj​ρj​))−j=0∑m−1​pj​S2​(N(ρj​))],

where E\mathcal EE ranges over all finite ensembles consisting of a natural number mmm, real weights pj≥0p_j\ge0pj​≥0 with ∑jpj=1\sum_jp_j=1∑j​pj​=1, and positive semidefinite complex e×ee\times ee×e matrices ρj\rho_jρj​ of trace 111; here S2(X)=−Re⁡tr⁡(cfc⁡(x↦xlog⁡2x)(X))S_2(X)=-\operatorname{Re}\operatorname{tr}\bigl(\operatorname{cfc}(x\mapsto x\log_2x)(X)\bigr)S2​(X)=−Retr(cfc(x↦xlog2​x)(X)), with cfc⁡\operatorname{cfc}cfc denoting continuous functional calculus as used in the definition. No linearity or channel assumption is imposed on NNN. The supremum is a real supremum, whose value on the empty set is 000; in particular, when e=0e=0e=0, no such ensemble exists and the defined value is 000.

QAlgorithms.Papers.Independent.Advance50.P21.logSecondMoment

For every natural number ddd, including d=0d=0d=0, and every real vector q=(q0,…,qd−1)q=(q_0,\ldots,q_{d-1})q=(q0​,…,qd−1​), this defines

∑i=0d−1qi(log⁡qi)2.\sum_{i=0}^{d-1}q_i(\log q_i)^2.i=0∑d−1​qi​(logqi​)2.

The entries need not be nonnegative or sum to 111. Here the real logarithm is total: log⁡0=0\log 0=0log0=0, and for negative arguments it equals the logarithm of the absolute value. Thus zero entries contribute 000; when d=0d=0d=0, the empty sum is 000.

QAlgorithms.Papers.Independent.Advance50.P21.oneHeavy

For every natural number ddd and every real number xxx, this defines a real vector indexed by i=0,…,d−1i=0,\ldots,d-1i=0,…,d−1, whose entry is 1−max⁡(d−1,0)x1-\max(d-1,0)x1−max(d−1,0)x when i+1=di+1=di+1=d, and xxx otherwise. In particular, for d≥1d\ge1d≥1 its first d−1d-1d−1 entries are xxx and its last entry is 1−(d−1)x1-(d-1)x1−(d−1)x. For d=0d=0d=0, the vector has no entries; for d=1d=1d=1, its sole entry is 111. No restriction on xxx or nonnegativity of the entries is required.

QAlgorithms.Papers.Independent.Advance50.P21.outputBound

For every natural number ddd, real numbers a,s,ta,s,ta,s,t, and index j∈{0,1,2}j\in\{0,1,2\}j∈{0,1,2}, this defines

{at+(1−a)s,j=0,log⁡ ⁣(aect+(1−a)ecs)c,c=1(log⁡d)2,j=1,g ⁣(a h(ct)+(1−a)h(cs))c,c=1d−1,j=2,\begin{cases} at+(1-a)s,&j=0,\\[2pt] \dfrac{\log\!\left(ae^{ct}+(1-a)e^{cs}\right)}{c}, \quad c=\dfrac1{(\log d)^2},&j=1,\\[7pt] \dfrac{g\!\left(a\,h(ct)+(1-a)h(cs)\right)}{c}, \quad c=\dfrac1{d-1},&j=2, \end{cases}⎩⎨⎧​at+(1−a)s,clog(aect+(1−a)ecs)​,c=(logd)21​,cg(ah(ct)+(1−a)h(cs))​,c=d−11​,​j=0,j=1,j=2,​

where g(v)=(v+1)log⁡(v+1)−vlog⁡vg(v)=(v+1)\log(v+1)-v\log vg(v)=(v+1)log(v+1)−vlogv, and h(y)=0h(y)=0h(y)=0 for y≤0y\le0y≤0, while h(y)=inf⁡{u∈R:0≤u, y≤g(u)}h(y)=\inf\{u\in\mathbb R:0\le u,\ y\le g(u)\}h(y)=inf{u∈R:0≤u, y≤g(u)} for y>0y>0y>0. No restrictions on a,s,ta,s,ta,s,t are imposed. All logarithms and divisions are total: log⁡0=0\log0=0log0=0, negative logarithm arguments use their absolute values, and division by zero gives 000. Consequently the j=1j=1j=1 branch is 000 for d=0d=0d=0 or d=1d=1d=1, and the j=2j=2j=2 branch is 000 for d=1d=1d=1; in the latter branch d−1d-1d−1 is real subtraction, so it equals −1-1−1 when d=0d=0d=0.

QAlgorithms.Papers.Independent.Advance50.P21.outputEntropyValues

For all natural numbers e,de,de,d and every function NNN from complex e×ee\times ee×e matrices to complex d×dd\times dd×d matrices, this defines the set

{−Re⁡tr⁡ ⁣[f(N(ρ))]:ρ⪰0, tr⁡ρ=1},f(x)=xlog⁡x,\left\{-\operatorname{Re}\operatorname{tr}\!\left[f(N(\rho))\right]: \rho\succeq0,\ \operatorname{tr}\rho=1\right\}, \qquad f(x)=x\log x,{−Retr[f(N(ρ))]:ρ⪰0, trρ=1},f(x)=xlogx,

where f(N(ρ))f(N(\rho))f(N(ρ)) is evaluated using the continuous functional calculus appearing in the definition. No linearity, channel property, or preservation of density matrices is assumed for NNN. If e=0e=0e=0, no input matrix has trace 111, so the set is empty; if e>0e>0e>0 and d=0d=0d=0, the set is {0}\{0\}{0}.

QAlgorithms.Papers.Independent.Advance50.P21.partialSwapChannel

For every natural number ddd and real number aaa, this defines a function from complex matrices indexed by pairs in {0,…,d−1}2\{0,\ldots,d-1\}^2{0,…,d−1}2 to complex d×dd\times dd×d matrices by

X⟼Y,Yij=∑k=0d−1(Ud,aXUd,a†)(i,k),(j,k),X\longmapsto Y,\qquad Y_{ij}=\sum_{k=0}^{d-1}(U_{d,a}XU_{d,a}^{\dagger})_{(i,k),(j,k)},X⟼Y,Yij​=k=0∑d−1​(Ud,a​XUd,a†​)(i,k),(j,k)​,

where Ud,a=a I+i1−a SU_{d,a}=\sqrt a\,I+\mathrm{i}\sqrt{1-a}\,SUd,a​=a​I+i1−a​S and SSS swaps the two indices. Negative real square-root arguments give 000. Neither a∈[0,1]a\in[0,1]a∈[0,1] nor any condition on XXX is required, and no channel property is part of this definition. The case d=0d=0d=0 is included.

QAlgorithms.Papers.Independent.Advance50.P21.partialSwapKraus

For every natural number ddd, real number aaa, and index k∈{0,…,d−1}k\in\{0,\ldots,d-1\}k∈{0,…,d−1}, this defines a complex matrix with rows i∈{0,…,d−1}i\in\{0,\ldots,d-1\}i∈{0,…,d−1} and columns (j,ℓ)∈{0,…,d−1}2(j,\ell)\in\{0,\ldots,d-1\}^2(j,ℓ)∈{0,…,d−1}2 by

(Kk)i,(j,ℓ)=a 1{i=j, k=ℓ}+i1−a 1{k=j, i=ℓ}.(K_k)_{i,(j,\ell)} =\sqrt a\,\mathbf1_{\{i=j,\ k=\ell\}} +\mathrm{i}\sqrt{1-a}\,\mathbf1_{\{k=j,\ i=\ell\}}.(Kk​)i,(j,ℓ)​=a​1{i=j, k=ℓ}​+i1−a​1{k=j, i=ℓ}​.

Both contributions are added when both conditions hold. No restriction on aaa or completeness condition on this family is asserted; negative real square-root arguments give 000. When d=0d=0d=0, there is no possible index kkk.

QAlgorithms.Papers.Independent.Advance50.P21.partialSwapUnitary

For every natural number ddd and every real number aaa, this defines the complex matrix

Ud,a=a I+i1−a SU_{d,a}=\sqrt a\,I+\mathrm{i}\sqrt{1-a}\,SUd,a​=a​I+i1−a​S

on pairs of indices from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, where S(i,k),(j,ℓ)=1S_{(i,k),(j,\ell)}=1S(i,k),(j,ℓ)​=1 when i=ℓi=\elli=ℓ and k=jk=jk=j, and is 000 otherwise. The real square root is used, so a negative argument has square root 000. There is no restriction 0≤a≤10\le a\le10≤a≤1, and the definition itself asserts no unitarity. For d=0d=0d=0, this is a matrix on an empty index set.

QAlgorithms.Papers.Independent.Advance50.P21.peakEntropy

For every natural number ddd and real number xxx, writing m=max⁡(d−1,0)m=\max(d-1,0)m=max(d−1,0) to express natural-number subtraction, this defines

−mxlog⁡x−(1−mx)log⁡(1−mx).-mx\log x-(1-mx)\log(1-mx).−mxlogx−(1−mx)log(1−mx).

There is no restriction on xxx or on the signs of the logarithm arguments. The real logarithm is interpreted with log⁡0=0\log0=0log0=0 and log⁡y=log⁡∣y∣\log y=\log|y|logy=log∣y∣ for negative yyy. For d=0d=0d=0 or d=1d=1d=1, the value is 000.

QAlgorithms.Papers.Independent.Advance50.P21.peakVariance

For every natural number ddd and real number xxx, writing m=max⁡(d−1,0)m=\max(d-1,0)m=max(d−1,0), this defines 000 if x=0x=0x=0, and otherwise defines

mx(1−mx)(log⁡x−log⁡(1−mx))2.mx(1-mx)\bigl(\log x-\log(1-mx)\bigr)^2.mx(1−mx)(logx−log(1−mx))2.

No positivity or normalization conditions are imposed. The logarithm satisfies log⁡0=0\log0=0log0=0 and takes the logarithm of the absolute value at negative arguments. For d=0d=0d=0 or d=1d=1d=1, the value is 000 for every xxx.

QAlgorithms.Papers.Independent.Advance50.P21.qubitBlochVector

For every complex 2×22\times22×2 matrix ρ\rhoρ, this defines the real Euclidean vector

(2Re⁡ρ01,  −2Im⁡ρ01,  Re⁡ρ00−Re⁡ρ11).\bigl(2\operatorname{Re}\rho_{01},\;-2\operatorname{Im}\rho_{01},\;\operatorname{Re}\rho_{00}-\operatorname{Re}\rho_{11}\bigr).(2Reρ01​,−2Imρ01​,Reρ00​−Reρ11​).

No Hermiticity, positivity, or trace condition is imposed on ρ\rhoρ.

QAlgorithms.Papers.Independent.Advance50.P21.quditAddition

For every natural number ddd, every real number aaa, and every pair of complex d×dd\times dd×d matrices ρ,σ\rho,\sigmaρ,σ, this defines

aρ+(1−a)σ−ia(1−a) (ρσ−σρ).a\rho+(1-a)\sigma-\mathrm{i}\sqrt{a(1-a)}\,(\rho\sigma-\sigma\rho).aρ+(1−a)σ−ia(1−a)​(ρσ−σρ).

No density-matrix conditions or restriction on aaa are imposed. The square root is the real square root, which is 000 for a negative argument; in particular, the commutator term vanishes when a∉[0,1]a\notin[0,1]a∈/[0,1]. The case d=0d=0d=0 is included.

QAlgorithms.Papers.Independent.Advance50.P21.quditEntropyPhotonNumber

For every natural number ddd, real number ccc, and complex d×dd\times dd×d matrix ρ\rhoρ, put

s=−c Re⁡tr⁡ ⁣[cfc⁡(x↦xlog⁡x)(ρ)].s=-c\,\operatorname{Re}\operatorname{tr}\!\left[\operatorname{cfc}(x\mapsto x\log x)(\rho)\right].s=−cRetr[cfc(x↦xlogx)(ρ)].

This defines 000 when s≤0s\le0s≤0, and otherwise defines the real infimum

inf⁡{N∈R:0≤N, s≤(N+1)log⁡(N+1)−Nlog⁡N}.\inf\{N\in\mathbb R:0\le N,\ s\le (N+1)\log(N+1)-N\log N\}.inf{N∈R:0≤N, s≤(N+1)log(N+1)−NlogN}.

Here functional calculus and the total real natural logarithm are used, with log⁡0=0\log0=0log0=0. No restriction on ccc or density-matrix condition on ρ\rhoρ is required. For d=0d=0d=0, s=0s=0s=0, so the value is 000.

QAlgorithms.Papers.Independent.Advance50.P21.quditEntropyPower

For every natural number ddd, real number ccc, and complex d×dd\times dd×d matrix ρ\rhoρ, this defines

exp⁡(cS(ρ)),S(ρ)=−Re⁡tr⁡ ⁣[cfc⁡(x↦xlog⁡x)(ρ)],\exp\bigl(cS(\rho)\bigr),\qquad S(\rho)=-\operatorname{Re}\operatorname{tr}\!\left[\operatorname{cfc}(x\mapsto x\log x)(\rho)\right],exp(cS(ρ)),S(ρ)=−Retr[cfc(x↦xlogx)(ρ)],

where cfc⁡\operatorname{cfc}cfc denotes the real functional calculus used in the code and log⁡\loglog is the total real natural logarithm, with log⁡0=0\log0=0log0=0. There is no sign restriction on ccc and no density-matrix hypothesis on ρ\rhoρ. For d=0d=0d=0, the trace is 000, so the value is 111.

QAlgorithms.Papers.Independent.Advance50.P21.radialEntropy

For every real number rrr, this defines

−1+r2log⁡ ⁣(1+r2)−1−r2log⁡ ⁣(1−r2).-\frac{1+r}{2}\log\!\left(\frac{1+r}{2}\right) -\frac{1-r}{2}\log\!\left(\frac{1-r}{2}\right).−21+r​log(21+r​)−21−r​log(21−r​).

No restriction such as ∣r∣≤1|r|\le1∣r∣≤1 is imposed. The logarithms are natural logarithms with log⁡0=0\log0=0log0=0 and the absolute-value convention for negative arguments, so the formula is defined for every real rrr, including r=±1r=\pm1r=±1, where its value is 000.

QAlgorithms.Papers.Independent.Advance50.P21.radialInverse

For every real number sss, this defines

radialInverse⁡(s)=inf⁡{r∈[0,1]:h ⁣(1+r2)≤s},h(t)=−tlog⁡t−(1−t)log⁡(1−t),\operatorname{radialInverse}(s) =\inf\left\{r\in[0,1]: h\!\left(\frac{1+r}{2}\right)\le s\right\}, \qquad h(t)=-t\log t-(1-t)\log(1-t),radialInverse(s)=inf{r∈[0,1]:h(21+r​)≤s},h(t)=−tlogt−(1−t)log(1−t),

where log⁡\loglog is the natural logarithm, with the total-function convention log⁡0=0\log 0=0log0=0. The infimum is taken in R\mathbb RR; if the displayed set is empty, its value is 000. In particular, negative sss give an empty set and hence value 000, while s=0s=0s=0 gives value 111, and s≥log⁡2s\ge\log 2s≥log2 gives value 000.

QAlgorithms.Papers.Independent.Advance50.P21.renyiNats

For every natural number ddd, real number α\alphaα, and complex d×dd\times dd×d matrix ρ\rhoρ, this defines

{log⁡ ⁣(Re⁡tr⁡cfc⁡(x↦1x≠0)(ρ)),α=0,−Re⁡tr⁡cfc⁡(x↦xlog⁡x)(ρ),α=1,log⁡ ⁣(Re⁡tr⁡cfc⁡(x↦xα)(ρ))1−α,α≠0,1.\begin{cases} \displaystyle \log\!\left(\operatorname{Re}\operatorname{tr}\operatorname{cfc}(x\mapsto \mathbf1_{x\ne0})(\rho)\right),&\alpha=0,\\[3pt] \displaystyle -\operatorname{Re}\operatorname{tr}\operatorname{cfc}(x\mapsto x\log x)(\rho),&\alpha=1,\\[3pt] \displaystyle \frac{\log\!\left(\operatorname{Re}\operatorname{tr}\operatorname{cfc}(x\mapsto x^\alpha)(\rho)\right)}{1-\alpha},&\alpha\ne0,1. \end{cases}⎩⎨⎧​log(Retrcfc(x↦1x=0​)(ρ)),−Retrcfc(x↦xlogx)(ρ),1−αlog(Retrcfc(x↦xα)(ρ))​,​α=0,α=1,α=0,1.​

The indicator is 000 at x=0x=0x=0 and 111 elsewhere; xαx^\alphaxα is the total real power operation. There is no positivity, normalization, or order restriction on the arguments. The natural logarithm is total, with log⁡0=0\log0=0log0=0; consequently, the empty-matrix case d=0d=0d=0 gives 000 in every branch.

QAlgorithms.Papers.Independent.Advance50.P21.simplexInformationVariance

For every natural number ddd, including d=0d=0d=0, and every real vector q=(q0,…,qd−1)q=(q_0,\ldots,q_{d-1})q=(q0​,…,qd−1​), this defines

∑i=0d−1qi(log⁡qi)2−(−∑i=0d−1qilog⁡qi)2.\sum_{i=0}^{d-1}q_i(\log q_i)^2 -\left(-\sum_{i=0}^{d-1}q_i\log q_i\right)^2.i=0∑d−1​qi​(logqi​)2−(−i=0∑d−1​qi​logqi​)2.

No nonnegativity or normalization condition is imposed on qqq. The real logarithm satisfies log⁡0=0\log0=0log0=0 and log⁡x=log⁡∣x∣\log x=\log|x|logx=log∣x∣ for x<0x<0x<0; for d=0d=0d=0, both sums and the resulting value are 000.

QAlgorithms.Papers.Independent.Advance50.P21.simplexShannonNats

For every natural number ddd and every real vector q=(qi)i=0d−1q=(q_i)_{i=0}^{d-1}q=(qi​)i=0d−1​, this defines

−∑i=0d−1qilog⁡qi,-\sum_{i=0}^{d-1}q_i\log q_i,−i=0∑d−1​qi​logqi​,

where log⁡\loglog is the total real natural logarithm, with log⁡0=0\log 0=0log0=0 and log⁡x=log⁡∣x∣\log x=\log|x|logx=log∣x∣ for negative xxx. No nonnegativity or normalization of qqq is required. When d=0d=0d=0, the empty sum gives 000.

QAlgorithms.Papers.Independent.Advance50.P21.subentropyNats

For every natural number ddd and complex d×dd\times dd×d matrix ρ\rhoρ, this defines

(log⁡2)[∫U∈U(d)(−∑i=0d−1pi(U)log⁡2pi(U)) dμd(U)−∑t=2dt−1log⁡2],pi(U)=Re⁡(UρU†)ii,(\log2)\left[ \int_{U\in\mathrm U(d)} \left(-\sum_{i=0}^{d-1}p_i(U)\log_2 p_i(U)\right)\,d\mu_d(U) -\frac{\sum_{t=2}^{d}t^{-1}}{\log2} \right], \qquad p_i(U)=\operatorname{Re}(U\rho U^\dagger)_{ii},(log2)[∫U∈U(d)​(−i=0∑d−1​pi​(U)log2​pi​(U))dμd​(U)−log2∑t=2d​t−1​],pi​(U)=Re(UρU†)ii​,

where μd\mu_dμd​ is Haar measure normalized to have total mass 111. No density-matrix condition is imposed, so the pi(U)p_i(U)pi​(U) need not be probabilities; the total real logarithm is used, with log⁡20=0\log_2 0=0log2​0=0. The harmonic sum is empty for d<2d<2d<2, and for d=0d=0d=0 the entire value is 000.

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

    Confirmed by the moderator at approval.

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