Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Monotonicity of a relative Rényi entropy

Definition
QAlgorithms_Papers_Independent_Bridge50_P48

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

prove2quantum

The objects the formalized statements of Monotonicity of a relative Rényi entropy (arXiv:1306.5358) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • hilbertPositiveTrace: PDF p.1: adapter to the frozen extended positive trace in Claimed50.P46. A chosen Hilbert basis indexed by a subset of H fits QuantumData's single universe. Positive extended trace is basis independent; the supplied basis b is retained in the interface for compatibility with the finite trace formulas. Zero auxiliary inputs only package H; the operator being traced is A.
  • hilbertSandwichedTrace: PDF pp.1--2, Proposition 3: the unnormalized sandwiched spectral trace. For alpha<1 its two powers have positive exponents on the theorem's domain. For alpha>1, R is the reduced positive solution of rho = sigma^((alpha-1)/(2 alpha)) R sigma^((alpha-1)/(2 alpha)). The kernel condition makes R unique. The infimum of an empty set is infinity. A divergent positive trace also remains infinity. The zero numerator is zero. Orders <=0 and order one are outside the claims made about this definition.
  • positivePairs: PDF p.2, Proposition 3: both operators are non-negative, including zero.
  • traceSlice: PDF p.2: the fixed-trace quantum-operation domain. Both operators are positive trace class; the first has trace t, without a normalization t=1.
  • jointConcaveOn: PDF p.2: joint concavity, using the same real mixing weight for both operators. ENNReal arithmetic is used only on nonnegative quantities. At lambda=0 or 1 its convention 0*infinity=0 gives exactly the endpoint value.
  • jointConvexOn: PDF p.2: joint convexity, with the same audited nonnegative endpoint convention as jointConcaveOn. No subtraction of infinite quantities occurs.
  • scaledExponential: PDF p.2, consequence after Proposition 3: exp((alpha-1)D_alpha)=Q_alpha/t. For t>0 this retains zero below one and infinity above one on orthogonal pairs.
  • divergenceExponential: PDF p.2, second consequence after Proposition 3: exp(D_alpha). Used only for alpha>1 and t>0, so its scalar power is positive and t is finite. This defines the exponential directly, without totalizing an extended logarithm.
  • ennrealNaturalLog: PDF p.1: natural logarithm on nonnegative extended arguments. The finite branch reuses Dependency50.P21.extendedLog; its real input cannot represent infinity, so the top branch is supplied before converting toReal.
  • normalizedRelativeEntropy: PDF p.1, alpha=1: remove the finite trace correction from the accepted extended generalized relative entropy, then divide by Tr rho. The accepted finite-compression formula includes Tr(sigma-rho); hence both finite scalar corrections below are essential for unnormalized operators. The domain of the theorems has positive finite Tr rho and trace-class sigma.
  • maxSandwichNorm: PDF p.1, alpha=infinity: the extended norm of the relative sandwich is its positive order gauge, inf{c>0 : rho<=c sigma}. An empty set gives infinity. No division by the trace of rho belongs to this endpoint.
  • traceNormalizedHilbertRenyi: PDF p.1: the full trace-normalized sandwiched divergence in nats. The order parameter includes infinity. At one the extended Umegaki formula is used; at infinity the logarithm of the order gauge has no trace divisor. For finite orders different from one the divisor is inside the logarithm. Only alpha>=1/2 and positive trace-class pairs with Tr rho>0 are used below.
  • entropyJointConvexOn: PDF p.2, Theorem 2: Jensen inequality for entropy itself. On the positive finite-trace slice the divergence is real or +infinity, never -infinity. Thus the weights 0 and 1 also recover the exact endpoint values.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P13
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P20
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P46
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P21

/-!
Frank--Lieb, arXiv:1306.5358v3. Page numbers are PDF pages.
Theorems 1--2, Proposition 3 and its two exponential consequences are stated below.
Lemmas 4--5 and Remark 6 are explicitly deferred in HARD.md and GAPS.json.

For orders above one, the spectral trace is constructed through the unique
positive bounded reduced sandwich, when it exists. This is the specialization
z = alpha of Mosonyi, arXiv:2107.08036v5, Lemma III.1, Remark III.3 and
Definition III.9 (PDF pp.4--8). If no such bounded operator exists, or its
positive spectral trace diverges, the value is infinity. Thus negative powers
are never evaluated by the bounded continuous functional calculus.
Compilation is pending the batch handoff.
-/

noncomputable section

open scoped ENNReal

namespace QAlgorithms.Papers.Independent.Bridge50.P48

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P13
  (IsPositive IsTraceClass operatorTrace)

variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]

