Two-copy Haar twirl and embedded-swap average, (B3)–(B4) / (24)
OpenQAlgorithms.Papers.Independent.Intake100.P01.two_copy_twirlingLet for normalized Haar measure on , and let swap the two copies. For , put . Every complex operator satisfies
For and a coisometry , extend by zero as . Then
For , and . This is the two-copy twirl used in the one-shot moment calculation; it uses .
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P01
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P01
open scoped Matrix ComplexConjugate Matrix.Norms.Elementwise
open MeasureTheory
open QAlgorithms.Papers.Independent.Gap20.P11 (IsLOCC productApply finTransport referenceInformation)
open QAlgorithms.Papers.Independent.Bridge50.P40
(RankMergingCode OneWayMergingCode mergingFidelity SourceProtocolAchievable)
open QAlgorithms.Papers.Independent.Dependency50.P19
(first marginalRA marginalRB motherTarget motherOutput sourceCopies swap mutualInformation)
open QAlgorithms.Papers.Independent.Information100.P67 (conditionalEntropy)
open QAlgorithms.Papers.Independent.Information100.P32 (purity)
open QAlgorithms.Papers.Independent.Advance50.P29 (weakTypicalProjector)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.8,21, (24),(B3),(B4). The final coefficients are checked from
Tr(F_L)=L and Tr(F_L F_d)=L^2; the antisymmetric trace is negative. Rational formulas require d>=2. The singleton twirl
is separately the identity, with F=I, rather than division by zero. -/
theorem two_copy_twirling :
(∀ d : ℕ, 2 ≤ d → ∀ X : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ,
twoCopyTwirl d X =
((X * symmetryProjector d true).trace / (symmetryProjector d true).trace) •
symmetryProjector d true +
((X * symmetryProjector d false).trace / (symmetryProjector d false).trace) •
symmetryProjector d false) ∧
(∀ d L : ℕ, 2 ≤ d → 0 < L → L ≤ d →
∀ P0 : Matrix (Fin L) (Fin d) ℂ, P0 * P0ᴴ = 1 →
twoCopyTwirl d (embeddedSwap P0) =
(((L : ℝ) / d * ((d : ℝ) - L) / ((d : ℝ)^2 - 1) : ℝ) : ℂ) • 1 +
(((L : ℝ) / d * ((L : ℝ) * d - 1) / ((d : ℝ)^2 - 1) : ℝ) : ℂ) •
swap (Fin d)) ∧
(∀ X : Matrix (Fin 1 × Fin 1) (Fin 1 × Fin 1) ℂ, twoCopyTwirl 1 X = X) ∧
swap (Fin 1) = (1 : Matrix (Fin 1 × Fin 1) (Fin 1 × Fin 1) ℂ) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P01
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For each natural number , let be the swap matrix with entries , put and , and define using normalized Haar measure. The declaration asserts the conjunction of the following statements: for every and every complex matrix , with no Hermiticity or positivity assumption,
for every pair of natural numbers with and , and every complex matrix satisfying ,
for every complex matrix on the singleton pair-index set, ; and . The trace ratios in the first formula are complex ratios, while the real coefficients in the second formula are regarded as complex scalars; its denominator is nonzero under .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.