Theorem 22: tensor identities and permutation polynomials from trace identities
OpenQAlgorithms.Papers.Independent.Extend50.P13.tensor_polynomials_from_trace_identitiesAll 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 a finite complex linear combination of ordered output matrix words and products of ordinary traces of input-only words, with each of the input labels appearing exactly once in every monomial. Output words may be empty; closed trace words are nonempty. Form the constant-coefficient group-algebra element by appending a distinct output marker to each output word, treating each traced word as a closed cycle, and inverting the resulting cycle product. Let denote contraction of against the inputs, retaining all identity-filled output slots.
For any fixed , if is a scalar multiple of for every input tuple, there exists a scalar multilinear pure trace polynomial and a constant-coefficient formed from its input trace cycles and the fixed output action , such that
and for every input tuple and arbitrary output test matrices ,
Here is the sum of the independently character-defined isotypic ideals with more than rows. If vanishes identically, the same conclusions hold with , including , the full trace identity and . Swaps, fixed permutation outputs, identity outputs, ordinary tensor polynomials, and tensor-trace polynomials are all covered. This is a fixed formal trace-identity consequence, not a tuple-dependent certificate.
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
/-- Theorem 22 (PDF pp.18–19), including permutation, swap, and tensor identities,
and the proof's tensor-trace extension. The headline range r≥t≥1 is explicit.
SOURCE REPAIR: expand the scalar invariant c in fixed pure trace words before
forming gamma; Eq.83's input-dependent c is not treated as a constant coefficient.
The resulting fixed trace identity lies in the independently defined isotypic ideal,
and its all-output contraction yields the original equation. -/
theorem tensor_polynomials_from_trace_identities {d r t : ℕ} (hd : 0 < d)
(ht : 1 ≤ t) (hrt : t ≤ r) (p : TensorTracePolynomial r t) :
(∀ rho : Equiv.Perm (Fin t),
(∀ X : Fin r → (Matrix (Fin d) (Fin d) ℂ), ∃ c : ℂ,
evaluateTensorTrace p X = c • QAlgorithms.Schur.tensorPermutation d t rho) →
∃ q : PureTracePolynomial r,
(∀ X : Fin r → (Matrix (Fin d) (Fin d) ℂ),
evaluateTensorTrace p X = evaluatePureTrace q X •
QAlgorithms.Schur.tensorPermutation d t rho) ∧
InAntisymmetricIdeal d (tensorPermutationExpansion p-pureTraceExpansion q rho) ∧
(∀ (X : Fin r → (Matrix (Fin d) (Fin d) ℂ)) (Y : Fin t → (Matrix (Fin d) (Fin d) ℂ)),
Matrix.trace (groupOperator d
(tensorPermutationExpansion p-pureTraceExpansion q rho) *
tensorMatrices (joinSlots X Y)) = 0) ∧
(∀ X : Fin r → (Matrix (Fin d) (Fin d) ℂ),
hPolynomial (tensorPermutationExpansion p) X = evaluateTensorTrace p X ∧
hPolynomial (pureTraceExpansion q rho) X = evaluatePureTrace q X •
QAlgorithms.Schur.tensorPermutation d t rho)) ∧
((∀ X : Fin r → (Matrix (Fin d) (Fin d) ℂ), evaluateTensorTrace p X = 0) →
InAntisymmetricIdeal d (tensorPermutationExpansion p) ∧
(∀ (X : Fin r → (Matrix (Fin d) (Fin d) ℂ)) (Y : Fin t → (Matrix (Fin d) (Fin d) ℂ)),
Matrix.trace (groupOperator d (tensorPermutationExpansion p) *
tensorMatrices (joinSlots X Y)) = 0) ∧
(∀ X : Fin r → (Matrix (Fin d) (Fin d) ℂ),
hPolynomial (tensorPermutationExpansion p) X = evaluateTensorTrace p X ∧
hPolynomial (tensorPermutationExpansion p) X = 0)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P13
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be natural numbers with and , and let be a finite complex linear combination of tensor trace monomials. Each such monomial consists of one ordered input word for each of the outputs, together with a list of nonempty closed words, with every input label occurring exactly once across all these words; output words may be empty. For matrices , write for their product in word order, with , and define by replacing each monomial with the tensor product of its output-word products, multiplied by its coefficient and by the traces of all its closed-word products, and summing. For a pure trace polynomial , consisting of a finite list of complex coefficients and nonempty closed words using all labels exactly once, let be the corresponding sum of coefficient times product of traces. Write for the permutation matrix on whose entry at is when and otherwise. The coefficient function on permutations of slots is obtained by turning each output word followed by its own output slot into a cycle, multiplying these output cycles and then the closed-word cycles, inverting the resulting permutation, and accumulating the monomial’s coefficient at that permutation. Likewise, accumulates each pure trace coefficient at the inverse product of its input-word cycles followed by the output permutation formed from ’s cycles on the shifted slots . In this construction, cycles use the list-to-cycle convention; the output-cycle list is the singleton for a fixed label and otherwise the ordered permutation-cycle list rotated left once, with the greatest label chosen to represent each cycle. For any coefficient function , put , and define its contraction , indexed by , by
Here concatenates the input and output coordinates. To specify the ideal condition used below, for each Young diagram with cells and at most rows, choose the definition’s bijection between its cells and the labels, let be the permutations preserving respectively row and column coordinates, and form the matrix on the symmetric group
Let be the orthogonal projection onto the range of , let , set , and set . Say that satisfies the ideal condition when there exist arbitrary complex coefficient functions such that, for every ,
The theorem asserts two implications. First, for every permutation of the output labels, if for every complex matrix tuple there exists a scalar , allowed to depend on , with , then there exists a pure trace polynomial such that, for every , ; the coefficient difference satisfies the ideal condition; for every input tuple and every output tuple ,
and, for every , and . Second, if for every , then satisfies the ideal condition, the same displayed trace vanishes with in place of the difference for every , and for every . All matrix tuples in these assertions are unrestricted complex matrices.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.