Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Deterministic sampling-deviation bound ∣DΩ,t(AC⊤,BD⊤)∣≤∥Ω−tJ∥⋅(row factors)|D_{\Omega,t}(AC^\top,BD^\top)|\le\|\Omega-tJ\|\cdot(\text{row factors})∣DΩ,t​(AC⊤,BD⊤)∣≤∥Ω−tJ∥⋅(row factors) (Chen–Li Lemma 4.4)

Proved
MatrixCompletion.NoSpuriousMin.sampling_deviation_bound

by Shuze Chen · Aug 4, 2026 · Mathlib c5ea003 (Lean v4.30.0)

matrix-completionmc-no-spuriousnonconvex-optimization

For any sample set Ω\OmegaΩ, any t∈Rt\in\mathbb{R}t∈R, and any factored matrices AC⊤AC^\topAC⊤ and BD⊤BD^\topBD⊤ (with A,B,C,DA,B,C,DA,B,C,D having ddd rows),

∣⟨PΩ(AC⊤),PΩ(BD⊤)⟩−t⟨AC⊤,BD⊤⟩∣ ≤ ∥Ω−tJ∥⋅∑k∥Ak∥2∥Bk∥2⋅∑k∥Ck∥2∥Dk∥2,\bigl|\langle P_\Omega(AC^\top),P_\Omega(BD^\top)\rangle-t\langle AC^\top,BD^\top\rangle\bigr|\ \le\ \|\Omega-tJ\|\cdot\sqrt{\sum_k\|A_k\|^2\|B_k\|^2}\cdot\sqrt{\sum_k\|C_k\|^2\|D_k\|^2},​⟨PΩ​(AC⊤),PΩ​(BD⊤)⟩−t⟨AC⊤,BD⊤⟩​ ≤ ∥Ω−tJ∥⋅k∑​∥Ak​∥2∥Bk​∥2​⋅k∑​∥Ck​∥2∥Dk​∥2​,

where ∥Ω−tJ∥\|\Omega-tJ\|∥Ω−tJ∥ is the spectral norm of the 0/1 indicator matrix of Ω\OmegaΩ minus ttt times the all-ones matrix, and AkA_kAk​ denotes the kkk-th row. This is a deterministic inequality — no sampling model, no probability. It is the engine of the Chen–Li proof: every sampling-deviation term is controlled by the single scalar ∥Ω−pJ∥\|\Omega-pJ\|∥Ω−pJ∥, replacing the union-bound-plus-net concentration machinery of Ge–Lee–Ma (their Theorem D.1) with linear algebra.

Formalization Note Stated for square index sets Ω⊆[d]×[d]\Omega\subseteq[d]\times[d]Ω⊆[d]×[d] (the case used in this mission); Chen–Li state it for general rectangular index sets.

Preamble
import Definitions.Def_MCNoSpuriousMinModel
open Matrix MatrixCompletion.NoSpuriousMin
Formal statement
theorem MatrixCompletion.NoSpuriousMin.sampling_deviation_bound
    {d r₁ r₂ : ℕ} (Ω : Finset (Fin d × Fin d)) (t : ℝ)
    (A : Matrix (Fin d) (Fin r₁) ℝ) (B : Matrix (Fin d) (Fin r₂) ℝ)
    (C : Matrix (Fin d) (Fin r₁) ℝ) (D : Matrix (Fin d) (Fin r₂) ℝ) :
    |sampDev Ω t (A * Cᵀ) (B * Dᵀ)| ≤
      sampDevNorm Ω t
        * Real.sqrt (∑ k, vecNorm (A k) ^ 2 * vecNorm (B k) ^ 2)
        * Real.sqrt (∑ k, vecNorm (C k) ^ 2 * vecNorm (D k) ^ 2) := by sorry
Source
Chen, Li 2019, Model-free Nonconvex Matrix Completion: Local Minima Analysis and Applications in Memory-efficient Kernel PCA, JMLR 20(142), https://arxiv.org/abs/1711.01742 (v3) [THE canonical reference: all milestones follow its Section 4], pp. 17-18, Lemma 4.4, eq. (4.3) (deterministic; stated there for general rectangular index sets, formalized here for the square symmetric case in use). Chen-Li note it replaces the concentration Theorem D.1 of Ge, Lee, Ma 2016, Matrix Completion has No Spurious Local Minimum, https://arxiv.org/abs/1605.07272 (v4); proof after Bhojanapalli-Jain 2014, Li et al. 2016.
Read-back

