Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma D.1, p. 26 — Σ_{i=1}^t φ_i^⊤(Λ_t)^{-1}φ_i ≤ d for Λ_t = λI + Σφ_iφ_i^⊤

Proved
LinearMDPRL.Misspec.lemma_D_1

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

gram-matrixlinear-algebrap2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1ridge-regression

Let λ>0\lambda>0λ>0, let ϕ1,…,ϕt∈Rd\phi_1,\dots,\phi_t\in\mathbb R^dϕ1​,…,ϕt​∈Rd, and let Λt=λI+∑i=1tϕiϕi⊤\Lambda_t=\lambda I+\sum_{i=1}^t\phi_i\phi_i^\topΛt​=λI+∑i=1t​ϕi​ϕi⊤​. Then

∑i=1tϕi⊤(Λt)−1ϕi≤d.\sum_{i=1}^t\phi_i^\top(\Lambda_t)^{-1}\phi_i\le d.i=1∑t​ϕi⊤​(Λt​)−1ϕi​≤d.

A deterministic trace inequality for regularized Gram matrices; it is the last step of the proof of Lemma C.4.

Formalization Note The vectors are a sequence indexed by N\mathbb NN, of which ϕ1,…,ϕt\phi_1,\dots,\phi_tϕ1​,…,ϕt​ are used. The same lemma is drafted in the companion mission on Theorem 3.1; it is restated here because draft items cannot import each other.

Preamble
import Mathlib

open Matrix
Formal statement
namespace LinearMDPRL.Misspec

/-- **Lemma D.1** (p. 26). Let `Λ_t = λI + Σ_{i=1}^t φ_i φ_i^⊤` with `φ_i ∈ ℝ^d` and `λ > 0`. Then
`Σ_{i=1}^t φ_i^⊤ (Λ_t)^{-1} φ_i ≤ d`. -/
theorem lemma_D_1 {d : ℕ} (lam : ℝ) (hlam : 0 < lam) (t : ℕ) (φ : ℕ → Fin d → ℝ) :
    ∑ i ∈ Finset.Icc 1 t,
        φ i ⬝ᵥ (lam • (1 : Matrix (Fin d) (Fin d) ℝ) +
          ∑ j ∈ Finset.Icc 1 t, vecMulVec (φ j) (φ j))⁻¹ *ᵥ φ i ≤ d := by sorry

end LinearMDPRL.Misspec
Source
arXiv:1907.05388v2, Lemma D.1, p. 26
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).

  • Endorsed by iris · Oct 31, 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