IID one-way key distillation (98)–(99)
OpenQAlgorithms.Papers.Independent.Advance50.P28.iid_one_way_key_distillationTake iid copies of a normalized source with finite abelian and measurable side information. Write and for its conditional phi functions. For all positive integers , there is a single one-way protocol with a uniform -valued Alice key and public transcript such that
Bob and Eve observe the whole transcript together with their respective original side information. Both guarantees concern the same stochastic protocol and the actual iid source, without an unrelated input distribution. 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, (98)–(99): ONE protocol meets both iid bounds; no unrelated
input law p is introduced. The decoder and Eve both receive the whole public mask. -/
theorem iid_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)
(n M L : ℕ) (hn : 0 < n) (hM : 0 < M) (hL : 0 < L) :
∃ C : WiretapCode (Fin n → A) ((Fin n → A) × (Fin n → B)) M,
wiretapDecodingError (Measure.count.prod (Measure.pi (fun _ : Fin n => muB)))
(generalAdditiveDensity (conditionalIid pB n)) C ≤
3 * sInf ((fun s : ℝ => (M * L : ℝ≥0∞) ^ s * ENNReal.ofReal (Real.exp
((n : ℝ) * (-s * Real.log (Fintype.card A : ℝ) + conditionalPhi muB pB (-s))))) ''
Set.Icc 0 1) ∧
codeLeakage (Measure.count.prod (Measure.pi (fun _ : Fin n => muE)))
(generalAdditiveDensity (conditionalIid pE n)) C ≤
9 * sInf ((fun t : ℝ => ENNReal.ofReal (Real.exp
((n : ℝ) * (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 nonnegative probability vectors on at every point, have measurable coordinate functions, and obey
For , define, using natural logarithms and real powers,
For every choice of positive integers , there exist encoder masses , with for each , and measurable, pairwise disjoint decoding sets . Put
where is regarded as an extended nonnegative real and subtraction in is coordinatewise. Define
where denotes truncated subtraction. The encoder and decoding sets can be chosen so that, simultaneously in the extended nonnegative reals,
Both infima include their endpoints; the decoding sets need not cover the output space, and no restriction is assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.