Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for On the quantum Renyi relative entropies and related capacity formulas

Definition
QAlgorithms_Papers_Independent_Advance50_P10

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

prove2quantum

The objects the formalized statements of On the quantum Renyi relative entropies and related capacity formulas (arXiv:0912.1286) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • petzTrace: Unnormalized Petz trace, with support-only powers, §II, PDF p.3.
  • quasiRelative: Signed quasi-relative entropy, §II, PDF p.3. Order one is unused for Q.
  • petzRelativeBits: The paper's unnormalized Petz relative entropy, with the Umegaki value at one. No division by Tr A is made. In particular A=0 gives minus infinity above one. §II, PDF p.3.
  • perturb: Identity perturbation of the second argument, PDF p.3, (12)–(13).
  • petzEntropyBits: Rényi entropy in bits, PDF p.4, before (18). Used on densities, whose existence forces card I > 0.
  • petzHoeffdingBits: Hoeffding transform, PDF p.4, (19). All extrema are extended-real extrema.
  • cqWordChannel: The memoryless extension on product input words, PDF p.9.
  • FinitelySupportedInputLaw: All finite-support input laws on an arbitrary alphabet, §I, PDF p.2.
  • lawObjective: Lifted fixed-centre divergence, (8), PDF p.2.
  • petzLawInformationBits: Type-1 fixed-law information, (35),(44), PDF pp.8,11.
  • capacityOne: Type-1 capacity, (8), PDF p.2.
  • averageDivergence: Average divergence from a centre, (9), PDF p.2; zero weights are omitted.
  • capacityTwo: Type-2 capacity, (9), PDF p.2.
  • divergenceRadiusBits: Divergence radius, (6),(10), PDF p.2. No attainment is built into the definition.
  • sibsonRoot: Root of the average powered output, PDF p.8, following (33).
  • sibsonCentre: Normalized Sibson root; its positive trace follows from the law and density outputs. PDF p.8, (34).
  • sibsonInformation: The closed trace formula, used only for a>1, PDF p.8, (33)–(36).
  • CQWordCode: Actual finite code with a positive message count and a normalized POVM, PDF p.8.
  • cqCodeSuccess: Average success probability, PDF p.8.
  • cqOneShotCapacityBits: One-shot capacity in bits. The extended supremum also covers epsilon=1. For 0<=epsilon<1 it equals the printed maximum, PDF p.8.
  • CodeSequence: A sequence of actual product-encoding codes, PDF p.9.
  • cqSequenceRateBits: Source rate: the liminf of log M divided by positive block length, PDF p.9. The n=0 value has no effect on the tail limit.
  • asymptoticCapacity: Product-encoding asymptotic average-error capacity, PDF p.9.
  • successExponent: Upper success exponent, retaining log 0=-infinity, PDF p.9.
  • typeOneError: Type-I test error, §I, PDF p.1.
  • typeTwoError: Type-II test error, §I, PDF p.1.
  • CorrelatedEffectSequence: All actual binary tests on a sequence of finite spaces, PDF pp.4–5.
  • upperTestingPositive: Operational upper Hoeffding exponent at positive r, PDF p.4. The first-kind constraint is strict, and no equality with a transform is assumed.
  • upperTesting: At r=0 use the right limit (the infimum on r>0 for this monotone function). This supplies the endpoint used but not explicitly defined in (22), PDF pp.4–5.
  • testingCutoff: Operational negative-slope cutoff, (22), PDF p.5. Unbounded feasible intercepts produce +infinity, as required for orthogonal states.
  • meanRenyi: Mean Rényi entropy as a tail liminf; hypotheses below assert actual convergence. PDF p.5. No exponent identity is encoded in this definition.
  • UniformLogTraceLimit: Theorem III.3's real limiting log trace, uniform on [0,1), PDF p.5. Uniformity is expressed by real error bands in EReal, so no infinities are discarded. The one N works simultaneously for every order a in the interval.
  • measureObjective: The all-measure f and g integrals on K, §IV, PDF p.6. false selects S and true selects signed Q.
  • pointObjective: The corresponding point objective, §IV, PDF p.6.
  • FiniteMeasureLaw: The finitely supported subset of all Borel probability measures, PDF p.6.
  • MeasureMixture: Exact affine-combination relation on probability measures, PDF p.6.
  • MeasureAffine: Affinity without choosing a separate vector-space structure on probability laws, PDF p.6.
  • DensityConvex: Convexity on density operators, using all actual mixtures, PDF pp.3,6.
  • ReachesMinimum: Minimum is asserted by a witness, rather than only an extended infimum, PDF pp.6–7.
  • ReachesMaximum: Maximum is asserted by a witness, PDF p.6.
  • SingularMinimax: The complete chain (28)–(29), with all printed minima attained, PDF p.7. P can be all measures or its finite-support subtype.
  • RegularizedMinimax: The stronger attained chain (25)–(26), PDF p.6.
  • CentreFamily: Selection of regularized minimizing centres, PDF p.6, after IV.3. Only the defining minimization property, not the singular conclusion, is assumed.
  • CentreLimit: The limit centre is tied to a selected family and a positive sequence tending to zero. PDF p.6, bottom right.
  • infinityRelative: Infinite-order Petz relative entropy, PDF p.4.
  • helstromWeight: The optimal common-mixture weight. The finite normalized family has a finite radius. The source exponential is interpreted as 2^x in bits, PDF p.9.
  • CommonMixture: Feasible common mixture, including q=1 for an identical family, PDF p.9.
  • exampleFirst: First classical distribution in the negative example, PDF p.10.
  • exampleSecond: Second classical distribution in the negative example, PDF p.10.
  • exampleCentre: The normalized coordinatewise maximum in the negative example, PDF p.10.
  • pairFamily: Two states viewed as a family, PDF pp.9–10.
  • ApproximatelyAffine: General-state affine relation. The states are the accepted positive trace-class operators on an arbitrary complete complex Hilbert space, PDF p.9, (37).
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P71
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P21
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P13
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P58
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P60
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P18
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P25
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P45

/-! Mosonyi–Hiai, arXiv:0912.1286v4. Page citations are PDF pages.
All logarithms are in bits. Powers vanish on the kernel, even at order zero.
The accepted library is used only for its audited concrete primitives.
The signed, unnormalized bit-valued Petz quantities below are specific to this paper.
Compatible frozen primitives are imported; incompatible same-named primitives are not substituted.
Compilation and independent moderation are pending the batch handoff. -/

noncomputable section

open scoped Matrix ComplexOrder ComplexConjugate ENNReal Topology
open Filter Set MeasureTheory

namespace QAlgorithms.Papers.Independent.Advance50.P10

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P71 (supportPower SupportIncluded)
open QAlgorithms.Papers.Independent.Dependency50.P21 (relativeEntropy)
open QAlgorithms.Papers.Independent.Information100.P58 (Operator)
open QAlgorithms.Papers.Independent.Information100.P60 (copies)
open QAlgorithms.Papers.Independent.Information100.P07 (positivePart)
open QAlgorithms.Papers.Independent.Dependency50.P18 (logBits)
open QAlgorithms.Papers.Independent.Dependency50.P25 (extendedIntegral)
open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative)
open QAlgorithms.Papers.Independent.Bridge50.P45 (tensorEntries lifted comparison)

-- Density subtypes below reuse the frozen PSD/trace-one predicate directly.