What the Lean code literally says, in plain math · claude-fable-5

Read-back — theorem MatrixCompletion.NoSpuriousMin.sampling_deviation_bound

For every triple of natural numbers d,r1,r2d, r_1, r_2d,r1​,r2​ (each possibly 000), every finite set Ω\OmegaΩ of index pairs (i,j)(i,j)(i,j) with i,j∈{1,…,d}i, j \in \{1,\dots,d\}i,j∈{1,…,d}, every real number ttt (arbitrary: possibly negative, zero, or greater than 111), and every quadruple of real matrices A∈Rd×r1A \in \mathbb{R}^{d\times r_1}A∈Rd×r1​, B∈Rd×r2B \in \mathbb{R}^{d\times r_2}B∈Rd×r2​, C∈Rd×r1C \in \mathbb{R}^{d\times r_1}C∈Rd×r1​, D∈Rd×r2D \in \mathbb{R}^{d\times r_2}D∈Rd×r2​ — with no hypothesis whatsoever on Ω\OmegaΩ, ttt, or the matrices (in particular Ω\OmegaΩ need not be symmetric, and ttt need not lie in [0,1][0,1][0,1]) — the following inequality is asserted:

∣ devΩ,t(ACT, BDT) ∣  ≤  σΩ,t  ⋅  ∑k=1d∥Ak∥2 ∥Bk∥2  ⋅  ∑k=1d∥Ck∥2 ∥Dk∥2,\bigl|\,\mathrm{dev}_{\Omega,t}(AC^{\mathsf T},\, BD^{\mathsf T})\,\bigr| \;\le\; \sigma_{\Omega,t}\;\cdot\;\sqrt{\sum_{k=1}^{d} \lVert A_k\rVert^2\,\lVert B_k\rVert^2}\;\cdot\;\sqrt{\sum_{k=1}^{d} \lVert C_k\rVert^2\,\lVert D_k\rVert^2},​devΩ,t​(ACT,BDT)​≤σΩ,t​⋅k=1∑d​∥Ak​∥2∥Bk​∥2​⋅k=1∑d​∥Ck​∥2∥Dk​∥2​,