/-- PDF p.1: adapter to the frozen extended positive trace in Claimed50.P46.
A chosen Hilbert basis indexed by a subset of H fits QuantumData's single
universe. Positive extended trace is basis independent; the supplied basis b
is retained in the interface for compatibility with the finite trace formulas.
Zero auxiliary inputs only package H; the operator being traced is A. -/
def hilbertPositiveTrace {I : Type*} (_b : HilbertBasis I ℂ H) (A : H →L[ℂ] H) : ℝ≥0∞ :=
  let w : Set H := (exists_hilbertBasis ℂ H).choose
  let e : HilbertBasis w ℂ H := (exists_hilbertBasis ℂ H).choose_spec.choose
  QAlgorithms.Papers.Independent.Claimed50.P46.positiveTrace
    { H := H, J := w, basis := e, rho := 0, sigma := 0,
      rho_positive := by simp [IsPositive], sigma_positive := by simp [IsPositive] } A

example {I : Type*} (b : HilbertBasis I ℂ H) : hilbertPositiveTrace b 0 = 0 := by
  simp [hilbertPositiveTrace, QAlgorithms.Papers.Independent.Claimed50.P46.positiveTrace]

/-- PDF pp.1--2, Proposition 3: the unnormalized sandwiched spectral trace.
For alpha<1 its two powers have positive exponents on the theorem's domain.
For alpha>1, R is the reduced positive solution of
rho = sigma^((alpha-1)/(2 alpha)) R sigma^((alpha-1)/(2 alpha)).
The kernel condition makes R unique. The infimum of an empty set is infinity.
A divergent positive trace also remains infinity. The zero numerator is zero.
Orders <=0 and order one are outside the claims made about this definition. -/
def hilbertSandwichedTrace {I : Type*} (b : HilbertBasis I ℂ H) (alpha : ℝ)
    (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) : ℝ≥0∞ :=
  if pair.1 = 0 then 0
  else if alpha < 1 then
    let S := cfc (fun x : ℝ => Real.rpow x ((1 - alpha) / (2 * alpha))) pair.2
    hilbertPositiveTrace b (cfc (fun x : ℝ => Real.rpow x alpha) (S * pair.1 * S))
  else
    let S := cfc (fun x : ℝ => Real.rpow x ((alpha - 1) / (2 * alpha))) pair.2
    sInf {v : ℝ≥0∞ | ∃ R : H →L[ℂ] H,
      IsPositive R ∧ S * R * S = pair.1 ∧
      (∀ x, pair.2 x = 0 → R x = 0) ∧
      v = hilbertPositiveTrace b (cfc (fun x : ℝ => Real.rpow x alpha) R)}

example {I : Type*} (b : HilbertBasis I ℂ H) (alpha : ℝ) (sigma : H →L[ℂ] H) :
    hilbertSandwichedTrace b alpha (0, sigma) = 0 := by
  simp [hilbertSandwichedTrace]

/-- PDF p.2, Proposition 3: both operators are non-negative, including zero. -/
def positivePairs : Set ((H →L[ℂ] H) × (H →L[ℂ] H)) :=
  {pair | IsPositive pair.1 ∧ IsPositive pair.2}

example : (0, 0) ∈ positivePairs (H := H) := by
  simp [positivePairs, IsPositive]

/-- PDF p.2: the fixed-trace quantum-operation domain. Both operators are
positive trace class; the first has trace t, without a normalization t=1. -/
def traceSlice {I : Type*} (b : HilbertBasis I ℂ H) (t : ℝ) :
    Set ((H →L[ℂ] H) × (H →L[ℂ] H)) :=
  {pair | pair ∈ positivePairs ∧ IsTraceClass pair.1 ∧ IsTraceClass pair.2 ∧
    (operatorTrace b pair.1).re = t}

/-- PDF p.2: joint concavity, using the same real mixing weight for both
operators. ENNReal arithmetic is used only on nonnegative quantities.
At lambda=0 or 1 its convention 0*infinity=0 gives exactly the endpoint value. -/
def jointConcaveOn (domain : Set ((H →L[ℂ] H) × (H →L[ℂ] H)))
    (f : ((H →L[ℂ] H) × (H →L[ℂ] H)) → ℝ≥0∞) : Prop :=
  ∀ x ∈ domain, ∀ y ∈ domain, ∀ lambda : ℝ, 0 ≤ lambda → lambda ≤ 1 →
    ENNReal.ofReal lambda * f x + ENNReal.ofReal (1 - lambda) * f y ≤
      f (lambda • x + (1 - lambda) • y)

/-- PDF p.2: joint convexity, with the same audited nonnegative endpoint
convention as jointConcaveOn. No subtraction of infinite quantities occurs. -/
def jointConvexOn (domain : Set ((H →L[ℂ] H) × (H →L[ℂ] H)))
    (f : ((H →L[ℂ] H) × (H →L[ℂ] H)) → ℝ≥0∞) : Prop :=
  ∀ x ∈ domain, ∀ y ∈ domain, ∀ lambda : ℝ, 0 ≤ lambda → lambda ≤ 1 →
    f (lambda • x + (1 - lambda) • y) ≤
      ENNReal.ofReal lambda * f x + ENNReal.ofReal (1 - lambda) * f y

