Theorem 3: one code meets five reliability and secrecy bounds
OpenQAlgorithms.Papers.Independent.Intake100.P73.wiretap_one_shotLet and be classical discrete channels with a common input, and let . No degradedness assumption is imposed. Fix positive integers and independent threshold parameters . For a channel define , , , , and , with null-support and zero-entropy terms treated by their usual conventions.
There is ONE stochastic wiretap code of exactly equiprobable messages with pairwise disjoint Bob regions, for which
If is finite, this same code additionally satisfies
Here is average Bob error, , and is average full L1 over ordered distinct message pairs, defined as zero for . All logarithms are natural. The simultaneous guarantee controls the reliability and both secrecy criteria of one actual code.
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 pp.6–7, Theorem 3, (19)–(23): ONE code meets ALL five bounds.
Only (21) is conditional on finite Z. M=1 has empty pair-average leakage zero. -/
theorem wiretap_one_shot {X Y Z : Type*}
(B : X → Y → ℝ≥0∞) (E : X → Z → ℝ≥0∞)
(hB : IsDiscreteStochastic B) (hE : IsDiscreteStochastic E) (p : PMF X)
(L M : ℕ) (hL : 0 < L) (hM : 0 < M) (C Cp : ℝ) (hC : 0 < C) (hCp : 0 < Cp) :
∃ c : DiscreteStochasticWiretapCode X Y, c.messages = M ∧
(averageBobError B c : EReal) ≤ 3 * sInf
((fun s : ℝ => ((((M * L : ℕ) : ℝ≥0∞) ^ s * phiMoment B p s : ℝ≥0∞) : EReal)) '' Set.Icc 0 1) ∧
averageBobError B c ≤ ENNReal.ofReal (3 * (lowTail B p Cp + ((M * L : ℕ) : ℝ) / Cp)) ∧
(Finite Z → averageEveDivergence E c ≤ ENNReal.ofReal (3 * entropyBound E p L C)) ∧
(averageEveDivergence E c : EReal) ≤ 3 * sInf
((fun t : ℝ => klBound E p L t) '' Set.Ico (-(1 / 2)) 0) ∧
eveDistance E c ≤ ENNReal.ofReal (6 * l1Bound E p C L) := 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 any types , functions and satisfying and for every , a probability mass function on , positive integers , and positive reals , the theorem asserts that there exist probability mass functions on and pairwise disjoint sets satisfying all the bounds below simultaneously. Write , , , and
Here , with truncated subtraction, and , where if , if , and otherwise
The map converts extended nonnegative numbers to reals, sending to , and is embedded in . For or , with its corresponding output type, define
and define
Each indicated summand is zero outside its condition; in particular, the definition of has no additional positivity conditions, and its ratio uses total extended nonnegative division. With if , and otherwise, the simultaneous bounds are
The first bound on and the infimum bound on are inequalities in the extended reals; their infima are taken there, and the latter uses the extended logarithm, which sends to and to . The interval for includes both endpoints, while the interval for includes and excludes . The regions need not cover and may be empty. The hypotheses exclude , , and nonpositive thresholds, and force to be nonempty; is allowed, in which case the disjointness condition is vacuous and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.