Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact support and count of the physical units

Open
QAlgorithms.Papers.Independent.Extend50.P28.supportCount

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

prove2quantum

Let n,d≥2n,d\ge2n,d≥2, let H=(Cd)⊗nH=(\mathbb C^d)^{\otimes n}H=(Cd)⊗n with its fixed computational orthonormal basis, and put N=n−1N=n-1N=n−1. For a=1,…,Na=1,\ldots,Na=1,…,N, let TaT_aTa​ be the last-factor partial transpose of the tensor permutation swapping aaa and nnn, and put ρ=∑aTa\rho=\sum_aT_aρ=∑a​Ta​. Write dηd_\etadη​ for the actual Specht dimension and mηm_\etamη​ for the multiplicity of that Specht module in the appropriate tensor permutation representation; these are defined by dimensions of actual intertwiner spaces. Choose coherent lower-irrep coordinates. Embed the ordinary character projector PμP_\muPμ​ on the first n−1n-1n−1 factors and the lower matrix unit EijαE^\alpha_{ij}Eijα​ on the first n−2n-2n−2 factors, each acting identically on the remaining factors. For physical shapes define Eijμν(α)=mα(mμmν)−1/2PμEijαTNPνE^{\mu\nu}_{ij}(\alpha)=m_\alpha (m_\mu m_\nu)^{-1/2}P_\mu E^\alpha_{ij}T_NP_\nuEijμν​(α)=mα​(mμ​mν​)−1/2Pμ​Eijα​TN​Pν​. A retained branch is a one-box extension of α\alphaα having at most ddd rows. Fix a physical lower shape α\alphaα, and allow μ,ν\mu,\nuμ,ν to range over all physical size n-1 shapes. Let bαb_\alphabα​ count retained branches above α\alphaα. Then

Eijμν(α)≠0  ⟺  μ/α and ν/α are single boxes,#{distinct nonzero Eijμν(α)}=(dαbα)2.E^{\mu\nu}_{ij}(\alpha)\ne0\iff\mu/\alpha\text{ and }\nu/\alpha\text{ are single boxes},\qquad \#\{\text{distinct nonzero }E^{\mu\nu}_{ij}(\alpha)\}=(d_\alpha b_\alpha)^2.Eijμν​(α)=0⟺μ/α and ν/α are single boxes,#{distinct nonzero Eijμν​(α)}=(dα​bα​)2.

The count is the cardinality of an image of the physical operators after deleting zero, so it counts distinct matrices, not only index tuples.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P28
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P28

open scoped Matrix Matrix.Norms.L2Operator ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

local notation "Shape" => (fun k : ℕ => QAlgorithms.Schur.Partition k k)

local notation "Word" => (fun d n : ℕ => Fin n → Fin d)

/-- PDF p.18, Remark 41, Eq.(87): exact support criterion over physical
shapes and the count of distinct nonzero physical matrices, rather than just
nonzero index tuples. Cardinal N is the number of retained branches. -/
theorem supportCount {k : ℕ} (R : CoherentPRIR k) (d : ℕ) (hd : 2 ≤ d)
    (alpha : PhysicalLower d k) :
    (∀ (mu nu : PhysicalUpper d k) (i j : Fin (irrepDim alpha.val)),
      constructedE R d alpha.val mu nu i j ≠ 0 ↔
        oneBoxBranch alpha.val mu.val ∧ oneBoxBranch alpha.val nu.val) ∧
    (((Finset.univ : Finset ((PhysicalUpper d k × Fin (irrepDim alpha.val)) ×
        (PhysicalUpper d k × Fin (irrepDim alpha.val)))).image
        (fun pq => constructedE R d alpha.val pq.1.1 pq.2.1 pq.1.2 pq.2.2)).erase 0).card =
      (irrepDim alpha.val * Fintype.card (Retained d alpha.val)) ^ 2 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P28

end
Source
Simplified formalism of the algebra of partially transposed permutation operators with applications, arXiv:1708.02434v2, PDF p. 18, Remark 41
Read-back

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

For every k∈Nk\in\mathbb Nk∈N, d≥2d\ge2d≥2, coherent package RRR, and shape α∈Shape⁡(k)\alpha\in\operatorname{Shape}(k)α∈Shape(k) with first-column length at most ddd, two statements hold. For every μ,ν∈Shape⁡(k+1)\mu,\nu\in\operatorname{Shape}(k+1)μ,ν∈Shape(k+1) with first-column lengths at most ddd, and every 0≤i,j<fα0\le i,j<f_\alpha0≤i,j<fα​,

Eijα;μν≠0⟺α.cells⊆μ.cells and α.cells⊆ν.cells.E^{\alpha;\mu\nu}_{ij}\ne0 \quad\Longleftrightarrow\quad \alpha.\mathrm{cells}\subseteq\mu.\mathrm{cells} \ \text{and}\ \alpha.\mathrm{cells}\subseteq\nu.\mathrm{cells}.Eijα;μν​=0⟺α.cells⊆μ.cells and α.cells⊆ν.cells.

Furthermore, the number of distinct nonzero matrices among all Eijα;μνE^{\alpha;\mu\nu}_{ij}Eijα;μν​, allowing all these physical upper shapes and indices, is