example (domain : Set ((H →L[ℂ] H) × (H →L[ℂ] H))) :
    jointConcaveOn domain (fun _ => 0) ∧ jointConvexOn domain (fun _ => 0) := by
  simp [jointConcaveOn, jointConvexOn]

/-- PDF p.2, consequence after Proposition 3: exp((alpha-1)D_alpha)=Q_alpha/t.
For t>0 this retains zero below one and infinity above one on orthogonal pairs. -/
def scaledExponential {I : Type*} (b : HilbertBasis I ℂ H) (t alpha : ℝ)
    (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) : ℝ≥0∞ :=
  hilbertSandwichedTrace b alpha pair / ENNReal.ofReal t

example {I : Type*} (b : HilbertBasis I ℂ H) (t alpha : ℝ) (sigma : H →L[ℂ] H) :
    scaledExponential b t alpha (0, sigma) = 0 := by
  simp [scaledExponential, hilbertSandwichedTrace]

/-- PDF p.2, second consequence after Proposition 3: exp(D_alpha).
Used only for alpha>1 and t>0, so its scalar power is positive and t is finite.
This defines the exponential directly, without totalizing an extended logarithm. -/
def divergenceExponential {I : Type*} (b : HilbertBasis I ℂ H) (t alpha : ℝ)
    (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) : ℝ≥0∞ :=
  (scaledExponential b t alpha pair) ^ (1 / (alpha - 1) : ℝ)

example {I : Type*} (b : HilbertBasis I ℂ H) (t : ℝ)
    (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) :
    divergenceExponential b t 2 pair = scaledExponential b t 2 pair := by
  unfold divergenceExponential
  have hexponent : (1 / ((2 : ℝ) - 1)) = 1 := by norm_num
  rw [hexponent, ENNReal.rpow_one]

/-- PDF p.1: natural logarithm on nonnegative extended arguments.
The finite branch reuses Dependency50.P21.extendedLog; its real input cannot
represent infinity, so the top branch is supplied before converting toReal. -/
def ennrealNaturalLog (x : ℝ≥0∞) : EReal :=
  if x = ⊤ then ⊤ else
    QAlgorithms.Papers.Independent.Dependency50.P21.extendedLog x.toReal

example : ennrealNaturalLog 0 = ⊥ ∧ ennrealNaturalLog ⊤ = ⊤ := by
  simp [ennrealNaturalLog, QAlgorithms.Papers.Independent.Dependency50.P21.extendedLog]

/-- PDF p.1, alpha=1: remove the finite trace correction from the accepted
extended generalized relative entropy, then divide by Tr rho.
The accepted finite-compression formula includes Tr(sigma-rho); hence both
finite scalar corrections below are essential for unnormalized operators.
The domain of the theorems has positive finite Tr rho and trace-class sigma. -/
def normalizedRelativeEntropy {I : Type*} (b : HilbertBasis I ℂ H)
    (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) : EReal :=
  if h : IsTraceClass pair.1 ∧ IsTraceClass pair.2 then
    let d := QAlgorithms.Papers.Independent.Dependency50.P13.relativeEntropy
      ⟨pair.1, h.1⟩ ⟨pair.2, h.2⟩
    let e : EReal := if d = ⊤ then ⊤ else (d.toReal : EReal)
    ((((operatorTrace b pair.1).re)⁻¹ : ℝ) : EReal) *
      (e - ((operatorTrace b pair.2).re : EReal) + ((operatorTrace b pair.1).re : EReal))
  else ⊤

/-- PDF p.1, alpha=infinity: the extended norm of the relative sandwich
is its positive order gauge, inf{c>0 : rho<=c sigma}. An empty set gives
infinity. No division by the trace of rho belongs to this endpoint. -/
def maxSandwichNorm (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) : ℝ≥0∞ :=
  sInf {v : ℝ≥0∞ | ∃ c : ℝ, 0 < c ∧
    IsPositive ((c : ℂ) • pair.2 - pair.1) ∧ v = ENNReal.ofReal c}

/-- PDF p.1: the full trace-normalized sandwiched divergence in nats.
The order parameter includes infinity. At one the extended Umegaki formula
is used; at infinity the logarithm of the order gauge has no trace divisor.
For finite orders different from one the divisor is inside the logarithm.
Only alpha>=1/2 and positive trace-class pairs with Tr rho>0 are used below. -/
def traceNormalizedHilbertRenyi {I : Type*} (b : HilbertBasis I ℂ H) (alpha : ℝ≥0∞)
    (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) : EReal :=
  if alpha = ⊤ then ennrealNaturalLog (maxSandwichNorm pair)
  else if alpha = 1 then normalizedRelativeEntropy b pair
  else (((alpha.toReal - 1)⁻¹ : ℝ) : EReal) *
    ennrealNaturalLog (scaledExponential b (operatorTrace b pair.1).re alpha.toReal pair)

