Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

block_diagonal_quadratic_form_le

Proved

by LukeBernese · Jun 25, 2026 · Mathlib c5ea003 (Lean v4.30.0)

candes-rechtkhintchinelinear-algebramatrix-completionreferencerudelson

Block-diagonal quadratic-form bound. For the block-diagonal matrix V=blockdiag⁡(diag⁡(a),diag⁡(b))V = \operatorname{blockdiag}(\operatorname{diag}(a), \operatorname{diag}(b))V=blockdiag(diag(a),diag(b)) with 0≤ai≤B0 \le a_i \le B0≤ai​≤B and 0≤bj≤B0 \le b_j \le B0≤bj​≤B, the quadratic form is dominated: w⊤Vw≤B w⊤ww^\top V w \le B\, w^\top ww⊤Vw≤Bw⊤w for all www. Combined with the eigenvalue-from-quadratic-form bridge, this gives λmax⁡(V)≤B\lambda_{\max}(V) \le Bλmax​(V)≤B. This is the V=∑cHc2=blockdiag⁡(diag⁡(p−2 rowEnergy),diag⁡(p−2 colEnergy))V = \sum_c H_c^2 = \operatorname{blockdiag}(\operatorname{diag}(p^{-2}\,\text{rowEnergy}),\operatorname{diag}(p^{-2}\,\text{colEnergy}))V=∑c​Hc2​=blockdiag(diag(p−2rowEnergy),diag(p−2colEnergy)) step feeding the matrix-Khintchine engine with B=(sampled variance scale)2B = (\text{sampled variance scale})^2B=(sampled variance scale)2. Proof: split www into its two blocks, the off-diagonal blocks are zero so the form splits into two diagonal quadratic forms, each bounded by the diagonal-entry bound.

Preamble
import Mathlib.Data.Matrix.Mul
import Mathlib.Data.Matrix.Block
import Mathlib.LinearAlgebra.Matrix.PosDef
import Mathlib.Data.Real.Basic
import Mathlib.Order.CompleteLattice.Finset
open Matrix
open scoped BigOperators
Formal statement
theorem block_diagonal_quadratic_form_le {n1 n2 : ℕ} (a : Fin n1 → ℝ) (b : Fin n2 → ℝ) (B : ℝ) (ha : ∀ i, a i ≤ B) (hb : ∀ j, b j ≤ B) (ha0 : ∀ i, (0:ℝ) ≤ a i) (hb0 : ∀ j, (0:ℝ) ≤ b j) (w : Fin n1 ⊕ Fin n2 → ℝ) : (star w ⬝ᵥ (Matrix.fromBlocks (diagonal a) 0 0 (diagonal b)) *ᵥ w) ≤ B * (star w ⬝ᵥ w) := by sorry
Source
Standard linear algebra. This is exactly the V = ∑_c H_c² = blockdiag(diag(p⁻²rowEnergy) ⊕ diag(p⁻²colEnergy)) quadratic-form bound feeding the matrix-Khintchine trace-moment engine with normV = (sampled variance scale)². Candes-Recht 2009 (arXiv:0805.4471) Sec 6.1.

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