Lemma 4: general wiretap direct bounds
OpenQAlgorithms.Papers.Independent.Intake100.P73.wiretap_directLet and be arbitrary sequences of classical discrete channels with common input alphabet and output alphabets . A wiretap code has a positive finite message count, stochastic encoders and pairwise disjoint Bob decoding regions; messages are uniform. Let be its average Bob error, , and , with when . The capacities are the suprema of the liminf ordinary log message rates of code sequences with and, respectively, or . They include the operational zero-rate baseline. All distances are full L1 and all rates are in nats.
For an input-law sequence and channel sequence , put . Define and . At use the strict tail bound . Spectra and numerical extrema are extended-valued.
For possibly infinite spectra, interpret by the finite-threshold cut
For every normalized input-law sequence ,
If, additionally, for a fixed positive integer , then
The alphabet assumption belongs only to the second inequality. These direct bounds apply to arbitrary channel sequences and retain the paper's normalized-KL secrecy criterion.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P73
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P73
open Filter
open scoped BigOperators ENNReal Topology
attribute [local instance] Classical.propDecidable Classical.decEq
universe u
/-- Hayashi, PDF p.9, Lemma 4, (30)–(31): exponential Eve alphabet assumption
applies ONLY to the normalized-KL clause. Infinite differences use finite cuts. -/
theorem wiretap_direct {X Y Z : ℕ → Type*} [∀ k, Nonempty (X k)]
(B : (k : ℕ) → X k → Y k → ℝ≥0∞) (E : (k : ℕ) → X k → Z k → ℝ≥0∞)
(hB : ∀ k, IsDiscreteStochastic (B k)) (hE : ∀ k, IsDiscreteStochastic (E k))
(p : (k : ℕ) → PMF (X k)) :
spectralDifference (epsilonInformationSpectrum false B p 1) (epsilonInformationSpectrum true E p 0) ≤ generalSecrecyCapacity false B E ∧
(∀ d : ℕ, 0 < d → (∀ k, Nat.card (Z k) = d ^ length k) →
spectralDifference (epsilonInformationSpectrum false B p 1) (epsilonInformationSpectrum true E p 0) ≤ generalSecrecyCapacity true B E) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P73
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every three families of types with each nonempty, every pair of kernel families and satisfying and for every , and every family of probability mass functions on , the two conclusions below hold. Put . For either kernel family , define and define to be if , if and , and otherwise; the first branch applies when both arguments vanish. Set
where the tail sums are real probability masses and the infima are in the extended real line. Define
again in the extended real line; this is the displayed supremum over strict real bounds, including its empty-set value . To define the quantities and , consider every sequence of codes with a positive integer , a probability mass function on for each , and pairwise disjoint subsets . Put
and let
For finite nonnegative point masses , define
All point masses used here are finite because they belong to probability distributions, while these sums may take extended nonnegative values. Define
Then is the maximum of and the supremum of the extended real numbers over all such code sequences satisfying and ; uses and instead. These convergences are in , and all limits are as . The assertion is
together with the statement that for every natural number , if for every , then
Here is the ordinary cardinality for a finite type and is for an infinite type, so the additional hypothesis forces each to be finite and nonempty. The first inequality has no such cardinality hypothesis. Code sizes equal to are allowed, the distance is explicitly for those codes, and has length .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.