III.C.3: cross-pair counting preserves boundary coherence and destroys decoy coherence, (23)
OpenQAlgorithms.Papers.Independent.Intakethird100.P33.twoCoherentMonitoringTake source blocks with symbols 0, 1, or decoy, each occupied bin carrying coherent amplitude for and each blocked bin vacuum. On every disjoint cross-boundary late/early pair , perform a nondemolition measurement of the total photon number and discard the measurement result. The resulting density retains a number-basis matrix element exactly when its bra and ket have the same total in every measured pair. The outer unpaired bins are untouched.
Both the original and counted full-Fock densities are normalized. For each occupied 1,0 boundary, the required number moments converge and the intrinsic monitor fluxes and contrast are
For each decoy block strictly inside the train, its early and late bins belong to different measured pairs, and
The summed flux in each ratio is positive. Empty trains are allowed, with no tested pairs. The restriction to internal decoys avoids endpoint artifacts in the finite train.
This constructs the total-number attack rather than assuming its visibility response. It is separate from the conservative information assignment (22) and does not claim exact count preservation for an operational attack mixture.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P33
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakethird100.P33
open scoped BigOperators ENNReal
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33 (IsDensity rankOne)
open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentCoefficient)
open QAlgorithms.Papers.Independent.Support50.P48 (vacuumAmplitude)
open QAlgorithms.Papers.Independent.Next46.P32 (FockPOVM realFockTracePair)
open QAlgorithms.Papers.Independent.Dependency50.P34
(TwoModeFock fockKet photonMean)
open QAlgorithms.Papers.Independent.Frontier18.P14
(coherentPair coherentPairCoefficients)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- PDF pp.5-6, Fig.3 and (23): evaluated nonselective nondemolition counting on
successive disjoint shifted pairs. Cross-boundary 1,0 coherence survives, while
internal decoy coherence vanishes. The finite train's endpoints are excluded
only from the decoy test that needs two distinct measured pairs. No information
assignment from (22), count-preserving mixture, or detector probability is assumed. -/
theorem twoCoherentMonitoring (n : ℕ) (w : Fin n → Fin 3) (x : ℝ) (hx : 0 < x) :
IsDensity (trainDensity w x) ∧ IsDensity (crossCounting w x) ∧
(∀ k : Fin (n - 1), w (boundaryLeft k) = 1 → w (boundaryRight k) = 0 →
let i := (boundaryLeft k, true)
let j := (boundaryRight k, false)
FinitePairMoments (crossCounting w x) i j ∧
monitorFlux (crossCounting w x) i j 0 = x ∧
monitorFlux (crossCounting w x) i j 1 = 0 ∧
0 < monitorFlux (crossCounting w x) i j 0 + monitorFlux (crossCounting w x) i j 1 ∧
opticalVisibility (crossCounting w x) i j = 1) ∧
(∀ k : Fin n, 0 < k.val → k.val + 1 < n → w k = 2 →
FinitePairMoments (crossCounting w x) (k, false) (k, true) ∧
monitorFlux (crossCounting w x) (k, false) (k, true) 0 = x / 2 ∧
monitorFlux (crossCounting w x) (k, false) (k, true) 1 = x / 2 ∧
0 < monitorFlux (crossCounting w x) (k, false) (k, true) 0 +
monitorFlux (crossCounting w x) (k, false) (k, true) 1 ∧
opticalVisibility (crossCounting w x) (k, false) (k, true) = 0) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P33
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , every word , and every real , put , and assign occupation indicators according as . Set when and otherwise, and define
for occupation functions . Define another matrix by if
and by otherwise. Both and have the following density properties: each matrix admits sequences with and ; every finite quadratic form has zero imaginary part and nonnegative real part; and its real diagonal entries are summable with sum . To state the remaining conclusions, for distinct coordinates define
and
Here the updated occupation function increases coordinate by one and decreases coordinate by one. For every adjacent pair with , , and , take , ; then are summable, , , their sum is positive, and their difference divided by their sum equals . For every satisfying , , and , take , ; then are summable, , their sum is positive, and their difference divided by their sum equals . Natural subtraction in is truncated at zero: for or there are no adjacent-pair conditions and ; for there are no interior-index conditions. Each conditional conclusion is vacuous when no index satisfies its word requirements, while both density conclusions hold for every , including .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.