example {I : Type*} (b : HilbertBasis I ℂ H)
    (pair : (H →L[ℂ] H) × (H →L[ℂ] H)) :
    traceNormalizedHilbertRenyi b 1 pair = normalizedRelativeEntropy b pair ∧
    traceNormalizedHilbertRenyi b ⊤ pair = ennrealNaturalLog (maxSandwichNorm pair) := by
  simp [traceNormalizedHilbertRenyi]

/-- PDF p.2, Theorem 2: Jensen inequality for entropy itself. On the positive
finite-trace slice the divergence is real or +infinity, never -infinity.
Thus the weights 0 and 1 also recover the exact endpoint values. -/
def entropyJointConvexOn (domain : Set ((H →L[ℂ] H) × (H →L[ℂ] H)))
    (f : ((H →L[ℂ] H) × (H →L[ℂ] H)) → EReal) : Prop :=
  ∀ x ∈ domain, ∀ y ∈ domain, ∀ lambda : ℝ, 0 ≤ lambda → lambda ≤ 1 →
    f (lambda • x + (1 - lambda) • y) ≤
      (lambda : EReal) * f x + ((1 - lambda : ℝ) : EReal) * f y

example (domain : Set ((H →L[ℂ] H) × (H →L[ℂ] H))) :
    entropyJointConvexOn domain (fun _ => 0) := by
  simp [entropyJointConvexOn]

end QAlgorithms.Papers.Independent.Bridge50.P48
Source
Monotonicity of a relative Rényi entropy, arXiv:1306.5358v3, https://arxiv.org/abs/1306.5358v3
Read-back

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

QAlgorithms.Papers.Independent.Bridge50.P48.divergenceExponential

For any possibly zero complex Hilbert space HHH, any index type III, any Hilbert basis b:I→Hb:I\to Hb:I→H, any real t,αt,\alphat,α, and any bounded complex-linear operators A,BA,BA,B on HHH, this defines

(Qα(A,B)max⁡{t,0})1/(α−1)∈[0,∞],\left(\frac{Q_\alpha(A,B)}{\max\{t,0\}}\right)^{1/(\alpha-1)} \in[0,\infty],(max{t,0}Qα​(A,B)​)1/(α−1)∈[0,∞],

using extended nonnegative real exponentiation. To specify the numerator, choose the Hilbert basis eee provided by the existence theorem and set T(C)=∑jmax⁡{Re⁡⟨ej,Cej⟩,0}\mathcal T(C)=\sum_j\max\{\operatorname{Re}\langle e_j,Ce_j\rangle,0\}T(C)=∑j​max{Re⟨ej​,Cej​⟩,0}. Set Qα(A,B)=0Q_\alpha(A,B)=0Qα​(A,B)=0 when A=0A=0A=0; when A≠0A\ne0A=0 and α<1\alpha<1α<1, set Qα(A,B)=T((SAS)α)Q_\alpha(A,B)=\mathcal T((SAS)^\alpha)Qα​(A,B)=T((SAS)α), with S=B(1−α)/(2α)S=B^{(1-\alpha)/(2\alpha)}S=B(1−α)/(2α); when A≠0A\ne0A=0 and α≥1\alpha\ge1α≥1, take the infimum of T(Rα)\mathcal T(R^\alpha)T(Rα) over bounded operators RRR satisfying R=R∗R=R^*R=R∗, Re⁡⟨x,Rx⟩≥0\operatorname{Re}\langle x,Rx\rangle\ge0Re⟨x,Rx⟩≥0 for every xxx, SRS=ASRS=ASRS=A, and ker⁡B⊆ker⁡R\ker B\subseteq\ker RkerB⊆kerR, with S=B(α−1)/(2α)S=B^{(\alpha-1)/(2\alpha)}S=B(α−1)/(2α). Operator powers use the code’s total continuous functional calculus, and an empty infimum is +∞+\infty+∞. No positivity or trace-class assumptions are imposed on A,BA,BA,B, and bbb is unused. All real t,αt,\alphat,α are allowed: t≤0t\le0t≤0 gives a zero denominator, scalar division by zero is zero, and at α=1\alpha=1α=1 the outer exponent is zero, so the defined value is 111.

QAlgorithms.Papers.Independent.Bridge50.P48.ennrealNaturalLog

For any x∈[0,∞]x\in[0,\infty]x∈[0,∞], this defines an extended real number by

{+∞,x=+∞,−∞,x=0,log⁡x,0<x<+∞,\begin{cases} +\infty,&x=+\infty,\\ -\infty,&x=0,\\ \log x,&0<x<+\infty, \end{cases}⎩⎨⎧​+∞,−∞,logx,​x=+∞,x=0,0<x<+∞,​

where log⁡\loglog is the natural logarithm. The infinite case is handled before converting xxx to a real number.

QAlgorithms.Papers.Independent.Bridge50.P48.entropyJointConvexOn

Let HHH be a complete complex inner product space, let D\mathcal DD be any set of pairs of bounded complex linear operators H→HH\to HH→H, and let fff map such pairs to the extended real line [−∞,+∞][-\infty,+\infty][−∞,+∞]. This definition says that, for every x,y∈Dx,y\in\mathcal Dx,y∈D and every real λ\lambdaλ with 0≤λ≤10\le\lambda\le10≤λ≤1,

f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y).f\bigl(\lambda x+(1-\lambda)y\bigr) \le \lambda f(x)+(1-\lambda)f(y).f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y).

