Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Sandwiched Rényi Divergence Satisfies Data Processing Inequality

Definition
QAlgorithms_Papers_Independent_Bridge50_P49

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

prove2quantum

The objects the formalized statements of Sandwiched Rényi Divergence Satisfies Data Processing Inequality (arXiv:1306.5920) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • reciprocalOrder: PDF p.5, (12): reciprocal order, including 1/infinity = 0.
  • interpolatedOrder: PDF p.5, (12): harmonic interpolation, including equal infinite endpoints.
  • beigiWeightedSchattenNorm: PDF p.4: weighted Schatten norm on all complex matrices; weights need not have trace one. This differs from Information100.P32.weightedNorm, a fixed norm on three coordinates.
  • weightedMapNorm: PDF p.6, (13): induced norm, with all nonzero complex matrices admissible. Positive-definite weights and orders at least one ensure boundedness. In a zero-dimensional domain the norm is zero (the real supremum of the empty set).
  • StripBounded: PDF p.5: entrywise boundedness on the closed strip, independent of its extension outside.
  • StripRegular: PDF p.5: entrywise holomorphy with continuity from within the closed strip.
  • boundaryNorm: PDF p.5: the boundary supremum is computed from F, not a free upper bound.
  • beigiSandwichedDivergence: PDF p.2, (3), and p.8, (15): natural-log sandwiched divergence. The support guard applies ALSO below order one. The second input may be unnormalized. Dependency50.P35.divergence instead uses bits, trace normalization, and a different support guard. The accepted rawTrace uses support inverses, with zero on the kernel.
  • maxDivergence: PDF pp.2,10: max-relative entropy, the infinite-order endpoint, in natural units.
  • orderDivergence: PDF pp.2,10: finite and infinite orders are distinct cases.
  • beigiConditionalRenyiEntropy: PDF p.2, (4): genuine extended-real infimum over normalized density matrices. Information100.P67.conditionalEntropy is the ordinary von Neumann quantity in bits.
  • scaledDivergence: PDF p.10, Theorem 8: reciprocal-conjugate scaled divergence. The printed order-one endpoint means the continuous scaled value zero; this branch is evaluated before any divergence, including support failure.
  • interpolationWeight: PDF p.10: the uniquely defined interpolation weight for a < b < c.
  • beigiRenyiMutualInformation: PDF p.11, (23): mutual information with the usual value at one. The reference on B ranges over all densities, including correlated references when B itself is a composite register. Dependency50.P19.mutualInformation is only the ordinary order-one quantity in bits, not this order-indexed family.
  • purificationOperator: PDF p.12, (24): the B-operator after the A and C sandwiches and both partial traces. Each Gamma exponent contributes HALF that exponent on each side of the matrix.
  • purificationObjective: PDF p.12, (24): the scalar optimized quantity is the Schatten beta norm.
  • groupedProduct: PDF p.12, Theorem 11: tensor product regrouped as (AA'),(BB').
  • ensembleState: PDF p.12, (25): arbitrary finite mixed-signal ensemble, classical register first.
  • beigiRenyiHolevoInformation: PDF p.12, (25): extended supremum over ALL finite alphabet sizes and mixed signals. Dependency50.P48.holevoInformation is a fixed ensemble value in bits, not a channel supremum.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P50
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P56
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P62

/-!
arXiv:1306.5920v6, Beigi, PDF pp.1--12. Natural logarithms throughout.
The independent-paper workflow permits reuse of the pinned accepted-library modules.
Natural entropy and the full tensor-channel action are imported rather than restated.
Beigi-specific names distinguish concepts whose frozen short-name matches differ in
order domain, support convention, optimization domain, or mathematical object.
Only their audited definitions are used, never their sorry-ended results.
The scalar Theorem 1 is recorded as Mathlib reuse in items.json.
No theorem asserts anything about totalized definitions outside its order domain.
-/

noncomputable section

open scoped BigOperators Matrix ComplexConjugate ComplexOrder ENNReal
open Filter Topology

namespace QAlgorithms.Papers.Independent.Bridge50.P49

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms
open QAlgorithms.Papers.Independent.Information100.P63 (Mat)
open QAlgorithms.Papers.Independent.Information100.P50 (schattenNorm)
open QAlgorithms.Papers.Independent.Information100.P58 (Distribution)
open QAlgorithms.Papers.Independent.Information100.P56 (entropy)
open QAlgorithms.Papers.Independent.Information100.P62 (tensorChannel)
open QAlgorithms.Papers.Independent.Dependency50.P35
  (spectralPower Dominates rawTrace leftMarginal rightMarginal marginalAB marginalAC)

/-- PDF p.5, (12): reciprocal order, including 1/infinity = 0. -/
def reciprocalOrder (p : ℝ≥0∞) : ℝ := (p⁻¹).toReal

/-- PDF p.5, (12): harmonic interpolation, including equal infinite endpoints. -/
def interpolatedOrder (p q : ℝ≥0∞) (theta : ℝ) : ℝ≥0∞ :=
  (ENNReal.ofReal ((1 - theta) * reciprocalOrder p + theta * reciprocalOrder q))⁻¹

/-- PDF p.4: weighted Schatten norm on all complex matrices; weights need not have trace one.
This differs from Information100.P32.weightedNorm, a fixed norm on three coordinates. -/
def beigiWeightedSchattenNorm {I : Type} [Fintype I] [DecidableEq I]
    (p : ℝ≥0∞) (sigma X : Mat I) : ℝ :=
  schattenNorm p
    (spectralPower sigma (reciprocalOrder p / 2) * X *
      spectralPower sigma (reciprocalOrder p / 2))

/-- PDF p.6, (13): induced norm, with all nonzero complex matrices admissible.
Positive-definite weights and orders at least one ensure boundedness.
In a zero-dimensional domain the norm is zero (the real supremum of the empty set). -/
def weightedMapNorm {I J : Type} [Fintype I] [Fintype J]
    [DecidableEq I] [DecidableEq J] (p q : ℝ≥0∞) (sigma : Mat I) (tau : Mat J)
    (Phi : Mat I →ₗ[ℂ] Mat J) : ℝ :=
  sSup {v : ℝ | ∃ X : Mat I, X ≠ 0 ∧
    v = beigiWeightedSchattenNorm q tau (Phi X) / beigiWeightedSchattenNorm p sigma X}

