Eq.(30): full-trace cycle identity
OpenQAlgorithms.Papers.Independent.Extend50.P13.full_trace_cyclesAll matrices are complex, , with . Write for the identity and for the ordinary, unnormalized trace. Matrix inequalities use the Löwner order, so includes Hermiticity. For , let be its disjoint cycles, including singleton cycles, and let . With the same permutation convention as Proposition 2,
The empty tensor case uses the scalar algebra and both empty products equal one. This is the scalar invariant associated with a permutation.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P13
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Extend50.P13
attribute [local instance] Classical.propDecidable
/-- Full trace-cycle identity, Eq.30 (PDF p.9), including singleton cycles.
The empty-slot case k=0 is also covered by the literal empty tensor/trace products. -/
theorem full_trace_cycles {d k : ℕ} (hd : 0 < d) (pi : Equiv.Perm (Fin k))
(X : Fin k → (Matrix (Fin d) (Fin d) ℂ)) :
Matrix.trace (QAlgorithms.Schur.tensorPermutation d k pi⁻¹ * tensorMatrices X) =
closedCycleExpression pi X := by sorry
end QAlgorithms.Papers.Independent.Extend50.P13
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers with , every permutation of , and every family of complex matrices, define and . Order the cycle containing as , using for a fixed point, and choose its largest label as its leader. Writing , the assertion is
The matrices are unrestricted. The case is included: the tensor index set has one empty assignment, the tensor matrix and permutation matrix are both the identity, and the product over cycles is empty and equals .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.