Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 4.4, p. 8 — ∂f^(1)/∂A^(n) = Ā^(n)·W^{n}

Proved
TensorBTD.Cogradient.cograd_f1

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

gramiankhatri-rao-productp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1wirtinger-derivative

Consider the unstructured CPD with factor matrices A(1),…,A(N)∈CIn×R′A^{(1)},\dots,A^{(N)}\in\mathbb C^{I_n\times R'}A(1),…,A(N)∈CIn​×R′ and fix a mode nnn. Let

f(1)=∥A(n)V{n}T∥2,f^{(1)}=\|A^{(n)}V^{\{n\}\mathrm T}\|^2,f(1)=∥A(n)V{n}T∥2,

where V{n}V^{\{n\}}V{n} is the Khatri–Rao string of all factor matrices except A(n)A^{(n)}A(n). Then the cogradient of f(1)f^{(1)}f(1) with respect to the entries of A(n)A^{(n)}A(n) is

∂f(1)∂A(n)=A‾(n)⋅W{n},\frac{\partial f^{(1)}}{\partial A^{(n)}}=\overline{A}^{(n)}\cdot W^{\{n\}},∂A(n)∂f(1)​=A(n)⋅W{n},

where A‾(n)\overline{A}^{(n)}A(n) is the entrywise complex conjugate of A(n)A^{(n)}A(n) and W{n}W^{\{n\}}W{n} is the Hadamard product of the Gramians A(m)HA(m)A^{(m)\mathrm H}A^{(m)}A(m)HA(m), m≠nm\neq nm=n.

This is the factor-dependent part of the cogradient of fBTDf_{\mathrm{BTD}}fBTD​.

Formalization Note. The cogradient is 12(∂x−i ∂y)\frac12(\partial_x-\mathrm i\,\partial_y)21​(∂x​−i∂y​) coordinatewise, with all other factor matrices held fixed; the mode nnn may be any of the NNN modes, including n>Pn>Pn>P, where A(n)A^{(n)}A(n) is a free matrix of the unstructured CPD.

Preamble
import Mathlib
import Definitions.Def_TensorBTD_Cogradient_Setting
Formal statement
namespace TensorBTD.Cogradient

open Matrix

/-- Proof of Theorem 4.4, p. 8, first display: for every mode `n` of the unstructured CPD,
`∂f^(1)/∂A^(n) = Ā^(n) · W^{n}` with `f^(1) = ‖A^(n) V^{n}ᵀ‖²`. -/
theorem cograd_f1 {P Q R : ℕ} {I : Fin P ⊕ Fin Q → ℕ} {L : Fin R → ℕ} (x : TensorBTD.Gramian.GIdx I L → ℂ)
    (n : Fin P ⊕ Fin Q) :
    cogradMatG (fOne n) x n = (TensorBTD.Gramian.cpdFactor x n).map (starRingEnd ℂ) * W {n} (TensorBTD.Gramian.cpdFactor x) := by sorry

end TensorBTD.Cogradient
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. 8, proof of Theorem 4.4, first display
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me