Definitions for Information Spectrum Approach to Strong Converse Theorems for Degraded Wiretap Channels
DefinitionQAlgorithms_Papers_Independent_Bridge50_P42The objects the formalized statements of Information Spectrum Approach to Strong Converse Theorems for Degraded Wiretap Channels (arXiv:1406.6758) are stated in. Each was checked against the paper by a blind read-back and a moderator.
StochasticRows: PDF pp.3,5: normalized stochastic rows of a classical channel.DegradedDMC: PDF p.5, (39): the two actual factors of a physically degraded DMC.DegradedDMC.eve: PDF p.6: the actual Eve marginal, obtained by composing the two channels.DegradedDMC.joint: PDF p.5, (39): actual single-use joint law given the input.inducedFiniteOutput: PDF p.3: the output law induced by a finite input law.finiteChannelInformation: PDF p.5, (41), and p.6: finite Shannon mutual information in bits. Reuse the frozen joint-law information applied to p(x)V(y|x). Zero joint mass contributes zero; positive mass has positive marginal factors for normalized laws. Its joint/product likelihood ratio equals V(y|x)/P_Y(y) on actual support.finiteChannelCapacity: PDF p.6: reuse the accepted Shannon capacity of a normalized finite DMC. The zero fallback is outside the normalized-channel domain used by every theorem. On fixed nonempty finite alphabets the supremum is finite and attained.secrecyInfo: PDF p.5, (41): I(X;Y)-I(X;Z) for the actual degraded channel marginals.secrecyCapacity: PDF p.5, (41): the finite single-letter secrecy capacity. Theorem 3 below also retains attainment of this optimization.independentBlockKernel: PDF pp.5–6, (40),(43): independent component channel on a block of length k+1.DiscreteWiretapCode: PDF p.3, Definition 2: arbitrary finite positive message count, stochastic encoder, and deterministic decoder, on the discrete block alphabets.DiscreteWiretapCode.error: PDF p.3, (14): average error for a uniform message and the actual Bob channel.DiscreteWiretapCode.messageEve: PDF p.3, Definition 1: actual joint law of the uniform message and Eve output.DiscreteWiretapCode.independentEve: PDF p.3, Definition 1: product of the uniform message law and actual Eve marginal.SecrecyMetric: PDF p.3, (5)–(10): the six distinct secrecy metrics, in the paper's order.DiscreteWiretapCode.leakage: PDF p.3, (5)–(10): leakage in all six metrics. The threshold is arbitrary. For actual finite-message joint/product laws, positive joint mass implies positive product mass; their likelihood ratios are finite on actual support. Zero joint mass is explicitly excluded from the divergence and probability sums.RateAtLeast: PDF pp.3–4, (16),(24): liminf block rate at least R, written without a real-valued liminf default on unbounded rate sequences.Secure: PDF pp.3–4: a single code sequence has vanishing leakage for every eta>0.noneremoves the secrecy condition for the point-to-point comparison only.DiscreteReliable: PDF pp.3–4, (16),(24): ordinary limsup-error and strict optimistic liminf-error criteria. The latter is a fixed positive margin on infinitely many lengths.discreteOperationalCapacity: PDF pp.3–4, Definitions 3–4, using the equivalent supremum formulation (24). Extrema take place in EReal, so neither empty nor unbounded sets get default zero.PartialStrongConverse: PDF p.4, Definition 5: actual endpoint equality, not just interior invariance.CapacityConclusion: PDF p.4, (27)–(29): endpoint value and all error-tolerance consequences.WeaklySymmetric: PDF p.6: rows are permutations and all column sums are equal.capacityAverage: PDF p.6, (45)–(47): Cesaro averages over the first k+1 components.maximizingInput: PDF p.6: construct a maximizing input from V itself. The zero fallback is used only outside the nonempty finite normalized-channel domain; the maximum exists in that domain. No comparison output distribution is supplied as data.capacityOutput: PDF p.6: the capacity-achieving output law, constructed from the channel.rowInformationVariance: PDF p.6, (46): row variance on actual row support. Unreachable outputs have mass zero and do not contribute; all reachable output denominators are positive.PointStrongConverse: PDF p.6: the usual point-to-point strong converse, in endpoint-capacity form. The dummy singleton Eve output imposes no secrecy condition.InputProcess: PDF p.8, (66)–(69): arbitrary block input laws, with no consistency or independence requirement across or within blocklengths.blockJoint: PDF pp.5,8, (40),(68): actual joint law induced by an arbitrary block input.conditionalDensity: PDF p.8, (67): normalized conditional information density. On positive actual joint support, W(z|x), P(z), P(y,z) are positive. The value off actual support is explicitly zero and never enters probabilities.spectralConditionalSup: PDF pp.4,8, (31),(67)–(69): the 1-p-limsup conditional information rate, with the strict lower-tail probability condition from (31), valued in EReal.realGaussianDensity: PDF p.3, (4), and p.6, (48): Gaussian density with positive standard deviation sigma in the theorem domain; Mathlib parameterizes it by variance.gaussianBlockDensity: PDF p.6, (48): memoryless real Gaussian conditional output density.gaussianJointDensity: PDF p.6: physical joint realization, with the source's added noise variance. Operational quantities below use its Bob and Eve marginals, respectively N(x,sigma1^2) and N(x,sigma2^2); they do not assume these two outputs independent given x.powerBall: PDF p.6, (49)–(50): the CLOSED block power ball.PowerConstrainedGaussianCode: PDF pp.3,6, Definition 2 and (49): all Borel stochastic encoders on the power ball, including non-atomic ones, and a deterministic measurable decoder. Uniform messages make per-message almost-sure power equivalent to (49).PowerConstrainedGaussianCode.error: PDF p.3, (14), specialized to (48): average decoding error obtained by integrating the actual Bob density and stochastic input measure. For positive sigma, these are integrals of measurable probability kernels, bounded by one.PowerConstrainedGaussianCode.messageEve: PDF p.3, Definition 1: the actual joint message/Eve density relative to counting measure times Lebesgue measure. Positive Gaussian noise gives a finite, strictly positive conditional output density for every z and every message.PowerConstrainedGaussianCode.independentEve: PDF p.3: product of the uniform message law and the actual Eve marginal.PowerConstrainedGaussianCode.leakage: PDF p.3, (5)–(10): all six metrics for the Gaussian code's actual densities. In the positive-noise domain q is positive and p/q <= M. The negative part of p log(p/q) is bounded by a constant times q; its positive part by p log M. Thus these real integrals are integrable, not Bochner defaults on bad functions.GaussianReliable: PDF pp.3–4: the ordinary and strict optimistic reliability conditions for Gaussian code sequences, with the same epsilon endpoint conventions.gaussianOperationalCapacity: PDF pp.3–4,6: operational capacities of the actual real Gaussian channel under the almost-sure block power constraint. Rate is liminf log M/(k+1). One code sequence works for every positive threshold eta; encoders are arbitrary Borel probability measures on the ball, not restricted Gaussian inputs.gaussianSecrecyCapacity: PDF p.6, (51): the Gaussian secrecy capacity in bits per channel use.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P56
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P80
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P45
/-!
Tan and Bloch, arXiv:1406.6758v2. Paper-local finite classical coding models.
Block index k represents the positive length k+1; component index zero represents
component 1 in the paper. All logarithms and rates are in bits. The general-alphabet
formulas and Poisson extension are deferred in HARD.md.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Bridge50.P42
open Filter
open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)
open QAlgorithms.Papers.Independent.Information100.P80 (log2)
attribute [local instance] Classical.propDecidable
/-- PDF pp.3,5: normalized stochastic rows of a classical channel. -/
def StochasticRows {A B : Type*} [Fintype B] (V : A → B → ℝ) : Prop :=
∀ a, IsLaw (V a)
/-- PDF p.5, (39): the two actual factors of a physically degraded DMC. -/
structure DegradedDMC (X Y Z : Type*) [Fintype Y] [Fintype Z] where
main : X → Y → ℝ
degrade : Y → Z → ℝ
main_law : StochasticRows main
degrade_law : StochasticRows degrade
/-- PDF p.6: the actual Eve marginal, obtained by composing the two channels. -/
def DegradedDMC.eve {X Y Z : Type*} [Fintype Y] [Fintype Z]
(W : DegradedDMC X Y Z) (x : X) (z : Z) : ℝ :=
∑ y, W.main x y * W.degrade y z
/-- PDF p.5, (39): actual single-use joint law given the input. -/
def DegradedDMC.joint {X Y Z : Type*} [Fintype Y] [Fintype Z]
(W : DegradedDMC X Y Z) (x : X) (y : Y) (z : Z) : ℝ :=
W.main x y * W.degrade y z
/-- PDF p.3: the output law induced by a finite input law. -/
def inducedFiniteOutput {X Y : Type*} [Fintype X]
(V : X → Y → ℝ) (p : X → ℝ) (y : Y) : ℝ := ∑ x, p x * V x y
/-- PDF p.5, (41), and p.6: finite Shannon mutual information in bits.
Reuse the frozen joint-law information applied to p(x)V(y|x). Zero joint mass
contributes zero; positive mass has positive marginal factors for normalized laws.
Its joint/product likelihood ratio equals V(y|x)/P_Y(y) on actual support. -/
def finiteChannelInformation {X Y : Type*} [Fintype X] [Fintype Y]
(V : X → Y → ℝ) (p : X → ℝ) : ℝ :=
QAlgorithms.mutualInfoBits (fun xy : X × Y => p xy.1 * V xy.1 xy.2)
/-- PDF p.6: reuse the accepted Shannon capacity of a normalized finite DMC.
The zero fallback is outside the normalized-channel domain used by every theorem.
On fixed nonempty finite alphabets the supremum is finite and attained. -/
def finiteChannelCapacity {X Y : Type*} [Fintype X] [Fintype Y]
(V : X → Y → ℝ) : ℝ :=
if h : StochasticRows V then
QAlgorithms.Papers.Independent.Dependency50.P45.shannonCapacity
{ prob := V
nonnegative := fun x => (h x).1
normalized := fun x => (h x).2 }
else 0
/-- PDF p.5, (41): I(X;Y)-I(X;Z) for the actual degraded channel marginals. -/
def secrecyInfo {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(W : DegradedDMC X Y Z) (p : X → ℝ) : ℝ :=
finiteChannelInformation W.main p - finiteChannelInformation W.eve p
/-- PDF p.5, (41): the finite single-letter secrecy capacity.
Theorem 3 below also retains attainment of this optimization. -/
def secrecyCapacity {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(W : DegradedDMC X Y Z) : ℝ :=
sSup {r : ℝ | ∃ p : X → ℝ, IsLaw p ∧ r = secrecyInfo W p}
/-- PDF pp.5–6, (40),(43): independent component channel on a block of length k+1. -/
def independentBlockKernel {X Y : Type*} (V : ℕ → X → Y → ℝ) (k : ℕ)
(x : Fin (k + 1) → X) (y : Fin (k + 1) → Y) : ℝ :=
∏ j, V j.val (x j) (y j)
/-- PDF p.3, Definition 2: arbitrary finite positive message count, stochastic
encoder, and deterministic decoder, on the discrete block alphabets. -/
structure DiscreteWiretapCode (X Y : Type*) [Fintype X] (k : ℕ) where
messages : ℕ
positive : 0 < messages
encoder : Fin messages → (Fin (k + 1) → X) → ℝ
encoder_law : ∀ m, IsLaw (encoder m)
decoder : (Fin (k + 1) → Y) → Fin messages
/-- PDF p.3, (14): average error for a uniform message and the actual Bob channel. -/
def DiscreteWiretapCode.error {X Y : Type*} [Fintype X] [Fintype Y] {k : ℕ}
(c : DiscreteWiretapCode X Y k) (V : ℕ → X → Y → ℝ) : ℝ :=
(c.messages : ℝ)⁻¹ * ∑ m, ∑ x, ∑ y,
if c.decoder y = m then 0 else c.encoder m x * independentBlockKernel V k x y
/-- PDF p.3, Definition 1: actual joint law of the uniform message and Eve output. -/
def DiscreteWiretapCode.messageEve {X Y Z : Type*} [Fintype X] [Fintype Z] {k : ℕ}
(c : DiscreteWiretapCode X Y k) (V : ℕ → X → Z → ℝ)
(m : Fin c.messages) (z : Fin (k + 1) → Z) : ℝ :=
(c.messages : ℝ)⁻¹ * ∑ x, c.encoder m x * independentBlockKernel V k x z
/-- PDF p.3, Definition 1: product of the uniform message law and actual Eve marginal. -/
def DiscreteWiretapCode.independentEve {X Y Z : Type*} [Fintype X] [Fintype Z] {k : ℕ}
(c : DiscreteWiretapCode X Y k) (V : ℕ → X → Z → ℝ)
(_m : Fin c.messages) (z : Fin (k + 1) → Z) : ℝ :=
(c.messages : ℝ)⁻¹ * ∑ m, c.messageEve V m z
/-- PDF p.3, (5)–(10): the six distinct secrecy metrics, in the paper's order. -/
inductive SecrecyMetric where
| divergence | variation | tail | normalizedDivergence | normalizedVariation | normalizedTail
deriving DecidableEq
/-- PDF p.3, (5)–(10): leakage in all six metrics. The threshold is arbitrary.
For actual finite-message joint/product laws, positive joint mass implies positive
product mass; their likelihood ratios are finite on actual support. Zero joint
mass is explicitly excluded from the divergence and probability sums. -/
def DiscreteWiretapCode.leakage {X Y Z : Type*} [Fintype X] [Fintype Z] {k : ℕ}
(c : DiscreteWiretapCode X Y k) (V : ℕ → X → Z → ℝ) (i : SecrecyMetric) (eta : ℝ) : ℝ :=
let p := c.messageEve V
let q := c.independentEve V
let d := ∑ m, ∑ z, if p m z = 0 then 0 else p m z * log2 (p m z / q m z)
let v := (1 / 2 : ℝ) * ∑ m, ∑ z, |p m z - q m z|
let tail := fun (scale : ℝ) => ∑ m, ∑ z,
if 0 < p m z ∧ eta < log2 (p m z / q m z) / scale then p m z else 0
match i with
| .divergence => d
| .variation => v
| .tail => tail 1
| .normalizedDivergence => d / (k + 1 : ℝ)
| .normalizedVariation => v / (k + 1 : ℝ)
| .normalizedTail => tail (k + 1 : ℝ)
/-- PDF pp.3–4, (16),(24): liminf block rate at least R, written without a
real-valued liminf default on unbounded rate sequences. -/
def RateAtLeast {X Y : Type*} [Fintype X]
(c : (k : ℕ) → DiscreteWiretapCode X Y k) (R : ℝ) : Prop :=
∀ delta : ℝ, 0 < delta → ∀ᶠ k in atTop,
R - delta ≤ log2 ((c k).messages : ℝ) / (k + 1 : ℝ)
/-- PDF pp.3–4: a single code sequence has vanishing leakage for every eta>0.
`none` removes the secrecy condition for the point-to-point comparison only. -/
def Secure {X Y Z : Type*} [Fintype X] [Fintype Z]
(c : (k : ℕ) → DiscreteWiretapCode X Y k) (V : ℕ → X → Z → ℝ)
(i : Option SecrecyMetric) : Prop :=
match i with
| none => True
| some metric => ∀ eta : ℝ, 0 < eta →
Tendsto (fun k => (c k).leakage V metric eta) atTop (nhds 0)
/-- PDF pp.3–4, (16),(24): ordinary limsup-error and strict optimistic
liminf-error criteria. The latter is a fixed positive margin on infinitely many lengths. -/
def DiscreteReliable {X Y : Type*} [Fintype X] [Fintype Y]
(c : (k : ℕ) → DiscreteWiretapCode X Y k) (V : ℕ → X → Y → ℝ)
(optimistic : Bool) (eps : ℝ) : Prop :=
if optimistic then
∃ delta : ℝ, 0 < delta ∧ ∀ N : ℕ, ∃ k : ℕ, N ≤ k ∧ (c k).error V < eps - delta
else ∀ delta : ℝ, 0 < delta → ∀ᶠ k in atTop, (c k).error V ≤ eps + delta
/-- PDF pp.3–4, Definitions 3–4, using the equivalent supremum formulation (24).
Extrema take place in EReal, so neither empty nor unbounded sets get default zero. -/
def discreteOperationalCapacity {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(V : ℕ → X → Y → ℝ) (E : ℕ → X → Z → ℝ)
(i : Option SecrecyMetric) (optimistic : Bool) (eps : ℝ) : EReal :=
sSup {r : EReal | ∃ R : ℝ, r = (R : EReal) ∧
∃ c : (k : ℕ) → DiscreteWiretapCode X Y k,
RateAtLeast c R ∧ Secure c E i ∧ DiscreteReliable c V optimistic eps}
/-- PDF p.4, Definition 5: actual endpoint equality, not just interior invariance. -/
def PartialStrongConverse {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(W : ℕ → DegradedDMC X Y Z) (i : SecrecyMetric) : Prop :=
discreteOperationalCapacity (fun j => (W j).main) (fun j => (W j).eve) (some i) false 0 =
discreteOperationalCapacity (fun j => (W j).main) (fun j => (W j).eve) (some i) true 1
/-- PDF p.4, (27)–(29): endpoint value and all error-tolerance consequences. -/
def CapacityConclusion {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(W : ℕ → DegradedDMC X Y Z) (i : SecrecyMetric) (C : ℝ) : Prop :=
PartialStrongConverse W i ∧
(∀ eps : ℝ, 0 ≤ eps → eps < 1 →
discreteOperationalCapacity (fun j => (W j).main) (fun j => (W j).eve) (some i) false eps =
(C : EReal)) ∧
(∀ eps : ℝ, 0 < eps → eps ≤ 1 →
discreteOperationalCapacity (fun j => (W j).main) (fun j => (W j).eve) (some i) true eps =
(C : EReal))
/-- PDF p.6: rows are permutations and all column sums are equal. -/
def WeaklySymmetric {X Y : Type*} [Fintype X]
(V : X → Y → ℝ) : Prop :=
(∀ x x', ∃ e : Equiv.Perm Y, ∀ y, V x y = V x' (e y)) ∧
∀ y y', ∑ x, V x y = ∑ x, V x y'
/-- PDF p.6, (45)–(47): Cesaro averages over the first k+1 components. -/
def capacityAverage {X Y : Type*} [Fintype X] [Fintype Y]
(V : ℕ → X → Y → ℝ) (k : ℕ) : ℝ :=
(∑ j : Fin (k + 1), finiteChannelCapacity (V j.val)) / (k + 1 : ℝ)
/-- PDF p.6: construct a maximizing input from V itself. The zero fallback is
used only outside the nonempty finite normalized-channel domain; the maximum
exists in that domain. No comparison output distribution is supplied as data. -/
def maximizingInput {X Y : Type*} [Fintype X] [Fintype Y]
(V : X → Y → ℝ) : X → ℝ :=
if h : ∃ p : X → ℝ, IsLaw p ∧ ∀ q : X → ℝ, IsLaw q →
finiteChannelInformation V q ≤ finiteChannelInformation V p then Classical.choose h else fun _ => 0
/-- PDF p.6: the capacity-achieving output law, constructed from the channel. -/
def capacityOutput {X Y : Type*} [Fintype X] [Fintype Y]
(V : X → Y → ℝ) : Y → ℝ := inducedFiniteOutput V (maximizingInput V)
/-- PDF p.6, (46): row variance on actual row support. Unreachable outputs
have mass zero and do not contribute; all reachable output denominators are positive. -/
def rowInformationVariance {X Y : Type*} [Fintype X] [Fintype Y]
(V : X → Y → ℝ) (x : X) : ℝ :=
let d := fun y => if V x y = 0 then 0 else log2 (V x y / capacityOutput V y)
let mean := ∑ y, V x y * d y
∑ y, V x y * (d y - mean) ^ 2
/-- PDF p.6: the usual point-to-point strong converse, in endpoint-capacity form.
The dummy singleton Eve output imposes no secrecy condition. -/
def PointStrongConverse {X Y : Type*} [Fintype X] [Fintype Y]
(V : ℕ → X → Y → ℝ) : Prop :=
discreteOperationalCapacity V (fun _ _ (_ : Unit) => 1) none false 0 =
discreteOperationalCapacity V (fun _ _ (_ : Unit) => 1) none true 1
/-- PDF p.8, (66)–(69): arbitrary block input laws, with no consistency or
independence requirement across or within blocklengths. -/
def InputProcess (X : Type*) [Fintype X] :=
(k : ℕ) → {p : (Fin (k + 1) → X) → ℝ // IsLaw p}
/-- PDF pp.5,8, (40),(68): actual joint law induced by an arbitrary block input. -/
def blockJoint {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(W : DegradedDMC X Y Z) (P : InputProcess X) (k : ℕ)
(x : Fin (k + 1) → X) (y : Fin (k + 1) → Y) (z : Fin (k + 1) → Z) : ℝ :=
(P k).val x * ∏ j, W.joint (x j) (y j) (z j)
/-- PDF p.8, (67): normalized conditional information density.
On positive actual joint support, W(z|x), P(z), P(y,z) are positive.
The value off actual support is explicitly zero and never enters probabilities. -/
def conditionalDensity {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(W : DegradedDMC X Y Z) (P : InputProcess X) (k : ℕ)
(x : Fin (k + 1) → X) (y : Fin (k + 1) → Y) (z : Fin (k + 1) → Z) : ℝ :=
let p := blockJoint W P k
if p x y z = 0 then 0 else
let wyz := ∏ j, W.joint (x j) (y j) (z j)
let wz := ∏ j, W.eve (x j) (z j)
let pyz := ∑ a, p a y z
let pz := ∑ a, ∑ b, p a b z
log2 ((wyz / wz) / (pyz / pz)) / (k + 1 : ℝ)
/-- PDF pp.4,8, (31),(67)–(69): the 1-p-limsup conditional information rate,
with the strict lower-tail probability condition from (31), valued in EReal. -/
def spectralConditionalSup {X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
(W : DegradedDMC X Y Z) (P : InputProcess X) : EReal :=
sSup {r : EReal | ∃ R : ℝ, r = (R : EReal) ∧
∃ delta : ℝ, 0 < delta ∧ ∀ N : ℕ, ∃ k : ℕ, N ≤ k ∧
(∑ x, ∑ y, ∑ z,
if conditionalDensity W P k x y z ≤ R then blockJoint W P k x y z else 0)
< 1 - delta}
/-- PDF p.3, (4), and p.6, (48): Gaussian density with positive standard
deviation sigma in the theorem domain; Mathlib parameterizes it by variance. -/
def realGaussianDensity (sigma mu y : ℝ) : ℝ :=
ProbabilityTheory.gaussianPDFReal mu ⟨sigma ^ 2, sq_nonneg sigma⟩ y
/-- PDF p.6, (48): memoryless real Gaussian conditional output density. -/
def gaussianBlockDensity (sigma : ℝ) (k : ℕ)
(x y : Fin (k + 1) → ℝ) : ℝ :=
∏ j, realGaussianDensity sigma (x j) (y j)
/-- PDF p.6: physical joint realization, with the source's added noise variance.
Operational quantities below use its Bob and Eve marginals, respectively N(x,sigma1^2)
and N(x,sigma2^2); they do not assume these two outputs independent given x. -/
def gaussianJointDensity (sigma1 sigma2 x y z : ℝ) : ℝ :=
realGaussianDensity sigma1 x y * realGaussianDensity (Real.sqrt (sigma2 ^ 2 - sigma1 ^ 2)) y z
/-- PDF p.6, (49)–(50): the CLOSED block power ball. -/
def powerBall (S : ℝ) (k : ℕ) : Set (Fin (k + 1) → ℝ) :=
{x | ∑ j, (x j) ^ 2 ≤ (k + 1 : ℝ) * S}
/-- PDF pp.3,6, Definition 2 and (49): all Borel stochastic encoders on the
power ball, including non-atomic ones, and a deterministic measurable decoder.
Uniform messages make per-message almost-sure power equivalent to (49). -/
structure PowerConstrainedGaussianCode (S : ℝ) (k : ℕ) where
messages : ℕ
positive : 0 < messages
encoder : Fin messages → MeasureTheory.Measure (Fin (k + 1) → ℝ)
encoder_probability : ∀ m, MeasureTheory.IsProbabilityMeasure (encoder m)
encoder_power : ∀ m, encoder m (powerBall S k) = 1
decoder : (Fin (k + 1) → ℝ) → Fin messages
decoder_measurable : ∀ m, MeasurableSet {y | decoder y = m}
/-- PDF p.3, (14), specialized to (48): average decoding error obtained by
integrating the actual Bob density and stochastic input measure. For positive
sigma, these are integrals of measurable probability kernels, bounded by one. -/
def PowerConstrainedGaussianCode.error {S : ℝ} {k : ℕ} (c : PowerConstrainedGaussianCode S k) (sigma1 : ℝ) : ℝ :=
(c.messages : ℝ)⁻¹ * ∑ m,
∫ x, (∫ y, if c.decoder y = m then 0 else gaussianBlockDensity sigma1 k x y)
∂(c.encoder m)
/-- PDF p.3, Definition 1: the actual joint message/Eve density relative to
counting measure times Lebesgue measure. Positive Gaussian noise gives a finite,
strictly positive conditional output density for every z and every message. -/
def PowerConstrainedGaussianCode.messageEve {S : ℝ} {k : ℕ} (c : PowerConstrainedGaussianCode S k)
(sigma2 : ℝ) (m : Fin c.messages) (z : Fin (k + 1) → ℝ) : ℝ :=
(c.messages : ℝ)⁻¹ * ∫ x, gaussianBlockDensity sigma2 k x z ∂(c.encoder m)
/-- PDF p.3: product of the uniform message law and the actual Eve marginal. -/
def PowerConstrainedGaussianCode.independentEve {S : ℝ} {k : ℕ} (c : PowerConstrainedGaussianCode S k)
(sigma2 : ℝ) (_m : Fin c.messages) (z : Fin (k + 1) → ℝ) : ℝ :=
(c.messages : ℝ)⁻¹ * ∑ m, c.messageEve sigma2 m z
/-- PDF p.3, (5)–(10): all six metrics for the Gaussian code's actual densities.
In the positive-noise domain q is positive and p/q <= M. The negative part of
p log(p/q) is bounded by a constant times q; its positive part by p log M.
Thus these real integrals are integrable, not Bochner defaults on bad functions. -/
def PowerConstrainedGaussianCode.leakage {S : ℝ} {k : ℕ} (c : PowerConstrainedGaussianCode S k)
(sigma2 : ℝ) (i : SecrecyMetric) (eta : ℝ) : ℝ :=
let p := c.messageEve sigma2
let q := c.independentEve sigma2
let d := ∑ m, ∫ z, p m z * log2 (p m z / q m z)
let v := (1 / 2 : ℝ) * ∑ m, ∫ z, |p m z - q m z|
let tail := fun (scale : ℝ) => ∑ m, ∫ z,
if eta < log2 (p m z / q m z) / scale then p m z else 0
match i with
| .divergence => d
| .variation => v
| .tail => tail 1
| .normalizedDivergence => d / (k + 1 : ℝ)
| .normalizedVariation => v / (k + 1 : ℝ)
| .normalizedTail => tail (k + 1 : ℝ)
/-- PDF pp.3–4: the ordinary and strict optimistic reliability conditions for
Gaussian code sequences, with the same epsilon endpoint conventions. -/
def GaussianReliable {S : ℝ} (c : (k : ℕ) → PowerConstrainedGaussianCode S k)
(sigma1 : ℝ) (optimistic : Bool) (eps : ℝ) : Prop :=
if optimistic then
∃ delta : ℝ, 0 < delta ∧ ∀ N : ℕ, ∃ k : ℕ,
N ≤ k ∧ (c k).error sigma1 < eps - delta
else ∀ delta : ℝ, 0 < delta → ∀ᶠ k in atTop, (c k).error sigma1 ≤ eps + delta
/-- PDF pp.3–4,6: operational capacities of the actual real Gaussian channel
under the almost-sure block power constraint. Rate is liminf log M/(k+1).
One code sequence works for every positive threshold eta; encoders are arbitrary
Borel probability measures on the ball, not restricted Gaussian inputs. -/
def gaussianOperationalCapacity (sigma1 sigma2 S : ℝ) (i : SecrecyMetric)
(optimistic : Bool) (eps : ℝ) : EReal :=
sSup {r : EReal | ∃ R : ℝ, r = (R : EReal) ∧
∃ c : (k : ℕ) → PowerConstrainedGaussianCode S k,
(∀ delta : ℝ, 0 < delta → ∀ᶠ k in atTop,
R - delta ≤ log2 ((c k).messages : ℝ) / (k + 1 : ℝ)) ∧
(∀ eta : ℝ, 0 < eta →
Tendsto (fun k => (c k).leakage sigma2 i eta) atTop (nhds 0)) ∧
GaussianReliable c sigma1 optimistic eps}
/-- PDF p.6, (51): the Gaussian secrecy capacity in bits per channel use. -/
def gaussianSecrecyCapacity (sigma1 sigma2 S : ℝ) : ℝ :=
(1 / 2 : ℝ) * log2 (1 + S / sigma1 ^ 2) -
(1 / 2 : ℝ) * log2 (1 + S / sigma2 ^ 2)
/-- The power constraint includes the zero vector; it is an inequality, not a sphere. -/
example (S : ℝ) (hS : 0 ≤ S) (k : ℕ) :
(fun _ : Fin (k + 1) => (0 : ℝ)) ∈ powerBall S k := by
change (∑ _j : Fin (k + 1), (0 : ℝ) ^ 2) ≤ (k + 1 : ℝ) * S
simp only [zero_pow (by decide : (2 : ℕ) ≠ 0), Finset.sum_const_zero]
positivity
/-- The scalar noise density has mass one for every positive standard deviation. -/
example (sigma : ℝ) (hsigma : 0 < sigma) :
(∫ y, realGaussianDensity sigma 0 y) = 1 := by
apply ProbabilityTheory.integral_gaussianPDFReal_eq_one
have hv : (0 : NNReal) < ⟨sigma ^ 2, sq_nonneg sigma⟩ := by
exact_mod_cast sq_pos_of_pos hsigma
exact ne_of_gt hv
/-- Normalization and base convention sanity check. -/
example : IsLaw (fun _ : Unit => (1 : ℝ)) ∧ log2 1 = 0 := by
simp [IsLaw, log2]
/-- The singleton input/output channel carries zero mutual information. -/
example : finiteChannelInformation (fun (_ : Unit) (_ : Unit) => (1 : ℝ)) (fun _ => 1) = 0 := by
simp [finiteChannelInformation, QAlgorithms.mutualInfoBits]
/-- Positive block indexing: the first block contains exactly one channel use. -/
example {X Y : Type*} (V : ℕ → X → Y → ℝ) (x : Fin 1 → X) (y : Fin 1 → Y) :
independentBlockKernel V 0 x y = V 0 (x 0) (y 0) := by
simp [independentBlockKernel]
end QAlgorithms.Papers.Independent.Bridge50.P42
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Bridge50.P42.CapacityConclusion
For finite types , let consist of real row distributions and , meaning that every row is nonnegative and sums to one, and put . Fix one of the six secrecy metrics and any real number . Define to be the extended real supremum of all real for which there is a family of codes with positive message counts , encoder distributions on , and decoders , such that for every ,
For this family set
Writing , let
The family must, for every , have its selected leakage tend to zero, where the six metric choices respectively select , , , , , or . When is false, it must satisfy eventually for every ; when is true, some must satisfy that for every there is with . The defined conclusion is the conjunction
where is embedded in the extended reals. The ordinary interval includes and excludes , while the optimistic interval excludes and includes . Rates and have no explicit nonnegativity requirement. All word sums have length ; division and logarithms are total, with , , and for nonzero . Empty alphabets are allowed by the binders, and an empty extended real supremum equals .
QAlgorithms.Papers.Independent.Bridge50.P42.DegradedDMC.eve
For any type , finite types , functions and whose rows are nonnegative and sum to one, and elements , , this defines the real number . The sum runs over all of , and an empty sum is zero.
QAlgorithms.Papers.Independent.Bridge50.P42.DegradedDMC.joint
For any type , finite types , functions and whose rows are nonnegative and sum to one, and elements , , , this defines . No distribution on is an argument or a factor in this definition.
QAlgorithms.Papers.Independent.Bridge50.P42.DegradedDMC
For any type and finite types , a value of this structure consists of real functions and , together with the requirements that , for every , and , for every . No finiteness or nonemptiness assumption is imposed on . An empty forces to be empty; an empty forces both and to be empty.
QAlgorithms.Papers.Independent.Bridge50.P42.DiscreteReliable
For finite types , a family of codes with messages, encoder distributions on , and decoders , take any real array , a Boolean choice optimistic, and any real . Define the real error value
If optimistic is true, the property means that there exists a real such that for every natural there is a natural with . If it is false, the property means that for every real , one has for all sufficiently large . Neither stochastic assumptions on nor a range restriction on is imposed, so is not assumed here to lie in . Block length is always , including length one at .
QAlgorithms.Papers.Independent.Bridge50.P42.DiscreteWiretapCode.error
For any finite types , natural number , code consisting of a positive message count , nonnegative encoder rows summing to one on , and decoder , and any arbitrary real family , this defines . The functions are not required to be nonnegative or normalized. The denominator is positive; gives a block of length one, and if is empty, the sum over output sequences is empty and the value is zero.
QAlgorithms.Papers.Independent.Bridge50.P42.DiscreteWiretapCode.independentEve
For types , with and finite, a natural number , and a code with a positive number of messages, nonnegative encoder weights summing to one over for each message, and a decoder , take any real array . For every message argument and word , the defined value is independent of and equals
There are no stochastic assumptions on , and the decoder is unused. The case has block length one.
QAlgorithms.Papers.Independent.Bridge50.P42.DiscreteWiretapCode.leakage
For types , with and finite, a natural number , and a code with messages, encoder weights summing to one over for each , and a decoder , take an arbitrary real array , one of the six metric choices , and any real threshold . Define
and, with all sums below over and , define
The defined leakage is respectively , , , , , or for divergence, variation, tail, normalizedDivergence, normalizedVariation, or normalizedTail. The threshold inequality is strict; is unrestricted and is unused in the four divergence and variation cases. No stochastic assumptions on are imposed. Division is total, with division by zero equal to zero, and the real logarithm is total, with and for . Thus these formulas also specify values when their arguments are not probability distributions. The decoder is unused, and is included.
QAlgorithms.Papers.Independent.Bridge50.P42.DiscreteWiretapCode
For any finite type , any type , and any natural number , a value of this structure consists of a positive natural number of messages, an encoder satisfying and for every message , and a deterministic decoder . The type need not be finite or nonempty. Since and , an empty makes the encoder requirements impossible. The case has block length one.
QAlgorithms.Papers.Independent.Bridge50.P42.DiscreteWiretapCode.messageEve
For types , with and finite, a natural number , and a code consisting of a positive number of messages, encoder weights satisfying for each message , and a decoder , let be arbitrary real numbers indexed by , , and . For every message and word , the defined value is
The factor is included in this value. No nonnegativity or normalization is assumed for , and the decoder does not enter the formula. The case uses words of length one; cannot be empty if such a code exists.
QAlgorithms.Papers.Independent.Bridge50.P42.GaussianReliable
For every real , sequence of codes on , real noise parameter , Boolean choice , and real tolerance , let each code have messages, probability encoder measures assigning probability one to , and a decoder with measurable message fibers, and set
where is the Gaussian density with variance and is Lebesgue measure. If is true, this predicate means that there exists a real such that for every natural , some satisfies . If it is false, the predicate means that for every real , all sufficiently large satisfy . No range restriction is imposed on , and no positivity assumption is imposed on .
QAlgorithms.Papers.Independent.Bridge50.P42.InputProcess
For a finite set , an input process is a family , where each is a real-valued function on the strings satisfying for every string and . There is no consistency requirement between different block lengths, no independence requirement within a block, and no law for a block of length zero. The set is allowed to be empty; in that case no such family exists, since already is empty and cannot carry a law of total mass .
QAlgorithms.Papers.Independent.Bridge50.P42.PartialStrongConverse
For finite types , let consist of real arrays and such that every row of each array is nonnegative and sums to one, and define . Fix one of the six secrecy metrics . The defined property is the equality of two extended real suprema: one using ordinary reliability at error parameter , and the other using optimistic reliability at error parameter . More explicitly, both suprema range over real , embedded in the extended reals, and code families having messages, encoder distributions on , and decoders , with
For such a family define
Both suprema require, for every , convergence to zero of the selected leakage. With , define
the six choices give , , , , , and . The first supremum additionally requires eventually for every ; the second instead requires some such that, for every , some has . All word sums have length , and need not be nonnegative. Division is total with , and the real logarithm has and for nonzero . Empty alphabets are not excluded; any empty supremum has value .
QAlgorithms.Papers.Independent.Bridge50.P42.PointStrongConverse
For finite sets , possibly empty, and any sequence of real arrays , this property means equality of two extended-real operational suprema, . To define them, a code at index has block length , a positive integer , a nonnegative law on for every message , and a deterministic decoder ; its error expression is
A sequence has rate at least if, for every , eventually . The supremum ranges over all such real admitting a code sequence for which, for every , eventually . The supremum instead requires some such that for every there is with . There is no secrecy condition: the auxiliary output alphabet is a singleton with kernel constantly , and security is defined to be true. No nonnegativity restriction is imposed on the candidate rates , and no stochasticity assumption is imposed on the arrays , so the error expression need not be a probability. Empty sets are permitted; an empty set of admissible rates has extended-real supremum .
QAlgorithms.Papers.Independent.Bridge50.P42.PowerConstrainedGaussianCode.error
For every real , natural number , code with messages, probability encoder measures on assigning probability one to , and decoder with measurable message fibers, and every real , this defines
where is the Gaussian density with variance , and the inner integral uses Lebesgue measure. No sign or nonzero assumption is imposed on ; at , the density factors and hence this error are zero.
QAlgorithms.Papers.Independent.Bridge50.P42.PowerConstrainedGaussianCode.independentEve
For every real , natural number , code with messages, probability encoder measures assigning probability one to , and a decoder with measurable message fibers, every real , message argument , and , this defines
where is the Gaussian density with variance . The message argument is ignored, so the result is constant in that argument. Negative is allowed, and gives zero.
QAlgorithms.Papers.Independent.Bridge50.P42.PowerConstrainedGaussianCode.leakage
For every real , natural number , code with messages, probability encoder measures satisfying , and a decoder with measurable message fibers, every real , choice among the six stated secrecy metrics, and real threshold , put and define
where is the Gaussian density with variance . With , define
and
The returned value is respectively or for divergence, variation, tail, normalized divergence, normalized variation, or normalized tail. In particular, normalized tail divides the logarithmic ratio inside the strict threshold test; it does not divide the resulting integral. All -integrals use Lebesgue measure. No restriction is imposed on or ; real division and logarithms use their total conventions, including division by zero equal to zero and . At , all six returned values are zero.
QAlgorithms.Papers.Independent.Bridge50.P42.PowerConstrainedGaussianCode
For every real and natural number , a value of this structure consists of a natural number of messages; for each message , a probability measure on satisfying
and a decoder whose fiber is measurable for every message . The power condition is a probability-one constraint on each encoder measure. The parameter specifies a one-coordinate code. Although arbitrary real is allowed as a parameter, no such structure can exist when , because its required power set is empty.
QAlgorithms.Papers.Independent.Bridge50.P42.PowerConstrainedGaussianCode.messageEve
For every real , natural number , code with messages, probability encoder measures satisfying , and a decoder with measurable message fibers, every real , message , and vector , this defines
where has mean and variance . The factor is part of the definition. The decoder does not enter this expression. No positivity assumption is imposed on ; when , the expression is zero.
QAlgorithms.Papers.Independent.Bridge50.P42.RateAtLeast
For types with finite, let be a family of codes, where has messages, a nonnegative encoder distribution on for each message, and a decoder . For any real number , this property means that for every real there exists a natural number such that, for every natural ,
There is no assumption that is nonnegative. The family includes , whose block length is one, although the condition only constrains sufficiently large .
QAlgorithms.Papers.Independent.Bridge50.P42.SecrecyMetric
This defines a type with exactly six distinct values, named divergence, variation, tail, normalizedDivergence, normalizedVariation, and normalizedTail, together with decidable equality between its values. This declaration alone assigns no numerical formula or property to any of these six values.
QAlgorithms.Papers.Independent.Bridge50.P42.Secure
For types , with and finite, let be codes with positive message counts , encoder distributions on , and decoders from to their message sets, and let be any real array. The selector is either absent or specifies one of six metrics. If it is absent, the property is true without any condition. Otherwise, for every real , the selected sequence must converge to zero as . Explicitly, put
where , , and message indices run over the appropriate message set. In the order divergence, variation, tail, normalizedDivergence, normalizedVariation, normalizedTail, the sequence is , , , , , or . The convergence is ordinary real convergence; the positive threshold is universally quantified even for metrics whose formula does not use it. No stochastic assumptions on are required. All divisions are total with , and , with for .
QAlgorithms.Papers.Independent.Bridge50.P42.StochasticRows
For any type , any finite type , and any function , this predicate means that every row is nonnegative and sums to one: and . There is no finiteness assumption on . If is empty, the condition is vacuous; if is empty and is nonempty, it cannot hold.
QAlgorithms.Papers.Independent.Bridge50.P42.WeaklySymmetric
For any finite type , any type without a finiteness or nonemptiness assumption, and any real array , this property is the conjunction that for every there exists a bijection such that
and that for every ,
The bijection may depend on the ordered pair . There are no nonnegativity or row normalization assumptions. If is empty or is empty, the property holds through vacuous conditions and empty sums.
QAlgorithms.Papers.Independent.Bridge50.P42.blockJoint
Let be finite sets, let consist of nonnegative, row-normalized real kernels and , and let assign a nonnegative law of total mass to for every , without requiring consistency between these laws. For and strings , , , the block joint function is defined by
Thus denotes a block containing one coordinate. No nonemptiness assumptions on the alphabets are included explicitly; the supplied laws, kernels, and strings must nevertheless exist.
QAlgorithms.Papers.Independent.Bridge50.P42.capacityAverage
For finite types , any sequence of real arrays , and any natural number , the defined value is
Here if some row of fails to be nonnegative with sum one; otherwise
Each summand uses total real division, with division by zero equal to zero, and the total real logarithm, with and for . There is no requirement that the given arrays have stochastic rows: the test and zero fallback apply separately to each . The average always has the positive denominator , so gives . If either alphabet is empty, each is zero, using the real supremum convention when no input distribution exists.
QAlgorithms.Papers.Independent.Bridge50.P42.capacityOutput
For finite sets , possibly empty, and any real array , the function called the capacity output is
Here is a classically chosen law maximizing
over all nonnegative with , if such a maximizing law exists; otherwise is identically zero. Thus failure of existence makes identically zero, including when is empty. The definition assumes neither that is stochastic nor that is a probability law. The logarithm is , using the total real logarithm and division, including and division by zero equal to .
QAlgorithms.Papers.Independent.Bridge50.P42.conditionalDensity
Let be finite sets, let and be nonnegative kernels whose rows sum to , and let . Let , for every , be an arbitrary law on , with no consistency requirement across . For and strings , put
The conditional density is defined to be if ; otherwise it is
Here , and the expression uses total division and logarithm, including division by zero equal to and . The index is included and gives block length ; there is no block of length zero.
QAlgorithms.Papers.Independent.Bridge50.P42.discreteOperationalCapacity
For finite types , arbitrary real arrays and , an optional choice among the six secrecy metrics, a Boolean , and any real , this defines an extended real number as the supremum of all real numbers , embedded in the extended reals, for which there exists a family of codes satisfying the following conditions. Each has messages, nonnegative encoder weights summing to one over for each , and a decoder ; for every , eventually
Writing
reliability means, when is false, that eventually for every , and, when is true, that some satisfies: for every there is with . Secrecy imposes no condition when is absent; otherwise, for every , the chosen leakage must tend to zero. To define that leakage, put
The six selected leakages are , , , , , and , respectively. All word sums use length . There is no restriction , no range restriction on , and no stochastic assumption on or . Real division and logarithms are total, with , , and for nonzero . The supremum may be infinite; the supremum of an empty set in the extended reals is . In particular, if is empty, no such code family exists.
QAlgorithms.Papers.Independent.Bridge50.P42.finiteChannelCapacity
For any finite types and any real function , this defines zero unless every row of is nonnegative and sums to one. When those row conditions hold, it defines the real supremum, over all functions satisfying and , of , where and . Division by zero and both evaluate to zero. If is empty, the row condition is vacuous but no such exists, and the real supremum of the empty set is zero.
QAlgorithms.Papers.Independent.Bridge50.P42.finiteChannelInformation
For any finite types and arbitrary real functions , , put . This defines the real number , where uses the total real logarithm. There are no nonnegativity, normalization, or nonemptiness hypotheses. In particular, zero denominators are evaluated using real division by zero equal to zero, and ; if either index type is empty, the value is zero.
QAlgorithms.Papers.Independent.Bridge50.P42.gaussianBlockDensity
For every real , natural number , and vectors , this defines
where is the real Gaussian density with mean and variance . The block has coordinates, so gives one density factor, rather than an empty product. Negative gives the same function as positive , and gives the zero function.
QAlgorithms.Papers.Independent.Bridge50.P42.gaussianJointDensity
For arbitrary real , this defines
where each is the real Gaussian density with mean and variance . No positivity or ordering hypotheses are imposed on . The real square root is zero on nonpositive arguments, and the zero-variance density used here is identically zero; consequently, the product is zero whenever , and also whenever .
QAlgorithms.Papers.Independent.Bridge50.P42.gaussianOperationalCapacity
For arbitrary real , a choice among the six secrecy metrics, and a Boolean , this defines an extended-real supremum of all real numbers satisfying the following requirements. There must exist, for every natural , a code with coordinates, messages, probability encoder measures satisfying , and a decoder with measurable message fibers. For every real , eventually
To specify the remaining requirements, write , with the Gaussian density of variance , and set
For every real , the selected leakage must tend to zero as : its six possible values are
where
Finally, with
the true Boolean choice requires some for which arbitrarily large satisfy ; the false choice requires eventually for every . All output integrals are with respect to Lebesgue measure, and total real division and logarithms are used, including division by zero equal to zero and . There is no explicit requirement , no range restriction on , and no positivity or ordering restriction on the noise parameters. The extended-real supremum is if there are no qualifying rates and if they are unbounded above; in particular, permits no required code sequence.
QAlgorithms.Papers.Independent.Bridge50.P42.gaussianSecrecyCapacity
For arbitrary real , this defines the real number
No positivity, ordering, or power assumptions are imposed, and the expression is not truncated at zero. Division by zero is defined to be zero, so a zero noise parameter makes its corresponding logarithmic term zero. The real logarithm is the total real logarithm, with and for negative .
QAlgorithms.Papers.Independent.Bridge50.P42.independentBlockKernel
For any types , any family of real functions indexed by natural numbers , any natural number , and sequences , , this defines . No finiteness, nonnegativity, or normalization assumption is imposed on the types or functions. The block length is , so gives the single factor , not an empty product.
QAlgorithms.Papers.Independent.Bridge50.P42.inducedFiniteOutput
For any finite type , any type , arbitrary real functions and , and any , this defines . Neither nor the rows of are required to be nonnegative or normalized, and need not be finite. If is empty, the value is zero.
QAlgorithms.Papers.Independent.Bridge50.P42.maximizingInput
For finite sets , possibly empty, and an arbitrary real array , define, for each law on ,
where a law means nonnegative values summing to . If there exists a law such that for every law , the function called the maximizing input is one classically chosen such . If no such law exists, it is the identically zero function. No stochasticity or nonnegativity assumption is made on , and neither existence nor uniqueness of a maximizing law is asserted by this definition. In particular, when is empty there is no law and the fallback is used. Here , division by zero is , and the total real logarithm satisfies and for .
QAlgorithms.Papers.Independent.Bridge50.P42.powerBall
For every real and natural number , this defines the subset
The boundary is included. The case is the condition ; there is always at least one coordinate. For the set is empty, and for it consists only of the zero vector.
QAlgorithms.Papers.Independent.Bridge50.P42.realGaussianDensity
For arbitrary real numbers , this defines the real Gaussian density at with mean and variance :
There is no assumption that ; changing its sign leaves the function unchanged. With the total real arithmetic used here, division by zero is zero, so for every .
QAlgorithms.Papers.Independent.Bridge50.P42.rowInformationVariance
For finite sets , an arbitrary real array , and a specified , define
The row information variance is the real number
Here , where is a classically chosen law maximizing
over nonnegative summing to , if a maximizer exists, and is identically zero otherwise. No stochasticity assumption is imposed on , so the displayed expression is defined even when its weights are negative or do not sum to . If is empty, the result is . A nonzero with also gives , because division by zero and are both ; negative logarithm arguments use the total real logarithm .
QAlgorithms.Papers.Independent.Bridge50.P42.secrecyCapacity
For any finite types and functions , whose rows are nonnegative and sum to one, this defines the real supremum over all with and of , where , , and . Division by zero and evaluate to zero. If is empty, there is no admissible , and the real supremum of the empty set is zero.
QAlgorithms.Papers.Independent.Bridge50.P42.secrecyInfo
For any finite types , functions and whose rows are nonnegative and sum to one, and any arbitrary real function , define and . The definition is . Here , division by zero and evaluate to zero, and is not required to be nonnegative or normalized. Empty sums are zero.
QAlgorithms.Papers.Independent.Bridge50.P42.spectralConditionalSup
Let be finite sets, let and be nonnegative, row-normalized kernels, put , and let be a law on for every , without any consistency requirement. For , define
and define when this value is zero, and otherwise
where ranges over and over . The spectral conditional supremum is the extended-real number
with each real embedded into the extended reals. Thus the strict mass inequality must hold at arbitrarily large indices with one fixed positive . The definition places no separate upper bound on and no sign restriction on . Its value is if the displayed set is empty and if that set is unbounded above. Logarithms are base , using total division and logarithm at zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.