Definitions for The strong converse exponent of discriminating infinite-dimensional quantum states
DefinitionQAlgorithms_Papers_Independent_Intake100_P49The objects the formalized statements of The strong converse exponent of discriminating infinite-dimensional quantum states (arXiv:2107.08036) are stated in. Each was checked against the paper by a blind read-back and a moderator.
NonzeroPositive: Section II, PDF pp.2--3: self-adjoint positive operators, excluding zero.positiveSpectralPower: Section II, PDF p.3: bounded spectral power, used only for strictly positive exponents. This helper does not represent unbounded negative powers or support A^0.IsReducedRelative: Lemma III.1 and Remark III.3, PDF pp.5--7: reduced bounded positive solution. The kernel condition is exactly support(R)<=support(sigma) for positive R.relativeBounded: Definition III.2 and Remark III.3, PDF p.7: B_alpha_z through its equivalent unique reduced positive factorization. No bound on Q is used to define it.reducedRelative: Remark III.3, PDF p.7: reduced operator from the concrete factorization. Default zero is outside the relative bounded domain.alphaZQ: Definition III.9, PDF p.8: Q from the reduced operator's z-power trace. Missing bounded factorization and divergent trace both give infinity.relativeSchatten: Definition III.7, PDF p.8: relative Schatten class with finite z-power trace.alphaZD: Definition III.9, PDF p.8: unnormalized divergence, with extended natural log.renyiDTilde: Definition III.10, PDF p.8: trace correction, used with positive finite mass.operatorCompression: Section II, PDF p.3: K A K*, for maps between distinct Hilbert spaces.NonzeroCompressionPair: Section II, PDF p.3: both compressed outputs must be nonzero.OrthogonalProjectionOperator: Section II, PDF p.3: orthogonal projection, with no rank restriction.HasFiniteOperatorRange: Section II, PDF p.3: bounded operator with finite-dimensional range.OperatorEffect: Section II, PDF p.3: all effects, including zero.renyiQFa: Definition III.35, PDF p.17: Q finite approximation, using actual finite-rank orthogonal projections with both compressed outputs nonzero.renyiDFa: Definition III.35, PDF p.17: source's equivalent logarithm-of-Q formula for Dfa.renyiDTildeFa: Definition III.35, PDF p.17: Dtilde finite approximation uses original Tr(rho).variationalF: PDF p.12, (III.33): F(A), with z/alpha power inside the trace.variationalG: PDF p.12, (III.33): G(A), with z/(alpha-1) power inside the trace.FinitePenalty: PDF p.12: finite spectral-penalty domain, including A=0.PositiveFinitePenalty: PDF p.12: positive finite penalty makes log G finite.additivePayoff: PDF p.12: additive payoff, only used with finite G.logarithmicPayoff: PDF p.12: logarithmic payoff, only used with positive finite G.VariationalHypothesis: PDF p.12: the three alternatives a/b/c, without imposing Q finite.maxD: PDF p.7, (III.15): max-relative entropy from the extended domination gauge.tildePsi: PDF p.23, (III.74)--(III.75): perspective with correct endpoint extension. The defective non-tilde psi(+infinity) clause is never used.tildePsiFa: PDF p.23: ordinary finite approximation of the perspective, with endpoints, formed by compressions; it is not defined by a desired approximation theorem.hoeffdingFa: Definition III.50, PDF p.23: ordinary-fa, with the open parameter interval.hatHoeffdingFa: Definition III.50, PDF p.23: endpoint-inclusive ordinary-fa anti-divergence. The extended supremum equals the source's attained maximum.OperatorStrongLimit: Section II, PDF p.3: strong convergence of maps between distinct spaces.HeisenbergOperation: Section IV C, PDF pp.33--34, (IV.119): normal unital CP map with an actual countable Kraus representation. Vector HasSum is its strong operator sum. Finite Kraus families are zero-padded. For separable H,K these represent exactly the source's maps, by its cited Stinespring representation.DualDefined: PDF p.34: partial dual defined precisely when the positive Kraus sum has a bounded positive strong limit. No automatic definedness on general PSD inputs.partialDual: PDF p.34: partial dual from its actual strong sum; zero outside its domain.BinarySequence: Section IV A, PDF p.28: arbitrary binary operator sequences. Index k means positive block length k+1. Spaces may vary; both operators are nonzero PSD.SequenceTest: Definition IV.1, PDF p.28: all effects at every block length, including zero.sequenceRate: PDF p.28: negative logarithmic generalized weight per positive block length. False is the null-hypothesis success weight, true is the type-II error weight.FeasibleTestSequence: Definition IV.1, PDF p.28: common lower type-II exponent constraint.zeroSequenceTest: PDF p.28: zero tests are permitted at every positive block length.lowerSC: Definition IV.1, PDF p.28: lower strong-converse exponent.upperSC: Definition IV.1, PDF p.28: upper strong-converse exponent.limitSC: Definition IV.1, PDF p.28: exponent restricted to sequences whose success exponent has an existing extended limit; this is not a limsup surrogate.sequenceTildePsi: PDF p.28: sequence perspective, a limsup of per-block single-system values.sequenceHatHoeffding: PDF p.28: endpoint-inclusive sequence Hoeffding anti-divergence.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P48
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P46
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P13
/-!
Mosonyi, arXiv:2107.08036v5. References are PDF pages.
Explicit deferrals appear in HARD.md and GAPS.json. Compilation is pending.
Q is constructed from the reduced bounded operator independently of variational
formulas and finite approximations. No unbounded power is encoded by bounded CFC.
-/
noncomputable section
open Filter
open scoped ENNReal NNReal BigOperators
namespace QAlgorithms.Papers.Independent.Intake100.P49
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Dependency50.P13
(IsPositive IsTraceClass TraceClass traceNormTopology)
open QAlgorithms.Papers.Independent.Bridge50.P48 (hilbertPositiveTrace)
variable {H K : Type*}
[NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
[NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
/-- Section II, PDF pp.2--3: self-adjoint positive operators, excluding zero. -/
def NonzeroPositive (A : H →L[ℂ] H) : Prop := IsPositive A ∧ A ≠ 0
example : ¬ NonzeroPositive (0 : H →L[ℂ] H) := by simp [NonzeroPositive]
/-- Section II, PDF p.3: bounded spectral power, used only for strictly positive
exponents. This helper does not represent unbounded negative powers or support A^0. -/
def positiveSpectralPower (A : H →L[ℂ] H) (p : ℝ) : H →L[ℂ] H :=
cfc (fun x : ℝ => Real.rpow x p) A
example (A : H →L[ℂ] H) (hA : IsPositive A) : positiveSpectralPower A 1 = A := by
unfold positiveSpectralPower
have hfun : (fun x : ℝ => Real.rpow x 1) = (fun x : ℝ => x) := by
funext x
exact Real.rpow_one x
rw [hfun]
exact cfc_id' ℝ A (ha := hA.1)
/-- Lemma III.1 and Remark III.3, PDF pp.5--7: reduced bounded positive solution.
The kernel condition is exactly support(R)<=support(sigma) for positive R. -/
def IsReducedRelative (alpha z : ℝ) (rho sigma R : H →L[ℂ] H) : Prop :=
IsPositive R ∧
positiveSpectralPower sigma ((alpha - 1) / (2 * z)) * R *
positiveSpectralPower sigma ((alpha - 1) / (2 * z)) = positiveSpectralPower rho (alpha / z) ∧
∀ x, sigma x = 0 → R x = 0
/-- Definition III.2 and Remark III.3, PDF p.7: B_alpha_z through its equivalent
unique reduced positive factorization. No bound on Q is used to define it. -/
def relativeBounded (alpha z : ℝ) (rho sigma : H →L[ℂ] H) : Prop :=
NonzeroPositive rho ∧ ∃ R, IsReducedRelative alpha z rho sigma R
/-- Remark III.3, PDF p.7: reduced operator from the concrete factorization.
Default zero is outside the relative bounded domain. -/
def reducedRelative (alpha z : ℝ) (rho sigma : H →L[ℂ] H) : H →L[ℂ] H :=
if h : ∃ R, IsReducedRelative alpha z rho sigma R then h.choose else 0
example (alpha z : ℝ) (rho sigma : H →L[ℂ] H)
(h : ¬ ∃ R, IsReducedRelative alpha z rho sigma R) :
reducedRelative alpha z rho sigma = 0 := by simp [reducedRelative, h]
/-- Definition III.9, PDF p.8: Q from the reduced operator's z-power trace.
Missing bounded factorization and divergent trace both give infinity. -/
def alphaZQ {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : ℝ≥0∞ :=
if relativeBounded alpha z rho sigma then
hilbertPositiveTrace b (positiveSpectralPower (reducedRelative alpha z rho sigma) z)
else ⊤
example {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ) (sigma : H →L[ℂ] H) :
alphaZQ b alpha z 0 sigma = ⊤ := by
simp [alphaZQ, relativeBounded, NonzeroPositive]
/-- Definition III.7, PDF p.8: relative Schatten class with finite z-power trace. -/
def relativeSchatten {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : Prop :=
relativeBounded alpha z rho sigma ∧
hilbertPositiveTrace b (positiveSpectralPower (reducedRelative alpha z rho sigma) z) < ⊤
/-- Definition III.9, PDF p.8: unnormalized divergence, with extended natural log. -/
def alphaZD {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
((1 / (alpha - 1) : ℝ) : EReal) * ENNReal.log (alphaZQ b alpha z rho sigma)
/-- Definition III.10, PDF p.8: trace correction, used with positive finite mass. -/
def renyiDTilde {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
alphaZD b alpha z rho sigma -
((1 / (alpha - 1) : ℝ) : EReal) * ENNReal.log (hilbertPositiveTrace b rho)
example {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) (h : hilbertPositiveTrace b rho = 1) :
renyiDTilde b alpha z rho sigma = alphaZD b alpha z rho sigma := by
simp [renyiDTilde, h]
/-- Section II, PDF p.3: K A K*, for maps between distinct Hilbert spaces. -/
def operatorCompression (L : H →L[ℂ] K) (A : H →L[ℂ] H) : K →L[ℂ] K :=
L.comp (A.comp L.adjoint)
example (L : H →L[ℂ] K) : operatorCompression L 0 = 0 := by simp [operatorCompression]
/-- Section II, PDF p.3: both compressed outputs must be nonzero. -/
def NonzeroCompressionPair (rho sigma : H →L[ℂ] H) (L : H →L[ℂ] K) : Prop :=
operatorCompression L rho ≠ 0 ∧ operatorCompression L sigma ≠ 0
/-- Section II, PDF p.3: orthogonal projection, with no rank restriction. -/
def OrthogonalProjectionOperator (P : H →L[ℂ] H) : Prop := P.adjoint = P ∧ P * P = P
example : OrthogonalProjectionOperator (0 : H →L[ℂ] H) := by simp [OrthogonalProjectionOperator]
/-- Section II, PDF p.3: bounded operator with finite-dimensional range. -/
def HasFiniteOperatorRange (L : H →L[ℂ] K) : Prop :=
FiniteDimensional ℂ (LinearMap.range L.toLinearMap)
/-- Section II, PDF p.3: all effects, including zero. -/
def OperatorEffect (T : H →L[ℂ] H) : Prop := IsPositive T ∧ IsPositive (1 - T)
example : OperatorEffect (0 : H →L[ℂ] H) := by
constructor
· simp [IsPositive]
· simp only [sub_zero]
refine ⟨ContinuousLinearMap.adjoint_one (𝕜 := ℂ) (E := H), ?_⟩
intro x
change 0 ≤ (inner ℂ x x).re
exact @inner_self_nonneg ℂ _ _ _ _ x
/-- Definition III.35, PDF p.17: Q finite approximation, using actual finite-rank
orthogonal projections with both compressed outputs nonzero. -/
def renyiQFa {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : ℝ≥0∞ :=
⨆ P : {P : H →L[ℂ] H // OrthogonalProjectionOperator P ∧ HasFiniteOperatorRange P ∧ NonzeroCompressionPair rho sigma P},
alphaZQ b alpha z (operatorCompression P.val rho) (operatorCompression P.val sigma)
/-- Definition III.35, PDF p.17: source's equivalent logarithm-of-Q formula for Dfa. -/
def renyiDFa {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
((1 / (alpha - 1) : ℝ) : EReal) * ENNReal.log (renyiQFa b alpha z rho sigma)
/-- Definition III.35, PDF p.17: Dtilde finite approximation uses original Tr(rho). -/
def renyiDTildeFa {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
renyiDFa b alpha z rho sigma -
((1 / (alpha - 1) : ℝ) : EReal) * ENNReal.log (hilbertPositiveTrace b rho)
example {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) (h : hilbertPositiveTrace b rho = 1) :
renyiDTildeFa b alpha z rho sigma = renyiDFa b alpha z rho sigma := by
simp [renyiDTildeFa, h]
/-- PDF p.12, (III.33): F(A), with z/alpha power inside the trace. -/
def variationalF {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho A : H →L[ℂ] H) : ℝ≥0∞ :=
hilbertPositiveTrace b (positiveSpectralPower
(positiveSpectralPower A (1 / 2) * positiveSpectralPower rho (alpha / z) * positiveSpectralPower A (1 / 2))
(z / alpha))
/-- PDF p.12, (III.33): G(A), with z/(alpha-1) power inside the trace. -/
def variationalG {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(sigma A : H →L[ℂ] H) : ℝ≥0∞ :=
hilbertPositiveTrace b (positiveSpectralPower
(positiveSpectralPower A (1 / 2) * positiveSpectralPower sigma ((alpha - 1) / z) *
positiveSpectralPower A (1 / 2)) (z / (alpha - 1)))
/-- PDF p.12: finite spectral-penalty domain, including A=0. -/
def FinitePenalty {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(sigma A : H →L[ℂ] H) : Prop :=
IsPositive A ∧ variationalG b alpha z sigma A < ⊤
/-- PDF p.12: positive finite penalty makes log G finite. -/
def PositiveFinitePenalty {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(sigma A : H →L[ℂ] H) : Prop :=
FinitePenalty b alpha z sigma A ∧ 0 < variationalG b alpha z sigma A
/-- PDF p.12: additive payoff, only used with finite G. -/
def additivePayoff {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma A : H →L[ℂ] H) : EReal :=
(alpha : EReal) * (variationalF b alpha z rho A : EReal) +
((1 - alpha : ℝ) : EReal) * (variationalG b alpha z sigma A : EReal)
/-- PDF p.12: logarithmic payoff, only used with positive finite G. -/
def logarithmicPayoff {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma A : H →L[ℂ] H) : EReal :=
(alpha : EReal) * ENNReal.log (variationalF b alpha z rho A) +
((1 - alpha : ℝ) : EReal) * ENNReal.log (variationalG b alpha z sigma A)
/-- PDF p.12: the three alternatives a/b/c, without imposing Q finite. -/
def VariationalHypothesis {I : Type*} (b : HilbertBasis I ℂ H) (alpha z : ℝ)
(rho sigma : H →L[ℂ] H) : Prop :=
(¬ relativeBounded alpha z rho sigma) ∨
(relativeBounded alpha z rho sigma ∧ ¬ relativeSchatten b alpha z rho sigma ∧
IsCompactOperator sigma) ∨ relativeSchatten b alpha z rho sigma
/-- PDF p.7, (III.15): max-relative entropy from the extended domination gauge. -/
def maxD (rho sigma : H →L[ℂ] H) : EReal :=
ENNReal.log (QAlgorithms.Papers.Independent.Bridge50.P48.maxSandwichNorm (rho, sigma))
/-- PDF p.23, (III.74)--(III.75): perspective with correct endpoint extension.
The defective non-tilde psi(+infinity) clause is never used. -/
def tildePsi {I : Type*} (b : HilbertBasis I ℂ H) (u : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
if u = 0 then ENNReal.log (hilbertPositiveTrace b rho)
else if u = 1 then maxD rho sigma
else if 0 < u ∧ u < 1 then
((1 - u : ℝ) : EReal) * ENNReal.log (alphaZQ b (1 / (1 - u)) (1 / (1 - u)) rho sigma)
else ⊤
example {I : Type*} (b : HilbertBasis I ℂ H) (rho sigma : H →L[ℂ] H) :
tildePsi b 0 rho sigma = ENNReal.log (hilbertPositiveTrace b rho) ∧
tildePsi b 1 rho sigma = maxD rho sigma := by simp [tildePsi]
/-- PDF p.23: ordinary finite approximation of the perspective, with endpoints,
formed by compressions; it is not defined by a desired approximation theorem. -/
def tildePsiFa {I : Type*} (b : HilbertBasis I ℂ H) (u : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
⨆ P : {P : H →L[ℂ] H // OrthogonalProjectionOperator P ∧ HasFiniteOperatorRange P ∧ NonzeroCompressionPair rho sigma P},
tildePsi b u (operatorCompression P.val rho) (operatorCompression P.val sigma)
/-- Definition III.50, PDF p.23: ordinary-fa, with the open parameter interval. -/
def hoeffdingFa {I : Type*} (b : HilbertBasis I ℂ H) (r : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
⨆ u : Set.Ioo (0 : ℝ) 1, ((u.val * r : ℝ) : EReal) - tildePsiFa b u.val rho sigma
/-- Definition III.50, PDF p.23: endpoint-inclusive ordinary-fa anti-divergence.
The extended supremum equals the source's attained maximum. -/
def hatHoeffdingFa {I : Type*} (b : HilbertBasis I ℂ H) (r : ℝ)
(rho sigma : H →L[ℂ] H) : EReal :=
⨆ u : Set.Icc (0 : ℝ) 1, ((u.val * r : ℝ) : EReal) - tildePsiFa b u.val rho sigma
/-- Section II, PDF p.3: strong convergence of maps between distinct spaces. -/
def OperatorStrongLimit (L : ℕ → H →L[ℂ] K) (M : H →L[ℂ] K) : Prop :=
∀ x, Tendsto (fun n => L n x) atTop (nhds (M x))
example (M : H →L[ℂ] K) : OperatorStrongLimit (fun _ => M) M :=
fun _ => tendsto_const_nhds
/-- Section IV C, PDF pp.33--34, (IV.119): normal unital CP map with an actual
countable Kraus representation. Vector HasSum is its strong operator sum.
Finite Kraus families are zero-padded. For separable H,K these represent exactly
the source's maps, by its cited Stinespring representation. -/
structure HeisenbergOperation (H K : Type*)
[NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
[NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K] where
map : (K →L[ℂ] K) → (H →L[ℂ] H)
kraus : ℕ → H →L[ℂ] K
representation : ∀ A x, HasSum
(fun i => (kraus i).adjoint (A (kraus i x))) (map A x)
unital : map 1 = 1
/-- PDF p.34: partial dual defined precisely when the positive Kraus sum has a
bounded positive strong limit. No automatic definedness on general PSD inputs. -/
def DualDefined (Phi : HeisenbergOperation H K) (A : H →L[ℂ] H) : Prop :=
∃ B : K →L[ℂ] K, IsPositive B ∧
∀ y, HasSum (fun i => Phi.kraus i (A ((Phi.kraus i).adjoint y))) (B y)
/-- PDF p.34: partial dual from its actual strong sum; zero outside its domain. -/
def partialDual (Phi : HeisenbergOperation H K) (A : H →L[ℂ] H) : K →L[ℂ] K :=
if h : DualDefined Phi A then h.choose else 0
example (Phi : HeisenbergOperation H K) (A : H →L[ℂ] H) (h : ¬ DualDefined Phi A) :
partialDual Phi A = 0 := by simp [partialDual, h]
example (Phi : HeisenbergOperation H K) : DualDefined Phi 0 := by
-- PDF p.34: zero has a bounded dual sum, even when other inputs do not.
refine ⟨0, by simp [IsPositive], ?_⟩
intro y
simpa using (hasSum_zero : HasSum (fun _ : ℕ => (0 : K)) 0)
/-- Section IV A, PDF p.28: arbitrary binary operator sequences. Index k means
positive block length k+1. Spaces may vary; both operators are nonzero PSD. -/
structure BinarySequence where
data : ℕ → QAlgorithms.Papers.Independent.Claimed50.P46.QuantumData
nonzero : ∀ k, (data k).rho ≠ 0 ∧ (data k).sigma ≠ 0
separable : ∀ k, TopologicalSpace.SeparableSpace (data k).H
/-- Definition IV.1, PDF p.28: all effects at every block length, including zero. -/
def SequenceTest (S : BinarySequence) :=
(k : ℕ) → {T : (S.data k).H →L[ℂ] (S.data k).H // OperatorEffect T}
/-- PDF p.28: negative logarithmic generalized weight per positive block length.
False is the null-hypothesis success weight, true is the type-II error weight. -/
def sequenceRate (S : BinarySequence) (T : SequenceTest S) (alternative : Bool)
(k : ℕ) : EReal :=
let A := if alternative then (S.data k).sigma else (S.data k).rho
let weight := QAlgorithms.Papers.Independent.Claimed50.P46.quantumWeight
(S.data k) A (T k).val
let scale : EReal := ((1 / ((k : ℝ) + 1) : ℝ) : EReal)
show EReal from -(scale * ENNReal.log weight)
/-- Definition IV.1, PDF p.28: common lower type-II exponent constraint. -/
def FeasibleTestSequence (S : BinarySequence) (r : ℝ) (T : SequenceTest S) : Prop :=
(r : EReal) ≤ liminf (sequenceRate S T true) atTop
/-- PDF p.28: zero tests are permitted at every positive block length. -/
def zeroSequenceTest (S : BinarySequence) : SequenceTest S :=
fun k => ⟨0, by
constructor
· simp [IsPositive]
· simp only [sub_zero]
refine ⟨ContinuousLinearMap.adjoint_one (𝕜 := ℂ) (E := (S.data k).H), ?_⟩
intro x
change 0 ≤ (inner ℂ x x).re
exact @inner_self_nonneg ℂ _ _ _ _ x⟩
example (S : BinarySequence) (k : ℕ) : (zeroSequenceTest S k).val = 0 := rfl
/-- Definition IV.1, PDF p.28: lower strong-converse exponent. -/
def lowerSC (S : BinarySequence) (r : ℝ) : EReal :=
sInf {v | ∃ T : SequenceTest S, FeasibleTestSequence S r T ∧
v = liminf (sequenceRate S T false) atTop}
/-- Definition IV.1, PDF p.28: upper strong-converse exponent. -/
def upperSC (S : BinarySequence) (r : ℝ) : EReal :=
sInf {v | ∃ T : SequenceTest S, FeasibleTestSequence S r T ∧
v = limsup (sequenceRate S T false) atTop}
/-- Definition IV.1, PDF p.28: exponent restricted to sequences whose success
exponent has an existing extended limit; this is not a limsup surrogate. -/
def limitSC (S : BinarySequence) (r : ℝ) : EReal :=
sInf {v | ∃ T : SequenceTest S, FeasibleTestSequence S r T ∧
Tendsto (sequenceRate S T false) atTop (nhds v)}
/-- PDF p.28: sequence perspective, a limsup of per-block single-system values. -/
def sequenceTildePsi (S : BinarySequence) (u : ℝ) : EReal :=
limsup (fun k : ℕ => ((1 / ((k : ℝ) + 1) : ℝ) : EReal) *
tildePsi (S.data k).basis u (S.data k).rho (S.data k).sigma) atTop
/-- PDF p.28: endpoint-inclusive sequence Hoeffding anti-divergence. -/
def sequenceHatHoeffding (S : BinarySequence) (r : ℝ) : EReal :=
⨆ u : Set.Icc (0 : ℝ) 1, ((u.val * r : ℝ) : EReal) - sequenceTildePsi S u.val
end QAlgorithms.Papers.Independent.Intake100.P49
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P49.BinarySequence
A binary sequence consists, for every , including , of a complex Hilbert space , an arbitrary indexing type , a Hilbert basis , and bounded complex-linear operators , together with proofs that both operators are positive, both are nonzero, and is separable. Positivity here requires and for every . The spaces and basis-index types may vary with ; no countability assumption is explicitly imposed on , and neither trace-class membership nor finite or unit trace is required of .
QAlgorithms.Papers.Independent.Intake100.P49.DualDefined
Let be complete complex inner-product spaces, and let consist of a function on bounded operators and bounded maps , , such that and, for every bounded operator and , the finite-subset sums of converge in norm to . For an arbitrary bounded complex-linear operator , this predicate means that there exists a bounded complex-linear operator with
Each last sum must converge in norm over finite subsets of . Positivity is required of the witness ; no positivity assumption is imposed on .
QAlgorithms.Papers.Independent.Intake100.P49.FeasibleTestSequence
Let consist of separable complex Hilbert spaces , Hilbert bases , and nonzero positive bounded operators , with positive meaning self-adjoint and having nonnegative real quadratic forms. For a real number and a sequence of bounded tests satisfying , feasibility means precisely
Square roots use continuous functional calculus, the sum lies in , and the logarithm and lower limit are extended real, with and . The parameter may be any real number, and feasibility imposes only this asymptotic lower-bound condition on the -weights.
QAlgorithms.Papers.Independent.Intake100.P49.FinitePenalty
For a complex Hilbert space , an arbitrary index type , a Hilbert basis indexed by , real numbers , and continuous complex-linear operators , let denote continuous functional calculus with the total real function . This predicate requires and for every , and requires the following extended nonnegative sum to be strictly less than :
Here products are compositions and is a separately selected Hilbert basis, independently of . The sum is permitted to be zero. There is no positivity or trace-class requirement on , no trace-class requirement on , and no restrictions on or ; division by zero in the exponents gives zero.
QAlgorithms.Papers.Independent.Intake100.P49.HasFiniteOperatorRange
For complex Hilbert spaces and and a continuous complex-linear map , this predicate means that the complex vector space is finite-dimensional. No bound on its dimension is specified; the zero map, whose range has dimension zero, is included.
QAlgorithms.Papers.Independent.Intake100.P49.HeisenbergOperation
For types equipped with normed additive-group structures, complex inner-product-space structures, and completeness, this structure consists of a function from bounded complex-linear operators on to bounded complex-linear operators on , and a sequence of bounded complex-linear maps , indexed by , satisfying
The sum condition requires convergence in of the net of sums over finite subsets of , with the displayed value as its sum.
QAlgorithms.Papers.Independent.Intake100.P49.IsReducedRelative
For a complex Hilbert space , arbitrary real numbers , and bounded complex-linear operators , write , with the total real-power and functional-calculus conventions. This predicate means that , that for every , and that
Operator multiplication is composition. No positivity or nonzero condition is imposed on or , and no restriction is imposed on or ; in particular, when , both displayed exponents are zero because real division by zero is defined to be zero.
QAlgorithms.Papers.Independent.Intake100.P49.NonzeroCompressionPair
For complex Hilbert spaces , bounded complex-linear operators , and a bounded complex-linear map , this predicate means precisely
It imposes no positivity, normalization, isometry, or finite-rank requirement. In particular, it cannot hold when or either Hilbert space is zero-dimensional.
QAlgorithms.Papers.Independent.Intake100.P49.NonzeroPositive
For a complex Hilbert space and a bounded complex-linear operator , this predicate means that , that for every , and that . The zero-dimensional Hilbert space is allowed, but no operator on it satisfies this predicate.
QAlgorithms.Papers.Independent.Intake100.P49.OperatorEffect
For a complex Hilbert space and a continuous complex-linear operator , this predicate means that both and are positive in the following explicit sense: , , and, for every , and . No finite-dimensionality or trace-class condition is imposed.
QAlgorithms.Papers.Independent.Intake100.P49.OperatorStrongLimit
For complete complex inner-product spaces , a sequence of bounded complex-linear maps , indexed by all , and a bounded complex-linear map , this predicate means that for every ,
The convergence requirement is pointwise in .
QAlgorithms.Papers.Independent.Intake100.P49.OrthogonalProjectionOperator
For a complex Hilbert space and a bounded complex-linear operator , this predicate means that and . No nonzero or finite-rank condition is imposed; both the zero operator and the identity satisfy it, including on the zero-dimensional space.
QAlgorithms.Papers.Independent.Intake100.P49.PositiveFinitePenalty
For a complex Hilbert space , an arbitrary index type , a Hilbert basis indexed by , real numbers , and continuous complex-linear operators , let denote continuous functional calculus with the total real function . This predicate requires , for all , and
Products are compositions, and is a Hilbert basis selected independently of the supplied basis . No positivity or trace-class assumption is imposed on , no trace-class assumption is imposed on , and no range restriction is imposed on or . Division by zero in the exponents gives zero.
QAlgorithms.Papers.Independent.Intake100.P49.SequenceTest
For a binary sequence , consisting at every of a separable complex Hilbert space , a Hilbert basis indexed by some type , and two nonzero positive bounded operators , a test sequence is a choice of bounded complex-linear operator for every . Each and must be positive, meaning self-adjoint with nonnegative real quadratic forms; equivalently, . No relation between the tests at different indices is required, and the definition imposes no normalization or trace-class condition on .
QAlgorithms.Papers.Independent.Intake100.P49.VariationalHypothesis
Let be a complex Hilbert space, an arbitrary index type, a Hilbert basis indexed by , , and continuous complex-linear operators. Write for continuous functional calculus with the total real function . Let be the condition that is positive and nonzero and there exists a positive continuous operator satisfying
where positivity means self-adjointness and nonnegative real quadratic forms. Whenever such an exists, select one by the specified choice construction; otherwise select the zero operator. Let be the conjunction of and
where is a Hilbert basis selected independently of . The predicate being defined is exactly
Thus failure of suffices; when holds, either the displayed sum must be finite or must be compact. No trace-class assumption or separate positivity assumption on is imposed, and are unrestricted, with real division by zero interpreted as zero.
QAlgorithms.Papers.Independent.Intake100.P49.additivePayoff
Let be a complex Hilbert space, an arbitrary index type, a Hilbert basis indexed by , , and continuous complex-linear operators. Define by continuous functional calculus with the total real function , and define using a Hilbert basis selected independently of . The declaration defines the extended-real value
Products inside the functional calculus are operator compositions, and the nonnegative extended trace values are embedded into the extended reals before scalar multiplication and addition. No positivity, trace-class, or finite-penalty hypotheses are imposed. All real parameters are allowed; division by zero gives zero, and the arithmetic remains total when a trace value is infinite, including multiplication of an infinity by zero.
QAlgorithms.Papers.Independent.Intake100.P49.alphaZD
For a complex Hilbert space , any index type , a Hilbert basis , real parameters , and bounded complex-linear operators , define , with total real-power and functional-calculus conventions. Let unless is nonzero and positive, meaning and for every , and there exists a positive bounded operator with
When these conditions hold, let be the classically selected witness and set , where is the Hilbert basis selected from the existence theorem, independently of . The definition returns the extended-real value
where the logarithm is natural, , and . All parameters are allowed and the arithmetic is total; in particular, at the coefficient is zero and the result is zero, including when is infinite.
QAlgorithms.Papers.Independent.Intake100.P49.alphaZQ
For a complex Hilbert space , an arbitrary index type , a Hilbert basis , real numbers , and bounded complex-linear operators , put , with total real-power and functional-calculus conventions. Let consist of all bounded operators such that , for every , , and . Fix the Hilbert basis selected by classical choice from the existence of a Hilbert basis of , and define
If , , for every , and , the defined value is , where is the classically selected member of ; otherwise the value is . The supplied basis is not used in this trace sum. There are no parameter restrictions, division by zero gives zero, and the sum may be infinite.
QAlgorithms.Papers.Independent.Intake100.P49.hatHoeffdingFa
For a complete complex inner-product space , any type , a Hilbert basis , , and arbitrary bounded complex-linear operators , this defines
in the extended reals. To specify the terms, write for self-adjointness and nonnegative real quadratic form, for the continuous functional calculus of , and , where is the Hilbert basis selected by the existence-of-a-Hilbert-basis construction independently of . The function used here is
For , if , , and a bounded exists with and ; is the selected witness, and otherwise . The infimum is in , with empty infimum , while and . Empty projection suprema equal , so either operator being zero gives the defined value . Both and are included, and is unrestricted.
QAlgorithms.Papers.Independent.Intake100.P49.hoeffdingFa
For a complete complex inner-product space , any type , a Hilbert basis , , and arbitrary bounded complex-linear operators , this defines the extended-real number
Here means and for every , is the continuous functional calculus of , and , using a Hilbert basis selected by the existence-of-a-Hilbert-basis construction independently of . For , equals when , , and a bounded exists with
is the selected witness, and otherwise. Logarithms satisfy and , and an empty inner supremum is . In particular, if either supplied operator is zero, there are no eligible projections and the defined value is . The parameter excludes both endpoints, and has no sign restriction.
QAlgorithms.Papers.Independent.Intake100.P49.limitSC
Let consist, at every , of a separable complex Hilbert space , a Hilbert basis , and nonzero positive bounded operators , with positivity meaning self-adjointness and nonnegative real quadratic forms. For a test sequence , put
Square roots use continuous functional calculus, the sums lie in , and the rates lie in the extended reals, with zero weight giving and infinite weight giving . For every real , the definition takes the extended-real infimum
Convergence here is convergence in the extended-real topology, so is permitted. The all-zero test supplies the candidate for every real ; the definition does not assert that the infimum is attained.
QAlgorithms.Papers.Independent.Intake100.P49.logarithmicPayoff
Let be a complex Hilbert space, an arbitrary index type, a Hilbert basis indexed by , , and continuous complex-linear operators. Write for continuous functional calculus with the total real function , and for the extended nonnegative sum formed using a Hilbert basis selected independently of . The declaration defines
as an extended-real value, with operator composition inside the functional calculus. The logarithms are natural extended logarithms, equal to at zero and at infinity. There are no positivity, trace-class, finite-penalty, or parameter-range assumptions. Division by zero in every exponent gives zero, and multiplication and addition use total extended-real arithmetic even when logarithms are infinite.
QAlgorithms.Papers.Independent.Intake100.P49.lowerSC
Let consist, for every , of a separable complex Hilbert space , a Hilbert basis , and nonzero positive bounded operators , where positivity means self-adjointness with nonnegative real quadratic forms. For a test sequence with , and or , define
The square root uses continuous functional calculus, the sum is in , and is extended real, with zero weight giving and infinite weight giving . For every real , the defined value is
Thus the constraint uses the lower limit of the -rates, and the minimized value uses the lower limit of the -rates. The all-zero test is allowed and has both rates , so the admissible family is nonempty for every real ; no attainment or finite value is part of this definition.
QAlgorithms.Papers.Independent.Intake100.P49.maxD
For a complete complex inner-product space and bounded complex-linear operators , this defines
The infimum is taken in , and the logarithm takes values in the extended reals, with and . Thus an empty admissible set gives , while an infimum of zero gives . Neither operator is assumed positive, nonzero, trace class, or normalized.
QAlgorithms.Papers.Independent.Intake100.P49.operatorCompression
For complex Hilbert spaces , a bounded complex-linear map , and a bounded complex-linear operator , this defines the bounded operator on
There is no assumption that is an isometry or projection, or that is positive; zero maps and zero-dimensional spaces are included.
QAlgorithms.Papers.Independent.Intake100.P49.partialDual
Let be complete complex inner-product spaces, and let consist of a function on bounded operators and bounded maps , , with and norm-convergent finite-subset sums for every bounded and . For any bounded complex-linear , this defines a bounded operator on by selecting a witness , if one exists, satisfying
where the sums converge in norm over finite subsets of . If no such positive bounded operator exists, the defined value is the zero operator.
QAlgorithms.Papers.Independent.Intake100.P49.positiveSpectralPower
For a complex Hilbert space , any bounded complex-linear operator , and any real number , this defines
using the real continuous functional calculus and the total real-power function. There is no assumption that is positive or self-adjoint, or that is positive. The functional calculus returns zero when its required self-adjointness or continuity-on-the-spectrum condition fails; the scalar power convention includes and for .
QAlgorithms.Papers.Independent.Intake100.P49.reducedRelative
For a complex Hilbert space , arbitrary , and bounded complex-linear operators , let , using total real powers and functional calculus. If there exists a bounded operator such that , for every , and
this definition selects one such by classical choice; otherwise it returns the zero operator. It does not require to be positive or nonzero and does not assert uniqueness of the selected operator. All real parameters are allowed, including , for which the exponents involving division by are zero.
QAlgorithms.Papers.Independent.Intake100.P49.relativeBounded
For a complex Hilbert space , arbitrary , and bounded complex-linear operators , write , using total real powers and functional calculus. This predicate means that , , and for every , and that there exists a bounded operator satisfying
There is no positivity assumption on , no uniqueness requirement for , and no parameter restriction; division by zero gives zero. On the zero-dimensional space this predicate cannot hold because it requires .
QAlgorithms.Papers.Independent.Intake100.P49.relativeSchatten
For a complex Hilbert space , any index type , a Hilbert basis , real parameters , and bounded complex-linear operators , put , using total real powers and functional calculus. This predicate requires , , and for every , together with the existence of a bounded positive operator , meaning and for every , satisfying
For the member selected by classical choice from these witnesses, it additionally requires
where is a Hilbert basis selected from the existence theorem, rather than the supplied . No positivity assumption on or restriction on is imposed; division by zero gives zero.
QAlgorithms.Papers.Independent.Intake100.P49.renyiDFa
Let be a complex Hilbert space, an arbitrary index type, a Hilbert basis indexed by , , and continuous complex-linear operators. Define by continuous functional calculus with the total real function , and define using a separately selected Hilbert basis , independently of . For operators , let unless is positive and nonzero and there exists a positive continuous operator satisfying
when these conditions hold, select such an and set . Positive operators here are self-adjoint operators with nonnegative real quadratic forms. Let be the supremum of over all continuous operators satisfying , , finite-dimensional range, and . The declaration defines the extended-real value
The logarithm is natural, with and ; an empty supremum defining is zero. There are no positivity, trace-class, or parameter-range assumptions on the inputs. All real divisions are total, so a zero denominator gives zero; in particular, at the displayed extended-real product is zero, including when its logarithmic factor is infinite.
QAlgorithms.Papers.Independent.Intake100.P49.renyiDTilde
For a complex Hilbert space , any index type , a Hilbert basis , real parameters , and bounded complex-linear operators , put , using total real powers and functional calculus, and put , where is the Hilbert basis selected by classical choice from its existence, independently of . Set unless is nonzero and positive and there is a positive bounded operator satisfying and ; here positivity of an operator means and for every . When such witnesses exist, set for the classically selected witness . This definition returns
in the extended reals, using natural logarithms with , , and total extended-real arithmetic. It imposes no normalization, finiteness, positivity condition on , or restriction on ; division by zero gives zero, and the value at is zero.
QAlgorithms.Papers.Independent.Intake100.P49.renyiDTildeFa
Let be a complex Hilbert space, an arbitrary index type, a Hilbert basis indexed by , , and continuous complex-linear operators. Write for continuous functional calculus with the total real function , and put , using a Hilbert basis selected independently of . For , define unless is positive and nonzero and there is a positive continuous operator with
otherwise, using a selected such , set . Positivity means self-adjointness and nonnegative real quadratic forms. If is the supremum of over self-adjoint idempotent continuous operators with finite-dimensional range and both compressions nonzero, the declaration defines
Both logarithms are natural extended logarithms, taking values at zero and at infinity; the supremum defining is zero if its indexing family is empty. No positivity, trace-class, nonzero-trace, or parameter restrictions are assumed. Real division by zero gives zero, and the expression uses total extended-real arithmetic even when infinities occur; at its value is zero.
QAlgorithms.Papers.Independent.Intake100.P49.renyiQFa
Let be a complex Hilbert space, an arbitrary index type, a Hilbert basis of , , and continuous complex-linear operators. Write for the continuous-functional-calculus expression obtained by applying the total real function to . Also write , where is a Hilbert basis selected by the existence-of-a-Hilbert-basis construction, independently of the supplied basis . The defined value is
Here unless is nonzero and positive and there exists a positive continuous operator such that
Positivity means self-adjointness together with nonnegative real quadratic forms on every vector. When these conditions hold, one such is selected and . Neither nor is assumed positive or trace-class, and no restriction is imposed on or ; real division by zero has value zero. The supremum of an empty family is zero, in particular when or .
QAlgorithms.Papers.Independent.Intake100.P49.sequenceHatHoeffding
For every binary sequence and real , this definition gives the extended real number
The data of consist, for each , of a separable complete complex Hilbert space , a supplied Hilbert basis , and nonzero positive bounded operators , where positivity means self-adjointness and nonnegative real quadratic forms; no trace-class or normalization assumption is imposed. To specify , let denote continuous functional calculus with the real power function, and let
using a Hilbert basis chosen by the existence-of-basis choice in the definition, independently of . Then
and, for , setting ,
Here when there exists a positive bounded with
using the witness selected by the definition, and otherwise. Operator products are compositions. All logarithms are natural and extended by and ; an empty infimum in is . Both endpoints occur in the supremum, occurs in each limit superior, and is unrestricted in sign.
QAlgorithms.Papers.Independent.Intake100.P49.sequenceRate
Let be a binary sequence with separable complex Hilbert spaces , Hilbert bases , and nonzero positive bounded operators ; positivity means self-adjointness and nonnegative real quadratic forms. Let be a test sequence, so and are positive bounded operators. For a Boolean choice and an index , set when is true and when is false. With the continuous-functional-calculus square root of , define
This is an extended-real value, using the natural logarithm: weight gives rate , weight gives rate , and a finite positive weight gives the displayed ordinary real expression. The definition includes , where the scale is , and requires neither trace-class membership nor trace normalization of the hypotheses.
QAlgorithms.Papers.Independent.Intake100.P49.sequenceTildePsi
For a binary sequence , each supplies a separable complete complex Hilbert space , a Hilbert basis , and nonzero bounded operators that are positive, meaning self-adjoint with for every ; neither trace-class membership nor trace normalization is required. For any real , this definition gives the extended real number
Here, writing for the continuous functional calculus of the real power function on a positive operator, choose a Hilbert basis of by the existence-of-basis choice used in the definition, independently of the supplied , and put
The function inside the limit superior is defined by
For , if there exists a positive bounded operator satisfying
where is the witness selected by the definition; if no such exists, . Products of operators mean composition. The logarithm is the extended natural logarithm, with and , and an empty infimum in is . The index includes , whose scaling factor is .
QAlgorithms.Papers.Independent.Intake100.P49.tildePsi
Let be a complete complex inner-product space, any type, a Hilbert basis of , , and bounded complex-linear operators. Write to mean and for every , and write for the continuous functional calculus applied to the real function . Choose the Hilbert basis selected by the existence-of-a-Hilbert-basis construction, independently of , and put
For , define if , , and there exists a bounded operator satisfying
here is the witness selected by the definition. If these requirements fail, put . The declaration defines
The infimum is in , with empty infimum , and , . No positivity, nonzero, trace-class, or normalization hypothesis is imposed on the supplied operators; in particular, the interior value is when . The supplied basis does not determine the basis used in .
QAlgorithms.Papers.Independent.Intake100.P49.tildePsiFa
For a complete complex inner-product space , any type , a Hilbert basis , a real number , and arbitrary bounded complex-linear operators , this defines
To specify , write for self-adjointness together with for every , let denote the continuous functional calculus of , and set , using the Hilbert basis selected by the existence-of-a-Hilbert-basis construction independently of . Then
where if , , and a bounded exists such that and ; is the selected witness, and otherwise . Infima inside are in , with empty infimum , and , . The outer supremum is in the extended reals and equals if no projection meets its conditions, including when either or is zero; finite-dimensional range includes dimension zero, although the nonzero compression conditions exclude the zero projection.
QAlgorithms.Papers.Independent.Intake100.P49.upperSC
Let consist of separable complex Hilbert spaces , Hilbert bases , and nonzero positive bounded operators for every , where positive means self-adjoint with nonnegative real quadratic forms. For any sequence of bounded tests , define the extended-real rates
using continuous-functional-calculus square roots and the extended natural logarithm, so zero weight gives and infinite weight gives . For any real threshold , the defined value is
The constraint remains a lower-limit condition on the -rates. The all-zero test belongs to the admissible family and has both rates ; no finite value or minimizing test is asserted.
QAlgorithms.Papers.Independent.Intake100.P49.variationalF
For a complex Hilbert space , an arbitrary index type , a Hilbert basis indexed by , real numbers , and continuous complex-linear operators , write for continuous functional calculus applied to with the total real function . The declaration defines the value in
where products are operator composition and is a Hilbert basis selected independently of the argument . There are no positivity, trace-class, invertibility, or nonzero assumptions on or , and and may be zero or negative. The functional-calculus expressions are the total expressions specified above, and division by zero in their exponents gives zero. The sum may be infinite.
QAlgorithms.Papers.Independent.Intake100.P49.variationalG
For a complex Hilbert space , an arbitrary index type , a Hilbert basis indexed by , real numbers , and continuous complex-linear operators , write for continuous functional calculus applied to with the total real function . The declaration defines the value in
where products are operator composition and is a Hilbert basis selected independently of the argument . Neither operator is assumed positive, trace-class, invertible, or nonzero, and there are no restrictions on or . Division by zero in the exponents gives zero, including when or . The sum may be infinite.
QAlgorithms.Papers.Independent.Intake100.P49.zeroSequenceTest
For every binary sequence , comprising separable complex Hilbert spaces , Hilbert bases, and nonzero positive bounded operators , this definition supplies the test sequence for every . Each test is admissible because and are self-adjoint and have nonnegative real quadratic forms. Its square-root sandwich with either hypothesis is zero, so both hypothesis weights are and both corresponding rates are ; thus this test satisfies the feasibility condition for every real threshold .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.