Corollary 3: trace words from arbitrary permutations
OpenQAlgorithms.Papers.Independent.Extend50.P13.trace_words_from_permutationsAll 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 , , and decompose into disjoint cycles, including fixed points. Write each cycle with its largest entry last. For any slot , let be the product of the along the cycle of , starting at and ending at . Let be the product of ordinary traces of the words of all the other cycles; an empty product is one. Then
These identities translate arbitrary permutation wirings into trace words without rotating an untraced matrix product.
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
/-- Corollary 3, Eq.28 (PDF pp.8–9). SOURCE CORRECTION: the printed second
open inverse word is canonically rotated to end at k, although the retained slot is
pi(k). Here that word ends at pi(k). For pi=(123) it is X3 X2 X1, as Proposition 2
requires. Every fixed point still contributes its singleton trace. -/
theorem trace_words_from_permutations {d r : ℕ} (hd : 0 < d)
(pi : Equiv.Perm (Fin (r+1))) (X : Fin (r+1) → (Matrix (Fin d) (Fin d) ℂ)) :
partialTraceSlot (Fin.last r)
(QAlgorithms.Schur.tensorPermutation d (r+1) pi⁻¹ * tensorMatrices X) =
openCycleExpression pi (Fin.last r) X ∧
partialTraceSlot (pi (Fin.last r))
(QAlgorithms.Schur.tensorPermutation d (r+1) pi * tensorMatrices X) =
openCycleExpression pi⁻¹ (pi (Fin.last r)) 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 by , and define . For a slot , let be its cycle ordered as , with for a fixed point, and let consist of the largest label in each cycle. For a list , write , with , and set
The partial trace retaining slot has entries , summing over assignments to all other slots. The declaration asserts
The case is included: there is one slot, the permutation is the identity, and both identities reduce to .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.