Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 4.5, p. 12 — JᴴJ = Σ·[Π^(n1,n2)]·Σᵀ with Π^(n,n) = W^{n} ⊗ 𝕀 and rank-one off-diagonal blocks

Proved
TensorBTD.Gramian.theorem_4_5

by mikedeng1 · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

block-term-decompositiongauss-newtongramianjacobianp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1tensor-decomposition

Let T∈CI1×⋯×IN\mathcal T\in\mathbb C^{I_1\times\cdots\times I_N}T∈CI1​×⋯×IN​, N=P+QN = P+QN=P+Q, and consider the (rank-Lr∘L_r\circLr​∘ rank-1) block term decomposition read as a structured CPD in R′=∑rLrR' = \sum_r L_rR′=∑r​Lr​ rank-one terms, with unknowns z=(vecA(1),…,vecA(P),vecC(1),…,vecC(Q))z = (\mathrm{vec}A^{(1)},\dots,\mathrm{vec}A^{(P)},\mathrm{vec}C^{(1)},\dots,\mathrm{vec}C^{(Q)})z=(vecA(1),…,vecA(P),vecC(1),…,vecC(Q)) and factor matrices A(p)A^{(p)}A(p) (p≤Pp\le Pp≤P) and A(P+q)=C(q)EA^{(P+q)} = C^{(q)}EA(P+q)=C(q)E (3.6). Let J=∂ vec(FBTD)/∂zTJ = \partial\,\mathrm{vec}(\mathcal F_{\mathrm{BTD}})/\partial z^{\mathrm T}J=∂vec(FBTD​)/∂zT be the complex Jacobian of the residual, and let F(q)=E⊗IIP+qF^{(q)} = E\otimes\mathbb I_{I_{P+q}}F(q)=E⊗IIP+q​​. For mode sets σ\sigmaσ write Wσ=∗m∉σA(m)HA(m)W^\sigma = \ast_{m\notin\sigma}A^{(m)\mathrm H}A^{(m)}Wσ=∗m∈/σ​A(m)HA(m), with entries wr1r2σw^\sigma_{r_1r_2}wr1​r2​σ​. Then the Gramian JHJJ^{\mathrm H}JJHJ is given by

JHJ=Σ⋅[Π(1,1)⋯Π(1,N)⋮⋱⋮Π(N,1)⋯Π(N,N)]⋅ΣT,Σ=diag(II1R′,…,IIPR′,F(1),…,F(Q)),J^{\mathrm H}J = \Sigma\cdot\begin{bmatrix}\Pi^{(1,1)}&\cdots&\Pi^{(1,N)}\\ \vdots&\ddots&\vdots\\ \Pi^{(N,1)}&\cdots&\Pi^{(N,N)}\end{bmatrix}\cdot\Sigma^{\mathrm T},\qquad \Sigma = \mathrm{diag}(\mathbb I_{I_1R'},\dots,\mathbb I_{I_PR'},F^{(1)},\dots,F^{(Q)}),JHJ=Σ⋅​Π(1,1)⋮Π(N,1)​⋯⋱⋯​Π(1,N)⋮Π(N,N)​​⋅ΣT,Σ=diag(II1​R′​,…,IIP​R′​,F(1),…,F(Q)),

where

Π(n1,n2)=(∂ vec(FBTD)∂ vec(A(n1))T)H(∂ vec(FBTD)∂ vec(A(n2))T)={W{n}⊗IInn=n1=n2,[ wr1r2{n1,n2} ar2(n1) ar1(n2)H]r1,r2=1R′otherwise.\Pi^{(n_1,n_2)} = \left(\frac{\partial\,\mathrm{vec}(\mathcal F_{\mathrm{BTD}})}{\partial\,\mathrm{vec}(A^{(n_1)})^{\mathrm T}}\right)^{\mathrm H}\left(\frac{\partial\,\mathrm{vec}(\mathcal F_{\mathrm{BTD}})}{\partial\,\mathrm{vec}(A^{(n_2)})^{\mathrm T}}\right) = \begin{cases} W^{\{n\}}\otimes\mathbb I_{I_n} & n = n_1 = n_2,\\[2pt] \Big[\,w^{\{n_1,n_2\}}_{r_1r_2}\, a^{(n_1)}_{r_2}\,a^{(n_2)\mathrm H}_{r_1}\Big]_{r_1,r_2=1}^{R'} & \text{otherwise.}\end{cases}Π(n1​,n2​)=(∂vec(A(n1​))T∂vec(FBTD​)​)H(∂vec(A(n2​))T∂vec(FBTD​)​)=⎩⎨⎧​W{n}⊗IIn​​[wr1​r2​{n1​,n2​}​ar2​(n1​)​ar1​(n2​)H​]r1​,r2​=1R′​​n=n1​=n2​,otherwise.​

The derivatives in Π(n1,n2)\Pi^{(n_1,n_2)}Π(n1​,n2​) are taken with all NNN factor matrices treated as free (the unstructured CPD in R′R'R′ terms) and evaluated at the factor matrices of zzz. The theorem therefore asserts two things, both for every tensor and every zzz:

  1. the Gramian of the unstructured CPD Jacobian equals the explicit block matrix Π\PiΠ of (4.12);
  2. JHJ=Σ Π ΣTJ^{\mathrm H}J = \Sigma\,\Pi\,\Sigma^{\mathrm T}JHJ=ΣΠΣT (4.10).

The result makes JHJJ^{\mathrm H}JJHJ storable as the factor matrices and their Gramians, which is the basis of the paper's matrix-free Gauss–Newton and Levenberg–Marquardt methods.

Formalization Note. Modes are Fin P ⊕ Fin Q, columns Σ r, Fin (L r), all indices 0-based, and vec order is (column, row). Π\PiΠ is the mission's PiMat, whose diagonal blocks are written entrywise as wr1r2{n}δijw^{\{n\}}_{r_1r_2}\delta_{ij}wr1​r2​{n}​δij​. Since A(P+q)A^{(P+q)}A(P+q) is not an unknown of the BTD, the derivative with respect to vec(A(n))\mathrm{vec}(A^{(n)})vec(A(n)) in (4.12) is that of the unstructured CPD residual at the point whose factor matrices are those of zzz; this is how the paper's proof reads it. The paper's standing assumption P,Q≥1P, Q\ge 1P,Q≥1 and the qualifiers "nonzero" and "rank-LrL_rLr​" are dropped: the identity holds for all sizes and all factor matrices (Q = 0 gives the plain CPD in R′R'R′ terms).

Preamble
import Mathlib
import Definitions.Def_TensorBTD_Gramian_Setting
Formal statement
namespace TensorBTD.Gramian

open Matrix

theorem theorem_4_5 {P Q R : ℕ} {I : Fin P ⊕ Fin Q → ℕ} {L : Fin R → ℕ}
    (T : Tensor I) (z : Unk I L → ℂ) :
    (jac (cpdResidual T) (fullVec z))ᴴ * jac (cpdResidual T) (fullVec z) = PiMat (factor z) ∧
    (jac (residual T) z)ᴴ * jac (residual T) z =
      Sigma I L * PiMat (factor z) * (Sigma I L)ᵀ := by sorry

end TensorBTD.Gramian
Source
Sorber, Van Barel & De Lathauwer, Optimization-Based Algorithms for Tensor Decompositions, SIAM J. Optim. 23(2) (2013), doi:10.1137/120868323, authors' manuscript (Lirias), p. 12, Theorem 4.5, (4.10)–(4.12); proof pp. 12–13
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me