Theorem 5
OpenQAlgorithms.Papers.Independent.Advance50.P28.wiretap_one_shotLet and be classical stochastic channels with countable discrete input and measurable output densities, and let be an input law. Put . Codes have normalized stochastic encoders, disjoint measurable decoding sets, uniform messages, average Bob error , and full message–Eve dependence against their actual Eve marginal. For all positive integers , a single code with messages satisfies
The reliability and secrecy parameters can be optimized separately while sharing the existence quantifier. Nonnegative integrals permit infinite channel moments rather than losing countable-input generality.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P28
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal Topology
namespace QAlgorithms.Papers.Independent.Advance50.P28
open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- Hayashi, PDF pp.12–13, Theorem 5: ONE code attains both separately optimized
bounds. Countable inputs and measurable density outputs retain the source's generality. -/
theorem wiretap_one_shot {X Y E : Type*} [Countable X] [Nonempty X]
[MeasurableSpace Y] [MeasurableSpace E]
(muB : Measure Y) (muE : Measure E)
(WB : X → Y → ℝ≥0∞) (WE : X → E → ℝ≥0∞)
(hB : IsDensityChannel muB WB) (hE : IsDensityChannel muE WE)
(p : X → ℝ≥0∞) (hp : IsENNRealDiscreteLaw p) (M L : ℕ) (hM : 0 < M) (hL : 0 < L) :
∃ C : WiretapCode X Y M,
wiretapDecodingError muB WB C ≤ 3 * sInf ((fun t : ℝ =>
(M * L : ℝ≥0∞) ^ t * gallagerDensityMoment muB WB p (-t)) '' Set.Icc 0 1) ∧
codeLeakage muE WE C ≤ 9 * sInf ((fun t : ℝ =>
gallagerDensityMoment muE WE p t / (L : ℝ≥0∞) ^ t) '' Set.Icc 0 (1 / 2)) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P28
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a nonempty countable type, let be measurable spaces with measures , and let , satisfy: for every , their output functions are measurable and have lower integral against their respective measures. Let satisfy , and let be positive natural numbers. For either output space define
There exist encoder masses , each with , and pairwise disjoint measurable decoding sets , indexed by , such that, writing , , and ,
where , with truncated subtraction and . The infima and inequalities are in , and both parameter intervals include their endpoints. No sigma finiteness assumption is imposed on either measure.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.