Definitions for Noisy channel coding via privacy amplification and information reconciliation
DefinitionQAlgorithms_Papers_Independent_Intakenext100_P30The objects the formalized statements of Noisy channel coding via privacy amplification and information reconciliation (arXiv:1012.4814) are stated in. Each was checked against the paper by a blind read-back and a moderator.
RRDistribution: Normalized classical law; PDF pp.2–4. Zero-probability letters are allowed.rrUniform: Uniform law, used only on explicitly nonempty alphabets; PDF pp.2–4.RRIsCq: Cq channel validity: every output is PSD and has trace one; PDF p.2.RRCode: A stochastic encoder with private randomness and a normalized POVM decoder; PDF pp.2–4, (1)–(3). Both maps are fixed for the whole message alphabet.rrEncoded: Encoded channel output, averaging only the encoder's private randomness; PDF p.2, (3).rrCodeError: Messagewise probability of a decoding error; PDF p.2, (1).rrCodeLeak: Half the trace norm to one fixed reference, not necessarily an average; PDF p.2, (2) and footnote 2. The reference is required normalized at use sites.RRPublicGood: Reliability for every message; PDF p.2, (1).RRPrivateGood: Messagewise reliability and secrecy with one normalized reference chosen before the message; PDF p.2, (1)–(2), footnote 2.rrPublicCapacity: Public one-shot capacity in bits, as an extended supremum over all finite nonempty message alphabets; PDF p.2. Corrects printedlog2 ntonbits: (1) defines n = log2 |M|, and all subsequent formulas use that convention.rrPrivateCapacity: Private one-shot capacity, with arbitrary stochastic encoding and no shared key or entanglement; PDF p.2. Only the two output marginals matter.rrCqState: Cq state with classical first register; PDF p.3 and appendix p.7.rrClassicalState: Classical state with a trivial conditioning register; PDF p.7, (26).RRSubnormalized: Positive subnormalized smoothing candidates; PDF p.7, (29).rrPurifiedToCenter: Purified distance to the normalized center used in this paper; PDF p.7, (29). Root fidelity is the frozen primitive, so it is squared exactly once.rrMinEntropy: Extended conditional min-entropy, PDF p.7, (26). The exponent set is embedded before its supremum; the zero operator therefore has value +infinity.rrMaxEntropy: Extended max-entropy, PDF p.7, (25). The fidelity supremum is finite on finite-dimensional PSD states and positive for nonzero states; zero has value -infinity, not the default Real.logb value.rrSmoothMin: Smooth min-entropy over the full subnormalized purified-distance ball; PDF p.7, (29)–(30). Normalization of the center is supplied by its construction.rrSmoothMax: Smooth max-entropy; PDF p.7, (29), (31). Radius ≥ 1 includes zero and hence gives -infinity at a normalized center.rrPreprocess: Stochastic preprocessing T → X; PDF p.2, (6)–(7), and p.4.rrPublicDirectInfo: Optimized smooth public entropy difference, with the additive cost outside the optimization (it is uniform in the input law); PDF p.2, (4).rrPublicConverseInfo: Public converse expression, unsmoothed Hmin and smoothed Hmax; PDF p.2, (5).rrPrivateInfo: Private entropy difference optimized over every finite nonempty auxiliary T and stochastic map T → X; PDF p.2, (6)–(7). No attainment or bound on |T| is assumed. Fin (k+1) enumerates finite auxiliaries up to relabeling.rrConditionalEntropy: Conditional von Neumann entropy in bits, PDF p.7, following (28).rrPublicInformation: Optimized one-use public information on the fixed cq alphabet; PDF p.5, (16), (18). Extended suprema avoid junk values on unbounded sets.rrPrivateInformation: Private information over all finite auxiliaries and stochastic encoders, PDF p.5, (17), (19). Each entropy is computed from the same law and encoder.rrChannelPower: Independent uses of the fixed cq channel, with arbitrary joint classical input strings, PDF pp.5–6, (15)–(17). The empty product is one.rrPerUse: Reciprocal blocklength scaling; only n+1 is used in all limits below. PDF p.5, (15)–(17).RRIsOperationalRate: Relational form of the iterated operational rate (15), PDF p.5. Existence of both limits is part of a theorem, not a default-value definition. The punctured right neighborhood may be restricted to epsilon < 1/2 without changing the outer limit.RRPublicRate: Public operational rate for independent uses; PDF p.5, (15).RRPrivateRate: Private operational rate, with messagewise trace-distance secrecy; PDF p.5, (15). Codes and input distributions may be correlated across uses.RRClassicalOutputs: Simultaneous diagonalizability in a common orthonormal basis, separately for each output system; PDF p.5, before (18).rrReconciliationError: Information reconciliation average recovery error for a supplied law; PDF p.3, section II.B. For each c, the decompressor is a normalized POVM.rrAffineCodeError: Average coding error for the affine fiber a + ker(compress), with its uniform message law; PDF pp.3–4, proof of Lemma 2.rrExtractedLaw: Pushforward law of a deterministic extractor; PDF p.4, section II.C.rrShapedLaw: Output law of a stochastic shaper; PDF p.4, section II.C.rrExtractedState: Joint extractor-output/eavesdropper state before reversing extraction; PDF p.4, section II.C. Unattained extractor outputs have zero blocks.rrUniformReference: Ideal uniform classical output independent of the reference state; PDF p.4 privacy-amplification premise.rrExampleReceiver: Receiver's deterministic output in Figure 2, PDF p.6.rrExampleEve: Eve's output in Figure 2, PDF p.6: 0→0, 1→1, 2→fair bit.rrExampleEncoder: Figure 2 private encoder: 0 is uniformly randomized over 0,1; 1 uses 2. PDF p.6. This is a probability kernel, specified as raw weights.rrExampleUnprocessedInformation: Unpreprocessed private-information expression discussed below Figure 2, PDF p.6; this is not a separate deterministic operational capacity.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
noncomputable section
open scoped BigOperators ComplexConjugate Matrix ComplexOrder
open Filter
namespace QAlgorithms.Papers.Independent.Intakenext100.P30
/-! All local objects below implement arXiv:1012.4814v2, pp.2–7.
Only frozen Defs modules are imported. Entropies use bits. The extended entropy
construction follows the audited formulas in Information100.P67, lines 812–833
of its Lean source, but is kept local to this paper as required by the workflow.
No theorem from that paper is imported or assumed. -/
variable {X Y Z M U V A B C : Type*}
variable [Fintype X] [DecidableEq X] [Fintype Y] [DecidableEq Y]
variable [Fintype Z] [DecidableEq Z] [Fintype M] [DecidableEq M]
variable [Fintype U] [DecidableEq U] [Fintype V] [DecidableEq V]
variable [Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]
variable [Fintype C] [DecidableEq C]
attribute [local instance] Classical.propDecidable
/-- Normalized classical law; PDF pp.2–4. Zero-probability letters are allowed. -/
structure RRDistribution (X : Type*) [Fintype X] where
prob : X → ℝ
nonnegative : ∀ x, 0 ≤ prob x
total : ∑ x, prob x = 1
/-- Uniform law, used only on explicitly nonempty alphabets; PDF pp.2–4. -/
def rrUniform (X : Type*) [Fintype X] : X → ℝ :=
fun _ => (Fintype.card X : ℝ)⁻¹
/-- Cq channel validity: every output is PSD and has trace one; PDF p.2. -/
def RRIsCq (theta : X → Matrix Y Y ℂ) : Prop :=
∀ x, IsDensityMatrix (theta x)
/-- A stochastic encoder with private randomness and a normalized POVM decoder;
PDF pp.2–4, (1)–(3). Both maps are fixed for the whole message alphabet. -/
structure RRCode (M X Y : Type*) [Fintype M] [Fintype X] [Fintype Y]
[DecidableEq Y] where
encoder : M → RRDistribution X
decoder : M → Matrix Y Y ℂ
decoder_valid : IsPOVM decoder
/-- Encoded channel output, averaging only the encoder's private randomness;
PDF p.2, (3). -/
def rrEncoded (theta : X → Matrix Y Y ℂ) (enc : M → RRDistribution X)
(m : M) : Matrix Y Y ℂ :=
∑ x, ((enc m).prob x : ℂ) • theta x
/-- Messagewise probability of a decoding error; PDF p.2, (1). -/
def rrCodeError (theta : X → Matrix Y Y ℂ) (code : RRCode M X Y) (m : M) : ℝ :=
1 - effectProb (code.decoder m) (rrEncoded theta code.encoder m)
/-- Half the trace norm to one fixed reference, not necessarily an average;
PDF p.2, (2) and footnote 2. The reference is required normalized at use sites. -/
def rrCodeLeak (theta : X → Matrix Z Z ℂ) (enc : M → RRDistribution X)
(reference : Matrix Z Z ℂ) (m : M) : ℝ :=
traceNorm (rrEncoded theta enc m - reference) / 2
/-- Reliability for every message; PDF p.2, (1). -/
def RRPublicGood (theta : X → Matrix Y Y ℂ) (code : RRCode M X Y) (epsilon : ℝ) : Prop :=
∀ m, rrCodeError theta code m ≤ epsilon
/-- Messagewise reliability and secrecy with one normalized reference chosen
before the message; PDF p.2, (1)–(2), footnote 2. -/
def RRPrivateGood (thetaY : X → Matrix Y Y ℂ) (thetaZ : X → Matrix Z Z ℂ)
(code : RRCode M X Y) (epsilon : ℝ) : Prop :=
RRPublicGood thetaY code epsilon ∧
∃ reference : Matrix Z Z ℂ, IsDensityMatrix reference ∧
∀ m, rrCodeLeak thetaZ code.encoder reference m ≤ epsilon
/-- Public one-shot capacity in bits, as an extended supremum over all finite
nonempty message alphabets; PDF p.2. Corrects printed `log2 n` to `n` bits:
(1) defines n = log2 |M|, and all subsequent formulas use that convention. -/
def rrPublicCapacity (theta : X → Matrix Y Y ℂ) (epsilon : ℝ) : EReal :=
sSup {r | ∃ k : ℕ, ∃ code : RRCode (Fin (k + 1)) X Y,
RRPublicGood theta code epsilon ∧ r = (Real.logb 2 (k + 1 : ℝ) : EReal)}
/-- Private one-shot capacity, with arbitrary stochastic encoding and no
shared key or entanglement; PDF p.2. Only the two output marginals matter. -/
def rrPrivateCapacity (thetaY : X → Matrix Y Y ℂ) (thetaZ : X → Matrix Z Z ℂ)
(epsilon : ℝ) : EReal :=
sSup {r | ∃ k : ℕ, ∃ code : RRCode (Fin (k + 1)) X Y,
RRPrivateGood thetaY thetaZ code epsilon ∧
r = (Real.logb 2 (k + 1 : ℝ) : EReal)}
/-- Cq state with classical first register; PDF p.3 and appendix p.7. -/
def rrCqState (p : A → ℝ) (theta : A → Matrix B B ℂ) : Matrix (A × B) (A × B) ℂ :=
fun a b => if a.1 = b.1 then (p a.1 : ℂ) * theta a.1 a.2 b.2 else 0
/-- Classical state with a trivial conditioning register; PDF p.7, (26). -/
def rrClassicalState (p : A → ℝ) : Matrix (A × Unit) (A × Unit) ℂ :=
rrCqState p (fun _ => (1 : Matrix Unit Unit ℂ))
/-- Positive subnormalized smoothing candidates; PDF p.7, (29). -/
def RRSubnormalized (rho : Matrix A A ℂ) : Prop :=
rho.PosSemidef ∧ rho.trace.re ≤ 1
/-- Purified distance to the normalized center used in this paper; PDF p.7,
(29). Root fidelity is the frozen primitive, so it is squared exactly once. -/
def rrPurifiedToCenter (tau rho : Matrix A A ℂ) : ℝ :=
Real.sqrt (1 - rootFidelity tau rho ^ 2)
/-- Extended conditional min-entropy, PDF p.7, (26). The exponent set is
embedded before its supremum; the zero operator therefore has value +infinity. -/
def rrMinEntropy (rho : Matrix (A × B) (A × B) ℂ) : EReal :=
sSup {h : EReal | ∃ a : ℝ, h = (a : EReal) ∧
∃ sigma : Matrix B B ℂ, IsDensityMatrix sigma ∧
((Real.rpow 2 (-a) : ℂ) • Matrix.kronecker (1 : Matrix A A ℂ) sigma - rho).PosSemidef}
/-- Extended max-entropy, PDF p.7, (25). The fidelity supremum is finite on
finite-dimensional PSD states and positive for nonzero states; zero has value
-infinity, not the default Real.logb value. -/
def rrMaxEntropy (rho : Matrix (A × B) (A × B) ℂ) : EReal :=
if rho = 0 then ⊥ else
(Real.logb 2 (sSup {f : ℝ | ∃ sigma : Matrix B B ℂ,
IsDensityMatrix sigma ∧
f = rootFidelity rho (Matrix.kronecker (1 : Matrix A A ℂ) sigma) ^ 2}) : EReal)
/-- Smooth min-entropy over the full subnormalized purified-distance ball;
PDF p.7, (29)–(30). Normalization of the center is supplied by its construction. -/
def rrSmoothMin (rho : Matrix (A × B) (A × B) ℂ) (radius : ℝ) : EReal :=
sSup {h | ∃ tau : Matrix (A × B) (A × B) ℂ, RRSubnormalized tau ∧
rrPurifiedToCenter tau rho ≤ radius ∧ h = rrMinEntropy tau}
/-- Smooth max-entropy; PDF p.7, (29), (31). Radius ≥ 1 includes zero and
hence gives -infinity at a normalized center. -/
def rrSmoothMax (rho : Matrix (A × B) (A × B) ℂ) (radius : ℝ) : EReal :=
sInf {h | ∃ tau : Matrix (A × B) (A × B) ℂ, RRSubnormalized tau ∧
rrPurifiedToCenter tau rho ≤ radius ∧ h = rrMaxEntropy tau}
/-- Stochastic preprocessing T → X; PDF p.2, (6)–(7), and p.4. -/
def rrPreprocess (theta : X → Matrix B B ℂ) (enc : A → RRDistribution X) :
A → Matrix B B ℂ :=
rrEncoded theta enc
/-- Optimized smooth public entropy difference, with the additive cost outside
the optimization (it is uniform in the input law); PDF p.2, (4). -/
def rrPublicDirectInfo (theta : X → Matrix Y Y ℂ) (radius : ℝ) : EReal :=
sSup {v | ∃ p : RRDistribution X,
v = rrSmoothMin (rrClassicalState p.prob) radius -
rrSmoothMax (rrCqState p.prob theta) radius}
/-- Public converse expression, unsmoothed Hmin and smoothed Hmax;
PDF p.2, (5). -/
def rrPublicConverseInfo (theta : X → Matrix Y Y ℂ) (radius : ℝ) : EReal :=
sSup {v | ∃ p : RRDistribution X,
v = rrMinEntropy (rrClassicalState p.prob) -
rrSmoothMax (rrCqState p.prob theta) radius}
/-- Private entropy difference optimized over every finite nonempty auxiliary
T and stochastic map T → X; PDF p.2, (6)–(7). No attainment or bound on |T| is
assumed. Fin (k+1) enumerates finite auxiliaries up to relabeling. -/
def rrPrivateInfo (thetaY : X → Matrix Y Y ℂ) (thetaZ : X → Matrix Z Z ℂ)
(radius : ℝ) : EReal :=
sSup {v | ∃ k : ℕ, ∃ p : RRDistribution (Fin (k + 1)),
∃ enc : Fin (k + 1) → RRDistribution X,
v = rrSmoothMin (rrCqState p.prob (rrPreprocess thetaZ enc)) radius -
rrSmoothMax (rrCqState p.prob (rrPreprocess thetaY enc)) radius}
/-- Conditional von Neumann entropy in bits, PDF p.7, following (28). -/
def rrConditionalEntropy (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
vnEntropy rho - vnEntropy (traceLeft rho)
/-- Optimized one-use public information on the fixed cq alphabet;
PDF p.5, (16), (18). Extended suprema avoid junk values on unbounded sets. -/
def rrPublicInformation (theta : X → Matrix Y Y ℂ) : EReal :=
sSup {v | ∃ p : RRDistribution X,
v = ((vnEntropy (Matrix.diagonal (fun x => (p.prob x : ℂ))) -
rrConditionalEntropy (rrCqState p.prob theta) : ℝ) : EReal)}
/-- Private information over all finite auxiliaries and stochastic encoders,
PDF p.5, (17), (19). Each entropy is computed from the same law and encoder. -/
def rrPrivateInformation (thetaY : X → Matrix Y Y ℂ) (thetaZ : X → Matrix Z Z ℂ) : EReal :=
sSup {v | ∃ k : ℕ, ∃ p : RRDistribution (Fin (k + 1)),
∃ enc : Fin (k + 1) → RRDistribution X,
v = ((rrConditionalEntropy (rrCqState p.prob (rrPreprocess thetaZ enc)) -
rrConditionalEntropy (rrCqState p.prob (rrPreprocess thetaY enc)) : ℝ) : EReal)}
/-- Independent uses of the fixed cq channel, with arbitrary joint classical
input strings, PDF pp.5–6, (15)–(17). The empty product is one. -/
def rrChannelPower (theta : X → Matrix Y Y ℂ) (n : ℕ) :
(Fin n → X) → Matrix (Fin n → Y) (Fin n → Y) ℂ :=
fun x a b => ∏ i, theta (x i) (a i) (b i)
/-- Reciprocal blocklength scaling; only n+1 is used in all limits below.
PDF p.5, (15)–(17). -/
def rrPerUse (n : ℕ) (v : EReal) : EReal := ((n : ℝ)⁻¹ : EReal) * v
/-- Relational form of the iterated operational rate (15), PDF p.5.
Existence of both limits is part of a theorem, not a default-value definition.
The punctured right neighborhood may be restricted to epsilon < 1/2 without
changing the outer limit. -/
def RRIsOperationalRate (capacity : ℕ → ℝ → EReal) (rate : ℝ) : Prop :=
∃ innerLimit : ℝ → EReal,
(∀ epsilon : ℝ, 0 < epsilon → epsilon < 1 / 2 →
Tendsto (fun n : ℕ => rrPerUse (n + 1) (capacity (n + 1) epsilon))
atTop (nhds (innerLimit epsilon))) ∧
Tendsto innerLimit (nhdsWithin 0 (Set.Ioi 0)) (nhds (rate : EReal))
/-- Public operational rate for independent uses; PDF p.5, (15). -/
def RRPublicRate (theta : X → Matrix Y Y ℂ) (rate : ℝ) : Prop :=
RRIsOperationalRate (fun n epsilon => rrPublicCapacity (rrChannelPower theta n) epsilon) rate
/-- Private operational rate, with messagewise trace-distance secrecy;
PDF p.5, (15). Codes and input distributions may be correlated across uses. -/
def RRPrivateRate (thetaY : X → Matrix Y Y ℂ) (thetaZ : X → Matrix Z Z ℂ)
(rate : ℝ) : Prop :=
RRIsOperationalRate (fun n epsilon =>
rrPrivateCapacity (rrChannelPower thetaY n) (rrChannelPower thetaZ n) epsilon) rate
/-- Simultaneous diagonalizability in a common orthonormal basis, separately
for each output system; PDF p.5, before (18). -/
def RRClassicalOutputs (theta : X → Matrix Y Y ℂ) : Prop :=
∃ basisChange : Matrix Y Y ℂ,
basisChangeᴴ * basisChange = 1 ∧ basisChange * basisChangeᴴ = 1 ∧
∀ x a b, a ≠ b → (basisChangeᴴ * theta x * basisChange) a b = 0
/-- Information reconciliation average recovery error for a supplied law;
PDF p.3, section II.B. For each c, the decompressor is a normalized POVM. -/
def rrReconciliationError (theta : U → Matrix Y Y ℂ) (compress : U → C)
(decompress : C → U → Matrix Y Y ℂ) (p : U → ℝ) : ℝ :=
∑ u, p u * (1 - effectProb (decompress (compress u) u) (theta u))
/-- Average coding error for the affine fiber a + ker(compress), with its
uniform message law; PDF pp.3–4, proof of Lemma 2. -/
def rrAffineCodeError {K : Type*} [Field K] [AddCommGroup U] [Module K U]
[AddCommGroup C] [Module K C] (theta : U → Matrix Y Y ℂ)
(compress : U →ₗ[K] C) (a : U)
(decoder : {u : U // compress u = 0} → Matrix Y Y ℂ) : ℝ :=
(Fintype.card {u : U // compress u = 0} : ℝ)⁻¹ *
∑ m : {u : U // compress u = 0},
(1 - effectProb (decoder m) (theta (a + m.val)))
/-- Pushforward law of a deterministic extractor; PDF p.4, section II.C. -/
def rrExtractedLaw (p : X → ℝ) (extract : X → U) : U → ℝ :=
fun u => ∑ x, if extract x = u then p x else 0
/-- Output law of a stochastic shaper; PDF p.4, section II.C. -/
def rrShapedLaw (p : U → ℝ) (shape : U → RRDistribution X) : X → ℝ :=
fun x => ∑ u, p u * (shape u).prob x
/-- Joint extractor-output/eavesdropper state before reversing extraction;
PDF p.4, section II.C. Unattained extractor outputs have zero blocks. -/
def rrExtractedState (p : X → ℝ) (extract : X → U) (thetaZ : X → Matrix Z Z ℂ) :
Matrix (U × Z) (U × Z) ℂ :=
fun a b => if a.1 = b.1 then
∑ x, if extract x = a.1 then (p x : ℂ) * thetaZ x a.2 b.2 else 0
else 0
/-- Ideal uniform classical output independent of the reference state;
PDF p.4 privacy-amplification premise. -/
def rrUniformReference (reference : Matrix Z Z ℂ) : Matrix (U × Z) (U × Z) ℂ :=
rrCqState (rrUniform U) (fun _ => reference)
/-- Receiver's deterministic output in Figure 2, PDF p.6. -/
def rrExampleReceiver : Fin 3 → Matrix Bool Bool ℂ :=
fun x => Matrix.diagonal (fun y => if y = decide (x = 2) then 1 else 0)
/-- Eve's output in Figure 2, PDF p.6: 0→0, 1→1, 2→fair bit. -/
def rrExampleEve : Fin 3 → Matrix Bool Bool ℂ :=
fun x => Matrix.diagonal (fun z =>
if x = 2 then (1 / 2 : ℂ) else if z = decide (x = 1) then 1 else 0)
/-- Figure 2 private encoder: 0 is uniformly randomized over 0,1; 1 uses 2.
PDF p.6. This is a probability kernel, specified as raw weights. -/
def rrExampleEncoder (message : Bool) (x : Fin 3) : ℝ :=
if message then (if x = 2 then 1 else 0) else (if x = 2 then 0 else 1 / 2)
/-- Unpreprocessed private-information expression discussed below Figure 2,
PDF p.6; this is not a separate deterministic operational capacity. -/
def rrExampleUnprocessedInformation : EReal :=
sSup {v | ∃ p : RRDistribution (Fin 3),
v = ((rrConditionalEntropy (rrCqState p.prob rrExampleEve) -
rrConditionalEntropy (rrCqState p.prob rrExampleReceiver) : ℝ) : EReal)}
/-! Sanity examples pin local definitions without proving any source result. -/
example : RRDistribution Unit :=
{ prob := fun _ => 1
nonnegative := by intro x; norm_num
total := by simp }
example : rrUniform Unit () = 1 := by simp [rrUniform]
example (rho : Matrix A A ℂ) : rrPurifiedToCenter 0 rho = 1 := by
have hs : cfc Real.sqrt (0 : Matrix A A ℂ) = 0 := by
rw [cfc_apply_zero, Real.sqrt_zero, map_zero]
simp [rrPurifiedToCenter, rootFidelity, hs]
example : rrMaxEntropy (0 : Matrix (Unit × Unit) (Unit × Unit) ℂ) = ⊥ := by
simp [rrMaxEntropy]
example (theta : X → Matrix Y Y ℂ) (x : Fin 0 → X) (a b : Fin 0 → Y) :
rrChannelPower theta 0 x a b = 1 := by simp [rrChannelPower]
example : rrExampleEncoder false (0 : Fin 3) = 1 / 2 := by
have hInput : (0 : Fin 3) ≠ 2 := by
intro hEq
have hVal := congrArg Fin.val hEq
norm_num at hVal
simp [rrExampleEncoder, hInput]
end QAlgorithms.Papers.Independent.Intakenext100.P30
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intakenext100.P30.RRClassicalOutputs
For finite matrix index type , with decidable equality, an input type , and any family , this predicate asserts that there exists a single matrix such that
Thus every matrix in the family is diagonal after the same unitary change of basis. No Hermiticity, positivity, or trace condition is imposed on the family. Empty types are allowed: when is empty the condition on the family is vacuous, and when is empty all matrix conditions hold for its unique matrix.
QAlgorithms.Papers.Independent.Intakenext100.P30.RRCode
For finite types , with decidable equality on , an object of this structure consists of an encoder assigning each a function satisfying for every and , together with decoder matrices satisfying for every and . If is empty, the encoder and individual positivity conditions are vacuous, but the decoder sum still requires . If is nonempty and is empty, no encoder exists.
QAlgorithms.Papers.Independent.Intakenext100.P30.RRDistribution
For a finite type , an object of this structure consists of a function , a proof that for every , and a proof that . If is empty, no such object exists, since the empty sum is .
QAlgorithms.Papers.Independent.Intakenext100.P30.RRIsCq
For a type , a finite type , and a family , this predicate means that, for every , the matrix is positive semidefinite and has complex trace equal to . The condition is vacuous when is empty; if is empty and is nonempty, it cannot hold because every matrix on has trace .
QAlgorithms.Papers.Independent.Intakenext100.P30.RRIsOperationalRate
For any function and any real number , this predicate holds exactly when there exists a function such that
The scaling uses the real reciprocal embedded into the extended reals, and both limits use the topology of the extended reals; the final value is embedded from . Thus the first limit is required separately for every real in the stated open interval and uses only positive block lengths. No condition is imposed on , no boundedness or monotonicity is assumed for , and no value is prescribed for outside that interval, including at zero.
QAlgorithms.Papers.Independent.Intakenext100.P30.RRPrivateGood
For finite types , with decidable equality on and , arbitrary families and , a code with nonnegative encoder weights summing to for each message and positive semidefinite decoder matrices summing to , and any real , this predicate requires both that for every , and that there exists one positive semidefinite matrix with such that, for every , writing , one has . The same reference must work for all messages. No nonnegativity assumption on or density-matrix assumption on either family is imposed. If is empty, the message conditions are vacuous, but existence of is still required.
QAlgorithms.Papers.Independent.Intakenext100.P30.RRPrivateRate
For finite types , with the decidable equality needed by the matrix definitions, arbitrary families and , and a real number , this predicate holds exactly when there exists such that
in the extended reals. Here is the extended real supremum of over natural numbers , probability distributions on for messages , and matrices on satisfying and , such that, for every message,
and there exists one matrix on , common to all messages, satisfying , , and
In these formulas,
and the square root is formed using the real continuous functional calculus. Every has nonnegative real weights summing to one. One-message codes are included; an empty feasible set gives , and an unbounded set gives . Neither input family is assumed to consist of density matrices, and only positive block lengths enter the limits.
QAlgorithms.Papers.Independent.Intakenext100.P30.RRPublicGood
For finite types , with decidable equality on , an arbitrary family , a code with nonnegative encoder weights summing to for each message and positive semidefinite decoder matrices summing to , and any real number , this predicate requires, for every ,
There is no assumption that or that the matrices are density matrices. For an empty message type, the universally quantified condition is vacuous whenever such a code exists.
QAlgorithms.Papers.Independent.Intakenext100.P30.RRPublicRate
For finite types , with the decidable equality needed by the matrix definitions, an arbitrary family , and a real number , this predicate holds exactly when there exists such that
in the extended reals. For each block length , is the extended real supremum of over natural numbers and codes with message set as follows: each message has a probability distribution on , meaning nonnegative real weights summing to one; there are matrices on satisfying and ; and every message satisfies
One-message codes are included. An empty feasible set gives supremum , and an unbounded set gives . No density-matrix condition is imposed on ; the rate predicate constrains capacities only at positive block lengths, with the inner limits required for every .
QAlgorithms.Papers.Independent.Intakenext100.P30.RRSubnormalized
For a finite index type and a complex matrix indexed by , this defines the condition that is positive semidefinite and . The trace bound is non-strict, and trace is not required; in particular, the zero matrix satisfies the condition, including when is empty.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrAffineCodeError
For any field , a finite -vector space , a -vector space , a finite matrix index type , any family , any -linear map , any , and any family of matrices indexed by , this defines
The kernel contains zero, so its finite cardinality is positive. No normalization or positivity condition is imposed on or on the decoder matrices, and is unrestricted; in particular, need not lie in the kernel.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrChannelPower
For types , any family , and every natural number , this defines a family indexed by -tuples , whose matrices are indexed by -tuples from , by
No positivity, normalization, or unitarity condition is assumed. The case is included: both tuple types have one element, even when or is empty, and the resulting matrix is the matrix with entry , by the empty-product convention.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrClassicalState
For an index type with decidable equality and any function , this defines a complex matrix indexed by whose entries are
There is no assumption that is nonnegative or sums to , and may be empty.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrCodeError
For finite types , with decidable equality on , an arbitrary family , a code consisting of encoder weights with and positive semidefinite decoder matrices with , and a message , this defines the real number
No density-matrix assumption is imposed on the family .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrCodeLeak
For types , with and finite and equality on decidable, an arbitrary family , encoder weights satisfying for every , an arbitrary reference matrix , and a message , set . This defines , where is the conjugate transpose and the square root is given by matrix functional calculus. Neither nor is required to be a density matrix; if is empty, the value is .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrConditionalEntropy
For finite index types with decidable equality and any complex matrix indexed by , this defines the real number
where denotes continuous functional calculus and is the total real logarithm to base . Thus is obtained by tracing out the index. No positivity, trace-one, or nonempty-index assumption is imposed on ; the logarithm is defined at zero with .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrCqState
For types , with decidable equality on , an arbitrary real function , and an arbitrary matrix family , this defines the matrix indexed by whose entries are
The real number is regarded as a complex scalar. No nonnegativity or normalization condition on , and no positivity or trace condition on , is required; empty index types are included.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrEncoded
For a finite type , types , an arbitrary family , an encoder assigning each nonnegative real weights with , and a message , this defines the matrix , with each real weight regarded as a complex scalar. No positivity or trace condition is imposed on . The sum over an empty is zero, although such an encoder cannot exist for a specified message when is empty.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrExampleEncoder
For every Boolean message and input , this defines a real number . Its values, with columns ordered as , are
QAlgorithms.Papers.Independent.Intakenext100.P30.rrExampleEve
This defines a family of complex matrices indexed by the Boolean values, with input . In the row and column order , the matrices are
QAlgorithms.Papers.Independent.Intakenext100.P30.rrExampleReceiver
This defines a family of complex matrices indexed by the Boolean values, with input . In the row and column order , the matrices are
QAlgorithms.Papers.Independent.Intakenext100.P30.rrExampleUnprocessedInformation
This defines an extended real number as
where each bracketed real number is embedded into the extended reals before taking the supremum. Here , for , has entries when , and zero otherwise; , where and is defined by continuous functional calculus. In Boolean order , the receiver matrices are and , while , , and .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrExtractedLaw
For a finite type , a type with equality decided as needed for the conditional, any function , and any function , this defines the real-valued function on given by
No nonnegativity or normalization assumption is imposed on . An empty fiber contributes zero, so outside the image of ; if is empty, is identically zero.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrExtractedState
For a finite index type , types , any real function , any function , and any family of complex matrices indexed by , this defines the complex matrix indexed by through
Equality tests use decidable equality where needed. No nonnegativity or normalization of , or density-matrix condition on , is required. If is empty, every entry is zero.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrMaxEntropy
For finite index types with decidable equality and any complex matrix indexed by , this defines when and otherwise defines the real number
embedded into the extended reals, where
and denotes continuous functional calculus. No positivity or normalization is assumed for . The inner supremum is taken in , with value for an empty set or a set unbounded above, and the total real logarithm has .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrMinEntropy
For finite index types with decidable equality and any complex matrix indexed by , this defines the extended-real supremum
where each real is embedded into the extended reals, is the identity matrix, and is the Kronecker product. No positivity or normalization assumption is imposed on . The supremum is if the set is empty and if it is unbounded above; in particular, an empty admits no trace-one and gives an empty set.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPerUse
For every natural number and every extended real number , this defines the extended real product
For , this scales by the positive real number . The case is included: the real inverse of zero is defined to be zero, so the result is zero, including when .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPreprocess
For index types , a finite index type , any family , and an encoder assigning to every a function satisfying for every and , this defines the family
No positivity or trace condition is imposed on the matrices . If is empty, no such probability distribution exists, so an encoder can exist only when is empty.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPrivateCapacity
For finite types , with decidable equality on and , arbitrary families and , and any real , this defines the extended real supremum of over natural numbers for which there exist nonnegative encoder weights summing to for each , positive semidefinite decoder matrices summing to , and one positive semidefinite reference matrix with trace , such that every message satisfies
The square root is the matrix square root supplied by functional calculus, and the same is used for all messages. The logarithms are embedded into the extended real numbers. One-message codes () are included, zero-message codes are excluded, and the supremum is if no admissible value exists and if the values are unbounded. Neither family is assumed to consist of density matrices, and is unrestricted.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPrivateInfo
For finite index types with decidable equality, arbitrary families and , and any real radius , this defines
in the extended reals, where for and . For either product index set , all quantities in the formula mean
Here is indexed by , denotes continuous functional calculus, real entropy values are embedded into the extended reals, and subtraction is extended-real subtraction. The choice , giving one auxiliary label, is included; the auxiliary alphabet is never empty. No positivity or normalization is assumed for either family. Negative square-root arguments give ; empty extended-real suprema and infima give and ; an empty or unbounded-above real supremum gives , and . Negative makes the smoothing sets empty, while empty prevents any encoder distributions and makes the outer supremum empty.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPrivateInformation
For finite types , with decidable equality where required for the matrix functional calculus, and arbitrary families and , this defines the extended real supremum over every natural number , every probability distribution on , and every assignment of a probability distribution on to each , of
Here probability distributions have nonnegative real values summing to one,
and , indexed by , has entry when its two message indices agree, and zero otherwise, for . The notation means , where is applied using the real continuous functional calculus; the resulting real difference is embedded into the extended reals before taking the supremum. The choice , giving one message, is included. No density-matrix assumptions are imposed on either input family. If is empty, no such encoders exist and the supremum is .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPublicCapacity
For finite types , with decidable equality on , an arbitrary family , and any real , this defines an extended real number: the supremum of over all natural numbers for which there exist encoder weights , indexed by , with , and positive semidefinite decoder matrices with , such that
The logarithm is embedded into the extended real numbers before taking the supremum. The case , representing one message, is included; zero messages are excluded. An empty set of admissible values has supremum , and an unbounded set has supremum . No density-matrix assumption on or sign restriction on is imposed.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPublicConverseInfo
For finite index types with decidable equality, any family , and any real radius , this defines the extended-real quantity
where and . For a product index set , the quantities used here are
Here is indexed by , denotes continuous functional calculus, real entropy values are embedded into the extended reals, and subtraction is extended-real subtraction. No density-matrix assumption is imposed on and is unrestricted. Negative square-root arguments give ; empty extended-real suprema and infima give and ; an empty or unbounded-above real supremum gives , and . Negative makes the smoothing set empty, and empty makes the outer set of distributions empty.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPublicDirectInfo
For finite index types with decidable equality, any family , and any real radius , this defines
in the extended reals, where is indexed by with entries and . For either relevant product index set , the notation in this formula means
with indexed by and denoting continuous functional calculus. The real logarithms are embedded into the extended reals, and subtraction is extended-real subtraction. No density-matrix assumption is made on or restriction on . Negative square-root arguments give ; empty extended-real suprema and infima give and , respectively; an empty or unbounded-above real supremum gives , with . In particular, makes each smoothing set empty, and empty makes the outer set of distributions empty.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPublicInformation
For finite types , with decidable equality, and any family of complex matrices , this defines the extended real number
where ranges over all functions satisfying for every and , and is the matrix indexed by whose -entry is when , and zero otherwise. Here
with formed by the real continuous functional calculus in the definition; each real expression inside the supremum is embedded into the extended reals. There is no assumption that any is positive semidefinite, Hermitian, or trace one. Empty finite types are allowed; if is empty, there is no admissible , and the supremum is .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrPurifiedToCenter
For a finite index type with decidable equality and arbitrary complex matrices indexed by , this defines
where denotes the continuous functional calculus of the real function applied to . Neither matrix is assumed positive semidefinite or normalized. The real square root is total and equals on negative arguments, so the displayed value is whenever the squared real trace exceeds .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrReconciliationError
For a finite type , a type , a finite matrix index type , any family , any function , any family , and any real-valued function , this defines the real number
There is no requirement that be nonnegative or sum to one, that be a density matrix, or that the matrices form measurements or effects. If is empty, the sum is zero.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrShapedLaw
For finite types , any function , and any assignment to each of a probability distribution , meaning for every and , this defines the function on
There is no nonnegativity or normalization assumption on . If is empty, the result is identically zero. If is empty and is inhabited, no assignment of the required probability distributions exists.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrSmoothMax
For finite index types with decidable equality, any complex matrix indexed by , and any real radius , this defines
where
Here is indexed by , denotes continuous functional calculus, the inner supremum is in , and its logarithm is embedded into the extended reals. No positivity or normalization is required of . Negative square-root arguments give , an empty or unbounded-above real supremum gives , and . An empty outer feasible set gives , in particular whenever ; for , the feasible zero matrix gives the result .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrSmoothMin
For finite index types with decidable equality, any complex matrix indexed by , and any real radius , this defines
where
Here is indexed by , denotes continuous functional calculus, and real values in the entropy supremum are embedded into the extended reals. No positivity or normalization is required of . Real square roots of negative arguments are ; if , the outer feasible set is empty and the result is . All extended-real suprema use for the empty set.
QAlgorithms.Papers.Independent.Intakenext100.P30.rrUniform
For every finite type , this defines the function by for every . If is empty, this is the unique empty function; the expression is then , using the convention . The declaration defines a function and does not package it with proofs of nonnegativity or total mass .
QAlgorithms.Papers.Independent.Intakenext100.P30.rrUniformReference
For a finite type with decidable equality, an index type , and any complex matrix indexed by , this defines the matrix indexed by whose entries are
Here is the inverse of the real cardinality, subsequently regarded as a complex scalar. The matrix need not be positive or normalized. Empty is allowed; its cardinality has inverse zero, and the resulting matrix has an empty index set.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.