Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§9.1.2 — eliminate the nonnegative diagonal in the factor-model loss

Proved
BoydADMM.Nonconvex.factor_model_partial_minimization

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

admmfactor-modelp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-bookp2o-v1partial-minimization

Let n≥1n\ge1n≥1 and let Σ,X∈Rn×n\Sigma,X\in\mathbb R^{n\times n}Σ,X∈Rn×n be symmetric. Define fΣ(X)=inf⁡d≥012∥X+diag⁡(d)−Σ∥F2f_\Sigma(X)=\inf_{d\ge0}\frac12\|X+\operatorname{diag}(d)-\Sigma\|_F^2fΣ​(X)=infd≥0​21​∥X+diag(d)−Σ∥F2​. Then

fΣ(X)=12∑i≠j(Xij−Σij)2+12∑i=1n(Xii−Σii)+2,f_\Sigma(X)=\frac12\sum_{i\ne j}(X_{ij}-\Sigma_{ij})^2+\frac12\sum_{i=1}^n(X_{ii}-\Sigma_{ii})_+^2,fΣ​(X)=21​i=j∑​(Xij​−Σij​)2+21​i=1∑n​(Xii​−Σii​)+2​,

and the infimum is attained by di=(Σii−Xii)+d_i=(\Sigma_{ii}-X_{ii})_+di​=(Σii​−Xii​)+​, which is componentwise nonnegative.

This identifies the reduced convex loss that appears in the factor-model ADMM X-update.

Formalization Note The sum over i≠ji\ne ji=j includes both ordered entries (i,j)(i,j)(i,j) and (j,i)(j,i)(j,i), as in the Frobenius norm. The book treats nnn as a positive matrix dimension; Lean states n≥1n\ge1n≥1 explicitly.

Preamble
import Mathlib
import Definitions.Def_BoydADMM_Nonconvex_FactorModel
Formal statement
namespace BoydADMM.Nonconvex

/-- §9.1.2, p. 75: eliminating the nonnegative diagonal gives the stated
componentwise loss, attained at `d_i = (Σ_ii - X_ii)_+`. -/
theorem factor_model_partial_minimization {n : ℕ} (Sigma X : SqMat n)
    (hn : 0 < n) (hSigma : IsSymmetric Sigma) (hX : IsSymmetric X) :
    factorLoss Sigma X = factorLossExplicit Sigma X ∧
    (∀ i, 0 ≤ optimalDiag Sigma X i) ∧
    factorLossWithDiag Sigma X (optimalDiag Sigma X) = factorLoss Sigma X := by sorry

end BoydADMM.Nonconvex
Source
Boyd, Parikh, Chu, Peleato, Eckstein, Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers, Found. Trends Mach. Learn. 3(1) (2011), p. 75, §9.1.2, display beginning f(X) = inf
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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