Addition and real scalar multiplication of pairs act componentwise, and the right side uses extended real arithmetic. The endpoints λ=0,1\lambda=0,1λ=0,1 and infinite values of fff are included. The definition does not separately require D\mathcal DD to be convex or require the mixed pair to belong to D\mathcal DD; fff is defined on all operator pairs.

QAlgorithms.Papers.Independent.Bridge50.P48.hilbertPositiveTrace

For any possibly zero complex Hilbert space HHH, any index type III, any Hilbert basis b:I→Hb:I\to Hb:I→H, and any bounded complex-linear operator A:H→HA:H\to HA:H→H, this defines an element of [0,∞][0,\infty][0,∞] by choosing a Hilbert basis e:w→He:w\to He:w→H, where w⊆Hw\subseteq Hw⊆H, using the specified existence theorem, and setting

∑j∈wmax⁡ ⁣{Re⁡⟨ej,Aej⟩,0}.\sum_{j\in w}\max\!\left\{\operatorname{Re}\langle e_j,Ae_j\rangle,0\right\}.j∈w∑​max{Re⟨ej​,Aej​⟩,0}.

The sum is an extended nonnegative sum and may be infinite. The supplied basis bbb is unused. No positivity, self-adjointness, or trace-class assumption is imposed on AAA.

QAlgorithms.Papers.Independent.Bridge50.P48.hilbertSandwichedTrace

For any possibly zero complex Hilbert space HHH, any index type III, any Hilbert basis b:I→Hb:I\to Hb:I→H, any real α\alphaα, and any pair (A,B)(A,B)(A,B) of bounded complex-linear operators on HHH, define T(C)=∑jmax⁡{Re⁡⟨ej,Cej⟩,0}\mathcal T(C)=\sum_j\max\{\operatorname{Re}\langle e_j,Ce_j\rangle,0\}T(C)=∑j​max{Re⟨ej​,Cej​⟩,0}, using the Hilbert basis eee selected by the existence theorem rather than bbb, and write f(C)f(C)f(C) for the total continuous functional calculus appearing in the code. The defined value in [0,∞][0,\infty][0,∞] is

{0,A=0,T ⁣((SAS)α),A≠0, α<1,S=B(1−α)/(2α),inf⁡{T(Rα):R=R∗, Re⁡⟨x,Rx⟩≥0 ∀x, SRS=A, ker⁡B⊆ker⁡R},A≠0, α≥1,S=B(α−1)/(2α).\begin{cases} 0,&A=0,\\[2mm] \mathcal T\!\left((SAS)^\alpha\right), & A\ne0,\ \alpha<1,\quad S=B^{(1-\alpha)/(2\alpha)},\\[2mm] \displaystyle\inf\left\{\mathcal T(R^\alpha): R=R^*,\ \operatorname{Re}\langle x,Rx\rangle\ge0\ \forall x,\ SRS=A,\ \ker B\subseteq\ker R\right\}, &A\ne0,\ \alpha\ge1,\quad S=B^{(\alpha-1)/(2\alpha)}. \end{cases}⎩⎨⎧​0,T((SAS)α),inf{T(Rα):R=R∗, Re⟨x,Rx⟩≥0 ∀x, SRS=A, kerB⊆kerR},​A=0,A=0, α<1,S=B(1−α)/(2α),A=0, α≥1,S=B(α−1)/(2α).​

Here every operator power denotes functional calculus with the real-power function. An empty infimum is +∞+\infty+∞. Neither AAA nor BBB is assumed positive or trace class, and all real α\alphaα, including 000 and 111, are included; scalar division by zero in the exponents is defined to be zero.

QAlgorithms.Papers.Independent.Bridge50.P48.jointConcaveOn

For any possibly zero complex Hilbert space HHH, any set DDD of pairs of bounded complex-linear operators on HHH, and any function fff from all such pairs to [0,∞][0,\infty][0,∞], this is the assertion that, for every x,y∈Dx,y\in Dx,y∈D and every real 0≤λ≤10\le\lambda\le10≤λ≤1,

λf(x)+(1−λ)f(y)≤f ⁣(λx+(1−λ)y).\lambda f(x)+(1-\lambda)f(y) \le f\!\left(\lambda x+(1-\lambda)y\right).λf(x)+(1−λ)f(y)≤f(λx+(1−λ)y).

Scalar multiplication and addition of pairs are componentwise, and the coefficients on the left are interpreted in the extended nonnegative reals, where 0⋅∞=00\cdot\infty=00⋅∞=0. Convexity of DDD is not required, so the argument on the right need not belong to DDD. The condition is vacuous when DDD is empty.

QAlgorithms.Papers.Independent.Bridge50.P48.jointConvexOn

For any possibly zero complex Hilbert space HHH, any set DDD of pairs of bounded complex-linear operators on HHH, and any function fff from all such pairs to [0,∞][0,\infty][0,∞], this is the assertion that, for every x,y∈Dx,y\in Dx,y∈D and every real 0≤λ≤10\le\lambda\le10≤λ≤1,

f ⁣(λx+(1−λ)y)≤λf(x)+(1−λ)f(y).f\!\left(\lambda x+(1-\lambda)y\right) \le \lambda f(x)+(1-\lambda)f(y).f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y).

