Degraded DMC wiretap channels: partial strong converse
OpenQAlgorithms.Papers.Independent.Bridge50.P42.degradedDMC_partialStrongConverseLet be finite nonempty alphabets and a normalized degraded stationary memoryless channel. Its Eve marginal is . All quantities are in bits. Set
The maximum defining is attained. For the six literal metrics of Definition 1, define
Let and be the ordinary and optimistic operational capacities of Definitions 2–4: finite positive uniform messages, arbitrary stochastic encoders, deterministic decoders, average error, and vanishing leakage, with one code sequence satisfying every positive threshold for tail metrics. Then
Source correction: the printed theorem assigns to every metric. Its printed vanishes for every code because variational distance , so only that metric's common value is changed to Bob's capacity.
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P42
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 p.5, Theorem 3, with endpoint equality and its full epsilon consequences
from p.4, (27)–(29). All finite alphabets are nonempty. Equation (41)'s maximum
is attained; its difference form uses the actual two marginals.
SOURCE CORRECTION (trap 30): printed Theorem 3 assigns CsDM to all six metrics.
Changed only S5's capacity value to C(W.main), preserving printed S5=variation/n.
Why: variation<=1 makes S5 vanish for every code; noiseless identical binary
Bob/Eve channels have zero secrecy capacity but S5 capacity one. -/
theorem degradedDMC_partialStrongConverse
{X Y Z : Type*} [Fintype X] [Fintype Y] [Fintype Z]
[Nonempty X] [Nonempty Y] [Nonempty Z] (W : DegradedDMC X Y Z) :
(∃ p : X → ℝ, IsLaw p ∧ secrecyInfo W p = secrecyCapacity W) ∧
∀ i : SecrecyMetric, CapacityConclusion (fun _ => W) i
(if i = .normalizedVariation then finiteChannelCapacity W.main else secrecyCapacity W) := by sorry
end QAlgorithms.Papers.Independent.Bridge50.P42
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be finite, nonempty sets, and let consist of probability distributions on , for every , and on , for every . Set . A probability law means for all and . Write , and define
Define and . There exists a probability law on with . Moreover, the following capacity assertions hold for each of the six metrics described below. A code at index has block length , a positive integer of messages, a probability distribution on for each message, and a decoder . Its error is the uniform-message average probability of , using the conditional block law . Define its message–Eve joint law and the product of its marginals by
Put
and . In the order divergence, variation, tail, normalized divergence, normalized variation, and normalized tail, the leakage quantities are . Security requires convergence of the chosen quantity to zero for every . A code sequence has rate at least a real number when, for every , eventually . Ordinary reliability at error level means that, for every , eventually its error is at most ; optimistic reliability means that some satisfies: for every , some has error strictly below . Let and be the suprema, in the extended real numbers, of all real rates admitted by secure code sequences with the respective reliability condition; no nonnegativity restriction is imposed on these rates. Then
where for normalized variation and for every other metric, with these real values embedded in the extended reals. All displayed quotients and logarithms use total real operations, including division by zero equal to zero and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.