Lemma 9: positivity of both twirls for appropriate block-positive inputs
OpenQAlgorithms.Papers.Independent.Bridge50.P37.block_positive_twirlsWrite for complex matrices in fixed orthonormal bases; positive means positive semidefinite. All maps are complex-linear and all dimensions are positive integers. The symbols , and denote the diamond, trace and spectral norms, respectively; denotes the Hilbert--Schmidt adjoint. Choi matrices and maximally entangled projections use the normalized, reference-first convention.
Let and let be Hermitian and block-positive. With normalized Haar measure on ,
Here . The second factor is entrywise conjugate , not its adjoint. Both continuous compact-group integrands are integrable; block positivity includes Hermiticity.
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P37
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
open Filter MeasureTheory
-- Only the following exact definition bodies are reused from pinned accepted papers.
open QAlgorithms.Papers.Independent.Information100.P04 (gamma copies)
open QAlgorithms.Papers.Independent.Information100.P30 (MatrixMap IsPositiveMap)
open QAlgorithms.Papers.Independent.Information100.P50 (maxEigenvalue)
open QAlgorithms.Papers.Independent.Information100.P63 (Mat)
open QAlgorithms.Papers.Independent.Information100.P69 (diamond)
open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)
open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)
open QAlgorithms.Papers.Independent.Next46.P39 (inverseSqrt)
namespace QAlgorithms.Papers.Independent.Bridge50.P37
attribute [local instance] Classical.propDecidable Classical.decEq
variable {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
[DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]
/-- Lemma 9, PDF pp.23--24: both twirls with their distinct trace tests.
Every positive dimension is included; at d=1 both twirls are the identity. -/
theorem block_positive_twirls (d : ℕ) [NeZero d]
(C : Mat (Fin d × Fin d)) (hC : ProductBlockPositive C) :
((C * (swapMatrix (I := Fin d))).trace.re ≤ 0 → (bipartiteHaarTwirl d false C).PosSemidef) ∧
(0 ≤ (C * normalizedEntangledProjection (Fin d)).trace.re → (bipartiteHaarTwirl d true C).PosSemidef) := by sorry
end QAlgorithms.Papers.Independent.Bridge50.P37
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every nonzero natural number , including , let be a complex matrix indexed by . Assume that is Hermitian and that, for every , including zero vectors, , where . Define the matrices and by if and , and otherwise, and , where if , and otherwise. Using normalized Haar measure on the unitary group , define the following matrices by integrating each entry:
where denotes entrywise complex conjugation. Then both implications hold: if , then is positive semidefinite; and if , then is positive semidefinite.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.