Scalar multiplication and addition of pairs are componentwise, and the coefficients on the right are interpreted in the extended nonnegative reals, where 0⋅∞=00\cdot\infty=00⋅∞=0. Convexity of DDD is not required, so the argument on the left need not belong to DDD. The condition is vacuous when DDD is empty.

QAlgorithms.Papers.Independent.Bridge50.P48.maxSandwichNorm

For any possibly zero complex Hilbert space HHH and any bounded complex-linear operators A,BA,BA,B on HHH, this defines

inf⁡{c∈(0,∞):cB−A=(cB−A)∗, Re⁡⟨x,(cB−A)x⟩≥0 for every x∈H}\inf\left\{c\in(0,\infty): cB-A=(cB-A)^*,\ \operatorname{Re}\langle x,(cB-A)x\rangle\ge0 \text{ for every }x\in H\right\}inf{c∈(0,∞):cB−A=(cB−A)∗, Re⟨x,(cB−A)x⟩≥0 for every x∈H}

as an element of [0,∞][0,\infty][0,∞]. The infimum is +∞+\infty+∞ if there is no admissible positive real ccc; it may equal zero even though only strictly positive ccc are admitted. Neither AAA nor BBB is separately assumed positive or trace class.

QAlgorithms.Papers.Independent.Bridge50.P48.normalizedRelativeEntropy

For any possibly zero complex Hilbert space HHH, any index type III, any Hilbert basis b:I→Hb:I\to Hb:I→H, and any bounded complex-linear operators A,BA,BA,B on HHH, this defines +∞+\infty+∞ unless both operators admit nuclear representations: for each T∈{A,B}T\in\{A,B\}T∈{A,B}, there must exist sequences ur,vr∈Hu_r,v_r\in Hur​,vr​∈H with ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ summable and Tx=∑r⟨vr,x⟩urTx=\sum_r\langle v_r,x\rangle u_rTx=∑r​⟨vr​,x⟩ur​ for every xxx. If both do, put a=Re⁡∑i⟨bi,Abi⟩a=\operatorname{Re}\sum_i\langle b_i,Ab_i\ranglea=Re∑i​⟨bi​,Abi​⟩, b0=Re⁡∑i⟨bi,Bbi⟩b_0=\operatorname{Re}\sum_i\langle b_i,Bb_i\rangleb0​=Re∑i​⟨bi​,Bbi​⟩, and define

D=sup⁡n∈Nv0,…,vn−1 orthonormald(Xv,Yv),(Xv)ij=⟨vi,Avj⟩,(Yv)ij=⟨vi,Bvj⟩,D=\sup_{\substack{n\in\mathbb N\\v_0,\ldots,v_{n-1}\text{ orthonormal}}} d(X_v,Y_v),\qquad (X_v)_{ij}=\langle v_i,Av_j\rangle,\quad (Y_v)_{ij}=\langle v_i,Bv_j\rangle,D=n∈Nv0​,…,vn−1​ orthonormal​sup​d(Xv​,Yv​),(Xv​)ij​=⟨vi​,Avj​⟩,(Yv​)ij​=⟨vi​,Bvj​⟩,

where d(X,Y)=+∞d(X,Y)=+\inftyd(X,Y)=+∞ if ker⁡Y⊈ker⁡X\ker Y\not\subseteq\ker XkerY⊆kerX, and otherwise

d(X,Y)=max⁡ ⁣{Re⁡tr⁡(f(X)−Xlog⁡(Y)−X+Y),0},f(s)=slog⁡s.d(X,Y)= \max\!\left\{ \operatorname{Re}\operatorname{tr} \bigl(f(X)-X\log(Y)-X+Y\bigr),0 \right\},\qquad f(s)=s\log s.d(X,Y)=max{Retr(f(X)−Xlog(Y)−X+Y),0},f(s)=slogs.

Matrix functions here are the code’s total continuous functional calculus. Let E=+∞E=+\inftyE=+∞ if D=+∞D=+\inftyD=+∞, and otherwise let EEE be the finite real value of DDD, viewed as an extended real. The result is a−1(E−b0+a)a^{-1}(E-b_0+a)a−1(E−b0​+a), using extended-real arithmetic after taking the real reciprocal a−1a^{-1}a−1. No positivity or normalization of A,BA,BA,B is assumed; n=0n=0n=0 is included in the supremum, and a=0a=0a=0 is allowed, in which case its real reciprocal is zero.

QAlgorithms.Papers.Independent.Bridge50.P48.positivePairs