where the notation unfolds as follows.

  • For d×dd\times dd×d real matrices M,NM, NM,N, the quantity devΩ,t(M,N)\mathrm{dev}_{\Omega,t}(M,N)devΩ,t​(M,N) (the file's sampDev) is defined as
devΩ,t(M,N)  =  ⟨PΩM, PΩN⟩  −  t ⟨M,N⟩,\mathrm{dev}_{\Omega,t}(M,N) \;=\; \langle P_\Omega M,\, P_\Omega N\rangle \;-\; t\,\langle M, N\rangle,devΩ,t​(M,N)=⟨PΩ​M,PΩ​N⟩−t⟨M,N⟩,

where ⟨X,Y⟩=∑i,jXijYij\langle X, Y\rangle = \sum_{i,j} X_{ij}Y_{ij}⟨X,Y⟩=∑i,j​Xij​Yij​ is the entrywise (Frobenius) inner product, and PΩMP_\Omega MPΩ​M is the matrix that agrees with MMM on entries (i,j)∈Ω(i,j) \in \Omega(i,j)∈Ω and is 000 elsewhere. Thus ⟨PΩM,PΩN⟩=∑(i,j)∈ΩMijNij\langle P_\Omega M, P_\Omega N\rangle = \sum_{(i,j)\in\Omega} M_{ij}N_{ij}⟨PΩ​M,PΩ​N⟩=∑(i,j)∈Ω​Mij​Nij​.

  • The left-hand argument is M=ACTM = AC^{\mathsf T}M=ACT, i.e. Mij=∑k=1r1AikCjk=⟨Ai,Cj⟩M_{ij} = \sum_{k=1}^{r_1} A_{ik}C_{jk} = \langle A_i, C_j\rangleMij​=∑k=1r1​​Aik​Cjk​=⟨Ai​,Cj​⟩ (inner product of row iii of AAA with row jjj of CCC); likewise N=BDTN = BD^{\mathsf T}N=BDT with Nij=⟨Bi,Dj⟩N_{ij} = \langle B_i, D_j\rangleNij​=⟨Bi​,Dj​⟩. Note the pairing: AAA with CCC forms the first argument and BBB with DDD the second, while on the right-hand side the sums pair AAA with BBB and CCC with DDD.

  • σΩ,t\sigma_{\Omega,t}σΩ,t​ (the file's sampDevNorm) is defined as σmax⁡(SΩ−t 11T)\sigma_{\max}(S_\Omega - t\,\mathbf 1\mathbf 1^{\mathsf T})σmax​(SΩ​−t11T), where SΩS_\OmegaSΩ​ is the d×dd\times dd×d {0,1}\{0,1\}{0,1}-matrix with (SΩ)ij=1(S_\Omega)_{ij}=1(SΩ​)ij​=1 exactly when (i,j)∈Ω(i,j)\in\Omega(i,j)∈Ω, and t 11Tt\,\mathbf 1\mathbf 1^{\mathsf T}t11T is ttt times the all-ones matrix. Here σmax⁡(X)\sigma_{\max}(X)σmax​(X) is not Mathlib's operator norm but a custom definition: the supremum, over vectors v∈Rdv \in \mathbb{R}^dv∈Rd satisfying ∑jvj2=1\sqrt{\sum_j v_j^2} = 1∑j​vj2​​=1, of ∑i(Xv)i2\sqrt{\sum_i (Xv)_i^2}∑i​(Xv)i2​​. This supremum is taken in the real numbers, so by convention it equals 000 when the index set is empty — in particular, when d=0d = 0d=0 there are no unit vectors and σΩ,t=0\sigma_{\Omega,t} = 0σΩ,t​=0 (in that degenerate case both sides of the inequality are 000 and the claim holds trivially).

  • ∥v∥\lVert v \rVert∥v∥ denotes the Euclidean norm ∑jvj2\sqrt{\sum_j v_j^2}∑j​vj2​​ of a vector (the file's vecNorm), and AkA_kAk​ denotes the kkk-th row of AAA; the two square-root factors are therefore ∑k∥Ak∥2∥Bk∥2\sqrt{\sum_{k} \lVert A_k\rVert^2 \lVert B_k\rVert^2}∑k​∥Ak​∥2∥Bk​∥2​ and ∑k∥Ck∥2∥Dk∥2\sqrt{\sum_{k} \lVert C_k\rVert^2 \lVert D_k\rVert^2}∑k​∥Ck​∥2∥Dk​∥2​, each sum running over the ddd rows. These are not products of full Frobenius norms: each is a single square root of a row-wise coupled sum (by Cauchy–Schwarz such a factor is at most ∥A∥2,∞∥B∥F\|A\|_{2,\infty}\|B\|_F∥A∥2,∞​∥B∥F​, etc., but the statement asserts the coupled form, not any such relaxation).

Degenerate cases silently included: d=0d = 0d=0 or Ω=∅\Omega = \varnothingΩ=∅ (then dev\mathrm{dev}dev reduces to −t⟨M,N⟩-t\langle M,N\rangle−t⟨M,N⟩ while σΩ,t=σmax⁡(−t11T)\sigma_{\Omega,t} = \sigma_{\max}(-t\mathbf 1\mathbf 1^{\mathsf T})σΩ,t​=σmax​(−t11T)); r1=0r_1 = 0r1​=0 or r2=0r_2 = 0r2​=0 (then ACTAC^{\mathsf T}ACT or BDTBD^{\mathsf T}BDT is the zero matrix and the corresponding row norms are 000, making the left side 000); and, since σmax⁡\sigma_{\max}σmax​ is a bare real supremum, any situation in which that supremum were not attained or the set unbounded would yield the Lean convention value rather than an extended-real supremum.

Human review
  • Endorsed by Community (Bot) · Aug 4, 2026

  • Endorsed by Shuze Chen · Aug 4, 2026

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

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

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.

How Prove2Me works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me