One-way key distillation (95)–(97)
OpenQAlgorithms.Papers.Independent.Advance50.P28.one_way_key_distillationLet be a finite abelian group and let be a normalized classical source, with measurable side information. Represent its compatible marginals by probability measures and conditional vectors with the same marginal. For positive , one protocol chooses an independent uniform -valued Alice key, samples a codeword conditional on it, and publicly sends . Bob uses and Eve sees . The actual induced channels are and . One protocol satisfies
The full secrecy includes the entire public mask. The conditional phi function is the integral of the conditional-vector norm, rather than a conditional-Renyi replacement. For side variable or , ; zero-probability letters contribute zero.
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 p.16, (95)–(97): an actual one-way mask protocol. The code's
uniform key is independent of the source; Alice samples X from its stochastic
encoder and publicly sends X+A. Bob uses (X+A,B), Eve observes (X+A,E). -/
theorem one_way_key_distillation {A B E : Type*} [AddCommGroup A] [Fintype A]
[MeasurableSpace A] [MeasurableSingletonClass A]
[MeasurableSpace B] [MeasurableSpace E]
(muB : Measure B) (muE : Measure E) [IsProbabilityMeasure muB] [IsProbabilityMeasure muE]
(pB : B → A → ℝ) (pE : E → A → ℝ)
(hp : CompatibleMarginals muB pB muE pE)
(M L : ℕ) (hM : 0 < M) (hL : 0 < L) :
∃ C : WiretapCode A (A × B) M,
wiretapDecodingError (Measure.count.prod muB) (generalAdditiveDensity pB) C ≤
3 * sInf ((fun s : ℝ => (M * L : ℝ≥0∞) ^ s * ENNReal.ofReal
(Real.exp (-s * Real.log (Fintype.card A : ℝ) + conditionalPhi muB pB (-s)))) ''
Set.Icc 0 1) ∧
codeLeakage (Measure.count.prod muE) (generalAdditiveDensity pE) C ≤
9 * sInf ((fun t : ℝ => ENNReal.ofReal (Real.exp
(t * Real.log (Fintype.card A : ℝ) + conditionalPhi muE pE 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 finite abelian group with a measurable structure in which singletons are measurable, and let be measurable spaces with probability measures . Suppose and are pointwise nonnegative probability vectors on , have measurable coordinate functions, and satisfy
For , write
using natural logarithms and real powers. For every pair of positive integers , there exist encoder masses , indexed by , with , and measurable, pairwise disjoint decoding sets . Define, with embedded in the extended nonnegative reals,
and
where is truncated subtraction. These choices satisfy simultaneously, in the extended nonnegative reals,
The decoding sets need not cover the output space. Both infima include their endpoints, and no restriction is imposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.