Lemma 16: Classical Neyman–Pearson test bounds
OpenQAlgorithms.Papers.Independent.Intake100.P47.classical_test_boundsAll Hilbert spaces are finite dimensional and nonzero. States are positive semidefinite operators of trace one, logarithms are natural, and means inclusion of supports. Write and for the Petz and sandwiched divergences, respectively, with generalized inverse powers on support and orders defined by limits. Let be states with , , and . Put , , and . Choose any common orthonormal eigenbasis of and define the probability laws and . Then
Here maximizes acceptance over all normalized alternatives, and . Zero threshold eigenvalues are accepted. These bounds reduce the constructed joint test to classical tail events.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P47
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P47
open scoped BigOperators Matrix ComplexOrder ComplexConjugate Topology
open Filter QAlgorithms
open QAlgorithms.Papers.Independent.Information100.P22 (Op mixed)
open QAlgorithms.Papers.Independent.Information100.P60 (copies)
open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)
open QAlgorithms.Papers.Independent.Dependency50.P28 (SupportLE pinch logNonnegativeExtended)
open QAlgorithms.Papers.Independent.Dependency50.P21 (relativeEntropy IsSupported)
open QAlgorithms.Papers.Independent.Bridge50.P49 (groupedProduct)
open QAlgorithms.Papers.Independent.Claimed50.P12 (DiagonalIn)
attribute [local instance] Classical.propDecidable Classical.decEq
variable {A B C D I J : Type}
variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype I] [Fintype J]
variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]
variable [DecidableEq I] [DecidableEq J]
/-- arXiv:1408.6894v5, PDF p.16, Lemma 16, (6.4)--(6.7).
The law Q is distinct from the test. Rejection is strict and acceptance non-strict,
so zero-eigenvalue outcomes are accepted. n=0 is allowed here. -/
theorem classical_test_bounds [Nonempty A] (d : ℕ) (hd : 0 < d)
(rho : Op (A × Fin d)) (tau : Op A) (hr : IsDensityMatrix rho)
(ht : IsDensityMatrix tau) (hS : SupportLE (traceRight rho) tau) (n : ℕ) (mu : ℝ)
(U : Matrix.unitaryGroup ((Fin n → A) × (Fin n → Fin d)) ℂ)
(hL : DiagonalIn (U : Op _) (classicalNull n rho tau))
(hK : DiagonalIn (U : Op ((Fin n → A) × (Fin n → Fin d)))
(universalReference (d := d) n tau)) :
let L := classicalNull n rho tau
let K := universalReference (d := d) n tau
let P := basisLaw L U
let Q := basisLaw K U
let T := thresholdTest L K mu
rejectionError (groupedCopies n rho) T =
(∑ x, if P x < Real.exp mu * Q x then P x else 0) ∧
compositeAcceptanceError (copies n tau) T ≤ (universalFactor n d : ℝ) *
∑ x, if Real.exp mu * Q x ≤ P x then Q x else 0 := by sorry
end QAlgorithms.Papers.Independent.Intake100.P47
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a finite, nonempty index type with decidable equality, let and be natural numbers, let and be positive semidefinite trace-one matrices on and , and assume , where . Let , put , and define
on . Set , let be the tensor product of copies of , regrouped on , and let , where the sum runs over the distinct eigenvalues of and is its spectral projection at . Let be any unitary on this grouped space such that both and have zero off-diagonal entries, and write , , and , with the indicator applied spectrally. Then
where acts on the -dimensional second register. Equality at the threshold belongs to the second sum. The statement includes , when all empty tensor products and permutation products are interpreted by their definitions.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.