-- The source uses Borel laws, with the weak topology on probability measures.
/-- Borel laws on density operators, §IV, PDF p.6. -/
local instance densityMeasurableSpace (I : Type) [Fintype I] :
    MeasurableSpace ({A : Operator I // IsDensityMatrix A}) := borel ({A : Operator I // IsDensityMatrix A})

/-- The source measurable structure is the Borel structure, §IV, PDF p.6. -/
local instance densityBorelSpace (I : Type) [Fintype I] :
    BorelSpace ({A : Operator I // IsDensityMatrix A}) := ⟨rfl⟩

/-- Unnormalized Petz trace, with support-only powers, §II, PDF p.3. -/
def petzTrace {I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (A B : Operator I) : ℝ :=
  (supportPower A a * supportPower B (1 - a)).trace.re

/-- Signed quasi-relative entropy, §II, PDF p.3. Order one is unused for Q. -/
def quasiRelative {I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (A B : Operator I) : EReal :=
  if 1 < a ∧ ¬ SupportIncluded A B then ⊤
  else ((if a < 1 then -1 else 1 : ℝ) * petzTrace a A B : ℝ)

/-- The paper's unnormalized Petz relative entropy, with the Umegaki value at one.
No division by Tr A is made. In particular A=0 gives minus infinity above one.
§II, PDF p.3. -/
def petzRelativeBits {I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (A B : Operator I) : EReal :=
  if a = 1 then ((1 / Real.log 2 : ℝ) : EReal) * relativeEntropy A B
  else if 1 < a ∧ ¬ SupportIncluded A B then ⊤
  else (((a - 1)⁻¹ : ℝ) : EReal) * logBits (petzTrace a A B : EReal)

/-- Identity perturbation of the second argument, PDF p.3, (12)–(13). -/
def perturb {I : Type} [Fintype I] [DecidableEq I]
    (B : Operator I) (e : ℝ) : Operator I := B + (e : ℂ) • 1

/-- Rényi entropy in bits, PDF p.4, before (18).
Used on densities, whose existence forces card I > 0. -/
def petzEntropyBits {I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (rho : Operator I) : EReal :=
  (Real.logb 2 (Fintype.card I : ℝ) : EReal) -
    petzRelativeBits a rho (((Fintype.card I : ℝ)⁻¹ : ℂ) • 1)

/-- Hoeffding transform, PDF p.4, (19). All extrema are extended-real extrema. -/
def petzHoeffdingBits {I : Type} [Fintype I] [DecidableEq I]
    (r : ℝ) (rho sigma : Operator I) : EReal :=
  ⨆ a : {a : ℝ // 0 ≤ a ∧ a < 1},
    ((-a.1 * r / (1 - a.1) : ℝ) : EReal) + petzRelativeBits a.1 rho sigma

/-- The memoryless extension on product input words, PDF p.9. -/
def cqWordChannel {X I : Type} (W : X → Operator I) (n : ℕ)
    (x : Fin n → X) : Operator (Fin n → I) := tensorEntries n (fun k => W (x k))

/-- All finite-support input laws on an arbitrary alphabet, §I, PDF p.2. -/
def FinitelySupportedInputLaw (X : Type) :=
  {p : X →₀ ℝ // (∀ x, 0 ≤ p x) ∧ p.sum (fun _ w => w) = 1}

/-- Lifted fixed-centre divergence, (8), PDF p.2. -/
def lawObjective {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) (p : FinitelySupportedInputLaw X) (sigma : Operator I) : EReal :=
  petzRelativeBits a (lifted (fun x => p.1 x) W) (comparison (fun x => p.1 x) sigma)

/-- Type-1 fixed-law information, (35),(44), PDF pp.8,11. -/
def petzLawInformationBits {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) (p : FinitelySupportedInputLaw X) : EReal :=
  ⨅ sigma : {A : Operator I // IsDensityMatrix A}, lawObjective a W p sigma.1

/-- Type-1 capacity, (8), PDF p.2. -/
def capacityOne {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) : EReal := ⨆ p : FinitelySupportedInputLaw X, petzLawInformationBits a W p

/-- Average divergence from a centre, (9), PDF p.2; zero weights are omitted. -/
def averageDivergence {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) (p : FinitelySupportedInputLaw X) (sigma : Operator I) : EReal :=
  ∑ x ∈ p.1.support, (p.1 x : EReal) * petzRelativeBits a (W x) sigma

/-- Type-2 capacity, (9), PDF p.2. -/
def capacityTwo {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) : EReal :=
  ⨆ p : FinitelySupportedInputLaw X, ⨅ sigma : {A : Operator I // IsDensityMatrix A}, averageDivergence a W p sigma.1

/-- Divergence radius, (6),(10), PDF p.2. No attainment is built into the definition. -/
def divergenceRadiusBits {X I : Type} [Fintype I] [DecidableEq I]
    (D : Operator I → Operator I → EReal) (W : X → Operator I) : EReal :=
  ⨅ sigma : {A : Operator I // IsDensityMatrix A}, ⨆ x, D (W x) sigma.1

/-- Root of the average powered output, PDF p.8, following (33). -/
def sibsonRoot {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) (p : FinitelySupportedInputLaw X) : Operator I :=
  supportPower (p.1.sum (fun x w => (w : ℂ) • supportPower (W x) a)) (1 / a)

/-- Normalized Sibson root; its positive trace follows from the law and density outputs.
PDF p.8, (34). -/
def sibsonCentre {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) (p : FinitelySupportedInputLaw X) : Operator I :=
  (((sibsonRoot a W p).trace.re)⁻¹ : ℂ) • sibsonRoot a W p

/-- The closed trace formula, used only for a>1, PDF p.8, (33)–(36). -/
def sibsonInformation {X I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (W : X → Operator I) (p : FinitelySupportedInputLaw X) : EReal :=
  ((a / (a - 1) : ℝ) : EReal) * logBits ((sibsonRoot a W p).trace.re : EReal)

/-- Actual finite code with a positive message count and a normalized POVM, PDF p.8. -/
structure CQWordCode (X I : Type) [Fintype I] [DecidableEq I] where
  messages : ℕ
  messages_pos : 0 < messages
  encode : Fin messages → X
  decode : Fin messages → Operator I
  valid_decode : IsPOVM decode

/-- Average success probability, PDF p.8. -/
def cqCodeSuccess {X I : Type} [Fintype I] [DecidableEq I]
    (W : X → Operator I) (C : CQWordCode X I) : ℝ :=
  (C.messages : ℝ)⁻¹ * ∑ i, (W (C.encode i) * C.decode i).trace.re

/-- One-shot capacity in bits. The extended supremum also covers epsilon=1.
For 0<=epsilon<1 it equals the printed maximum, PDF p.8. -/
def cqOneShotCapacityBits {X I : Type} [Fintype I] [DecidableEq I]
    (e : ℝ) (W : X → Operator I) : EReal :=
  sSup {v | ∃ C : CQWordCode X I, 1 - cqCodeSuccess W C ≤ e ∧
    v = (Real.logb 2 (C.messages : ℝ) : EReal)}

/-- A sequence of actual product-encoding codes, PDF p.9. -/
abbrev CodeSequence (X I : Type) [Fintype I] [DecidableEq I] :=
  (n : ℕ) → CQWordCode (Fin n → X) (Fin n → I)

/-- Source rate: the liminf of log M divided by positive block length, PDF p.9.
The n=0 value has no effect on the tail limit. -/
def cqSequenceRateBits {X I : Type} [Fintype I] [DecidableEq I]
    (C : CodeSequence X I) : EReal :=
  Filter.liminf (fun n : ℕ => (Real.logb 2 ((C n).messages : ℝ) / (n : ℝ) : EReal)) atTop

/-- Product-encoding asymptotic average-error capacity, PDF p.9. -/
def asymptoticCapacity {X I : Type} [Fintype I] [DecidableEq I]
    (e : ℝ) (W : X → Operator I) : EReal :=
  sSup {v | ∃ C : CodeSequence X I,
    Filter.limsup (fun n => (1 - cqCodeSuccess (cqWordChannel W n) (C n) : EReal)) atTop ≤
      (e : EReal) ∧ v = cqSequenceRateBits C}

/-- Upper success exponent, retaining log 0=-infinity, PDF p.9. -/
def successExponent {X I : Type} [Fintype I] [DecidableEq I]
    (W : X → Operator I) (C : CodeSequence X I) : EReal :=
  Filter.limsup (fun n : ℕ => (((n : ℝ)⁻¹ : ℝ) : EReal) *
    logBits (cqCodeSuccess (cqWordChannel W n) (C n) : EReal)) atTop

/-- Type-I test error, §I, PDF p.1. -/
def typeOneError {I : Type} [Fintype I] [DecidableEq I]
    (rho T : Operator I) : ℝ := (rho * (1 - T)).trace.re

/-- Type-II test error, §I, PDF p.1. -/
def typeTwoError {I : Type} [Fintype I] (sigma T : Operator I) : ℝ :=
  (sigma * T).trace.re

/-- All actual binary tests on a sequence of finite spaces, PDF pp.4–5. -/
abbrev CorrelatedEffectSequence (J : ℕ → Type) [∀ n, Fintype (J n)] [∀ n, DecidableEq (J n)] :=
  (n : ℕ) → {T : Operator (J n) // IsEffect T}

/-- Operational upper Hoeffding exponent at positive r, PDF p.4.
The first-kind constraint is strict, and no equality with a transform is assumed. -/
def upperTestingPositive {J : ℕ → Type} [∀ n, Fintype (J n)]
    [∀ n, DecidableEq (J n)] (c : ℕ → ℕ)
    (rho sigma : (n : ℕ) → Operator (J n)) (r : ℝ) : EReal :=
  sInf {v | ∃ T : CorrelatedEffectSequence J,
    Filter.limsup (fun n : ℕ => (((c n : ℝ)⁻¹ : ℝ) : EReal) *
      logBits (typeOneError (rho n) (T n).1 : EReal)) atTop < (-r : EReal) ∧
    v = Filter.limsup (fun n : ℕ => (((c n : ℝ)⁻¹ : ℝ) : EReal) *
      logBits (typeTwoError (sigma n) (T n).1 : EReal)) atTop}

/-- At r=0 use the right limit (the infimum on r>0 for this monotone function).
This supplies the endpoint used but not explicitly defined in (22), PDF pp.4–5. -/
def upperTesting {J : ℕ → Type} [∀ n, Fintype (J n)] [∀ n, DecidableEq (J n)]
    (c : ℕ → ℕ) (rho sigma : (n : ℕ) → Operator (J n)) (r : ℝ) : EReal :=
  if r = 0 then ⨅ t : {t : ℝ // 0 < t}, upperTestingPositive c rho sigma t.1
  else upperTestingPositive c rho sigma r

/-- Operational negative-slope cutoff, (22), PDF p.5. Unbounded feasible intercepts
produce +infinity, as required for orthogonal states. -/
def testingCutoff {J : ℕ → Type} [∀ n, Fintype (J n)] [∀ n, DecidableEq (J n)]
    (c : ℕ → ℕ) (rho sigma : (n : ℕ) → Operator (J n)) (k : ℝ) : EReal :=
  sSup {v | ∃ r0 : ℝ, 0 ≤ r0 ∧ v = (r0 : EReal) ∧
    ∀ r : ℝ, 0 ≤ r → upperTesting c rho sigma r ≤ (k * (r0 - r) : EReal)}

/-- Mean Rényi entropy as a tail liminf; hypotheses below assert actual convergence.
PDF p.5. No exponent identity is encoded in this definition. -/
def meanRenyi {J : ℕ → Type} [∀ n, Fintype (J n)] [∀ n, DecidableEq (J n)]
    (c : ℕ → ℕ) (rho sigma : (n : ℕ) → Operator (J n)) (a : ℝ) : EReal :=
  Filter.liminf (fun n : ℕ => (((c n : ℝ)⁻¹ : ℝ) : EReal) * petzRelativeBits a (rho n) (sigma n)) atTop

/-- Theorem III.3's real limiting log trace, uniform on [0,1), PDF p.5.
Uniformity is expressed by real error bands in EReal, so no infinities are discarded.
The one N works simultaneously for every order a in the interval. -/
def UniformLogTraceLimit {J : ℕ → Type} [∀ n, Fintype (J n)] [∀ n, DecidableEq (J n)]
    (c : ℕ → ℕ) (rho sigma : (n : ℕ) → Operator (J n)) (psi : ℝ → ℝ) : Prop :=
  ∀ delta : ℝ, 0 < delta → ∃ N : ℕ, ∀ n ≥ N, ∀ a : ℝ, 0 ≤ a → a < 1 →
    ((psi a - delta : ℝ) : EReal) ≤
      (((c n : ℝ)⁻¹ * (a - 1) : ℝ) : EReal) * petzRelativeBits a (rho n) (sigma n) ∧
    (((c n : ℝ)⁻¹ * (a - 1) : ℝ) : EReal) * petzRelativeBits a (rho n) (sigma n) ≤
      ((psi a + delta : ℝ) : EReal)

/-- The all-measure f and g integrals on K, §IV, PDF p.6.
false selects S and true selects signed Q. -/
def measureObjective {I : Type} [Fintype I] [DecidableEq I]
    (K : Set ({A : Operator I // IsDensityMatrix A})) (useQ : Bool) (a e : ℝ)
    (p : ProbabilityMeasure K) (sigma : {A : Operator I // IsDensityMatrix A}) : EReal :=
  extendedIntegral (p : Measure K) (fun rho =>
    if useQ then quasiRelative a rho.1.1 (perturb sigma.1 e)
    else petzRelativeBits a rho.1.1 (perturb sigma.1 e))

/-- The corresponding point objective, §IV, PDF p.6. -/
def pointObjective {I : Type} [Fintype I] [DecidableEq I]
    (K : Set ({A : Operator I // IsDensityMatrix A})) (useQ : Bool) (a e : ℝ) (sigma : {A : Operator I // IsDensityMatrix A}) (rho : K) : EReal :=
  if useQ then quasiRelative a rho.1.1 (perturb sigma.1 e)
  else petzRelativeBits a rho.1.1 (perturb sigma.1 e)

/-- The finitely supported subset of all Borel probability measures, PDF p.6. -/
def FiniteMeasureLaw {T : Type*} [MeasurableSpace T] (p : ProbabilityMeasure T) : Prop :=
  ∃ s : Finset T, (p : Measure T) ((s : Set T)ᶜ) = 0

/-- Exact affine-combination relation on probability measures, PDF p.6. -/
def MeasureMixture {T : Type*} [MeasurableSpace T] (t : ℝ)
    (p q r : ProbabilityMeasure T) : Prop :=
  (r : Measure T) = ENNReal.ofReal (1 - t) • (p : Measure T) +
    ENNReal.ofReal t • (q : Measure T)

/-- Affinity without choosing a separate vector-space structure on probability laws, PDF p.6. -/
def MeasureAffine {T : Type*} [MeasurableSpace T] (F : ProbabilityMeasure T → EReal) : Prop :=
  ∀ p q r, ∀ t : ℝ, 0 ≤ t → t ≤ 1 → MeasureMixture t p q r →
    F r = ((1 - t : ℝ) : EReal) * F p + (t : EReal) * F q

/-- Convexity on density operators, using all actual mixtures, PDF pp.3,6. -/
def DensityConvex {I : Type} [Fintype I] (F : {A : Operator I // IsDensityMatrix A} → EReal) : Prop :=
  ∀ sigma tau omega : {A : Operator I // IsDensityMatrix A}, ∀ t : ℝ, 0 < t → t < 1 → omega.1 = AffineMap.lineMap sigma.1 tau.1 t →
    F omega ≤ ((1 - t : ℝ) : EReal) * F sigma + (t : EReal) * F tau

/-- Minimum is asserted by a witness, rather than only an extended infimum, PDF pp.6–7. -/
def ReachesMinimum {T : Type*} (F : T → EReal) : Prop := ∃ t, F t = ⨅ x, F x

/-- Maximum is asserted by a witness, PDF p.6. -/
def ReachesMaximum {T : Type*} (F : T → EReal) : Prop := ∃ t, F t = ⨆ x, F x

/-- The complete chain (28)–(29), with all printed minima attained, PDF p.7.
P can be all measures or its finite-support subtype. -/
def SingularMinimax {P S T : Type*} (F : P → S → EReal) (G : S → T → EReal)
    (centre : S) : Prop :=
  (∀ p, ReachesMinimum (F p)) ∧
  (⨆ p, F p centre) = (⨅ sigma, ⨆ p, F p sigma) ∧
  (⨅ sigma, ⨆ p, F p sigma) = (⨆ p, ⨅ sigma, F p sigma) ∧
  (⨆ p, ⨅ sigma, F p sigma) = (⨅ sigma, ⨆ rho, G sigma rho) ∧
  (⨅ sigma, ⨆ rho, G sigma rho) = (⨆ rho, G centre rho)

/-- The stronger attained chain (25)–(26), PDF p.6. -/
def RegularizedMinimax {P S T : Type*} (F : P → S → EReal) (G : S → T → EReal)
    (centre : S) : Prop :=
  SingularMinimax F G centre ∧
  (∀ sigma, ReachesMaximum (fun p => F p sigma)) ∧
  (∀ sigma, ReachesMaximum (G sigma)) ∧
  ReachesMaximum (fun p => ⨅ sigma, F p sigma)

/-- Selection of regularized minimizing centres, PDF p.6, after IV.3.
Only the defining minimization property, not the singular conclusion, is assumed. -/
def CentreFamily {I : Type} [Fintype I] [DecidableEq I]
    (K : Set ({A : Operator I // IsDensityMatrix A})) (useQ : Bool) (a : ℝ) (centres : ℝ → {A : Operator I // IsDensityMatrix A}) : Prop :=
  ∀ e : ℝ, 0 < e →
    (⨆ p : ProbabilityMeasure K, measureObjective K useQ a e p (centres e)) =
      ⨅ sigma : {A : Operator I // IsDensityMatrix A}, ⨆ p : ProbabilityMeasure K, measureObjective K useQ a e p sigma

/-- The limit centre is tied to a selected family and a positive sequence tending to zero.
PDF p.6, bottom right. -/
def CentreLimit {I : Type} [Fintype I] (centres : ℝ → {A : Operator I // IsDensityMatrix A})
    (sigma : {A : Operator I // IsDensityMatrix A}) : Prop :=
  ∃ e : ℕ → ℝ, (∀ n, 0 < e n) ∧ Tendsto e atTop (𝓝 0) ∧
    Tendsto (fun n => centres (e n)) atTop (𝓝 sigma)

/-- Infinite-order Petz relative entropy, PDF p.4. -/
def infinityRelative {I : Type} [Fintype I] [DecidableEq I]
    (rho sigma : Operator I) : EReal := Filter.liminf (fun a : ℝ => petzRelativeBits a rho sigma) atTop

/-- The optimal common-mixture weight. The finite normalized family has a finite radius.
The source exponential is interpreted as 2^x in bits, PDF p.9. -/
def helstromWeight {I : Type} [Fintype I] [DecidableEq I] {r : ℕ}
    (rho : Fin r → Operator I) : ℝ := Real.rpow 2 (-(divergenceRadiusBits maxRelative rho).toReal)

/-- Feasible common mixture, including q=1 for an identical family, PDF p.9. -/
def CommonMixture {I : Type} [Fintype I] {r : ℕ}
    (rho : Fin r → Operator I) (q : ℝ) : Prop :=
  0 ≤ q ∧ q ≤ 1 ∧ ∃ sigma : {A : Operator I // IsDensityMatrix A}, ∃ tau : Fin r → {A : Operator I // IsDensityMatrix A},
    ∀ i, sigma.1 = (q : ℂ) • rho i + ((1 - q : ℝ) : ℂ) • (tau i).1

/-- First classical distribution in the negative example, PDF p.10. -/
def exampleFirst : Operator (Fin 3) := Matrix.diagonal ![(1/2 : ℂ), 1/4, 1/4]

/-- Second classical distribution in the negative example, PDF p.10. -/
def exampleSecond : Operator (Fin 3) := Matrix.diagonal ![(1/2 : ℂ), 1/6, 1/3]

/-- The normalized coordinatewise maximum in the negative example, PDF p.10. -/
def exampleCentre : Operator (Fin 3) := Matrix.diagonal ![(6/13 : ℂ), 3/13, 4/13]

/-- Two states viewed as a family, PDF pp.9–10. -/
def pairFamily {I : Type} (A B : Operator I) (i : Fin 2) : Operator I :=
  if i = 0 then A else B

/-- General-state affine relation. The states are the accepted positive trace-class
operators on an arbitrary complete complex Hilbert space, PDF p.9, (37). -/
def ApproximatelyAffine {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H]
    [CompleteSpace H] {J : Type*} (b : HilbertBasis J ℂ H)
    (f : QAlgorithms.Papers.Independent.Dependency50.P13.State b → ℂ) : Prop :=
  ∀ rho sigma omega : QAlgorithms.Papers.Independent.Dependency50.P13.State b, ∀ t : ℝ, 0 ≤ t → t ≤ 1 →
    omega.1.1 = ((1 - t : ℝ) : ℂ) • rho.1.1 + (t : ℂ) • sigma.1.1 →
    ‖f omega - (1 - t) • f rho - t • f sigma‖ ≤ binEntropy2 t

/-- Sanity: log zero is genuinely minus infinity, PDF p.3. -/
example : logBits 0 = ⊥ := by simp [logBits]

/-- Sanity: t=0 selects the first operand of mix, PDF p.6. -/
example {I : Type} (A B : Operator I) : AffineMap.lineMap A B (0 : ℝ) = A := by simp

/-- Sanity: t=1 selects the second operand, PDF p.6. -/
example {I : Type} (A B : Operator I) : AffineMap.lineMap A B (1 : ℝ) = B := by simp

/-- Sanity: the n=0 tensor product is the scalar identity, PDF p.9. -/
example {I : Type} (A : Operator I) (u v : Fin 0 → I) : copies 0 A u v = 1 := by
  simp [copies]

/-- Sanity: the first member of the explicit pair is the first matrix, PDF p.10. -/
example : pairFamily exampleFirst exampleSecond 0 = exampleFirst := by
  simp [pairFamily]

/-- Sanity: order one uses the unnormalized Umegaki expression in bits, PDF p.3. -/
example {I : Type} [Fintype I] [DecidableEq I] (A B : Operator I) :
    petzRelativeBits 1 A B = ((1 / Real.log 2 : ℝ) : EReal) * relativeEntropy A B := by
  simp [petzRelativeBits]

/-- Sanity: the zero test rejects the null hypothesis with probability one on a state,
before using its normalization, PDF p.1. -/
example {I : Type} [Fintype I] [DecidableEq I] (A : Operator I) :
    typeOneError A 0 = A.trace.re := by
  simp [typeOneError]

/-- Sanity: the zero test has zero type-II error, PDF p.1. -/
example {I : Type} [Fintype I] (A : Operator I) : typeTwoError A 0 = 0 := by
  simp [typeTwoError]

/-- Sanity: integration against the zero measure vanishes, PDF p.6. -/
example {T : Type*} [MeasurableSpace T] (f : T → EReal) :
    extendedIntegral (0 : Measure T) f = 0 := by
  simp [extendedIntegral]

/-- Sanity: the point objective's Q branch retains the signed Q quantity, PDF p.6. -/
example {I : Type} [Fintype I] [DecidableEq I] (K : Set ({A : Operator I // IsDensityMatrix A}))
    (a e : ℝ) (sigma : {A : Operator I // IsDensityMatrix A}) (rho : K) :
    pointObjective K true a e sigma rho = quasiRelative a rho.1.1 (perturb sigma.1 e) := by
  rfl

end QAlgorithms.Papers.Independent.Advance50.P10
Source
On the quantum Renyi relative entropies and related capacity formulas, arXiv:0912.1286v4, https://arxiv.org/abs/0912.1286v4
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P10.ApproximatelyAffine

Let HHH be a complete complex inner-product space with its normed additive-group structure, let JJJ be any type, and let b=(bj)j∈Jb=(b_j)_{j\in J}b=(bj​)j∈J​ be a Hilbert basis of HHH. Here a state is a bounded complex-linear operator T:H→HT:H\to HT:H→H admitting sequences ur,vr∈Hu_r,v_r\in Hur​,vr​∈H 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 xxx, satisfying T†=TT^\dagger=TT†=T, Re⁡⟨x,Tx⟩≥0\operatorname{Re}\langle x,Tx\rangle\ge0Re⟨x,Tx⟩≥0 for every xxx, and ∑j∈J⟨bj,Tbj⟩=1\sum_{j\in J}\langle b_j,Tb_j\rangle=1∑j∈J​⟨bj​,Tbj​⟩=1. For a function fff from these states to C\mathbb CC, this defines the property that, for every three such states ρ,σ,ω\rho,\sigma,\omegaρ,σ,ω and every real ttt with 0≤t≤10\le t\le10≤t≤1, equality of their underlying operators ω=(1−t)ρ+tσ\omega=(1-t)\rho+t\sigmaω=(1−t)ρ+tσ implies

∣f(ω)−(1−t)f(ρ)−tf(σ)∣≤−tlog⁡t−(1−t)log⁡(1−t)log⁡2.\left|f(\omega)-(1-t)f(\rho)-t f(\sigma)\right| \le \frac{-t\log t-(1-t)\log(1-t)}{\log2}.∣f(ω)−(1−t)f(ρ)−tf(σ)∣≤log2−tlogt−(1−t)log(1−t)​.

The endpoint values t=0,1t=0,1t=0,1 are included, with 0log⁡0=00\log0=00log0=0 under the total real-logarithm convention. No nontriviality or separability assumption is imposed on HHH.

QAlgorithms.Papers.Independent.Advance50.P10.CQWordCode

For any type XXX and any finite type III with decidable equality, this structure consists of a natural number M>0M>0M>0, an encoding function x:{0,…,M−1}→Xx:\{0,\ldots,M-1\}\to Xx:{0,…,M−1}→X, and matrices Ei∈CI×IE_i\in\mathbb C^{I\times I}Ei​∈CI×I for 0≤i<M0\le i<M0≤i<M, satisfying Ei⪰0E_i\succeq0Ei​⪰0 for every iii and ∑i=0M−1Ei=1\sum_{i=0}^{M-1}E_i=\mathbf1∑i=0M−1​Ei​=1. The encoding need not be injective, so different messages may have the same encoded value. There is no channel or output-state family in the structure. Empty XXX makes such a structure impossible because M>0M>0M>0; empty III is allowed, with the matrix conditions interpreted on the zero-dimensional space.

QAlgorithms.Papers.Independent.Advance50.P10.CentreFamily

Let III be any finite index type with decidable equality, let DI\mathcal D_IDI​ be its positive semidefinite complex matrices of trace 111, let K⊆DIK\subseteq\mathcal D_IK⊆DI​, let uuu be a Boolean, let a∈Ra\in\mathbb Ra∈R, and let c:R→DIc:\mathbb R\to\mathcal D_Ic:R→DI​. This predicate says that for every real e>0e>0e>0,

sup⁡p∈P(K)Ja,e,u(p,c(e))=inf⁡σ∈DIsup⁡p∈P(K)Ja,e,u(p,σ),\sup_{p\in\mathcal P(K)}J_{a,e,u}(p,c(e)) =\inf_{\sigma\in\mathcal D_I}\sup_{p\in\mathcal P(K)}J_{a,e,u}(p,\sigma),p∈P(K)sup​Ja,e,u​(p,c(e))=σ∈DI​inf​p∈P(K)sup​Ja,e,u​(p,σ),

where P(K)\mathcal P(K)P(K) denotes probability measures on KKK, and Ja,e,u(p,σ)J_{a,e,u}(p,\sigma)Ja,e,u​(p,σ) is the extended integral of the following function of ρ∈K\rho\in Kρ∈K, with B=σ+e 1B=\sigma+e\,1B=σ+e1. Write X[s]X^{[s]}X[s] for the matrix functional calculus of the scalar function that is 000 at 000 and xsx^sxs elsewhere, put Qa(A,B)=Re⁡tr⁡(A[a]B[1−a])Q_a(A,B)=\operatorname{Re}\operatorname{tr}(A^{[a]}B^{[1-a]})Qa​(A,B)=Retr(A[a]B[1−a]), and write A⪯suppBA\preceq_{\mathrm{supp}}BA⪯supp​B for ker⁡B⊆ker⁡A\ker B\subseteq\ker AkerB⊆kerA. If uuu is true, the integrand is +∞+\infty+∞ when a>1a>1a>1 and A⪯suppBA\preceq_{\mathrm{supp}}BA⪯supp​B fails, and otherwise is −Qa(A,B)-Q_a(A,B)−Qa​(A,B) for a<1a<1a<1 and Qa(A,B)Q_a(A,B)Qa​(A,B) for a≥1a\ge1a≥1. If uuu is false, the integrand is

{D(A,B)/log⁡2,a=1,+∞,a>1 and A̸⪯suppB,L(Qa(A,B))/(a−1),otherwise,\begin{cases} D(A,B)/\log 2,&a=1,\\ +\infty,&a>1\text{ and }A\not\preceq_{\mathrm{supp}}B,\\ L(Q_a(A,B))/(a-1),&\text{otherwise}, \end{cases}⎩⎨⎧​D(A,B)/log2,+∞,L(Qa​(A,B))/(a−1),​a=1,a>1 and A⪯supp​B,otherwise,​

where A=ρA=\rhoA=ρ, D(A,B)=Re⁡tr⁡((x↦xlog⁡x)[A]−A(log⁡[B]))D(A,B)=\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x\log x)[A]-A(\log[B])\bigr)D(A,B)=Retr((x↦xlogx)[A]−A(log[B])) if ker⁡B⊆ker⁡A\ker B\subseteq\ker AkerB⊆kerA, and D(A,B)=+∞D(A,B)=+\inftyD(A,B)=+∞ otherwise; L(x)=−∞L(x)=-\inftyL(x)=−∞ at x=0x=0x=0, and L(x)=log⁡2xL(x)=\log_2xL(x)=log2​x otherwise, using the total real logarithm. The extended integral means the nonnegative integral of the positive part minus that of the negative part, with both integrals embedded into R‾\overline{\mathbb R}R. There is no restriction on aaa, no requirement on c(e)c(e)c(e) for e≤0e\le0e≤0, and no nonemptiness assumption on KKK; extrema and integrals retain their defined extended real values in degenerate cases.

QAlgorithms.Papers.Independent.Advance50.P10.CentreLimit

For any finite index type III, a function c:R→DIc:\mathbb R\to\mathcal D_Ic:R→DI​, and a matrix σ∈DI\sigma\in\mathcal D_Iσ∈DI​, where DI\mathcal D_IDI​ consists of positive semidefinite complex matrices of trace 111, this predicate means that there exists a sequence e:N→Re:\mathbb N\to\mathbb Re:N→R such that en>0e_n>0en​>0 for every nnn, en→0e_n\to0en​→0, and c(en)→σc(e_n)\to\sigmac(en​)→σ as n→∞n\to\inftyn→∞. The last convergence is in the usual topology on density matrices. The sequence need not be decreasing, and convergence along all positive real parameters is not required.

QAlgorithms.Papers.Independent.Advance50.P10.CodeSequence

For any type XXX and any finite type III with decidable equality, this abbreviates the type of families indexed by every natural number nnn, including zero, whose nnn-th member consists of a natural number Mn>0M_n>0Mn​>0, an encoding xn:{0,…,Mn−1}→Xnx_n:\{0,\ldots,M_n-1\}\to X^nxn​:{0,…,Mn​−1}→Xn, and positive semidefinite matrices En,iE_{n,i}En,i​ indexed by InI^nIn, satisfying ∑iEn,i=1\sum_iE_{n,i}=\mathbf1∑i​En,i​=1; here XnX^nXn and InI^nIn mean functions on {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}. No consistency between different lengths, encoding injectivity, error requirement, or channel family is included. At n=0n=0n=0, both word-index types contain the unique empty function, so this is a code on a one-dimensional output space. Although XXX and III have no nonemptiness assumptions, empty XXX prevents such a family from existing because of its positive-length encodings.

QAlgorithms.Papers.Independent.Advance50.P10.CommonMixture

For any finite index type III, natural number rrr, family of arbitrary complex matrices (ρi)i<r(\rho_i)_{i<r}(ρi​)i<r​ indexed by I×II\times II×I, and real number qqq, this predicate means that 0≤q≤10\le q\le10≤q≤1 and there exist a positive semidefinite matrix σ\sigmaσ of trace 111 and positive semidefinite matrices τi\tau_iτi​ of trace 111, one for every i<ri<ri<r, such that

σ=qρi+(1−q)τi(i<r).\sigma=q\rho_i+(1-q)\tau_i\qquad(i<r).σ=qρi​+(1−q)τi​(i<r).

No density-matrix assumption is imposed directly on the ρi\rho_iρi​. Both endpoints are included: at q=0q=0q=0 the equations impose no condition on the ρi\rho_iρi​, while at q=1q=1q=1 every ρi\rho_iρi​ must equal σ\sigmaσ. When r=0r=0r=0, the equations are vacuous but the existence of σ\sigmaσ is still required; if III is empty, no such σ\sigmaσ exists.

QAlgorithms.Papers.Independent.Advance50.P10.CorrelatedEffectSequence

For any family of types JnJ_nJn​, indexed by all natural numbers nnn, each finite and equipped with decidable equality, this denotes the type of sequences T=(Tn)n≥0T=(T_n)_{n\ge0}T=(Tn​)n≥0​ of complex square matrices on JnJ_nJn​, together with proofs that TnT_nTn​ and 1−Tn\mathbf 1-T_n1−Tn​ are positive semidefinite for every nnn. No relationship between different terms is imposed. Empty registers JnJ_nJn​ are allowed.

QAlgorithms.Papers.Independent.Advance50.P10.DensityConvex

For any finite index type III, let DI\mathcal D_IDI​ be the complex matrices indexed by I×II\times II×I that are positive semidefinite and have trace 111. For a function F:DI→R‾F:\mathcal D_I\to\overline{\mathbb R}F:DI​→R, this predicate means that for every σ,τ,ω∈DI\sigma,\tau,\omega\in\mathcal D_Iσ,τ,ω∈DI​ and every real ttt with 0<t<10<t<10<t<1, if ω=(1−t)σ+tτ\omega=(1-t)\sigma+t\tauω=(1−t)σ+tτ, then

F(ω)≤(1−t)F(σ)+tF(τ).F(\omega)\le(1-t)F(\sigma)+tF(\tau).F(ω)≤(1−t)F(σ)+tF(τ).

The coefficients on the right are interpreted in the extended reals. Only the strict interior 0<t<10<t<10<t<1 is quantified. The type III may be empty; in that case there are no trace-one matrices and this condition is vacuous.

QAlgorithms.Papers.Independent.Advance50.P10.FiniteMeasureLaw

For any measurable type TTT and any probability measure ppp on TTT, this predicate means that there exists a finite subset s⊆Ts\subseteq Ts⊆T whose complement has ppp-measure zero. No measurability assumption on sss is included; the measure is evaluated on its complement as a set. The finite set need not be uniquely determined or consist precisely of points with positive mass. Since ppp is a probability measure, the empty set cannot serve as sss.

QAlgorithms.Papers.Independent.Advance50.P10.FinitelySupportedInputLaw

For any type XXX, this defines the type of finitely supported real-valued functions ppp on XXX equipped with the requirements that p(x)≥0p(x)\ge0p(x)≥0 for every x∈Xx\in Xx∈X and

∑x∈supp⁡pp(x)=1,supp⁡p={x∈X:p(x)≠0}.\sum_{x\in\operatorname{supp}p}p(x)=1, \qquad \operatorname{supp}p=\{x\in X:p(x)\ne0\}.x∈suppp∑​p(x)=1,suppp={x∈X:p(x)=0}.

Thus the support is finite and necessarily nonempty, although XXX itself need not be finite. If XXX is empty, there are no elements of this type.

QAlgorithms.Papers.Independent.Advance50.P10.MeasureAffine

For any measurable space TTT and function FFF from probability measures on TTT to the extended real numbers R‾=[−∞,+∞]\overline{\mathbb R}=[-\infty,+\infty]R=[−∞,+∞], this predicate means that for every three probability measures p,q,rp,q,rp,q,r and every real ttt with 0≤t≤10\le t\le10≤t≤1, if their underlying measures satisfy r=(1−t)p+tqr=(1-t)p+tqr=(1−t)p+tq, then

F(r)=(1−t)F(p)+tF(q).F(r)=(1-t)F(p)+tF(q).F(r)=(1−t)F(p)+tF(q).

More literally, the coefficients in the measure mixture are the nonnegative extended real numbers obtained from 1−t1-t1−t and ttt. The endpoints t=0,1t=0,1t=0,1 are included, and the displayed equality uses extended real multiplication and addition even when FFF takes infinite values.

QAlgorithms.Papers.Independent.Advance50.P10.MeasureMixture

For any measurable type TTT, any real ttt, and any probability measures p,q,rp,q,rp,q,r on TTT, this predicate means equality of measures r=max⁡(1−t,0) p+max⁡(t,0) qr=\max(1-t,0)\,p+\max(t,0)\,qr=max(1−t,0)p+max(t,0)q, where the coefficients are converted to extended nonnegative reals before scaling the measures. There is no explicit assumption 0≤t≤10\le t\le10≤t≤1; because all three measures have total mass one, the asserted equality itself requires ttt to lie in that interval. The endpoint cases give r=pr=pr=p at t=0t=0t=0 and r=qr=qr=q at t=1t=1t=1.

QAlgorithms.Papers.Independent.Advance50.P10.ReachesMaximum

For any type TTT and function F:T→R‾F:T\to\overline{\mathbb R}F:T→R, this predicate means that there exists t∈Tt\in Tt∈T such that

F(t)=sup⁡x∈TF(x).F(t)=\sup_{x\in T}F(x).F(t)=x∈Tsup​F(x).

The attained value may be infinite, and uniqueness is not required. If TTT is empty, the predicate is false, although the supremum itself is defined to be −∞-\infty−∞.

QAlgorithms.Papers.Independent.Advance50.P10.ReachesMinimum

For any type TTT and function F:T→R‾F:T\to\overline{\mathbb R}F:T→R, this predicate means that there exists t∈Tt\in Tt∈T such that

F(t)=inf⁡x∈TF(x).F(t)=\inf_{x\in T}F(x).F(t)=x∈Tinf​F(x).

The attained value may be infinite, and uniqueness is not required. If TTT is empty, the predicate is false, although the infimum itself is defined to be +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P10.RegularizedMinimax

For arbitrary types P,S,TP,S,TP,S,T, functions F:P×S→R‾F:P\times S\to\overline{\mathbb R}F:P×S→R and G:S×T→R‾G:S\times T\to\overline{\mathbb R}G:S×T→R, and a point c∈Sc\in Sc∈S, this predicate requires that every function F(p,⋅)F(p,\cdot)F(p,⋅) attain its infimum and that

sup⁡pF(p,c)=inf⁡ssup⁡pF(p,s)=sup⁡pinf⁡sF(p,s)=inf⁡ssup⁡tG(s,t)=sup⁡tG(c,t).\sup_pF(p,c) =\inf_s\sup_pF(p,s) =\sup_p\inf_sF(p,s) =\inf_s\sup_tG(s,t) =\sup_tG(c,t).psup​F(p,c)=sinf​psup​F(p,s)=psup​sinf​F(p,s)=sinf​tsup​G(s,t)=tsup​G(c,t).

It additionally requires that for every s∈Ss\in Ss∈S there exist p∈Pp\in Pp∈P with F(p,s)=sup⁡u∈PF(u,s)F(p,s)=\sup_{u\in P}F(u,s)F(p,s)=supu∈P​F(u,s), that for every s∈Ss\in Ss∈S there exist t∈Tt\in Tt∈T with G(s,t)=sup⁡v∈TG(s,v)G(s,t)=\sup_{v\in T}G(s,v)G(s,t)=supv∈T​G(s,v), and that there exist p∗∈Pp_*\in Pp∗​∈P with inf⁡sF(p∗,s)=sup⁡pinf⁡sF(p,s)\inf_sF(p_*,s)=\sup_p\inf_sF(p,s)infs​F(p∗​,s)=supp​infs​F(p,s). Infinite attained values are permitted and no uniqueness is required. These existence conditions, together with c∈Sc\in Sc∈S, force all three types to be nonempty.

QAlgorithms.Papers.Independent.Advance50.P10.SingularMinimax

For arbitrary types P,S,TP,S,TP,S,T, functions F:P×S→R‾F:P\times S\to\overline{\mathbb R}F:P×S→R and G:S×T→R‾G:S\times T\to\overline{\mathbb R}G:S×T→R, and a specified point c∈Sc\in Sc∈S, this predicate means that for every p∈Pp\in Pp∈P there exists s∈Ss\in Ss∈S with F(p,s)=inf⁡u∈SF(p,u)F(p,s)=\inf_{u\in S}F(p,u)F(p,s)=infu∈S​F(p,u), and that

sup⁡p∈PF(p,c)=inf⁡s∈Ssup⁡p∈PF(p,s)=sup⁡p∈Pinf⁡s∈SF(p,s)=inf⁡s∈Ssup⁡t∈TG(s,t)=sup⁡t∈TG(c,t).\sup_{p\in P}F(p,c) =\inf_{s\in S}\sup_{p\in P}F(p,s) =\sup_{p\in P}\inf_{s\in S}F(p,s) =\inf_{s\in S}\sup_{t\in T}G(s,t) =\sup_{t\in T}G(c,t).p∈Psup​F(p,c)=s∈Sinf​p∈Psup​F(p,s)=p∈Psup​s∈Sinf​F(p,s)=s∈Sinf​t∈Tsup​G(s,t)=t∈Tsup​G(c,t).

All extrema here are extended real infima and suprema; there are no finiteness, continuity, or uniqueness requirements. The supplied point makes SSS nonempty, while PPP and TTT may be empty; empty suprema are −∞-\infty−∞ and empty infima are +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P10.UniformLogTraceLimit

For any family of finite types JnJ_nJn​ with decidable equality, any c:N→Nc:\mathbb N\to\mathbb Nc:N→N, arbitrary complex square matrices ρn,σn\rho_n,\sigma_nρn​,σn​ on JnJ_nJn​, and any function ψ:R→R\psi:\mathbb R\to\mathbb Rψ:R→R, this predicate means that for every real δ>0\delta>0δ>0 there is N∈NN\in\mathbb NN∈N such that, simultaneously for every n≥Nn\ge Nn≥N and every real 0≤a<10\le a<10≤a<1, ψ(a)−δ≤[c(n)−1(a−1)]Da(ρn,σn)≤ψ(a)+δ\psi(a)-\delta\le[c(n)^{-1}(a-1)]D_a(\rho_n,\sigma_n)\le\psi(a)+\deltaψ(a)−δ≤[c(n)−1(a−1)]Da​(ρn​,σn​)≤ψ(a)+δ in the extended reals. On this parameter range, Da(A,B)=(a−1)−1L(Re⁡tr⁡(A[a]B[1−a]))D_a(A,B)=(a-1)^{-1}L(\operatorname{Re}\operatorname{tr}(A^{[a]}B^{[1-a]}))Da​(A,B)=(a−1)−1L(Retr(A[a]B[1−a])), where L(0)=−∞L(0)=-\inftyL(0)=−∞, L(x)=log⁡2∣x∣L(x)=\log_2|x|L(x)=log2​∣x∣ for x≠0x\ne0x=0, and A[s]A^{[s]}A[s] is the functional calculus of the function zero at zero and equal to the total real power xsx^sxs otherwise. The factor c(n)−1(a−1)c(n)^{-1}(a-1)c(n)−1(a−1) is computed in the reals before embedding into the extended reals; c(n)=0c(n)=0c(n)=0 therefore makes it zero. The same NNN must work for all a∈[0,1)a\in[0,1)a∈[0,1), including a=0a=0a=0. No positivity, normalization, support, or growth assumptions are included.

QAlgorithms.Papers.Independent.Advance50.P10.asymptoticCapacity

For any type XXX, any finite type III with decidable equality, any real eee, and any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, define the word-output matrices by

Wn(x)u,v=∏j=0n−1W(xj)uj,vj,x∈Xn,u,v∈In.W_n(x)_{u,v}=\prod_{j=0}^{n-1}W(x_j)_{u_j,v_j}, \qquad x\in X^n,\quad u,v\in I^n.Wn​(x)u,v​=j=0∏n−1​W(xj​)uj​,vj​​,x∈Xn,u,v∈In.

This declaration defines the extended real supremum of lim inf⁡n→∞log⁡2(Mn)/n\liminf_{n\to\infty}\log_2(M_n)/nliminfn→∞​log2​(Mn​)/n over families of codes at every natural length nnn, each having Mn>0M_n>0Mn​>0, encoded words xn,i∈Xnx_{n,i}\in X^nxn,i​∈Xn, and decoding matrices En,i⪰0E_{n,i}\succeq0En,i​⪰0 summing to the identity, subject to

lim sup⁡n→∞(1−1Mn∑i=0Mn−1Re⁡tr⁡(Wn(xn,i)En,i))≤e,\limsup_{n\to\infty} \left(1-\frac1{M_n}\sum_{i=0}^{M_n-1} \operatorname{Re}\operatorname{tr}(W_n(x_{n,i})E_{n,i})\right)\le e,n→∞limsup​(1−Mn​1​i=0∑Mn​−1​Retr(Wn​(xn,i​)En,i​))≤e,

where the real errors are embedded in the extended reals before taking the limit superior. No state or channel conditions are imposed on WWW, and eee is unrestricted. Length zero is included, with empty products equal to one and the rate quotient defined as zero. If no family qualifies, the supremum is −∞-\infty−∞; empty XXX admits no code family.

QAlgorithms.Papers.Independent.Advance50.P10.averageDivergence

For arbitrary types X,IX,IX,I, with III finite and having decidable equality, any real aaa, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, any finitely supported probability law ppp on XXX, and any complex I×II\times II×I matrix σ\sigmaσ, this defines the finite extended-real sum

∑x∈supp⁡pp(x) Da(W(x),σ).\sum_{x\in\operatorname{supp}p}p(x)\,D_a(W(x),\sigma).x∈suppp∑​p(x)Da​(W(x),σ).

The law satisfies p(x)≥0p(x)\ge0p(x)≥0 everywhere and ∑xp(x)=1\sum_xp(x)=1∑x​p(x)=1, so its finite support is nonempty and every weight occurring in this sum is positive. Here D1(A,B)D_1(A,B)D1​(A,B) is +∞+\infty+∞ when ker⁡B⊈ker⁡A\ker B\not\subseteq\ker AkerB⊆kerA, and otherwise is Re⁡tr⁡((x↦xln⁡x)(A)−Aln⁡B)/ln⁡2\operatorname{Re}\operatorname{tr}((x\mapsto x\ln x)(A)-A\ln B)/\ln2Retr((x↦xlnx)(A)−AlnB)/ln2. For a≠1a\ne1a=1, Da(A,B)D_a(A,B)Da​(A,B) is +∞+\infty+∞ when a>1a>1a>1 and that inclusion fails; otherwise it is (a−1)−1L(Re⁡tr⁡(Pa(A)P1−a(B)))(a-1)^{-1}\mathcal L(\operatorname{Re}\operatorname{tr}(P_a(A)P_{1-a}(B)))(a−1)−1L(Retr(Pa​(A)P1−a​(B))), where L(0)=−∞\mathcal L(0)=-\inftyL(0)=−∞, L(t)=ln⁡∣t∣/ln⁡2\mathcal L(t)=\ln|t|/\ln2L(t)=ln∣t∣/ln2 for t≠0t\ne0t=0, and PtP_tPt​ applies the function zero at zero and equal to the total real power elsewhere. Matrix functions use real continuous functional calculus, with value zero on non-Hermitian matrices. Neither W(x)W(x)W(x) nor σ\sigmaσ is required to be positive or normalized, and infinite summands are allowed. Empty III gives 000 at a=1a=1a=1, +∞+\infty+∞ for a<1a<1a<1, and −∞-\infty−∞ for a>1a>1a>1.

QAlgorithms.Papers.Independent.Advance50.P10.capacityOne

For arbitrary types X,IX,IX,I, with III finite and having decidable equality, any real aaa, and any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, this defines

sup⁡p:X→R finitely supportedp≥0, ∑xp(x)=1 inf⁡σ⪰0tr⁡σ=1Da ⁣(⨁x∈supp⁡pp(x)W(x), ⨁x∈supp⁡pp(x)σ).\sup_{\substack{p:X\to\mathbb R\text{ finitely supported}\\p\ge0,\ \sum_xp(x)=1}} \ \inf_{\substack{\sigma\succeq0\\\operatorname{tr}\sigma=1}} D_a\!\left(\bigoplus_{x\in\operatorname{supp}p}p(x)W(x),\, \bigoplus_{x\in\operatorname{supp}p}p(x)\sigma\right).p:X→R finitely supportedp≥0, ∑x​p(x)=1​sup​ σ⪰0trσ=1​inf​Da​(x∈suppp⨁​p(x)W(x),x∈suppp⨁​p(x)σ).

For arbitrary A,BA,BA,B, D1(A,B)D_1(A,B)D1​(A,B) is +∞+\infty+∞ if ker⁡B⊈ker⁡A\ker B\not\subseteq\ker AkerB⊆kerA, and otherwise equals Re⁡tr⁡((x↦xln⁡x)(A)−Aln⁡B)/ln⁡2\operatorname{Re}\operatorname{tr}((x\mapsto x\ln x)(A)-A\ln B)/\ln2Retr((x↦xlnx)(A)−AlnB)/ln2. For a≠1a\ne1a=1, Da(A,B)=+∞D_a(A,B)=+\inftyDa​(A,B)=+∞ if a>1a>1a>1 and that inclusion fails; otherwise it equals (a−1)−1L(Re⁡tr⁡(Pa(A)P1−a(B)))(a-1)^{-1}\mathcal L(\operatorname{Re}\operatorname{tr}(P_a(A)P_{1-a}(B)))(a−1)−1L(Retr(Pa​(A)P1−a​(B))). Here L(0)=−∞\mathcal L(0)=-\inftyL(0)=−∞, L(t)=ln⁡∣t∣/ln⁡2\mathcal L(t)=\ln|t|/\ln2L(t)=ln∣t∣/ln2 for t≠0t\ne0t=0, and PtP_tPt​ uses the scalar function zero at zero and equal to the total real power elsewhere, through real continuous functional calculus, which returns zero on non-Hermitian matrices. The family WWW is not required to consist of density matrices, and neither extremum is asserted to be attained. If XXX is empty, the outer supremum is over an empty type and equals −∞-\infty−∞; if XXX is nonempty and III is empty, the value is +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P10.capacityTwo

For any type XXX, any finite type III with decidable equality, any real aaa, and any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, this defines the extended real number

sup⁡p inf⁡σ⪰0tr⁡σ=1∑x∈supp⁡pp(x) da(W(x),σ),\sup_p\ \inf_{\substack{\sigma\succeq0\\ \operatorname{tr}\sigma=1}} \sum_{x\in\operatorname{supp}p}p(x)\,d_a(W(x),\sigma),psup​ σ⪰0trσ=1​inf​x∈suppp∑​p(x)da​(W(x),σ),

where p:X→Rp:X\to\mathbb Rp:X→R ranges over finitely supported functions with p(x)≥0p(x)\ge0p(x)≥0 and ∑xp(x)=1\sum_xp(x)=1∑x​p(x)=1. To specify dad_ada​, write Pt(A)=ft[A]P_t(A)=f_t[A]Pt​(A)=ft​[A] for real functional calculus with ft(0)=0f_t(0)=0ft​(0)=0 and ft(u)=utf_t(u)=u^tft​(u)=ut for u≠0u\ne0u=0, using the total real power function, and write K(A,B)K(A,B)K(A,B) for ker⁡B⊆ker⁡A\ker B\subseteq\ker AkerB⊆kerA. Then d1(A,B)d_1(A,B)d1​(A,B) is (log⁡2)−1Re⁡tr⁡((u↦ulog⁡u)[A]−A(log⁡)[B])(\log 2)^{-1}\operatorname{Re}\operatorname{tr}((u\mapsto u\log u)[A]-A(\log)[B])(log2)−1Retr((u↦ulogu)[A]−A(log)[B]) when K(A,B)K(A,B)K(A,B) holds, and +∞+\infty+∞ otherwise; for a≠1a\ne1a=1, da(A,B)=+∞d_a(A,B)=+\inftyda​(A,B)=+∞ if a>1a>1a>1 and K(A,B)K(A,B)K(A,B) fails, and otherwise

da(A,B)=1a−1 ℓ ⁣(Re⁡tr⁡(Pa(A)P1−a(B))),ℓ(u)={−∞,u=0,log⁡2∣u∣,u≠0.d_a(A,B)=\frac1{a-1}\,\ell\!\left(\operatorname{Re}\operatorname{tr}(P_a(A)P_{1-a}(B))\right), \qquad \ell(u)= \begin{cases} -\infty,&u=0,\\ \log_2|u|,&u\ne0. \end{cases}da​(A,B)=a−11​ℓ(Retr(Pa​(A)P1−a​(B))),ℓ(u)={−∞,log2​∣u∣,​u=0,u=0.​

All sums and products involving extended real numbers use their total extended real operations. No positivity or normalization is required of W(x)W(x)W(x), and aaa may be zero or negative. If XXX is empty, there are no admissible ppp, so the outer supremum is −∞-\infty−∞; if III is empty, there are no density matrices σ\sigmaσ, so each inner infimum is +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P10.cqCodeSuccess

For any type XXX, any finite type III with decidable equality, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, and any code CCC consisting of M>0M>0M>0 messages, an encoding xi∈Xx_i\in Xxi​∈X, and positive semidefinite decoding matrices EiE_iEi​ with ∑iEi=1\sum_iE_i=\mathbf1∑i​Ei​=1, this defines the real number

1M∑i=0M−1Re⁡tr⁡(W(xi)Ei).\frac1M\sum_{i=0}^{M-1}\operatorname{Re}\operatorname{tr}(W(x_i)E_i).M1​i=0∑M−1​Retr(W(xi​)Ei​).

No positivity or normalization assumption is imposed on W(x)W(x)W(x), so the definition itself does not require this number to lie in [0,1][0,1][0,1]. Repeated encoded values are allowed. If III is empty, every trace in the sum is zero, and the result is zero.

QAlgorithms.Papers.Independent.Advance50.P10.cqOneShotCapacityBits

For any type XXX, any finite type III with decidable equality, any real eee, and any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, this defines the extended real supremum of log⁡2M\log_2Mlog2​M over all natural numbers M>0M>0M>0, encodings x:{0,…,M−1}→Xx:\{0,\ldots,M-1\}\to Xx:{0,…,M−1}→X, and decoding matrices Ei⪰0E_i\succeq0Ei​⪰0 with ∑iEi=1\sum_iE_i=\mathbf1∑i​Ei​=1, subject to

1−1M∑i=0M−1Re⁡tr⁡(W(xi)Ei)≤e.1-\frac1M\sum_{i=0}^{M-1}\operatorname{Re}\operatorname{tr}(W(x_i)E_i)\le e.1−M1​i=0∑M−1​Retr(W(xi​)Ei​)≤e.

The matrices W(x)W(x)W(x) need not be density matrices, eee is unrestricted, and encodings may repeat values. If there are no qualifying codes, the supremum is −∞-\infty−∞; it can be +∞+\infty+∞ if their message counts are unbounded. Empty XXX admits no codes. If III is empty and XXX is nonempty, the displayed success term is zero, so the value is +∞+\infty+∞ for e≥1e\ge1e≥1 and −∞-\infty−∞ for e<1e<1e<1.

QAlgorithms.Papers.Independent.Advance50.P10.cqSequenceRateBits

For any type XXX, any finite type III with decidable equality, and any family CCC which, for each natural number nnn, supplies Mn>0M_n>0Mn​>0 messages, an encoding into XnX^nXn, and positive semidefinite decoding matrices on InI^nIn summing to the identity, this defines

lim inf⁡n→∞log⁡2Mnn\liminf_{n\to\infty}\frac{\log_2M_n}{n}n→∞liminf​nlog2​Mn​​

in the extended real numbers, by embedding each real quotient before taking the limit inferior. Only the message counts enter this value; there is no error or channel assumption. The family includes n=0n=0n=0, where the real quotient is defined as zero by total division, and that term does not affect the limit inferior.

QAlgorithms.Papers.Independent.Advance50.P10.cqWordChannel

For arbitrary types X,IX,IX,I, an arbitrary family WWW assigning a complex I×II\times II×I matrix to each x∈Xx\in Xx∈X, a natural number nnn, and a word x:{0,…,n−1}→Xx:\{0,\ldots,n-1\}\to Xx:{0,…,n−1}→X, this defines a matrix indexed by functions {0,…,n−1}→I\{0,\ldots,n-1\}\to I{0,…,n−1}→I, with entries

(W(n)(x))u,v=∏k=0n−1W(xk)uk,vk.\bigl(W^{(n)}(x)\bigr)_{u,v} =\prod_{k=0}^{n-1}W(x_k)_{u_k,v_k}.(W(n)(x))u,v​=k=0∏n−1​W(xk​)uk​,vk​​.

Neither type is required to be finite or nonempty, and the matrices need not be density matrices or satisfy any channel condition. For n=0n=0n=0, both indexing function spaces are singletons and the empty product gives the 1×11\times11×1 matrix with entry 111.

QAlgorithms.Papers.Independent.Advance50.P10.divergenceRadiusBits

For any type XXX, any finite type III with decidable equality, any function D:CI×I×CI×I→R‾D:\mathbb C^{I\times I}\times\mathbb C^{I\times I}\to\overline{\mathbb R}D:CI×I×CI×I→R, and any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, this defines

inf⁡σ⪰0tr⁡σ=1 sup⁡x∈XD(W(x),σ)\inf_{\substack{\sigma\succeq0\\ \operatorname{tr}\sigma=1}}\ \sup_{x\in X}D(W(x),\sigma)σ⪰0trσ=1​inf​ x∈Xsup​D(W(x),σ)

in the extended real numbers. No properties of a divergence are assumed for DDD, and the matrices W(x)W(x)W(x) need not be positive or normalized. If III is empty, the infimum is over no density matrices and equals +∞+\infty+∞; if XXX is empty and III is nonempty, each inner supremum equals −∞-\infty−∞, and the result is −∞-\infty−∞.

QAlgorithms.Papers.Independent.Advance50.P10.exampleCentre

This defines the complex 3×33\times33×3 matrix

diag⁡ ⁣(613,313,413),\operatorname{diag}\!\left(\frac6{13},\frac3{13},\frac4{13}\right),diag(136​,133​,134​),

with rows and columns indexed by 0,1,20,1,20,1,2 and all off-diagonal entries zero.

QAlgorithms.Papers.Independent.Advance50.P10.exampleFirst

This definition is the complex 3×33\times33×3 matrix

(120001400014),\begin{pmatrix} \frac12&0&0\\ 0&\frac14&0\\ 0&0&\frac14 \end{pmatrix},​21​00​041​0​0041​​​,

with rows and columns indexed by 0,1,20,1,20,1,2.

QAlgorithms.Papers.Independent.Advance50.P10.exampleSecond

This defines the complex 3×33\times33×3 matrix

diag⁡ ⁣(12,16,13),\operatorname{diag}\!\left(\frac12,\frac16,\frac13\right),diag(21​,61​,31​),

with rows and columns indexed by 0,1,20,1,20,1,2 and all off-diagonal entries zero.

QAlgorithms.Papers.Independent.Advance50.P10.helstromWeight

For any finite index type III with decidable equality, any natural number rrr, and any family of arbitrary complex matrices (ρi)i<r(\rho_i)_{i<r}(ρi​)i<r​ indexed by I×II\times II×I, define

R=inf⁡σ≥0tr⁡σ=1 sup⁡i<r inf⁡{ℓ∈R:2ℓσ−ρi≥0},w=2−Rreal,R=\inf_{\substack{\sigma\ge0\\\operatorname{tr}\sigma=1}} \ \sup_{i<r}\ \inf\{\ell\in\mathbb R:2^\ell\sigma-\rho_i\ge0\}, \qquad w=2^{-R_{\mathrm{real}}},R=σ≥0trσ=1​inf​ i<rsup​ inf{ℓ∈R:2ℓσ−ρi​≥0},w=2−Rreal​,

where the infima and supremum defining RRR are taken in R‾\overline{\mathbb R}R, the finite numbers ℓ\ellℓ are embedded into that space, and RrealR_{\mathrm{real}}Rreal​ is RRR when finite and 000 when R=±∞R=\pm\inftyR=±∞. This definition returns the real number www. No positivity or normalization is assumed for the ρi\rho_iρi​, and r=0r=0r=0 is included. An empty inner feasible set has infimum +∞+\infty+∞, an empty family has supremum −∞-\infty−∞, and an empty density-matrix domain has infimum +∞+\infty+∞; either infinite value of RRR therefore gives w=1w=1w=1.

QAlgorithms.Papers.Independent.Advance50.P10.infinityRelative

For any finite index type III with decidable equality and arbitrary complex matrices ρ,σ\rho,\sigmaρ,σ indexed by I×II\times II×I, this definition is

lim inf⁡a→+∞da(ρ,σ)in R‾,\liminf_{a\to+\infty}d_a(\rho,\sigma) \quad\text{in }\overline{\mathbb R},a→+∞liminf​da​(ρ,σ)in R,

where, writing ρ⪯suppσ\rho\preceq_{\mathrm{supp}}\sigmaρ⪯supp​σ for ker⁡σ⊆ker⁡ρ\ker\sigma\subseteq\ker\rhokerσ⊆kerρ, X[s]X^{[s]}X[s] for functional calculus with scalar value 000 at 000 and xsx^sxs elsewhere, and Qa=Re⁡tr⁡(ρ[a]σ[1−a])Q_a=\operatorname{Re}\operatorname{tr}(\rho^{[a]}\sigma^{[1-a]})Qa​=Retr(ρ[a]σ[1−a]), the function dad_ada​ equals +∞+\infty+∞ when a>1a>1a>1 and support inclusion fails, equals L(Qa)/(a−1)L(Q_a)/(a-1)L(Qa​)/(a−1) when a≠1a\ne1a=1 and that failure condition does not hold, and equals D(ρ,σ)/log⁡2D(\rho,\sigma)/\log2D(ρ,σ)/log2 at a=1a=1a=1. Here L(0)=−∞L(0)=-\inftyL(0)=−∞ and L(x)=log⁡2xL(x)=\log_2xL(x)=log2​x otherwise using the total real logarithm, while D(ρ,σ)D(\rho,\sigma)D(ρ,σ) is +∞+\infty+∞ if support inclusion fails and otherwise is Re⁡tr⁡((x↦xlog⁡x)[ρ]−ρlog⁡[σ])\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x\log x)[\rho]-\rho\log[\sigma]\bigr)Retr((x↦xlogx)[ρ]−ρlog[σ]). Neither matrix is assumed positive, nonzero, or normalized, and III may be empty. The definition uses a lower limit rather than asserting that a limit exists.

QAlgorithms.Papers.Independent.Advance50.P10.lawObjective

For arbitrary types X,IX,IX,I, with III finite and having decidable equality, any real aaa, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, any finitely supported function p:X→Rp:X\to\mathbb Rp:X→R satisfying p≥0p\ge0p≥0 and ∑xp(x)=1\sum_xp(x)=1∑x​p(x)=1, and any complex I×II\times II×I matrix σ\sigmaσ, let S={x:p(x)≠0}S=\{x:p(x)\ne0\}S={x:p(x)=0} and define matrices on S×IS\times IS×I by

L(x,i),(y,j)={p(x)W(x)i,j,x=y,0,x≠y,C(x,i),(y,j)={p(x)σi,j,x=y,0,x≠y.L_{(x,i),(y,j)}= \begin{cases}p(x)W(x)_{i,j},&x=y,\\0,&x\ne y,\end{cases} \qquad C_{(x,i),(y,j)}= \begin{cases}p(x)\sigma_{i,j},&x=y,\\0,&x\ne y.\end{cases}L(x,i),(y,j)​={p(x)W(x)i,j​,0,​x=y,x=y,​C(x,i),(y,j)​={p(x)σi,j​,0,​x=y,x=y.​

The defined value is Da(L,C)D_a(L,C)Da​(L,C), where D1(A,B)=+∞D_1(A,B)=+\inftyD1​(A,B)=+∞ when ker⁡B⊈ker⁡A\ker B\not\subseteq\ker AkerB⊆kerA, and otherwise equals Re⁡tr⁡((x↦xln⁡x)(A)−Aln⁡B)/ln⁡2\operatorname{Re}\operatorname{tr}((x\mapsto x\ln x)(A)-A\ln B)/\ln2Retr((x↦xlnx)(A)−AlnB)/ln2; for a≠1a\ne1a=1, Da(A,B)=+∞D_a(A,B)=+\inftyDa​(A,B)=+∞ when a>1a>1a>1 and that inclusion fails, and otherwise equals (a−1)−1L(Re⁡tr⁡(Pa(A)P1−a(B)))(a-1)^{-1}\mathcal L(\operatorname{Re}\operatorname{tr}(P_a(A)P_{1-a}(B)))(a−1)−1L(Retr(Pa​(A)P1−a​(B))). Here L(0)=−∞\mathcal L(0)=-\inftyL(0)=−∞, L(t)=ln⁡∣t∣/ln⁡2\mathcal L(t)=\ln|t|/\ln2L(t)=ln∣t∣/ln2 for t≠0t\ne0t=0, and PtP_tPt​ uses real continuous functional calculus with scalar value zero at zero and the total real power elsewhere; the calculus is zero on non-Hermitian matrices. No positivity or normalization is required of W(x)W(x)W(x) or σ\sigmaσ. The support SSS is nonempty, but III may be empty; in that case the value is 000 at a=1a=1a=1, +∞+\infty+∞ for a<1a<1a<1, and −∞-\infty−∞ for a>1a>1a>1.

QAlgorithms.Papers.Independent.Advance50.P10.meanRenyi

For any family of finite types JnJ_nJn​ with decidable equality, any c:N→Nc:\mathbb N\to\mathbb Nc:N→N, arbitrary complex square matrices ρn,σn\rho_n,\sigma_nρn​,σn​ on JnJ_nJn​, and any real aaa, this defines lim inf⁡n→∞c(n)−1Da(ρn,σn)\liminf_{n\to\infty}c(n)^{-1}D_a(\rho_n,\sigma_n)liminfn→∞​c(n)−1Da​(ρn​,σn​) in the extended reals. To specify DaD_aDa​, write A[s]A^{[s]}A[s] for the matrix functional calculus of the scalar function that is zero at zero and equals the total real power xsx^sxs elsewhere, and put qa(A,B)=Re⁡tr⁡(A[a]B[1−a])q_a(A,B)=\operatorname{Re}\operatorname{tr}(A^{[a]}B^{[1-a]})qa​(A,B)=Retr(A[a]B[1−a]). Write A≼suppBA\preccurlyeq_{\mathrm{supp}}BA≼supp​B for ker⁡B⊆ker⁡A\ker B\subseteq\ker AkerB⊆kerA, and let L(0)=−∞L(0)=-\inftyL(0)=−∞, L(x)=log⁡2∣x∣L(x)=\log_2|x|L(x)=log2​∣x∣ for nonzero real xxx. At a=1a=1a=1, Da(A,B)D_a(A,B)Da​(A,B) is Re⁡tr⁡(Alog⁡A−Alog⁡B)/log⁡2\operatorname{Re}\operatorname{tr}(A\log A-A\log B)/\log2Retr(AlogA−AlogB)/log2 if A≼suppBA\preccurlyeq_{\mathrm{supp}}BA≼supp​B, and +∞+\infty+∞ otherwise; matrix logarithms use the supplied real-logarithm functional calculus. For a≠1a\ne1a=1, it is +∞+\infty+∞ if a>1a>1a>1 and support inclusion fails, and otherwise it is (a−1)−1L(qa(A,B))(a-1)^{-1}L(q_a(A,B))(a−1)−1L(qa​(A,B)). No positivity, nonzero, or normalization assumptions are imposed on the matrices, and no restriction is imposed on aaa or on the growth of ccc; c(n)=0c(n)=0c(n)=0 gives real reciprocal zero.

QAlgorithms.Papers.Independent.Advance50.P10.measureObjective

For any finite type III with decidable equality, any set KKK of complex density matrices on III (positive semidefinite matrices of trace one), any Boolean useQ\mathrm{useQ}useQ, real parameters a,ea,ea,e, probability measure ppp on KKK, and density matrix σ\sigmaσ on III, put B=σ+e1B=\sigma+e\mathbf1B=σ+e1. For matrices A,BA,BA,B, write A[s]A^{[s]}A[s] for the functional calculus of the scalar function zero at zero and equal to the total real power xsx^sxs otherwise, put qa(A,B)=Re⁡tr⁡(A[a]B[1−a])q_a(A,B)=\operatorname{Re}\operatorname{tr}(A^{[a]}B^{[1-a]})qa​(A,B)=Retr(A[a]B[1−a]), and write S(A,B)S(A,B)S(A,B) for ker⁡B⊆ker⁡A\ker B\subseteq\ker AkerB⊆kerA. Define Qa(A,B)=+∞Q_a(A,B)=+\inftyQa​(A,B)=+∞ if a>1a>1a>1 and S(A,B)S(A,B)S(A,B) fails, and otherwise Qa(A,B)=−qa(A,B)Q_a(A,B)=-q_a(A,B)Qa​(A,B)=−qa​(A,B) for a<1a<1a<1 and Qa(A,B)=qa(A,B)Q_a(A,B)=q_a(A,B)Qa​(A,B)=qa​(A,B) for a≥1a\ge1a≥1. Define D1(A,B)=Re⁡tr⁡(Alog⁡A−Alog⁡B)/log⁡2D_1(A,B)=\operatorname{Re}\operatorname{tr}(A\log A-A\log B)/\log2D1​(A,B)=Retr(AlogA−AlogB)/log2 when S(A,B)S(A,B)S(A,B) holds, and +∞+\infty+∞ otherwise; for a≠1a\ne1a=1, define Da(A,B)=+∞D_a(A,B)=+\inftyDa​(A,B)=+∞ if a>1a>1a>1 and S(A,B)S(A,B)S(A,B) fails, and otherwise Da(A,B)=(a−1)−1L(qa(A,B))D_a(A,B)=(a-1)^{-1}L(q_a(A,B))Da​(A,B)=(a−1)−1L(qa​(A,B)), where L(0)=−∞L(0)=-\inftyL(0)=−∞ and L(x)=log⁡2∣x∣L(x)=\log_2|x|L(x)=log2​∣x∣ for x≠0x\ne0x=0. This objective is the extended integral of f(A)=Qa(A,B)f(A)=Q_a(A,B)f(A)=Qa​(A,B) when useQ\mathrm{useQ}useQ is true, and of f(A)=Da(A,B)f(A)=D_a(A,B)f(A)=Da​(A,B) otherwise, explicitly ∫−f(A)+ dp−∫−(−f(A))+ dp\int^- f(A)^+\,dp-\int^-(-f(A))^+\,dp∫−f(A)+dp−∫−(−f(A))+dp, with positive parts valued in [0,+∞][0,+\infty][0,+∞] and subtraction in the extended reals. No integrability, measurability of fff, or restrictions on a,ea,ea,e are required; in particular BBB need not be positive. Existence of the probability measure rules out empty KKK, and hence empty III.

QAlgorithms.Papers.Independent.Advance50.P10.pairFamily

For any type III, any complex matrices A,BA,BA,B whose rows and columns are indexed by III, and any i∈{0,1}i\in\{0,1\}i∈{0,1}, this defines a matrix equal to AAA when i=0i=0i=0 and equal to BBB otherwise, hence equal to BBB when i=1i=1i=1. No finiteness, positivity, or normalization assumptions are imposed on III, AAA, or BBB.

QAlgorithms.Papers.Independent.Advance50.P10.perturb

For any finite type III with decidable equality, any complex I×II\times II×I matrix BBB, and any real eee, this defines the complex matrix B+e IdIB+e\,\mathrm{Id}_IB+eIdI​, equivalently adding eee to each diagonal entry and leaving every off-diagonal entry unchanged. No positivity or Hermiticity of BBB, and no positivity of eee, is required. Empty III and e=0e=0e=0 are included.

QAlgorithms.Papers.Independent.Advance50.P10.petzEntropyBits

For any finite type III with decidable equality, real aaa, and arbitrary complex I×II\times II×I matrix ρ\rhoρ, this defines

log⁡2d−Da(ρ,d−1IdI),d=∣I∣.\log_2 d-D_a(\rho,d^{-1}\mathrm{Id}_I),\qquad d=|I|.log2​d−Da​(ρ,d−1IdI​),d=∣I∣.

Here D1(A,B)D_1(A,B)D1​(A,B) is +∞+\infty+∞ if ker⁡B⊈ker⁡A\ker B\not\subseteq\ker AkerB⊆kerA, and otherwise is Re⁡tr⁡((x↦xln⁡x)(A)−Aln⁡B)/ln⁡2\operatorname{Re}\operatorname{tr}((x\mapsto x\ln x)(A)-A\ln B)/\ln2Retr((x↦xlnx)(A)−AlnB)/ln2. For a≠1a\ne1a=1, Da(A,B)=+∞D_a(A,B)=+\inftyDa​(A,B)=+∞ if a>1a>1a>1 and that kernel inclusion fails; otherwise it is (a−1)−1L(Re⁡tr⁡(Pa(A)P1−a(B)))(a-1)^{-1}\mathcal L(\operatorname{Re}\operatorname{tr}(P_a(A)P_{1-a}(B)))(a−1)−1L(Retr(Pa​(A)P1−a​(B))), where L(0)=−∞\mathcal L(0)=-\inftyL(0)=−∞, L(t)=ln⁡∣t∣/ln⁡2\mathcal L(t)=\ln|t|/\ln2L(t)=ln∣t∣/ln2 for t≠0t\ne0t=0, and Pt(C)P_t(C)Pt​(C) applies the function equal to zero at zero and to the total real power xtx^txt elsewhere. All matrix functions use real continuous functional calculus, with value zero on non-Hermitian matrices. No density-matrix assumption is imposed on ρ\rhoρ. Scalar inversion and logarithms are total, so when III is empty the reference matrix is zero and log⁡2d=0\log_2 d=0log2​d=0; the defined value is then 000 at a=1a=1a=1, −∞-\infty−∞ for a<1a<1a<1, and +∞+\infty+∞ for a>1a>1a>1.

QAlgorithms.Papers.Independent.Advance50.P10.petzHoeffdingBits

For any finite type III with decidable equality, any real rrr, and arbitrary complex I×II\times II×I matrices ρ,σ\rho,\sigmaρ,σ, this defines the extended-real supremum

sup⁡0≤a<1[−ar1−a+1a−1 L ⁣(Re⁡tr⁡(Pa(ρ)P1−a(σ)))].\sup_{0\le a<1} \left[ -\frac{ar}{1-a} +\frac{1}{a-1}\, \mathcal L\!\left(\operatorname{Re}\operatorname{tr}\bigl(P_a(\rho)P_{1-a}(\sigma)\bigr)\right) \right].0≤a<1sup​[−1−aar​+a−11​L(Retr(Pa​(ρ)P1−a​(σ)))].

Here Pt(C)P_t(C)Pt​(C) applies, through real continuous functional calculus, the function equal to zero at zero and to the total real power xtx^txt elsewhere; that calculus returns zero on non-Hermitian matrices. Also, L(0)=−∞\mathcal L(0)=-\inftyL(0)=−∞ and L(u)=ln⁡∣u∣/ln⁡2\mathcal L(u)=\ln|u|/\ln2L(u)=ln∣u∣/ln2 for u≠0u\ne0u=0. No positivity, normalization, kernel inclusion, or sign restriction on rrr is assumed. The supremum includes a=0a=0a=0, where P0P_0P0​ still vanishes on zero eigenvalues, and excludes a=1a=1a=1. Empty III is allowed and gives +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P10.petzLawInformationBits

For arbitrary types X,IX,IX,I, with III finite and having decidable equality, any real aaa, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, and any finitely supported probability law ppp on XXX, this defines

inf⁡σ⪰0tr⁡σ=1Da ⁣(⨁x∈Sp(x)W(x), ⨁x∈Sp(x)σ),S={x:p(x)≠0}.\inf_{\substack{\sigma\succeq0\\\operatorname{tr}\sigma=1}} D_a\!\left(\bigoplus_{x\in S}p(x)W(x),\, \bigoplus_{x\in S}p(x)\sigma\right), \qquad S=\{x:p(x)\ne0\}.σ⪰0trσ=1​inf​Da​(x∈S⨁​p(x)W(x),x∈S⨁​p(x)σ),S={x:p(x)=0}.

The direct sums are indexed by S×IS\times IS×I. For arbitrary matrices A,BA,BA,B, D1(A,B)D_1(A,B)D1​(A,B) is +∞+\infty+∞ if ker⁡B⊈ker⁡A\ker B\not\subseteq\ker AkerB⊆kerA, and otherwise is Re⁡tr⁡((x↦xln⁡x)(A)−Aln⁡B)/ln⁡2\operatorname{Re}\operatorname{tr}((x\mapsto x\ln x)(A)-A\ln B)/\ln2Retr((x↦xlnx)(A)−AlnB)/ln2. For a≠1a\ne1a=1, Da(A,B)D_a(A,B)Da​(A,B) is +∞+\infty+∞ if a>1a>1a>1 and that inclusion fails; otherwise it is (a−1)−1L(Re⁡tr⁡(Pa(A)P1−a(B)))(a-1)^{-1}\mathcal L(\operatorname{Re}\operatorname{tr}(P_a(A)P_{1-a}(B)))(a−1)−1L(Retr(Pa​(A)P1−a​(B))), where L(0)=−∞\mathcal L(0)=-\inftyL(0)=−∞, L(t)=ln⁡∣t∣/ln⁡2\mathcal L(t)=\ln|t|/\ln2L(t)=ln∣t∣/ln2 for nonzero ttt, and PtP_tPt​ applies the scalar function zero at zero and equal to the total real power xtx^txt elsewhere. Matrix functions use real continuous functional calculus, which is zero on non-Hermitian matrices. The law ppp has finite support, nonnegative weights, and total mass one; no density-matrix assumption is imposed on WWW. If III is empty, there are no matrices of trace one, and the infimum is +∞+\infty+∞. Attainment is not part of this definition.

QAlgorithms.Papers.Independent.Advance50.P10.petzRelativeBits

For any finite type III with decidable equality, real aaa, and arbitrary complex I×II\times II×I matrices A,BA,BA,B, let Pt(C)P_t(C)Pt​(C) be the real continuous functional calculus of x↦0x\mapsto0x↦0 at x=0x=0x=0 and x↦xtx\mapsto x^tx↦xt otherwise, and put qa=Re⁡tr⁡(Pa(A)P1−a(B))q_a=\operatorname{Re}\operatorname{tr}(P_a(A)P_{1-a}(B))qa​=Retr(Pa​(A)P1−a​(B)). This defines

Da(A,B)={1ln⁡2Re⁡tr⁡((x↦xln⁡x)(A)−A(ln⁡B)),a=1, ker⁡B⊆ker⁡A,+∞,a=1, ker⁡B⊈ker⁡A,+∞,a>1, ker⁡B⊈ker⁡A,1a−1 L(qa),otherwise,D_a(A,B)= \begin{cases} \dfrac{1}{\ln2}\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x\ln x)(A)-A(\ln B)\bigr), &a=1,\ \ker B\subseteq\ker A,\\ +\infty,&a=1,\ \ker B\not\subseteq\ker A,\\ +\infty,&a>1,\ \ker B\not\subseteq\ker A,\\ \dfrac{1}{a-1}\,\mathcal L(q_a),&\text{otherwise}, \end{cases}Da​(A,B)=⎩⎨⎧​ln21​Retr((x↦xlnx)(A)−A(lnB)),+∞,+∞,a−11​L(qa​),​a=1, kerB⊆kerA,a=1, kerB⊆kerA,a>1, kerB⊆kerA,otherwise,​

using extended-real multiplication, where L(0)=−∞\mathcal L(0)=-\inftyL(0)=−∞ and L(q)=ln⁡∣q∣/ln⁡2\mathcal L(q)=\ln|q|/\ln2L(q)=ln∣q∣/ln2 for nonzero real qqq. The matrix functions use real continuous functional calculus, which returns zero on non-Hermitian matrices; scalar logarithms and powers are total functions. Neither matrix is required to be positive or normalized, and all real orders, including a=0a=0a=0, are included. Empty III is allowed: the value is 000 at a=1a=1a=1, +∞+\infty+∞ for a<1a<1a<1, and −∞-\infty−∞ for a>1a>1a>1.

QAlgorithms.Papers.Independent.Advance50.P10.petzTrace

For any finite type III with decidable equality, any real aaa, and arbitrary complex matrices A,BA,BA,B indexed by III, this defines the real number

Re⁡tr⁡(Pa(A)P1−a(B)),Pt(C)=ft(C),ft(x)={0,x=0,xt,x≠0,\operatorname{Re}\operatorname{tr}\bigl(P_a(A)P_{1-a}(B)\bigr), \qquad P_t(C)=f_t(C),\quad f_t(x)= \begin{cases} 0,&x=0,\\ x^t,&x\ne0, \end{cases}Retr(Pa​(A)P1−a​(B)),Pt​(C)=ft​(C),ft​(x)={0,xt,​x=0,x=0,​

where ft(C)f_t(C)ft​(C) uses the real continuous functional calculus and xtx^txt is the total real power function. In particular, zero eigenvalues contribute zero even when t=0t=0t=0, so P0(C)P_0(C)P0​(C) need not be the identity. No positivity, Hermiticity, normalization, or restriction on aaa is assumed; the functional calculus returns zero on non-Hermitian matrices. The index type may be empty, in which case the trace and the defined value are zero.

QAlgorithms.Papers.Independent.Advance50.P10.pointObjective

For any finite type III with decidable equality, any set KKK of density matrices on III, any Boolean useQ\mathrm{useQ}useQ, real a,ea,ea,e, density matrix σ\sigmaσ, and matrix ρ∈K\rho\in Kρ∈K, put B=σ+e1B=\sigma+e\mathbf1B=σ+e1, q=Re⁡tr⁡(ρ[a]B[1−a])q=\operatorname{Re}\operatorname{tr}(\rho^{[a]}B^{[1-a]})q=Retr(ρ[a]B[1−a]), and S:ker⁡B⊆ker⁡ρS:\ker B\subseteq\ker\rhoS:kerB⊆kerρ, where A[s]A^{[s]}A[s] is the functional calculus of the scalar function zero at zero and equal to the total real power xsx^sxs otherwise. If useQ\mathrm{useQ}useQ is true, this objective is +∞+\infty+∞ when a>1a>1a>1 and SSS fails, and otherwise is −q-q−q when a<1a<1a<1 and qqq when a≥1a\ge1a≥1. If useQ\mathrm{useQ}useQ is false and a=1a=1a=1, it is Re⁡tr⁡(ρlog⁡ρ−ρlog⁡B)/log⁡2\operatorname{Re}\operatorname{tr}(\rho\log\rho-\rho\log B)/\log2Retr(ρlogρ−ρlogB)/log2 when SSS holds, and +∞+\infty+∞ otherwise; if a≠1a\ne1a=1, it is +∞+\infty+∞ when a>1a>1a>1 and SSS fails, and otherwise is (a−1)−1L(q)(a-1)^{-1}L(q)(a−1)−1L(q), where L(0)=−∞L(0)=-\inftyL(0)=−∞ and L(x)=log⁡2∣x∣L(x)=\log_2|x|L(x)=log2​∣x∣ for nonzero xxx. Density matrices here mean positive semidefinite matrices of trace one. No restriction on aaa or eee is imposed, so BBB need not be positive; existence of ρ∈K\rho\in Kρ∈K excludes empty KKK and empty III.

QAlgorithms.Papers.Independent.Advance50.P10.quasiRelative

For any finite type III with decidable equality, any real aaa, and arbitrary complex I×II\times II×I matrices A,BA,BA,B, this defines an extended-real value by

{+∞,a>1 and ker⁡B⊈ker⁡A,−Re⁡tr⁡(Pa(A)P1−a(B)),a<1,Re⁡tr⁡(Pa(A)P1−a(B)),a≥1 and the first case does not apply,\begin{cases} +\infty,&a>1\ \text{and }\ker B\not\subseteq\ker A,\\ -\operatorname{Re}\operatorname{tr}\bigl(P_a(A)P_{1-a}(B)\bigr),&a<1,\\ \operatorname{Re}\operatorname{tr}\bigl(P_a(A)P_{1-a}(B)\bigr),&a\ge1\ \text{and the first case does not apply}, \end{cases}⎩⎨⎧​+∞,−Retr(Pa​(A)P1−a​(B)),Retr(Pa​(A)P1−a​(B)),​a>1 and kerB⊆kerA,a<1,a≥1 and the first case does not apply,​

where kernels are those of matrix multiplication and Pt(C)P_t(C)Pt​(C) is the real continuous functional calculus of the function equal to zero at 000 and to the total real power xtx^txt elsewhere. This functional calculus is zero for non-Hermitian matrices. There are no positivity or normalization assumptions. At a=1a=1a=1, the kernel condition is not checked and the value is Re⁡tr⁡(P1(A)P0(B))\operatorname{Re}\operatorname{tr}(P_1(A)P_0(B))Retr(P1​(A)P0​(B)). Empty III is allowed and gives zero.

QAlgorithms.Papers.Independent.Advance50.P10.sibsonCentre

For any type XXX, any finite type III with decidable equality, any real aaa, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, and any finitely supported nonnegative p:X→Rp:X\to\mathbb Rp:X→R of total mass one, form

R=P1/a ⁣(∑x∈supp⁡pp(x)Pa(W(x))),Pt(A)=(u↦{0,u=0,ut,u≠0)[A],R=P_{1/a}\!\left(\sum_{x\in\operatorname{supp}p}p(x)P_a(W(x))\right), \qquad P_t(A)=\bigl(u\mapsto\begin{cases}0,&u=0,\\u^t,&u\ne0\end{cases}\bigr)[A],R=P1/a​(x∈suppp∑​p(x)Pa​(W(x))),Pt​(A)=(u↦{0,ut,​u=0,u=0​)[A],

using total real functional calculus and real powers. This defines the matrix (Re⁡tr⁡R)−1R(\operatorname{Re}\operatorname{tr}R)^{-1}R(RetrR)−1R, with the real scalar embedded in C\mathbb CC. There is no assumption that W(x)W(x)W(x) or RRR is positive, that the trace is nonzero, or that the result is a density matrix. A zero real trace gives the zero matrix because 0−1=00^{-1}=00−1=0; a=0a=0a=0 also uses 1/0=01/0=01/0=0. Empty III is allowed, while empty XXX admits no such ppp.

QAlgorithms.Papers.Independent.Advance50.P10.sibsonInformation

For any type XXX, any finite type III with decidable equality, any real aaa, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, and any finitely supported nonnegative p:X→Rp:X\to\mathbb Rp:X→R of total mass one, form

R=P1/a ⁣(∑x∈supp⁡pp(x)Pa(W(x))),Pt(A)=(u↦{0,u=0,ut,u≠0)[A].R=P_{1/a}\!\left(\sum_{x\in\operatorname{supp}p}p(x)P_a(W(x))\right), \quad P_t(A)=\bigl(u\mapsto\begin{cases}0,&u=0,\\u^t,&u\ne0\end{cases}\bigr)[A].R=P1/a​(x∈suppp∑​p(x)Pa​(W(x))),Pt​(A)=(u↦{0,ut,​u=0,u=0​)[A].

Using total real functional calculus and real powers, this defines

(aa−1)ℓ(Re⁡tr⁡R)in R‾,ℓ(u)={−∞,u=0,log⁡2∣u∣,u≠0.\left(\frac{a}{a-1}\right)\ell(\operatorname{Re}\operatorname{tr}R) \quad\text{in }\overline{\mathbb R}, \qquad \ell(u)= \begin{cases} -\infty,&u=0,\\ \log_2|u|,&u\ne0. \end{cases}(a−1a​)ℓ(RetrR)in R,ℓ(u)={−∞,log2​∣u∣,​u=0,u=0.​

No positivity or normalization is imposed on WWW, and aaa is unrestricted. Real division by zero and extended real multiplication are total; in particular, the prefactor is zero at both a=0a=0a=0 and a=1a=1a=1, and zero times either infinity is zero. Empty III is allowed; empty XXX admits no ppp.

QAlgorithms.Papers.Independent.Advance50.P10.sibsonRoot

For any type XXX, any finite type III with decidable equality, any real aaa, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, and any finitely supported function p:X→Rp:X\to\mathbb Rp:X→R satisfying p(x)≥0p(x)\ge0p(x)≥0 and ∑xp(x)=1\sum_xp(x)=1∑x​p(x)=1, this defines the matrix

P1/a ⁣(∑x∈supp⁡pp(x) Pa(W(x))),P_{1/a}\!\left(\sum_{x\in\operatorname{supp}p}p(x)\,P_a(W(x))\right),P1/a​(x∈suppp∑​p(x)Pa​(W(x))),

where Pt(A)=ft[A]P_t(A)=f_t[A]Pt​(A)=ft​[A] uses real functional calculus with ft(0)=0f_t(0)=0ft​(0)=0 and ft(u)=utf_t(u)=u^tft​(u)=ut for u≠0u\ne0u=0, using total real powers. The family WWW has no positivity or normalization requirement. The parameter aaa is unrestricted: at a=0a=0a=0, the reciprocal 1/a1/a1/a is defined to be zero, and the scalar function defining P0P_0P0​ is zero at zero and one elsewhere. The existence of ppp excludes empty XXX, whereas III may be empty.

QAlgorithms.Papers.Independent.Advance50.P10.successExponent

For any type XXX, any finite type III with decidable equality, any family W:X→CI×IW:X\to\mathbb C^{I\times I}W:X→CI×I, and any code family CCC supplying, at every natural length nnn, Mn>0M_n>0Mn​>0, encoded words xn,i∈Xnx_{n,i}\in X^nxn,i​∈Xn, and positive semidefinite decoding matrices En,iE_{n,i}En,i​ on InI^nIn summing to the identity, set

Wn(x)u,v=∏j=0n−1W(xj)uj,vj,sn=1Mn∑i=0Mn−1Re⁡tr⁡(Wn(xn,i)En,i).W_n(x)_{u,v}=\prod_{j=0}^{n-1}W(x_j)_{u_j,v_j}, \qquad s_n=\frac1{M_n}\sum_{i=0}^{M_n-1} \operatorname{Re}\operatorname{tr}(W_n(x_{n,i})E_{n,i}).Wn​(x)u,v​=j=0∏n−1​W(xj​)uj​,vj​​,sn​=Mn​1​i=0∑Mn​−1​Retr(Wn​(xn,i​)En,i​).

This defines lim sup⁡n→∞(n−1ℓ(sn))\limsup_{n\to\infty}(n^{-1}\ell(s_n))limsupn→∞​(n−1ℓ(sn​)) in the extended real numbers, where ℓ(0)=−∞\ell(0)=-\inftyℓ(0)=−∞ and ℓ(s)=log⁡2∣s∣\ell(s)=\log_2|s|ℓ(s)=log2​∣s∣ for nonzero real sss. No positivity or normalization of WWW, no error bound, and no rate condition is assumed. In particular, zero success gives an inner value of −∞-\infty−∞ at positive lengths, while negative success uses the total real logarithm of its absolute value. At length zero the reciprocal is zero and its product with any extended real value is zero.

QAlgorithms.Papers.Independent.Advance50.P10.testingCutoff

For any family of finite types JnJ_nJn​ with decidable equality, any c:N→Nc:\mathbb N\to\mathbb Nc:N→N, arbitrary complex square matrices ρn,σn\rho_n,\sigma_nρn​,σn​ on JnJ_nJn​, and real kkk, let U(s)U(s)U(s) be the extended-real infimum of lim sup⁡nc(n)−1L(Re⁡tr⁡(σnTn))\limsup_n c(n)^{-1}L(\operatorname{Re}\operatorname{tr}(\sigma_nT_n))limsupn​c(n)−1L(Retr(σn​Tn​)) over effect sequences Tn,1−Tn⪰0T_n,\mathbf1-T_n\succeq0Tn​,1−Tn​⪰0 whose corresponding first-error limit superior lim sup⁡nc(n)−1L(Re⁡tr⁡(ρn(1−Tn)))\limsup_n c(n)^{-1}L(\operatorname{Re}\operatorname{tr}(\rho_n(\mathbf1-T_n)))limsupn​c(n)−1L(Retr(ρn​(1−Tn​))) is strictly less than −s-s−s; here L(0)=−∞L(0)=-\inftyL(0)=−∞, L(x)=log⁡2∣x∣L(x)=\log_2|x|L(x)=log2​∣x∣ for x≠0x\ne0x=0, and real reciprocals at zero are zero. Set H(0)=inf⁡s>0U(s)H(0)=\inf_{s>0}U(s)H(0)=infs>0​U(s) and H(r)=U(r)H(r)=U(r)H(r)=U(r) for r≠0r\ne0r=0. This defines sup⁡{r0∈R:r0≥0 and ∀r≥0, H(r)≤k(r0−r)}\sup\{r_0\in\mathbb R:r_0\ge0\text{ and }\forall r\ge0,\ H(r)\le k(r_0-r)\}sup{r0​∈R:r0​≥0 and ∀r≥0, H(r)≤k(r0​−r)}, regarded as an extended real number. There is no sign restriction on kkk, no positivity or growth requirement on ccc, and no density-matrix requirement; an empty set of qualifying r0r_0r0​ gives −∞-\infty−∞, while an unbounded set gives +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P10.typeOneError

For any finite type III with decidable equality and any complex square matrices ρ,T\rho,Tρ,T indexed by III, this defines the real number Re⁡tr⁡(ρ(1−T))\operatorname{Re}\operatorname{tr}(\rho(\mathbf 1-T))Retr(ρ(1−T)), where 1\mathbf 11 is the identity matrix. Neither positivity nor normalization of ρ\rhoρ, nor any condition on TTT, is required, so the result need not be a probability. Empty III is allowed and gives zero.

QAlgorithms.Papers.Independent.Advance50.P10.typeTwoError

For any finite type III and any complex square matrices σ,T\sigma,Tσ,T indexed by III, this defines the real number Re⁡tr⁡(σT)\operatorname{Re}\operatorname{tr}(\sigma T)Retr(σT). Neither positivity nor normalization of σ\sigmaσ, nor any condition on TTT, is required, so the result need not be a probability. Empty III is allowed and gives zero.

QAlgorithms.Papers.Independent.Advance50.P10.upperTesting

For any family of finite types JnJ_nJn​ with decidable equality, any c:N→Nc:\mathbb N\to\mathbb Nc:N→N, arbitrary complex square matrices ρn,σn\rho_n,\sigma_nρn​,σn​ on JnJ_nJn​, and real rrr, let U(s)U(s)U(s) be the infimum of lim sup⁡n→∞c(n)−1L(Re⁡tr⁡(σnTn))\limsup_{n\to\infty}c(n)^{-1}L(\operatorname{Re}\operatorname{tr}(\sigma_nT_n))limsupn→∞​c(n)−1L(Retr(σn​Tn​)) over all sequences with Tn,1−Tn⪰0T_n,\mathbf1-T_n\succeq0Tn​,1−Tn​⪰0 satisfying lim sup⁡n→∞c(n)−1L(Re⁡tr⁡(ρn(1−Tn)))<−s\limsup_{n\to\infty}c(n)^{-1}L(\operatorname{Re}\operatorname{tr}(\rho_n(\mathbf1-T_n)))<-slimsupn→∞​c(n)−1L(Retr(ρn​(1−Tn​)))<−s, where L(0)=−∞L(0)=-\inftyL(0)=−∞ and L(x)=log⁡2∣x∣L(x)=\log_2|x|L(x)=log2​∣x∣ for nonzero real xxx. This defines inf⁡s>0U(s)\inf_{s>0}U(s)infs>0​U(s) when r=0r=0r=0, and U(r)U(r)U(r) when r≠0r\ne0r=0, including negative rrr. All limits and infima are in the extended reals, with an empty feasible infimum equal to +∞+\infty+∞; each reciprocal c(n)−1c(n)^{-1}c(n)−1 is computed in the reals, hence is zero when c(n)=0c(n)=0c(n)=0. No positivity or growth assumption on ccc, and no state assumption on the matrices, is imposed.

QAlgorithms.Papers.Independent.Advance50.P10.upperTestingPositive

For any family of finite types JnJ_nJn​ with decidable equality, any function c:N→Nc:\mathbb N\to\mathbb Nc:N→N, any sequences of complex square matrices ρn,σn\rho_n,\sigma_nρn​,σn​ on JnJ_nJn​, and any real rrr, define L(x)=−∞L(x)=-\inftyL(x)=−∞ when the real number x=0x=0x=0, and L(x)=log⁡2∣x∣L(x)=\log_2|x|L(x)=log2​∣x∣ otherwise. For a sequence TnT_nTn​ satisfying Tn⪰0T_n\succeq0Tn​⪰0 and 1−Tn⪰0\mathbf1-T_n\succeq01−Tn​⪰0, put e1,n=Re⁡tr⁡(ρn(1−Tn))e_{1,n}=\operatorname{Re}\operatorname{tr}(\rho_n(\mathbf1-T_n))e1,n​=Retr(ρn​(1−Tn​)) and e2,n=Re⁡tr⁡(σnTn)e_{2,n}=\operatorname{Re}\operatorname{tr}(\sigma_nT_n)e2,n​=Retr(σn​Tn​). This defines the extended real value inf⁡{lim sup⁡n→∞c(n)−1L(e2,n):lim sup⁡n→∞c(n)−1L(e1,n)<−r}\inf\{\limsup_{n\to\infty}c(n)^{-1}L(e_{2,n}):\limsup_{n\to\infty}c(n)^{-1}L(e_{1,n})<-r\}inf{limsupn→∞​c(n)−1L(e2,n​):limsupn→∞​c(n)−1L(e1,n​)<−r}, where the infimum ranges over all such effect sequences and the real reciprocals are embedded into the extended reals before multiplication. The strict inequality is part of the constraint; no positivity of rrr, positivity or growth of c(n)c(n)c(n), or density-matrix assumption is imposed. In particular, c(n)=0c(n)=0c(n)=0 gives reciprocal zero, and negative error values use log⁡2∣x∣\log_2|x|log2​∣x∣. An empty feasible set gives +∞+\infty+∞.

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