Lemma 1: real versus intermediate distance equals correctness error
OpenQAlgorithms.Papers.Independent.Intakethird100.P22.intermediate_distanceLet be a normalized classical-device law with a common finite nonempty key alphabet and finite nonempty transcript, Eve-output and Eve-input alphabets. The marginal is independent of . The ideal pass law replaces the keys by a uniform perfectly correlated pair, independent of the actual marginal. The intermediate law copies Alice's key into Bob's register and preserves . Let be the abort probability, with an identical normalized abort branch in all three systems. Write for the operational NS distance, and for the pass-weighted secrecy, disagreement and security errors, respectively. Thus , , and .
For the real and intermediate full output systems,
The intermediate system isolates correctness error while keeping Alice and Eve's actual marginal.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P22
noncomputable section
open scoped BigOperators
namespace QAlgorithms.Papers.Independent.Intakethird100.P22
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Advance50.P47
(Box IsCorrelation IsNoSignaling HasLocalModel correlationMixture prBox)
open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)
open QAlgorithms.Papers.Independent.Information100.P27 (shannon)
open QAlgorithms.Papers.Independent.Gap48.P25 (classicalMI)
/-- PDF pp.31–32, Lemma 1, (94),(104): NS distance to the constructed intermediate
system equals the weighted disagreement probability. -/
theorem intermediate_distance {K T E Z : Type}
[Fintype K] [Fintype T] [Fintype E] [Fintype Z]
[Nonempty K] [Nonempty T] [Nonempty E] [Nonempty Z]
(r : KeyOutput K T E Z) (z : Z) :
cdDistance (withAbort r.abortProbability r.abort r.pass)
(withAbort r.abortProbability r.abort (intermediateKey r.pass)) = correctnessError r z := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P22
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all finite nonempty types , let consist of and pass and abort arrays , both nonnegative and normalized over for each , with their marginals obtained by summing over independent of . For every , define
For arrays on , let
where and are nonnegative real probability distributions on and . With , the assertion is
The right side is the correctness error at the arbitrarily supplied ; the left side has no chosen input .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.