§VII.A, equations (59)–(61): dual-universal privacy amplification on an iid Pauli wire-tap channel
OpenQAlgorithms.Papers.Independent.Intake100.P31.iid_securityLet and let be indexed by a finite nonempty seed set , sampled uniformly and independently of inputs. Repeated codes at distinct seeds retain their multiplicity. Write and . A dimension- universality bound means for every nonzero . Use independent uses of the qubit Pauli channel , with independent single-qubit phase and bit probabilities . Eve holds the entire complementary environment. A uniform message is a coset of , with ; Alice sends the uniform mixture of words in that coset. Bob uses maximum-likelihood word decoding in followed by projection modulo . Let be the full trace norm between the actual cq state and the independent uniform-key state, and let be its Holevo information in bits. Let be the actual ML quotient decoding error for under the phase marginal of this same Pauli law. The environment, decoder, and both leakage quantities are computed explicitly, rather than supplied as unrelated data. Set for , and for , where is binary entropy in bits. For and , define and . Fix and a subcode family whose dual extended-code family is -almost universal at its maximum dimension, with . Set , , , , and . Then
The public seed is retained in Eve's cq blocks. These finite physical inequalities do not identify coherent and incoherent complementary outputs.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P31
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P31
open scoped BigOperators Matrix ComplexConjugate
open QAlgorithms
local instance {n : ℕ} (C : BinaryLinearCode n) : Fintype C := Fintype.ofFinite C
/-- PDF pp.13--14, (54),(55),(59)--(61): finite physical iid wire-tap security.
S=min dim(C2)/n; the swapped dimensions below (59) are corrected using (56).
Each seed has its own quotient and message length, bounded by l_max.
The seed is public: the uniform average is the cq block sum with Eve's seed record. -/
theorem iid_security {n : ℕ} (hn : 0 < n) {I : Type*} [Fintype I] [Nonempty I]
(large : BinaryLinearCode n) (small : I → BinaryLinearCode n) (hsub : ∀ r, small r ≤ large)
(eps : ℝ) (heps : 0 < eps)
(hu : ExtUniversalAt (binDual large) (fun r => binDual (small r))
(maxDim (fun r => binDual (small r))) eps)
(pPhase pBit : ℝ) (hp : pPhase ∈ Set.Icc 0 1) (hb : pBit ∈ Set.Icc 0 1) :
(∀ r, traceLeak (small r) large (iidPauli pPhase pBit) ≤
2 * Real.sqrt (2 * phaseError (small r) large (iidPauli pPhase pBit))) ∧
(∀ r, holevoLeak (small r) large (iidPauli pPhase pBit) ≤
entropyEnvelope (messageLength (small r) large) (phaseError (small r) large (iidPauli pPhase pBit))) ∧
avg (fun r => phaseError (small r) large (iidPauli pPhase pBit)) ≤
iidPhaseBound n (minDim small) pPhase eps ∧
avg (fun r => traceLeak (small r) large (iidPauli pPhase pBit)) ≤
(2 : ℝ) ^ (-(1 / 2 : ℝ) * n * gallagerExponent (1 - (minDim small : ℝ) / n) pPhase + 3 / 2) *
max (Real.sqrt eps) 1 ∧
avg (fun r => holevoLeak (small r) large (iidPauli pPhase pBit)) ≤
entropyEnvelope (Module.finrank (ZMod 2) large - minDim small)
(iidPhaseBound n (minDim small) pPhase eps) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P31
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , let be a finite nonempty seed type, let be a binary linear code, and let be a binary linear code for every . Write , , and . Suppose , every , and, for every ,
For any , including their endpoints, set
For each code , let , where is a chosen maximizer of subject to , with unspecified tie choices. Define
To define the other quantities, let be diagonal with entry at , and put
Here is the coordinate vector at , and binary dot products in exponents are represented by or . Set
where and , with matrix functions defined by continuous functional calculus. Finally, define
and, for natural and real ,
using the total real logarithm, whose value at zero is zero. The theorem asserts all five bounds
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.