For any possibly zero complex Hilbert space HHH, this is the set of pairs (A,B)(A,B)(A,B) of bounded complex-linear operators on HHH satisfying

A∗=A,B∗=B,Re⁡⟨x,Ax⟩≥0,Re⁡⟨x,Bx⟩≥0for every x∈H.A^*=A,\qquad B^*=B,\qquad \operatorname{Re}\langle x,Ax\rangle\ge0,\qquad \operatorname{Re}\langle x,Bx\rangle\ge0 \quad\text{for every }x\in H.A∗=A,B∗=B,Re⟨x,Ax⟩≥0,Re⟨x,Bx⟩≥0for every x∈H.

There is no trace-class or trace-normalization requirement.

QAlgorithms.Papers.Independent.Bridge50.P48.scaledExponential

For any possibly zero complex Hilbert space HHH, any index type III, any Hilbert basis b:I→Hb:I\to Hb:I→H, any real t,αt,\alphat,α, and any bounded complex-linear operators A,BA,BA,B on HHH, this defines

Qα(A,B)max⁡{t,0}∈[0,∞].\frac{Q_\alpha(A,B)}{\max\{t,0\}}\in[0,\infty].max{t,0}Qα​(A,B)​∈[0,∞].

Here, using an existence-theorem-selected Hilbert basis eee, put T(C)=∑jmax⁡{Re⁡⟨ej,Cej⟩,0}\mathcal T(C)=\sum_j\max\{\operatorname{Re}\langle e_j,Ce_j\rangle,0\}T(C)=∑j​max{Re⟨ej​,Cej​⟩,0}. Then Qα(A,B)=0Q_\alpha(A,B)=0Qα​(A,B)=0 if A=0A=0A=0; otherwise, for α<1\alpha<1α<1, it is T((SAS)α)\mathcal T((SAS)^\alpha)T((SAS)α) with S=B(1−α)/(2α)S=B^{(1-\alpha)/(2\alpha)}S=B(1−α)/(2α); for α≥1\alpha\ge1α≥1, it is the infimum of T(Rα)\mathcal T(R^\alpha)T(Rα) over bounded operators RRR satisfying R=R∗R=R^*R=R∗, Re⁡⟨x,Rx⟩≥0\operatorname{Re}\langle x,Rx\rangle\ge0Re⟨x,Rx⟩≥0 for every xxx, SRS=ASRS=ASRS=A, and ker⁡B⊆ker⁡R\ker B\subseteq\ker RkerB⊆kerR, where S=B(α−1)/(2α)S=B^{(\alpha-1)/(2\alpha)}S=B(α−1)/(2α). Operator powers use the code’s total continuous functional calculus, scalar division by zero in their exponents is zero, and an empty infimum is +∞+\infty+∞. The supplied basis bbb is unused in this value. No positivity or trace-class assumptions are imposed on A,BA,BA,B, and ttt need not be positive: when t≤0t\le0t≤0, the denominator is zero, with 0/0=00/0=00/0=0 and a positive numerator divided by zero equal to +∞+\infty+∞.

QAlgorithms.Papers.Independent.Bridge50.P48.traceNormalizedHilbertRenyi

For any possibly zero complex Hilbert space HHH, any index type III, any Hilbert basis b:I→Hb:I\to Hb:I→H, any α∈[0,∞]\alpha\in[0,\infty]α∈[0,∞], and any bounded complex-linear operators A,BA,BA,B on HHH, this defines an extended real number by the following branches:

