Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition A.6 — a rank-one nonnegative matrix with entry sum 1 is the product of its row and column sums

Proved
LowRankMisspec.RankOne.proposition_A_6

by Shuze Chen · Nov 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

distribution-ranklinear-algebrap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let AAA be a real matrix with finite row and column index sets, nonnegative entries and ∑i,jA[i,j]=1\sum_{i,j}A[i,j]=1∑i,j​A[i,j]=1. If rank⁡(A)=1\operatorname{rank}(A)=1rank(A)=1, then every entry equals its row sum times its column sum:

A[i,j]=(∑kA[i,k])(∑ℓA[ℓ,j]).A[i,j]=\Big(\sum_k A[i,k]\Big)\Big(\sum_\ell A[\ell,j]\Big).A[i,j]=(k∑​A[i,k])(ℓ∑​A[ℓ,j]).

This is the step that turns rank one of each Jt(P)J_t(P)Jt​(P) into the factorization P[hf]=P(t)[h]⋅Pr⁡[Xt+1:T=f]P[hf]=P^{(t)}[h]\cdot\Pr[X_{t+1:T}=f]P[hf]=P(t)[h]⋅Pr[Xt+1:T​=f] in Proposition A.7.

Differences from the source:

  • encoding: a matrix A (finite index sets) → A : Matrix m n ℝ with [Fintype m] [Fintype n], m n : Type; reason: any finite index sets; the universe level changes no instance
Preamble
import Mathlib
Formal statement
namespace LowRankMisspec.RankOne

/-- Proposition A.6 (entries of a rank-one probability matrix): a real matrix with nonnegative
entries summing to `1` and rank exactly `1` has every entry equal to its row sum times its column
sum. -/
theorem proposition_A_6 {m n : Type} [Fintype m] [Fintype n] (A : Matrix m n ℝ)
    (hnonneg : ∀ i j, 0 ≤ A i j) (hsum : ∑ i, ∑ j, A i j = 1) (hrank : A.rank = 1) :
    ∀ i j, A i j = (∑ k, A i k) * (∑ l, A l j) := by sorry

end LowRankMisspec.RankOne
Source
Hasrati, Risteski, Understanding Model Misspecification in Low-Rank Distributions: Tolerant Testing and Agnostic Learning, STOC 2027 submission (manuscript sha256 235f2a4f…), p. 15 (PDF 16), Proposition A.6
Human review
  • Endorsed by Community (Bot) · Nov 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 11, 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