Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 8: the rescaled reduction map

Open
QAlgorithms.Papers.Independent.Extend50.P13.reduction_map_example

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

All matrices are complex, d×dd\times dd×d, with d≥1d\ge1d≥1. Write III for the identity and tr⁡\operatorname{tr}tr for the ordinary, unnormalized trace. Matrix inequalities use the Löwner order, so A≥0A\ge0A≥0 includes Hermiticity. For k=r+1≥1k=r+1\ge1k=r+1≥1 and a partition λ⊢k\lambda\vdash kλ⊢k, let T(π)T(\pi)T(π) permute tensor factors by v1⊗⋯⊗vk↦vπ−1(1)⊗⋯⊗vπ−1(k)v_1\otimes\cdots\otimes v_k\mapsto v_{\pi^{-1}(1)}\otimes\cdots\otimes v_{\pi^{-1}(k)}v1​⊗⋯⊗vk​↦vπ−1(1)​⊗⋯⊗vπ−1(k)​, and set Pλ=χλ(e)k!∑π∈Skχλ(π−1)T(π)P_\lambda=\frac{\chi_\lambda(e)}{k!}\sum_{\pi\in S_k}\chi_\lambda(\pi^{-1})T(\pi)Pλ​=k!χλ​(e)​∑π∈Sk​​χλ​(π−1)T(π) and fλ(X1,…,Xr)=tr⁡1…r[Pλ(X1⊗⋯⊗Xr⊗I)]f_\lambda(X_1,\ldots,X_r)=\operatorname{tr}_{1\ldots r}[P_\lambda(X_1\otimes\cdots\otimes X_r\otimes I)]fλ​(X1​,…,Xr​)=tr1…r​[Pλ​(X1​⊗⋯⊗Xr​⊗I)]. Here χλ\chi_\lambdaχλ​ is the character of the shape-labelled Specht representation, independently of ddd; shapes with more than ddd rows are included. For λ=(1,1)\lambda=(1,1)λ=(1,1) and arbitrary XXX,

f(1,1)(X)=12(tr⁡(X)I−X).f_{(1,1)}(X)=\frac12\bigl(\operatorname{tr}(X)I-X\bigr).f(1,1)​(X)=21​(tr(X)I−X).

In dimension d=1d=1d=1 both this map and the unscaled reduction map R(X)=tr⁡(X)I−XR(X)=\operatorname{tr}(X)I-XR(X)=tr(X)I−X vanish for every complex input. The factor two is the scaling explicitly mentioned in Example 8.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P13
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Extend50.P13

attribute [local instance] Classical.propDecidable

/-- Example 8 (PDF p.10). The source explicitly rescales: the normalized map is
one half of the displayed reduction polynomial. Vanishing in dimension one holds
for every complex input. -/
theorem reduction_map_example
    (lambda : QAlgorithms.Schur.Partition 2 2) (hshape : lambda.val.rowLens = [1,1]) :
    (∀ (d : ℕ), 0 < d → ∀ X : (Matrix (Fin d) (Fin d) ℂ),
      polarizedMap lambda (fun _ : Fin 1 => X) = (1/2 : ℂ) • reductionPolynomial X) ∧
    (∀ X : (Matrix (Fin 1) (Fin 1) ℂ), reductionPolynomial X = 0 ∧
      polarizedMap lambda (fun _ : Fin 1 => X) = 0) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P13

end
Source
Positive maps and trace polynomials from the symmetric group, arXiv:2002.12887v2, PDF p. 10, Example 8: the rescaled reduction map
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let λ\lambdaλ be a Young diagram with two cells and at most two rows whose list of row lengths is exactly [1,1][1,1][1,1]. To define the matrix map appearing here, number its cells by {0,1}\{0,1\}{0,1}, let Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​ be the row-preserving and column-preserving permutations, put Yg,h=∑a∈Rλ,b∈Cλsgn⁡(b)1{g=hab}Y_{g,h}=\sum_{a\in R_\lambda,b\in C_\lambda}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}Yg,h​=∑a∈Rλ​,b∈Cλ​​sgn(b)1{g=hab}​, and define χλ(σ)=tr⁡(LσΠrange⁡Y)\chi_\lambda(\sigma)=\operatorname{tr}(L_\sigma\Pi_{\operatorname{range}Y})χλ​(σ)=tr(Lσ​ΠrangeY​), where (Lσ)g,h=1{g=σh}(L_\sigma)_{g,h}=\mathbf1_{\{g=\sigma h\}}(Lσ​)g,h​=1{g=σh}​. On pairs of ddd-valued coordinates let (Tσ)y,x=1{y=x∘σ−1}(T_\sigma)_{y,x}=\mathbf1_{\{y=x\circ\sigma^{-1}\}}(Tσ​)y,x​=1{y=x∘σ−1}​, and set

Pλ,d=χλ(1)2!∑σ∈S2χλ(σ−1)Tσ,Fλ,d(X)a,b=∑x,y=0d−1(Pλ,d)(x,a),(y,b)Xy,x.P_{\lambda,d}=\frac{\chi_\lambda(1)}{2!} \sum_{\sigma\in S_2}\chi_\lambda(\sigma^{-1})T_\sigma, \qquad F_{\lambda,d}(X)_{a,b} =\sum_{x,y=0}^{d-1}(P_{\lambda,d})_{(x,a),(y,b)}X_{y,x}.Pλ,d​=2!χλ​(1)​σ∈S2​∑​χλ​(σ−1)Tσ​,Fλ,d​(X)a,b​=x,y=0∑d−1​(Pλ,d​)(x,a),(y,b)​Xy,x​.

For every natural number d>0d>0d>0 and every complex d×dd\times dd×d matrix XXX, the assertion is

Fλ,d(X)=12(tr⁡(X)Id−X).F_{\lambda,d}(X)=\frac12\bigl(\operatorname{tr}(X)I_d-X\bigr).Fλ,d​(X)=21​(tr(X)Id​−X).

It also asserts explicitly that for every complex 1×11\times11×1 matrix XXX, both tr⁡(X)I1−X\operatorname{tr}(X)I_1-Xtr(X)I1​−X and Fλ,1(X)F_{\lambda,1}(X)Fλ,1​(X) are zero. No positivity or Hermiticity assumption is made on XXX.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me