← All solved theorems
Wyner–Csiszár–Körner Wiretap Channel Secrecy Capacity Theorem
proved in Lean
When an eavesdropper overhears a noisy copy of the transmission, messages can be sent reliably while the eavesdropper learns a vanishing amount per symbol, at any rate below the secrecy capacity, the best value of I(V;Y) − I(V;Z).
Aaron D. Wyner; Imre Csiszár and János Körner (1978) · Ch. 15 / EGK · Network Information Theory · El Gamal & Kim, Theorem 22.1; Wyner (1975); Csiszár & Körner (1978)
Statement
For any discrete memoryless wiretap channel $W(y, z \mid x)$ with legitimate receiver $Y$ and eavesdropper $Z$, the operational weak-secrecy capacity (requiring $P_e^{(n)} \to 0$ and $\frac{1}{n} I(M; Z^n) \to 0$) equals the single-letter Csiszár–Körner secrecy capacity: $$C_s^{\mathrm{op}}(W) = C_s(W) = \sup_{V - X - (Y, Z)} \bigl(I(V; Y) - I(V; Z)\bigr).$$ Moreover, $0 \le C_s(W) \le C(W_B)$, $C_s(W) = \sup_{P_X} (I(X; Y) - I(X; Z))$ whenever $Z$ is stochastically degraded with respect to $Y$ (Wyner 1975), and $C_s(W) = 0$ whenever $Z$ is less noisy than $Y$.
How the proof works
Proved directly against InfoTheory.Core.Channels.{WiretapChannel, wiretapSecrecyCapacity}: the weak-secrecy converse applies Fano's inequality and csiszar_sum_identity with auxiliary $U_i = (Y^{<i}, Z_{>i})$; achievability uses prefix channel $V \to X$ and i.i.d. random binning reusing dmc_random_coding_expected_error_le for both Bob's decoding of $(M, L)$ and Eve's conditional decoding of $L$ given $(M, Z^n)$ via Fano's inequality.
Lean declarations (6)
The key theorems in the Lean library. Each is compiled with Lean 4, uses only the standard axioms propext, Classical.choice and Quot.sound, and is re-checked by leanchecker. Click a name to see the full proof on GitHub.
theorem wiretapSecrecyCapacity_degraded (W : WiretapChannel X Y Z)
(hdeg : IsStochasticallyDegradedWiretap W) :
wiretapSecrecyCapacity W =
sSup { r : ℝ | ∃ Px : ProbDist X,
r = (wiretapBobChannel W).mutualInfo Px - (wiretapEveChannel W).mutualInfo Px } := by …
theorem wiretapSecrecyCapacity_eq_zero_of_less_noisy_eve (W : WiretapChannel X Y Z)
(hln : IsLessNoisyEveWiretap W) :
wiretapSecrecyCapacity W = 0 := by …
theorem wiretapCode_rate_converse (W : WiretapChannel X Y Z) {n M : ℕ} (hn : 0 < n) (hM : 2 ≤ M)
(code : WiretapCode W n M) :
let hMpos : 0 < M := by …
theorem wiretap_weak_secrecy_converse (W : WiretapChannel X Y Z) (R : ℝ)
(hR : IsWiretapWeakAchievable W R) :
R ≤ wiretapSecrecyCapacity W := by …
theorem wiretap_weak_secrecy_achievability (W : WiretapChannel X Y Z) (R : ℝ)
(hR0 : 0 ≤ R) (hR : R < wiretapSecrecyCapacity W) :
IsWiretapWeakAchievable W R := by …
theorem wiretap_secrecy_capacity_theorem (W : WiretapChannel X Y Z) :
wiretapOperationalCapacity W = wiretapSecrecyCapacity W := by …
Related open problems (4)
Open problems that build on, generalize, or are analogous to this theorem.