§IV.B.2 Eq.(82): information from the economical BB84 attack
OpenQAlgorithms.Papers.Independent.Extend50.P40.economic_informationFor the specified economical BB84 attack, let . Alice’s raw bit is uniform, bases have been sifted, and Bob and Eve measure X. With binary entropy in bits and , the actual normalized joint law gives
Consequently the displayed raw-information rate I_AB−min(I_AE,I_BE) is positive whenever D=(1−cosθ)/2<1/2, including D=0. This is a calculation for the specified attack and measurement, not an unrestricted QKD security statement.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P40
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P40
open QAlgorithms
open scoped Matrix ComplexOrder ComplexConjugate BigOperators Topology
open MeasureTheory Filter
open scoped Matrix.Norms.Frobenius
open QAlgorithms.Papers.Independent.Dependency50.P12 (sigma)
open QAlgorithms.Papers.Independent.Dependency50.P48 (pureFidelity)
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Support21.P16
(CloneMap IsBoseInputChannel coherentTensor tensorWithIdentity canonicalCloner
HasBoseOutput HasBlackCowCoefficient canonicalCoefficient oneMixed)
open QAlgorithms.Papers.Independent.Renew46.P45
(TensorMat boseProjector siteObservable)
open QAlgorithms.Papers.Independent.Information100.P58 (Word)
open QAlgorithms.Papers.Independent.Claimed50.P30
(ModeHilbert ModeOperator IsModeDensity FockWeylSystem)
open QAlgorithms.Papers.Independent.Renew46.P41
(coherentProduct NormalizedCoherent IsReducedDensity FockCanonicalAction
ModeUnitary twoModeAmplifierQuadratures modeMixingQuadratures embeddedOpticalBeam
displacedThermal cloneNoise cloneFidelity)
open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentProjector)
/-- IV.B.2, PDF p.21 Eq.(82) and footnote 27: actual specified attack and X
measurement. The displayed raw rate stays positive for D<1/2, including D=0. -/
theorem economic_information (theta : ℝ) (h0 : 0 ≤ theta) (h1 : theta < Real.pi / 2) :
(∀ a b e, 0 ≤ economicLaw theta a b e) ∧
(∑ a, ∑ b, ∑ e, economicLaw theta a b e) = 1 ∧
infoAB (economicLaw theta) = binaryInformation ((1 + Real.cos theta) / 2) ∧
infoAE (economicLaw theta) = binaryInformation ((1 + Real.sin theta) / 2) ∧
infoBE (economicLaw theta) = binaryInformation ((1 + Real.sin theta * Real.cos theta) / 2) ∧
infoBE (economicLaw theta) < infoAB (economicLaw theta) ∧
0 < rawRate (infoAB (economicLaw theta)) (infoAE (economicLaw theta)) (infoBE (economicLaw theta)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P40
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every real , let for , and define the linear map by
Define
All eight values are nonnegative and their sum is one. For a finite real array , write
using total real division and logarithm, including , and let denote this expression for the respective pair marginals of . With , equivalently the binary entropy with zero endpoint terms, the assertions are
together with and . The endpoint is included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.