The Hilbert--Schmidt closeness calculus #
Every soundness argument in the pipeline compares two families of operators in the
state-dependent distance ∑_a ‖(M_a - N_a)|ψ⟩‖² and then passes from closeness of the
families to closeness of the values, losing a square root. For a synchronous strategy the
state is the normalized trace itself, so that distance is the normalized Hilbert--Schmidt
distance of MIPRE/Foundations/Distances.lean, and the whole calculus follows from
Cauchy--Schwarz for MIPRE.hsInner.
This file is that calculus, and nothing about games.
MIPRE.ntr— the real part of the normalized traceTr(M)/d, with the identities the arguments use: additive, tracial (ntr_mul_comm),ntr 1 = 1;hsNormSq_add,hsNormSq_sub— the parallelogram expansion, which is where the cross term2⟨A, B⟩that Cauchy--Schwarz then bounds comes from;re_hsInner_le,abs_re_hsInner_le— Cauchy--Schwarz for the normalized Hilbert--Schmidt inner product;sum_abs_re_hsInner_le— Cauchy--Schwarz once more, over a finite index set: the form the arguments actually use, with the two sums of squared norms on the right;sum_mul_sqrt_le— the averaging step𝔼 √f ≤ √(𝔼 f), again Cauchy--Schwarz.
Implementation notes #
hsInner A B = τ(Aᴴ B) is the inner product of a genuine inner product space (Mathlib's
Matrix.toMatrixInnerProductSpace at the identity), but that structure is a
noncomputable def rather than an instance, so using it would mean carrying letI through
every statement. Cauchy--Schwarz is instead proved here from the entrywise formula and
Real.sum_sqrt_mul_sqrt_le, which is the same proof and costs one lemma.
The normalized trace as a real number #
The real part of the dimension-normalized trace, τ(M) = Tr(M)/d. Outcome probabilities
of a synchronous strategy are values of this, and so is every quantity the closeness calculus
manipulates.
Instances For
Cauchy--Schwarz #
Projections #
A projection here is what a projective measurement's operators are: self-adjoint and idempotent. Under the normalized trace the squared Hilbert--Schmidt norm of a projection, and of a product of two projections, collapses to a normalized trace, which is what turns the closeness calculus into statements about outcome probabilities.
The squared Hilbert--Schmidt norm of a product of two projections is the normalized trace of the product -- the very quantity a synchronous strategy's value is built from.
The closeness estimate #
The one inequality the soundness argument needs, and the only place a Cauchy--Schwarz is
spent before the value comparison. Three families of projections: O a measurement, and C,
D such that the products C D are a measurement too. Then the squared distance between
C_i D_i and O_i is bounded by three times the two disagreements τ(O_i(1 - D_i)) and
τ(O_i(1 - C_i)) --- linearly, with no square root. Writing C_i O_i = O_i - X_i and
D_i O_i = O_i - Y_i, the two disagreements are exactly ∑ ‖X_i‖² and ∑ ‖Y_i‖², and the
only term that is not one of them is ∑ ⟨Y_i, X_i⟩, which Cauchy--Schwarz and the
arithmetic-geometric mean inequality bound by half their sum.
Close measurements have close values: the measurement-level statement of
fact:approx-implies-close-value (from [NW19, Fact 4.31]), in the one direction the soundness
argument needs and in the synchronous setting, where the products C_i D_i are automatically a
measurement. The square root is spent here, and only here.
The averaging step #
(∑ t)² ≤ n ∑ t², Cauchy--Schwarz against the constant 1. This is the form the
outcome-set steps use: a sum over the answers costs a factor |𝒜| when squared.