Corollary 5.2: Keyl prefix alignment deficit
OpenQAlgorithms.Papers.Independent.Extend50.P32.keylPrefixAlignmentLet and let be positive semidefinite of trace one, with nonincreasing spectrum . On copies the concrete Keyl experiment draws a weak-Schur shape and then . Its rank- report is , with no renormalization, for . Write , where , and . The full report has . Work in the Section 5.1 eigenbasis and put . Conditional on , choose any measurable permutation mixture satisfying . The prefix parameter is .
This is a sample-complexity or risk guarantee for the concrete collective measurement and public decoder; it asserts no gate bound.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P32
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal Matrix ComplexOrder Topology
namespace QAlgorithms.Papers.Independent.Extend50.P32
open QAlgorithms.Papers.Independent.Support50.P38 (wordMass tv)
-- For the density matrices below, the characteristic-polynomial identity
-- preserves all eigenvalues with multiplicity and is equivalent to unitary
-- diagonalization with these real eigenvalues. No accuracy is assumed.
open QAlgorithms.Papers.Independent.Gap20.P17 (HasSpectrum)
/-- Corollary 5.2, PDF p.23: equality with the induced-permutation deficit
AND the upper bound. rho is diagonal in the Section 5.1 basis; the kernel
has actual |V_(a,i)|^2 marginals, not an assumed alignment bound. -/
theorem keylPrefixAlignment {d n : ℕ} (hd : 0 < d) (hn : 0 < n)
(alpha : Fin d → ℝ) (hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha)
(rho : Matrix (Fin d) (Fin d) ℂ) (hRho : IsDensityMatrix rho)
(hDiagonal : rho = Matrix.diagonal (fun i => (alpha i : ℂ))) (P : InducedPermutation d)
(j : ℕ) (hj : 1 ≤ j) (hjd : j ≤ d) :
keylMean hd hn rho hRho (fun V => ∑ i : Fin d, if i.val < j then
alpha i - ((star (V : Matrix (Fin d) (Fin d) ℂ) * rho *
(V : Matrix (Fin d) (Fin d) ℂ) : Matrix (Fin d) (Fin d) ℂ) i i).re else 0) =
permutationMean hd hn rho hRho 1 P (fun pi => prefixMass alpha j - prefixMass (fun i => alpha (pi i)) j) ∧
permutationMean hd hn rho hRho 1 P (fun pi => prefixMass alpha j - prefixMass (fun i => alpha (pi i)) j) ≤
normalizedExcess alpha j n + (j : ℝ) * d / n := by sorry
end QAlgorithms.Papers.Independent.Extend50.P32
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For positive integers , let be a nonincreasing probability vector, and let be a positive semidefinite complex matrix of trace satisfying . Suppose assigns to every unitary nonnegative weights on permutations of , measurable in for each , with and . Let . Define a measure on pairs , with a Young diagram of cells and at most rows, by counting measure times normalized Haar measure and density
Here is the rank of the matrix on permutations of the numbered cells, with preserving rows and preserving columns; counts fillings by weakly increasing along rows and strictly increasing down columns, and missing row lengths are zero. Then
The expectation on the right is separately defined by drawing an independent length- word with letter probabilities and inserting letters into rows, replacing the first strictly larger letter and passing it to the next row, or appending when none exists; denotes those row lengths, with absent rows zero. Both integrals use the displayed joint measure, and the permutation weights are evaluated at itself, corresponding to the identity reference unitary. Zero entries of , , and are permitted.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.