Proposition 2: matrix multiplication from cycles
OpenQAlgorithms.Papers.Independent.Extend50.P13.multiplication_from_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. Let , let be arbitrary matrices and put . With retaining only slot ,
Here moves an object at slot to slot . These formulas fix both multiplication order and partial-trace placement.
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
/-- Proposition 2, Eq.25 (PDF p.8). Both retained slots and both ordered products
are included, with the source's explicit k ≥ 3 restriction. -/
theorem multiplication_from_cycles {d k : ℕ} (hd : 0 < d) (hk : 3 ≤ k)
(X : Fin k → (Matrix (Fin d) (Fin d) ℂ)) :
let c := (List.finRange k).formPerm
partialTraceSlot (⟨k-1, by omega⟩ : Fin k)
(QAlgorithms.Schur.tensorPermutation d k c⁻¹ * tensorMatrices X) = (List.ofFn X).prod ∧
partialTraceSlot (⟨0, by omega⟩ : Fin k)
(QAlgorithms.Schur.tensorPermutation d k c * tensorMatrices X) = (List.ofFn X).reverse.prod := 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 and , and every family of complex matrices, let be the cyclic permutation . For a permutation , define the matrix , indexed by functions , by if , and otherwise; define . For any matrix on these indices, its partial trace retaining slot is the matrix with entry , where assigns values to all slots other than . The declaration asserts both identities
No Hermiticity, positivity, or normalization is assumed for the matrices.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.