(fα ∣{ν∈Shape⁡(k+1):colLen⁡ν(0)≤d, α.cells⊆ν.cells}∣)2.\left( f_\alpha\, \left|\{\nu\in\operatorname{Shape}(k+1): \operatorname{colLen}_\nu(0)\le d,\ \alpha.\mathrm{cells}\subseteq\nu.\mathrm{cells}\}\right| \right)^2.(fα​∣{ν∈Shape(k+1):colLenν​(0)≤d, α.cells⊆ν.cells}∣)2.

The definition of Shape⁡(m)\operatorname{Shape}(m)Shape(m) is not supplied. For each underlying mmm-cell diagram, use its fixed numbering and row-preserving and column-preserving permutation sets to define

Yλ(g,h)=∑a∈Rλ,b∈Cλsgn⁡(b)1{g=hab},Vλ=range⁡Yλ,fλ=dim⁡CVλ.Y_\lambda(g,h)=\sum_{a\in\mathcal R_\lambda,b\in\mathcal C_\lambda} \operatorname{sgn}(b)\mathbf1_{\{g=hab\}}, \quad V_\lambda=\operatorname{range}Y_\lambda,\quad f_\lambda=\dim_{\mathbb C}V_\lambda.Yλ​(g,h)=a∈Rλ​,b∈Cλ​∑​sgn(b)1{g=hab}​,Vλ​=rangeYλ​,fλ​=dimC​Vλ​.

With Lσ(g,h)=1{g=σh}L_\sigma(g,h)=\mathbf1_{\{g=\sigma h\}}Lσ​(g,h)=1{g=σh}​ and orthogonal projection QλQ_\lambdaQλ​ onto VλV_\lambdaVλ​, put ρλ(σ)=QλLσ∣Vλ\rho_\lambda(\sigma)=Q_\lambda L_\sigma|_{V_\lambda}ρλ​(σ)=Qλ​Lσ​∣Vλ​​, χλ(σ)=tr⁡(LσQλ)\chi_\lambda(\sigma)=\operatorname{tr}(L_\sigma Q_\lambda)χλ​(σ)=tr(Lσ​Qλ​), and Pτ(y,x)=1{y=x∘τ−1}P_\tau(y,x)=\mathbf1_{\{y=x\circ\tau^{-1}\}}Pτ​(y,x)=1{y=x∘τ−1}​. Define mλ(d)m_\lambda(d)mλ​(d) as the complex dimension of the complex-linear maps F:Vλ→C{0,…,d−1}mF:V_\lambda\to\mathbb C^{\{0,\ldots,d-1\}^{m}}F:Vλ​→C{0,…,d−1}m satisfying Fρλ(σ)=PσFF\rho_\lambda(\sigma)=P_\sigma FFρλ​(σ)=Pσ​F for every σ\sigmaσ, and set

Πλe=fλm!∑σ∈Smχλ(σ−1)Pe(σ),Bijα=fαk!∑σ∈Skℓα(σ−1)jiPσ↑↑,Eijα;μν=mα(d)mμ(d)mν(d) Πμ↑BijαTkΠν↑.\begin{aligned} \Pi_\lambda^e&=\frac{f_\lambda}{m!}\sum_{\sigma\in S_m} \chi_\lambda(\sigma^{-1})P_{e(\sigma)},\\ B^\alpha_{ij}&=\frac{f_\alpha}{k!}\sum_{\sigma\in S_k} \ell_\alpha(\sigma^{-1})_{ji}P_{\sigma^{\uparrow\uparrow}},\\ E^{\alpha;\mu\nu}_{ij} &=\frac{m_\alpha(d)}{\sqrt{m_\mu(d)m_\nu(d)}}\, \Pi_\mu^\uparrow B^\alpha_{ij}T_k\Pi_\nu^\uparrow. \end{aligned}Πλe​Bijα​Eijα;μν​​=m!fλ​​σ∈Sm​∑​χλ​(σ−1)Pe(σ)​,=k!fα​​σ∈Sk​∑​ℓα​(σ−1)ji​Pσ↑↑​,=mμ​(d)mν​(d)​mα​(d)​Πμ↑​Bijα​Tk​Πν↑​.​

The matrices act on words of length k+2k+2k+2 over {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}; extension ↑\uparrow↑ fixes the new last position, and Tk(x,y)=1T_k(x,y)=1Tk​(x,y)=1 precisely when xk=xk+1x_k=x_{k+1}xk​=xk+1​, yk=yk+1y_k=y_{k+1}yk​=yk+1​, and the words agree elsewhere, and is zero otherwise. The package RRR supplies lower and upper identity-preserving multiplicative matrix maps with M∗M=IM^*M=IM∗M=I, traces χ\chiχ, positive dimensions, coordinate bijections expressing upper restriction as the direct sum of lower maps over cell-included diagrams, and real upper matrices for swaps (a k)(a\ k)(a k). The assertion includes k=0k=0k=0; the cardinality counts the image after duplicates and the zero matrix have been removed, and zero-denominator quotients are zero.

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