/-- PDF p.5: entrywise boundedness on the closed strip, independent of its extension outside. -/
def StripBounded {I : Type} (F : ℂ → Mat I) : Prop :=
  ∀ i j, ∃ C : ℝ, ∀ z : ℂ,
    z ∈ Complex.HadamardThreeLines.verticalClosedStrip 0 1 → ‖F z i j‖ ≤ C

/-- PDF p.5: entrywise holomorphy with continuity from within the closed strip. -/
def StripRegular {I : Type} (F : ℂ → Mat I) : Prop :=
  ∀ i j, DiffContOnCl ℂ (fun z => F z i j)
    (Complex.HadamardThreeLines.verticalStrip 0 1)

/-- PDF p.5: the boundary supremum is computed from F, not a free upper bound. -/
def boundaryNorm {I : Type} [Fintype I] [DecidableEq I]
    (F : ℂ → Mat I) (p : ℝ≥0∞) (sigma : Mat I) (k : ℝ) : ℝ :=
  sSup (Set.range fun t : ℝ => beigiWeightedSchattenNorm p sigma (F ((k : ℂ) + (t : ℂ) * Complex.I)))

/-- PDF p.2, (3), and p.8, (15): natural-log sandwiched divergence.
The support guard applies ALSO below order one. The second input may be unnormalized.
Dependency50.P35.divergence instead uses bits, trace normalization, and a different support guard.
The accepted rawTrace uses support inverses, with zero on the kernel. -/
def beigiSandwichedDivergence {I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (rho sigma : Mat I) : EReal :=
  if Dominates sigma rho then
    ((1 / (a - 1) : ℝ) : EReal) * ENNReal.log (ENNReal.ofReal (rawTrace a rho sigma))
  else ⊤

/-- PDF pp.2,10: max-relative entropy, the infinite-order endpoint, in natural units. -/
def maxDivergence {I : Type} [Fintype I] [DecidableEq I]
    (rho sigma : Mat I) : EReal :=
  sInf {v : EReal | ∃ t : ℝ, v = (t : EReal) ∧
    ((Real.exp t : ℂ) • sigma - rho).PosSemidef}

/-- PDF pp.2,10: finite and infinite orders are distinct cases. -/
def orderDivergence {I : Type} [Fintype I] [DecidableEq I]
    (p : ℝ≥0∞) (rho sigma : Mat I) : EReal :=
  if p = ⊤ then maxDivergence rho sigma else beigiSandwichedDivergence p.toReal rho sigma

/-- PDF p.2, (4): genuine extended-real infimum over normalized density matrices.
Information100.P67.conditionalEntropy is the ordinary von Neumann quantity in bits. -/
def beigiConditionalRenyiEntropy {A B : Type} [Fintype A] [Fintype B]
    [DecidableEq A] [DecidableEq B] (p : ℝ≥0∞) (rho : Mat (A × B)) : EReal :=
  -sInf {v : EReal | ∃ sigma : Mat B, IsDensityMatrix sigma ∧
    v = orderDivergence p rho (Matrix.kronecker (1 : Mat A) sigma)}

/-- PDF p.10, Theorem 8: reciprocal-conjugate scaled divergence.
The printed order-one endpoint means the continuous scaled value zero;
this branch is evaluated before any divergence, including support failure. -/
def scaledDivergence {I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (rho sigma : Mat I) : EReal :=
  if a = 1 then 0 else ((1 - 1 / a : ℝ) : EReal) * beigiSandwichedDivergence a rho sigma

/-- PDF p.10: the uniquely defined interpolation weight for a < b < c. -/
def interpolationWeight (a b c : ℝ) : ℝ := (1 / b - 1 / a) / (1 / c - 1 / a)

/-- PDF p.11, (23): mutual information with the usual value at one.
The reference on B ranges over all densities, including correlated references
when B itself is a composite register. Dependency50.P19.mutualInformation is only
the ordinary order-one quantity in bits, not this order-indexed family. -/
def beigiRenyiMutualInformation {A B : Type} [Fintype A] [Fintype B]
    [DecidableEq A] [DecidableEq B] (a : ℝ) (rho : Mat (A × B)) : EReal :=
  if a = 1 then (entropy (leftMarginal rho) + entropy (rightMarginal rho) - entropy rho : ℝ)
  else sInf {v : EReal | ∃ sigma : Mat B, IsDensityMatrix sigma ∧
    v = beigiSandwichedDivergence a rho (Matrix.kronecker (leftMarginal rho) sigma)}

/-- PDF p.12, (24): the B-operator after the A and C sandwiches and both partial traces.
Each Gamma exponent contributes HALF that exponent on each side of the matrix. -/
def purificationOperator {A B C : Type} [Fintype A] [Fintype B] [Fintype C]
    [DecidableEq A] [DecidableEq B] [DecidableEq C]
    (a : ℝ) (rhoA : Mat A) (R : Mat (A × (B × C))) (tau : Mat C) : Mat B :=
  let K := Matrix.kronecker (spectralPower rhoA (-(1 - 1 / a) / 2))
    (Matrix.kronecker (1 : Mat B) (spectralPower tau ((1 - 1 / a) / 2)))
  fun b d => ∑ i : A, ∑ j : C, (K * R * K) (i, (b, j)) (i, (d, j))

/-- PDF p.12, (24): the scalar optimized quantity is the Schatten beta norm. -/
def purificationObjective {A B C : Type} [Fintype A] [Fintype B] [Fintype C]
    [DecidableEq A] [DecidableEq B] [DecidableEq C]
    (a b : ℝ) (rhoA : Mat A) (R : Mat (A × (B × C))) (tau : Mat C) : ℝ :=
  schattenNorm (ENNReal.ofReal b) (purificationOperator a rhoA R tau)

/-- PDF p.12, Theorem 11: tensor product regrouped as (AA'),(BB'). -/
def groupedProduct {A B C D : Type} (rho : Mat (A × B)) (eta : Mat (C × D)) :
    Mat ((A × C) × (B × D)) :=
  fun i j => rho (i.1.1, i.2.1) (j.1.1, j.2.1) *
    eta (i.1.2, i.2.2) (j.1.2, j.2.2)

/-- PDF p.12, (25): arbitrary finite mixed-signal ensemble, classical register first. -/
def ensembleState {A : Type} {k : ℕ} (p : Distribution (Fin k))
    (rho : Fin k → Mat A) : Mat (Fin k × A) :=
  fun i j => if i.1 = j.1 then (p.val i.1 : ℂ) * rho i.1 i.2 j.2 else 0

/-- PDF p.12, (25): extended supremum over ALL finite alphabet sizes and mixed signals.
Dependency50.P48.holevoInformation is a fixed ensemble value in bits, not a channel supremum. -/
def beigiRenyiHolevoInformation {A B : Type} [Fintype A] [Fintype B]
    [DecidableEq A] [DecidableEq B] (a : ℝ) (Phi : Superop A B) : EReal :=
  sSup {v : EReal | ∃ (k : ℕ) (p : Distribution (Fin k)) (rho : Fin k → Mat A),
    (∀ x, IsDensityMatrix (rho x)) ∧
      v = beigiRenyiMutualInformation a (idTensorSuperop Phi (ensembleState p rho))}

/-! Sanity checks for the local definition layer. -/

example : reciprocalOrder ⊤ = 0 := by simp [reciprocalOrder]

example (theta : ℝ) : interpolatedOrder ⊤ ⊤ theta = ⊤ := by
  simp [interpolatedOrder, reciprocalOrder]

example {I : Type} [Fintype I] [DecidableEq I] (sigma X : Mat I) :
    beigiWeightedSchattenNorm ⊤ sigma X = specNorm X := by
  simp [beigiWeightedSchattenNorm, reciprocalOrder, spectralPower, schattenNorm]

example {I : Type} [Fintype I] [DecidableEq I] (a : ℝ) (rho sigma : Mat I)
    (h : ¬ Dominates sigma rho) : beigiSandwichedDivergence a rho sigma = ⊤ := by
  simp [beigiSandwichedDivergence, h]

example {I : Type} [Fintype I] [DecidableEq I] (rho sigma : Mat I) :
    scaledDivergence 1 rho sigma = 0 := by simp [scaledDivergence]

example {I : Type} [Fintype I] [DecidableEq I] (rho sigma : Mat I) :
    orderDivergence ⊤ rho sigma = maxDivergence rho sigma := by simp [orderDivergence]

example {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
    [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]
    (Psi : Superop C D) (X : Mat (A × C)) :
    tensorChannel (fun _ => (0 : Mat B)) Psi X = 0 := by
  ext i j
  simp [tensorChannel]

end QAlgorithms.Papers.Independent.Bridge50.P49
Source
Sandwiched Rényi Divergence Satisfies Data Processing Inequality, arXiv:1306.5920v6, https://arxiv.org/abs/1306.5920v6
Read-back

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

QAlgorithms.Papers.Independent.Bridge50.P49.StripBounded

For an arbitrary index type III, not necessarily finite or nonempty, and a function FFF from C\mathbb CC to complex I×II\times II×I matrices, this property says that for every pair i,j∈Ii,j\in Ii,j∈I there exists a real constant CCC such that

∣F(z)ij∣≤Cfor every z∈C with 0≤Re⁡z≤1.|F(z)_{ij}|\le C\qquad\text{for every }z\in\mathbb C\text{ with }0\le\operatorname{Re}z\le1.∣F(z)ij​∣≤Cfor every z∈C with 0≤Rez≤1.

The constant may depend on i,ji,ji,j; a single bound shared by all entries is not required. If III is empty, the property holds vacuously.

QAlgorithms.Papers.Independent.Bridge50.P49.StripRegular

For an arbitrary index type III, not necessarily finite or nonempty, and a function FFF from C\mathbb CC to complex I×II\times II×I matrices, this property says that every scalar entry function z↦F(z)ijz\mapsto F(z)_{ij}z↦F(z)ij​, for every i,j∈Ii,j\in Ii,j∈I, is complex differentiable throughout the open strip 0<Re⁡z<10<\operatorname{Re}z<10<Rez<1 and continuous on its closure 0≤Re⁡z≤10\le\operatorname{Re}z\le10≤Rez≤1. No boundedness assumption is part of this property. If III is empty, it holds vacuously.

QAlgorithms.Papers.Independent.Bridge50.P49.beigiConditionalRenyiEntropy

For finite index types A,BA,BA,B with decidable equality, arbitrary p∈[0,+∞]p\in[0,+\infty]p∈[0,+∞], and an arbitrary complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines

−inf⁡σ∈CB×Bσ positive semidefinite, tr⁡σ=1Dp(ρ,1A⊗σ)-\inf_{\substack{\sigma\in\mathbb C^{B\times B}\\ \sigma\ \mathrm{positive\ semidefinite},\ \operatorname{tr}\sigma=1}}D_p(\rho,1_A\otimes\sigma)−σ∈CB×Bσ positive semidefinite, trσ=1​inf​Dp​(ρ,1A​⊗σ)

as an extended real number. For any matrices R,SR,SR,S, D+∞(R,S)=inf⁡{t∈R:etS−R is positive semidefinite}D_{+\infty}(R,S)=\inf\{t\in\mathbb R:e^tS-R\text{ is positive semidefinite}\}D+∞​(R,S)=inf{t∈R:etS−R is positive semidefinite}. For finite ppp, put a=p.toReala=p.toReala=p.toReal; then Dp(R,S)=+∞D_p(R,S)=+\inftyDp​(R,S)=+∞ unless ker⁡S⊆ker⁡R\ker S\subseteq\ker RkerS⊆kerR, and when that inclusion holds it equals 1a−1log⁡max⁡{Re⁡tr⁡[Pa(P(1−a)/(2a)(S)RP(1−a)/(2a)(S))],0}\frac1{a-1}\log\max\{\operatorname{Re}\operatorname{tr}[P_a(P_{(1-a)/(2a)}(S)RP_{(1-a)/(2a)}(S))],0\}a−11​logmax{Retr[Pa​(P(1−a)/(2a)​(S)RP(1−a)/(2a)​(S))],0}, where P0(X)=1P_0(X)=1P0​(X)=1 and Pt(X)=cfc⁡(x↦0 if x=0, otherwise xt,X)P_t(X)=\operatorname{cfc}(x\mapsto0\text{ if }x=0,\text{ otherwise }x^t,X)Pt​(X)=cfc(x↦0 if x=0, otherwise xt,X) for t≠0t\ne0t=0. The logarithm is the extended natural logarithm, log⁡0=−∞\log0=-\inftylog0=−∞, real division by zero is 000, and extended real arithmetic is used. No density or nonzero assumption is imposed on ρ\rhoρ, and p=0,1,+∞p=0,1,+\inftyp=0,1,+∞ are all included. If BBB is empty, no trace-one σ\sigmaσ exists, so the infimum is +∞+\infty+∞ and the declared value is −∞-\infty−∞.

QAlgorithms.Papers.Independent.Bridge50.P49.beigiRenyiHolevoInformation

For any finite types A,BA,BA,B with decidable equality, real aaa, and arbitrary function Φ\PhiΦ from complex matrices indexed by AAA to complex matrices indexed by BBB, the defined quantity is the extended-real supremum

χa(Φ)=sup⁡k,p,(ρx)Ia(Z),Z(x,b),(y,d)=[Φ ⁣(1{x=y}pxρx)]bd,\chi_a(\Phi)=\sup_{k,p,(\rho_x)} I_a(Z), \qquad Z_{(x,b),(y,d)} =\left[\Phi\!\left(\mathbf1_{\{x=y\}}p_x\rho_x\right)\right]_{bd},χa​(Φ)=k,p,(ρx​)sup​Ia​(Z),Z(x,b),(y,d)​=[Φ(1{x=y}​px​ρx​)]bd​,

where kkk ranges over natural numbers, px≥0p_x\ge0px​≥0, ∑x<kpx=1\sum_{x<k}p_x=1∑x<k​px​=1, and every ρx\rho_xρx​ is positive semidefinite with complex trace 111. For any matrix ZZZ on a finite product L×BL\times BL×B, let ZL,ZBZ_L,Z_BZL​,ZB​ be its partial traces, and define H(X)=−Re⁡Tr⁡Ct↦tln⁡t(X)H(X)=-\operatorname{Re}\operatorname{Tr}\mathcal C_{t\mapsto t\ln t}(X)H(X)=−ReTrCt↦tlnt​(X), using total real continuous functional calculus. Then I1(Z)=H(ZL)+H(ZB)−H(Z)I_1(Z)=H(Z_L)+H(Z_B)-H(Z)I1​(Z)=H(ZL​)+H(ZB​)−H(Z), whereas for a≠1a\ne1a=1,

Ia(Z)=inf⁡σ⪰0Tr⁡σ=1Da(Z,ZL⊗σ).I_a(Z)=\inf_{\substack{\sigma\succeq0\\\operatorname{Tr}\sigma=1}} D_a(Z,Z_L\otimes\sigma).Ia​(Z)=σ⪰0Trσ=1​inf​Da​(Z,ZL​⊗σ).

Here P0(X)=IP_0(X)=IP0​(X)=I, Pt(X)=Cft(X)P_t(X)=\mathcal C_{f_t}(X)Pt​(X)=Cft​​(X) for t≠0t\ne0t=0, with ft(0)=0f_t(0)=0ft​(0)=0 and ft(x)=xtf_t(x)=x^tft​(x)=xt otherwise, and

Da(X,Y)={1a−1log⁡extofReal⁡ ⁣(Re⁡Tr⁡Pa ⁣(P1−a2a(Y)XP1−a2a(Y))),ker⁡Y⊆ker⁡X,+∞,otherwise.D_a(X,Y)= \begin{cases} \displaystyle\frac{1}{a-1}\log_{\mathrm{ext}}\operatorname{ofReal}\!\left( \operatorname{Re}\operatorname{Tr} P_a\!\left(P_{\frac{1-a}{2a}}(Y)X P_{\frac{1-a}{2a}}(Y)\right)\right), &\ker Y\subseteq\ker X,\\ +\infty,&\text{otherwise}. \end{cases}Da​(X,Y)=⎩⎨⎧​a−11​logext​ofReal(ReTrPa​(P2a1−a​​(Y)XP2a1−a​​(Y))),+∞,​kerY⊆kerX,otherwise.​

The extended logarithm is natural, with value −∞-\infty−∞ at zero, and ofReal⁡\operatorname{ofReal}ofReal truncates negative inputs to zero. There is no assumption that Φ\PhiΦ is linear or a channel; consequently, the off-diagonal label blocks of ZZZ are Φ(0)\Phi(0)Φ(0). The case k=0k=0k=0 supplies no admissible probability vector. Empty infima and suprema in the extended reals are +∞+\infty+∞ and −∞-\infty−∞, respectively; in particular, an empty AAA leaves no admissible ensemble.

QAlgorithms.Papers.Independent.Bridge50.P49.beigiRenyiMutualInformation

For any finite types A,BA,BA,B with decidable equality, any real aaa, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, define its two partial traces by (ρA)ij=∑b∈Bρ(i,b),(j,b)(\rho_A)_{ij}=\sum_{b\in B}\rho_{(i,b),(j,b)}(ρA​)ij​=∑b∈B​ρ(i,b),(j,b)​ and (ρB)bd=∑i∈Aρ(i,b),(i,d)(\rho_B)_{bd}=\sum_{i\in A}\rho_{(i,b),(i,d)}(ρB​)bd​=∑i∈A​ρ(i,b),(i,d)​. Write Cf(X)\mathcal C_f(X)Cf​(X) for the total real continuous functional calculus of a matrix, and put H(X)=−Re⁡Tr⁡Cx↦xln⁡x(X)H(X)=-\operatorname{Re}\operatorname{Tr}\mathcal C_{x\mapsto x\ln x}(X)H(X)=−ReTrCx↦xlnx​(X). The defined extended-real quantity is

Ia(ρ)={H(ρA)+H(ρB)−H(ρ),a=1,inf⁡σ⪰0Tr⁡σ=1Da(ρ,ρA⊗σ),a≠1,I_a(\rho)= \begin{cases} H(\rho_A)+H(\rho_B)-H(\rho),&a=1,\\[2mm] \displaystyle\inf_{\substack{\sigma\succeq0\\ \operatorname{Tr}\sigma=1}} D_a(\rho,\rho_A\otimes\sigma),&a\ne1, \end{cases}Ia​(ρ)=⎩⎨⎧​H(ρA​)+H(ρB​)−H(ρ),σ⪰0Trσ=1​inf​Da​(ρ,ρA​⊗σ),​a=1,a=1,​

where σ\sigmaσ is indexed by BBB. Here, for arbitrary matrices X,YX,YX,Y, set P0(X)=IP_0(X)=IP0​(X)=I and, for t≠0t\ne0t=0, Pt(X)=Cft(X)P_t(X)=\mathcal C_{f_t}(X)Pt​(X)=Cft​​(X), where ft(0)=0f_t(0)=0ft​(0)=0 and ft(x)=xtf_t(x)=x^tft​(x)=xt for x≠0x\ne0x=0; then

Da(X,Y)={1a−1 log⁡ext ⁣(ofReal⁡ ⁣[Re⁡Tr⁡Pa ⁣(P1−a2a(Y) X P1−a2a(Y))]),ker⁡Y⊆ker⁡X,+∞,otherwise.D_a(X,Y)= \begin{cases} \displaystyle\frac{1}{a-1}\, \log_{\mathrm{ext}}\!\left( \operatorname{ofReal}\!\left[ \operatorname{Re}\operatorname{Tr} P_a\!\left(P_{\frac{1-a}{2a}}(Y)\,X\,P_{\frac{1-a}{2a}}(Y)\right) \right]\right),& \ker Y\subseteq\ker X,\\ +\infty,&\text{otherwise}. \end{cases}Da​(X,Y)=⎩⎨⎧​a−11​logext​(ofReal[ReTrPa​(P2a1−a​​(Y)XP2a1−a​​(Y))]),+∞,​kerY⊆kerX,otherwise.​

The function ofReal⁡\operatorname{ofReal}ofReal replaces negative real numbers by zero, and log⁡ext\log_{\mathrm{ext}}logext​ is the natural logarithm on extended nonnegative reals, taking zero to −∞-\infty−∞. No positivity or normalization is required of ρ\rhoρ, and aaa may be zero or negative. Real division and functional calculus retain their total definitions; an empty infimum is +∞+\infty+∞, in particular when BBB is empty.

QAlgorithms.Papers.Independent.Bridge50.P49.beigiSandwichedDivergence

For every finite index type III with decidable equality, every real aaa, and arbitrary complex I×II\times II×I matrices ρ,σ\rho,\sigmaρ,σ, this defines an extended real number as follows. If ker⁡σ⊈ker⁡ρ\ker\sigma\not\subseteq\ker\rhokerσ⊆kerρ, its value is +∞+\infty+∞; otherwise its value is

1a−1 log⁡ ⁣(max⁡{Re⁡tr⁡ ⁣[Pa ⁣(P1−a2a(σ)ρP1−a2a(σ))],0}).\frac{1}{a-1}\,\log\!\left(\max\left\{\operatorname{Re}\operatorname{tr}\!\left[P_a\!\left(P_{\frac{1-a}{2a}}(\sigma)\rho P_{\frac{1-a}{2a}}(\sigma)\right)\right],0\right\}\right).a−11​log(max{Retr[Pa​(P2a1−a​​(σ)ρP2a1−a​​(σ))],0}).

Here P0(X)=1P_0(X)=1P0​(X)=1, and for t≠0t\ne0t=0, Pt(X)=cfc⁡(x↦0 if x=0, otherwise xt,X)P_t(X)=\operatorname{cfc}(x\mapsto 0\text{ if }x=0,\text{ otherwise }x^t,X)Pt​(X)=cfc(x↦0 if x=0, otherwise xt,X). The logarithm is the extended natural logarithm on nonnegative extended reals, so the logarithm of 000 is −∞-\infty−∞. Real division is total, with division by zero equal to 000, and the final multiplication uses extended real arithmetic. In particular, at a=1a=1a=1 the value is 000 when the kernel inclusion holds and +∞+\infty+∞ otherwise. No positivity, nonzero, trace, or order-range hypotheses are imposed.

QAlgorithms.Papers.Independent.Bridge50.P49.beigiWeightedSchattenNorm

For every finite index type III with decidable equality, every p∈[0,+∞]p\in[0,+\infty]p∈[0,+∞], and arbitrary complex I×II\times II×I matrices σ,X\sigma,Xσ,X, let r(p)=1/pr(p)=1/pr(p)=1/p for positive finite ppp, with r(0)=r(+∞)=0r(0)=r(+\infty)=0r(0)=r(+∞)=0, and define Pt(σ)P_t(\sigma)Pt​(σ) to be the identity matrix when t=0t=0t=0, and otherwise the continuous functional calculus of σ\sigmaσ for the real function that is 000 at 000 and xtx^txt at x≠0x\ne0x=0. Set B=Pr(p)/2(σ)XPr(p)/2(σ)B=P_{r(p)/2}(\sigma)XP_{r(p)/2}(\sigma)B=Pr(p)/2​(σ)XPr(p)/2​(σ). The declared value is the Euclidean operator norm ∥B∥op\|B\|_{\mathrm{op}}∥B∥op​ if p=+∞p=+\inftyp=+∞; for finite ppp, writing s=p.toReals=p.toReals=p.toReal, it is

(Re⁡tr⁡ ⁣[cfc⁡ ⁣(x↦xs/2, B†B)])1/s.\left(\operatorname{Re}\operatorname{tr}\!\left[\operatorname{cfc}\!\left(x\mapsto x^{s/2},\,B^\dagger B\right)\right]\right)^{1/s}.(Retr[cfc(x↦xs/2,B†B)])1/s.

The powers here are the total real powers used by the code, and real division by zero is 000. In particular, at p=0p=0p=0 this expression equals 111, even for X=0X=0X=0 or empty III; at p=+∞p=+\inftyp=+∞ the weighting matrices are identities, so the value is ∥X∥op\|X\|_{\mathrm{op}}∥X∥op​. No positivity, Hermitian, invertibility, or normalization assumption is imposed on σ\sigmaσ or XXX.

QAlgorithms.Papers.Independent.Bridge50.P49.boundaryNorm

For every finite index type III with decidable equality, arbitrary F:C→CI×IF:\mathbb C\to\mathbb C^{I\times I}F:C→CI×I, p∈[0,+∞]p\in[0,+\infty]p∈[0,+∞], complex matrix σ\sigmaσ, and real kkk, this defines

sup⁡t∈RNp(σ,F(k+it)).\sup_{t\in\mathbb R}N_p\bigl(\sigma,F(k+it)\bigr).t∈Rsup​Np​(σ,F(k+it)).

To define the real-valued function NpN_pNp​, put r(p)=1/pr(p)=1/pr(p)=1/p for positive finite ppp, and r(0)=r(+∞)=0r(0)=r(+\infty)=0r(0)=r(+∞)=0; let P0(σ)=1P_0(\sigma)=1P0​(σ)=1 and Pu(σ)=cfc⁡(x↦0 if x=0, otherwise xu,σ)P_u(\sigma)=\operatorname{cfc}(x\mapsto 0\text{ if }x=0,\text{ otherwise }x^u,\sigma)Pu​(σ)=cfc(x↦0 if x=0, otherwise xu,σ) for u≠0u\ne0u=0, and set B=Pr(p)/2(σ)ZPr(p)/2(σ)B=P_{r(p)/2}(\sigma)ZP_{r(p)/2}(\sigma)B=Pr(p)/2​(σ)ZPr(p)/2​(σ). Then N+∞(σ,Z)=∥B∥opN_{+\infty}(\sigma,Z)=\|B\|_{\mathrm{op}}N+∞​(σ,Z)=∥B∥op​, and for finite ppp,

Np(σ,Z)=(Re⁡tr⁡[cfc⁡(x↦xp.toReal/2,B†B)])1/p.toReal,N_p(\sigma,Z)=\left(\operatorname{Re}\operatorname{tr}[\operatorname{cfc}(x\mapsto x^{p.toReal/2},B^\dagger B)]\right)^{1/p.toReal},Np​(σ,Z)=(Retr[cfc(x↦xp.toReal/2,B†B)])1/p.toReal,

with total real powers and division. Thus N0=1N_0=1N0​=1. The line may have any real coordinate kkk; neither strip regularity nor boundedness nor positivity of σ\sigmaσ is assumed. This is a real supremum, so it returns 000 if the set of values is unbounded above.

QAlgorithms.Papers.Independent.Bridge50.P49.ensembleState

For any type AAA, any natural number kkk, any probability vector p=(px)x<kp=(p_x)_{x<k}p=(px​)x<k​ of nonnegative real numbers satisfying ∑x<kpx=1\sum_{x<k}p_x=1∑x<k​px​=1, and any family of complex matrices ρx\rho_xρx​ indexed by AAA, the ensemble matrix indexed by {0,…,k−1}×A\{0,\ldots,k-1\}\times A{0,…,k−1}×A is

E(x,i),(y,j)={px(ρx)ij,x=y,0,x≠y.E_{(x,i),(y,j)}= \begin{cases} p_x(\rho_x)_{ij},&x=y,\\ 0,&x\ne y. \end{cases}E(x,i),(y,j)​={px​(ρx​)ij​,0,​x=y,x=y.​

The type AAA need not be finite, and the matrices ρx\rho_xρx​ need not be positive or normalized. Although k=0k=0k=0 is formally permitted, no probability vector satisfying the stated normalization exists in that case.

QAlgorithms.Papers.Independent.Bridge50.P49.groupedProduct

For arbitrary types A,B,C,DA,B,C,DA,B,C,D, without finiteness or nonemptiness assumptions, and arbitrary complex matrices ρ\rhoρ indexed by A×BA\times BA×B and η\etaη indexed by C×DC\times DC×D, the grouped product is the matrix indexed by (A×C)×(B×D)(A\times C)\times(B\times D)(A×C)×(B×D) whose entries are

G((a,c),(b,d)), ((a′,c′),(b′,d′))=ρ(a,b),(a′,b′) η(c,d),(c′,d′).G_{((a,c),(b,d)),\,((a',c'),(b',d'))} =\rho_{(a,b),(a',b')}\,\eta_{(c,d),(c',d')}.G((a,c),(b,d)),((a′,c′),(b′,d′))​=ρ(a,b),(a′,b′)​η(c,d),(c′,d′)​.

No positivity, normalization, or other conditions are required.

QAlgorithms.Papers.Independent.Bridge50.P49.interpolatedOrder

For arbitrary p,q∈[0,+∞]p,q\in[0,+\infty]p,q∈[0,+∞] and arbitrary θ∈R\theta\in\mathbb Rθ∈R, define r(s)=1/sr(s)=1/sr(s)=1/s for 0<s<+∞0<s<+\infty0<s<+∞, and r(0)=r(+∞)=0r(0)=r(+\infty)=0r(0)=r(+∞)=0. This declaration defines the extended nonnegative real number

(max⁡{(1−θ)r(p)+θr(q), 0})−1,\left(\max\{(1-\theta)r(p)+\theta r(q),\,0\}\right)^{-1},(max{(1−θ)r(p)+θr(q),0})−1,

where the reciprocal is taken in [0,+∞][0,+\infty][0,+∞]. In particular, the result is +∞+\infty+∞ whenever the expression inside the maximum is nonpositive. There is no assumption that θ∈[0,1]\theta\in[0,1]θ∈[0,1], or that either order is positive or finite.

QAlgorithms.Papers.Independent.Bridge50.P49.interpolationWeight

For any real numbers a,b,ca,b,ca,b,c, the interpolation weight is defined by

w(a,b,c)=1/b−1/a1/c−1/a.w(a,b,c)=\frac{1/b-1/a}{1/c-1/a}.w(a,b,c)=1/c−1/a1/b−1/a​.

There are no nonzero or distinctness assumptions. All divisions are total real divisions, with division by zero equal to zero; in particular, the weight is zero whenever 1/c−1/a=01/c-1/a=01/c−1/a=0.

QAlgorithms.Papers.Independent.Bridge50.P49.maxDivergence

For every finite index type III with decidable equality and arbitrary complex I×II\times II×I matrices ρ,σ\rho,\sigmaρ,σ, this defines the extended real infimum

inf⁡{t∈R:etσ−ρ is positive semidefinite},\inf\{t\in\mathbb R:e^t\sigma-\rho\text{ is positive semidefinite}\},inf{t∈R:etσ−ρ is positive semidefinite},

where each admissible real ttt is viewed as an extended real number. No positivity or normalization of ρ,σ\rho,\sigmaρ,σ is assumed. If no real ttt is admissible, the value is +∞+\infty+∞; if the admissible values are unbounded below, the value is −∞-\infty−∞, including when both matrices are zero or the index type is empty.

QAlgorithms.Papers.Independent.Bridge50.P49.orderDivergence

For every finite index type III with decidable equality, arbitrary p∈[0,+∞]p\in[0,+\infty]p∈[0,+∞], and complex I×II\times II×I matrices ρ,σ\rho,\sigmaρ,σ, this defines an extended real number. At p=+∞p=+\inftyp=+∞, it is inf⁡{t∈R:etσ−ρ is positive semidefinite}\inf\{t\in\mathbb R:e^t\sigma-\rho\text{ is positive semidefinite}\}inf{t∈R:etσ−ρ is positive semidefinite}, with an empty admissible set giving +∞+\infty+∞. For finite ppp, put a=p.toReala=p.toReala=p.toReal: the value is +∞+\infty+∞ if ker⁡σ⊈ker⁡ρ\ker\sigma\not\subseteq\ker\rhokerσ⊆kerρ, and otherwise it is

1a−1log⁡ ⁣(max⁡{Re⁡tr⁡ ⁣[Pa ⁣(P1−a2a(σ)ρP1−a2a(σ))],0}).\frac{1}{a-1}\log\!\left(\max\left\{\operatorname{Re}\operatorname{tr}\!\left[P_a\!\left(P_{\frac{1-a}{2a}}(\sigma)\rho P_{\frac{1-a}{2a}}(\sigma)\right)\right],0\right\}\right).a−11​log(max{Retr[Pa​(P2a1−a​​(σ)ρP2a1−a​​(σ))],0}).

Here P0(X)=1P_0(X)=1P0​(X)=1, while Pt(X)P_t(X)Pt​(X) for t≠0t\ne0t=0 is the continuous functional calculus for the real function equal to 000 at 000 and to xtx^txt elsewhere. The logarithm is the extended natural logarithm, with log⁡0=−∞\log0=-\inftylog0=−∞; real division by zero is 000, and multiplication is extended real multiplication. Orders p=0p=0p=0 and p=1p=1p=1 are included, and no positivity or normalization of either matrix is assumed.

QAlgorithms.Papers.Independent.Bridge50.P49.purificationObjective

For any finite types A,B,CA,B,CA,B,C with decidable equality, real numbers a,ba,ba,b, and arbitrary complex matrices ρA,R,τ\rho_A,R,\tauρA​,R,τ indexed by AAA, A×(B×C)A\times(B\times C)A×(B×C), and CCC, respectively, define P0(X)=IP_0(X)=IP0​(X)=I and Pt(X)=Cft(X)P_t(X)=\mathcal C_{f_t}(X)Pt​(X)=Cft​​(X) for t≠0t\ne0t=0, with ft(0)=0f_t(0)=0ft​(0)=0 and ft(x)=xtf_t(x)=x^tft​(x)=xt otherwise, using total real continuous functional calculus. Form

K=P−1−1/a2(ρA)⊗(IB⊗P1−1/a2(τ)),Quv=∑i∈A∑j∈C(KRK)(i,(u,j)),(i,(v,j)).K=P_{-\frac{1-1/a}{2}}(\rho_A)\otimes \left(I_B\otimes P_{\frac{1-1/a}{2}}(\tau)\right), \qquad Q_{uv}=\sum_{i\in A}\sum_{j\in C}(KRK)_{(i,(u,j)),(i,(v,j))}.K=P−21−1/a​​(ρA​)⊗(IB​⊗P21−1/a​​(τ)),Quv​=i∈A∑​j∈C∑​(KRK)(i,(u,j)),(i,(v,j))​.

Put r=max⁡(b,0)r=\max(b,0)r=max(b,0). The objective is the real number

(Re⁡Tr⁡Cx↦xr/2(Q†Q))1/r.\left(\operatorname{Re}\operatorname{Tr} \mathcal C_{x\mapsto x^{r/2}}(Q^\dagger Q)\right)^{1/r}.(ReTrCx↦xr/2​(Q†Q))1/r.

Thus the norm parameter is the nonnegative truncation of bbb, with no restriction on bbb or aaa, and no matrix positivity or normalization assumptions. All real powers and divisions are total; when b≤0b\le0b≤0, the displayed definition gives 111, including when BBB is empty.

QAlgorithms.Papers.Independent.Bridge50.P49.purificationOperator

For any finite types A,B,CA,B,CA,B,C with decidable equality, any real aaa, and arbitrary complex matrices ρA,R,τ\rho_A,R,\tauρA​,R,τ indexed respectively by AAA, A×(B×C)A\times(B\times C)A×(B×C), and CCC, define P0(X)=IP_0(X)=IP0​(X)=I and Pt(X)=Cft(X)P_t(X)=\mathcal C_{f_t}(X)Pt​(X)=Cft​​(X) for t≠0t\ne0t=0, where C\mathcal CC is the total real continuous functional calculus, ft(0)=0f_t(0)=0ft​(0)=0, and ft(x)=xtf_t(x)=x^tft​(x)=xt for x≠0x\ne0x=0. Set

K=P−1−1/a2(ρA)⊗(IB⊗P1−1/a2(τ)).K=P_{-\frac{1-1/a}{2}}(\rho_A)\otimes \left(I_B\otimes P_{\frac{1-1/a}{2}}(\tau)\right).K=P−21−1/a​​(ρA​)⊗(IB​⊗P21−1/a​​(τ)).

The defined matrix QQQ, indexed by BBB, has entries

Qbd=∑i∈A∑j∈C(KRK)(i,(b,j)),(i,(d,j)).Q_{bd}=\sum_{i\in A}\sum_{j\in C}(KRK)_{(i,(b,j)),(i,(d,j))}.Qbd​=i∈A∑​j∈C∑​(KRK)(i,(b,j)),(i,(d,j))​.

No positivity, normalization, or purity assumptions are imposed on any matrix. The parameter a=0a=0a=0 is included, using 1/0=01/0=01/0=0; a=1a=1a=1 makes both powers identities. Empty index types are allowed, and an empty summation gives zero.

QAlgorithms.Papers.Independent.Bridge50.P49.reciprocalOrder

For every extended nonnegative real number p∈[0,+∞]p\in[0,+\infty]p∈[0,+∞], this defines a real number by taking the extended nonnegative reciprocal of ppp and then converting it to a real number. Thus its value is 1/p1/p1/p when 0<p<+∞0<p<+\infty0<p<+∞, and its value is 000 both when p=0p=0p=0 and when p=+∞p=+\inftyp=+∞, because conversion to the reals sends +∞+\infty+∞ to 000.

QAlgorithms.Papers.Independent.Bridge50.P49.scaledDivergence

For every finite index type III with decidable equality, every real aaa, and arbitrary complex I×II\times II×I matrices ρ,σ\rho,\sigmaρ,σ, this defines 000 when a=1a=1a=1; otherwise it defines (1−1/a)Da(ρ,σ)(1-1/a)D_a(\rho,\sigma)(1−1/a)Da​(ρ,σ) using extended real multiplication. Here Da(ρ,σ)=+∞D_a(\rho,\sigma)=+\inftyDa​(ρ,σ)=+∞ if ker⁡σ⊈ker⁡ρ\ker\sigma\not\subseteq\ker\rhokerσ⊆kerρ; when that inclusion holds,

Da(ρ,σ)=1a−1log⁡ ⁣(max⁡{Re⁡tr⁡ ⁣[Pa ⁣(P1−a2a(σ)ρP1−a2a(σ))],0}),D_a(\rho,\sigma)=\frac1{a-1}\log\!\left(\max\left\{\operatorname{Re}\operatorname{tr}\!\left[P_a\!\left(P_{\frac{1-a}{2a}}(\sigma)\rho P_{\frac{1-a}{2a}}(\sigma)\right)\right],0\right\}\right),Da​(ρ,σ)=a−11​log(max{Retr[Pa​(P2a1−a​​(σ)ρP2a1−a​​(σ))],0}),

where P0(X)=1P_0(X)=1P0​(X)=1, and Pt(X)P_t(X)Pt​(X) for t≠0t\ne0t=0 is the continuous functional calculus of the real function equal to 000 at 000 and xtx^txt elsewhere. The logarithm is natural and extended by log⁡0=−∞\log0=-\inftylog0=−∞; all real divisions are total, with 1/0=01/0=01/0=0. Thus a=0a=0a=0 is included and has scaling factor 111, while the explicit a=1a=1a=1 branch returns 000 regardless of the matrices or the kernel inclusion. No positivity, normalization, or restriction on the real order is assumed.

QAlgorithms.Papers.Independent.Bridge50.P49.weightedMapNorm

For finite index types I,JI,JI,J with decidable equality, arbitrary p,q∈[0,+∞]p,q\in[0,+\infty]p,q∈[0,+∞], complex matrices σ\sigmaσ on III and τ\tauτ on JJJ, and a complex linear map Φ\PhiΦ from I×II\times II×I matrices to J×JJ\times JJ×J matrices, this defines the real supremum of

{Nq(τ,Φ(X))Np(σ,X):X≠0}.\left\{\frac{N_q(\tau,\Phi(X))}{N_p(\sigma,X)}:X\ne0\right\}.{Np​(σ,X)Nq​(τ,Φ(X))​:X=0}.

Here Ns(S,Z)N_s(S,Z)Ns​(S,Z) is defined by setting r(s)=1/sr(s)=1/sr(s)=1/s for positive finite sss, with r(0)=r(+∞)=0r(0)=r(+\infty)=0r(0)=r(+∞)=0, and B=Pr(s)/2(S)ZPr(s)/2(S)B=P_{r(s)/2}(S)ZP_{r(s)/2}(S)B=Pr(s)/2​(S)ZPr(s)/2​(S), where P0(S)=1P_0(S)=1P0​(S)=1 and, for t≠0t\ne0t=0, Pt(S)=cfc⁡(x↦0 if x=0, otherwise xt,S)P_t(S)=\operatorname{cfc}(x\mapsto 0\text{ if }x=0,\text{ otherwise }x^t,S)Pt​(S)=cfc(x↦0 if x=0, otherwise xt,S); then N+∞(S,Z)=∥B∥opN_{+\infty}(S,Z)=\|B\|_{\mathrm{op}}N+∞​(S,Z)=∥B∥op​, while for finite sss it is (Re⁡tr⁡[cfc⁡(x↦xs.toReal/2,B†B)])1/s.toReal\bigl(\operatorname{Re}\operatorname{tr}[\operatorname{cfc}(x\mapsto x^{s.toReal/2},B^\dagger B)]\bigr)^{1/s.toReal}(Retr[cfc(x↦xs.toReal/2,B†B)])1/s.toReal, using total real powers and division. No positivity or invertibility assumptions are imposed on either weight. A zero denominator makes the corresponding ratio 000, even when X≠0X\ne0X=0. The supremum is taken in R\mathbb RR, whose supplied supremum operation returns 000 for an empty or unbounded-above set; in particular, empty III leaves no nonzero XXX.

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