{L ⁣(inf⁡{c>0:cB−A is positive}),α=+∞,Rb(A,B),α=1,(α−1)−1 L ⁣(Qα(A,B)/max⁡{a,0}),0≤α<+∞, α≠1,a=Re⁡∑i⟨bi,Abi⟩.\begin{cases} L\!\left(\inf\{c>0:cB-A\text{ is positive}\}\right),&\alpha=+\infty,\\[1mm] \mathcal R_b(A,B),&\alpha=1,\\[1mm] (\alpha-1)^{-1}\, L\!\left(Q_\alpha(A,B)/\max\{a,0\}\right), &0\le\alpha<+\infty,\ \alpha\ne1, \end{cases} \qquad a=\operatorname{Re}\sum_i\langle b_i,Ab_i\rangle.⎩⎨⎧​L(inf{c>0:cB−A is positive}),Rb​(A,B),(α−1)−1L(Qα​(A,B)/max{a,0}),​α=+∞,α=1,0≤α<+∞, α=1,​a=Rei∑​⟨bi​,Abi​⟩.

Here “positive” means self-adjoint with nonnegative real quadratic form on every vector; L(0)=−∞L(0)=-\inftyL(0)=−∞, L(+∞)=+∞L(+\infty)=+\inftyL(+∞)=+∞, and L(x)=log⁡xL(x)=\log xL(x)=logx for finite positive xxx; an empty infimum is +∞+\infty+∞. To define QαQ_\alphaQα​, choose the Hilbert basis eee furnished by the existence theorem and put T(C)=∑jmax⁡{Re⁡⟨ej,Cej⟩,0}\mathcal T(C)=\sum_j\max\{\operatorname{Re}\langle e_j,Ce_j\rangle,0\}T(C)=∑j​max{Re⟨ej​,Cej​⟩,0}. Then Qα(A,B)=0Q_\alpha(A,B)=0Qα​(A,B)=0 if A=0A=0A=0; otherwise it is T((SAS)α)\mathcal T((SAS)^\alpha)T((SAS)α) for α<1\alpha<1α<1, with S=B(1−α)/(2α)S=B^{(1-\alpha)/(2\alpha)}S=B(1−α)/(2α), and for α≥1\alpha\ge1α≥1 it is the infimum of T(Rα)\mathcal T(R^\alpha)T(Rα) over positive bounded operators RRR satisfying SRS=ASRS=ASRS=A and ker⁡B⊆ker⁡R\ker B\subseteq\ker RkerB⊆kerR, with S=B(α−1)/(2α)S=B^{(\alpha-1)/(2\alpha)}S=B(α−1)/(2α). All operator powers use the code’s total continuous functional calculus. The middle branch Rb(A,B)\mathcal R_b(A,B)Rb​(A,B) is +∞+\infty+∞ unless each of A,BA,BA,B has a representation Tx=∑r⟨vr,x⟩urTx=\sum_r\langle v_r,x\rangle u_rTx=∑r​⟨vr​,x⟩ur​ with ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ summable. If both have such representations, let b0=Re⁡∑i⟨bi,Bbi⟩b_0=\operatorname{Re}\sum_i\langle b_i,Bb_i\rangleb0​=Re∑i​⟨bi​,Bbi​⟩ and let D∈[0,∞]D\in[0,\infty]D∈[0,∞] be the supremum over all finite orthonormal families vvv, including the empty family, of

{max⁡ ⁣{Re⁡tr⁡(f(Xv)−Xvlog⁡(Yv)−Xv+Yv),0},ker⁡Yv⊆ker⁡Xv,+∞,otherwise,f(s)=slog⁡s,(Xv)ij=⟨vi,Avj⟩,(Yv)ij=⟨vi,Bvj⟩.\begin{cases} \displaystyle \max\!\left\{\operatorname{Re}\operatorname{tr} \bigl(f(X_v)-X_v\log(Y_v)-X_v+Y_v\bigr),0\right\}, &\ker Y_v\subseteq\ker X_v,\\ +\infty,&\text{otherwise}, \end{cases} \quad f(s)=s\log s,\quad (X_v)_{ij}=\langle v_i,Av_j\rangle,\quad (Y_v)_{ij}=\langle v_i,Bv_j\rangle.{max{Retr(f(Xv​)−Xv​log(Yv​)−Xv​+Yv​),0},+∞,​kerYv​⊆kerXv​,otherwise,​f(s)=slogs,(Xv​)ij​=⟨vi​,Avj​⟩,(Yv​)ij​=⟨vi​,Bvj​⟩.

Writing E=+∞E=+\inftyE=+∞ when D=+∞D=+\inftyD=+∞ and otherwise taking its finite real value, the middle branch is a−1(E−b0+a)a^{-1}(E-b_0+a)a−1(E−b0​+a) in extended-real arithmetic. No positivity, trace-class, or positive-trace assumption is imposed on the input pair. In particular, α=0\alpha=0α=0 and a≤0a\le0a≤0 are allowed; real division by zero is zero, and extended nonnegative division uses 0/0=00/0=00/0=0 and a positive numerator divided by zero equal to +∞+\infty+∞.

QAlgorithms.Papers.Independent.Bridge50.P48.traceSlice

For any possibly zero complex Hilbert space HHH, any index type III, any Hilbert basis b:I→Hb:I\to Hb:I→H, and any real ttt, this is the set of pairs (A,B)(A,B)(A,B) of bounded complex-linear operators such that A=A∗A=A^*A=A∗ and B=B∗B=B^*B=B∗, both quadratic forms have nonnegative real part on every vector, both operators admit nuclear representations, and

Re⁡ ⁣(∑i∈I⟨bi,Abi⟩)=t.\operatorname{Re}\!\left(\sum_{i\in I}\langle b_i,Ab_i\rangle\right)=t.Re(i∈I∑​⟨bi​,Abi​⟩)=t.

Admitting a nuclear representation means that, for each operator T∈{A,B}T\in\{A,B\}T∈{A,B}, there exist sequences ur,vr∈Hu_r,v_r\in Hur​,vr​∈H, indexed by r∈Nr\in\mathbb Nr∈N, such that ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ is summable and Tx=∑r⟨vr,x⟩urTx=\sum_r\langle v_r,x\rangle u_rTx=∑r​⟨vr​,x⟩ur​ for every x∈Hx\in Hx∈H. No trace value is prescribed for BBB, and ttt is not assumed positive; in particular, t=0t=0t=0 is included.

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