Proposition A.2.
ProvedQAlgorithms.Papers.Independent.Gap48.P23.vectorization_identitiesLet . Vectorization is unnormalized: . In Appendix A only, is bilinear, without complex conjugation. The formal tensor contractions are independent sums over the internal path indices, in their displayed order. Put and .
For any matrices , the four vectorization identities are
The bilinear convention is essential for the first and fourth formulas.
This fixes the contraction and sign conventions used in the singlet-diagram analysis.
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P23
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P23
open MeasureTheory
open scoped ComplexConjugate Matrix ComplexOrder
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
-- Exact frozen coordinate helpers; no paper-local redeclarations.
open QAlgorithms.Papers.Independent.Information100.P58 (Word)
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
/-- PDF pp.45-46, Proposition A.2: all four identities, with the bilinear bra. -/
theorem vectorization_identities (d : ℕ) (hd : 1 ≤ d) (A B : Op (Fin d)) :
vectorizedBra B (bilinearVectorize A) = (A * B.transpose).trace ∧
(vectorSwap d).mulVec (bilinearVectorize A) = bilinearVectorize A.transpose ∧
(Matrix.kronecker B (1 : Op (Fin d))).mulVec (bilinearVectorize A) = bilinearVectorize (B*A) ∧
singleContraction A B = A*B := by sorry
end QAlgorithms.Papers.Independent.Gap48.P23
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number and arbitrary complex matrices , define the vector , indexed by ordered pairs, by ; define the linear functional , with no conjugation; define when and zero otherwise; and define . Then all four identities hold:
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.