Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(A.1) — Projection triangle inequality over the block partition of J0cJ_0^cJ0c​

Proved
LassoDantzig.REConditions.eq_A1_projection_triangle

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-algebrap2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1restricted-eigenvalue

Let X∈Rn×MX\in\mathbb R^{n\times M}X∈Rn×M, δ∈RM\delta\in\mathbb R^Mδ∈RM, J0⊆{1,…,M}J_0\subseteq\{1,\dots,M\}J0​⊆{1,…,M}, and let J0c=J1∪⋯∪JKJ_0^c=J_1\cup\dots\cup J_KJ0c​=J1​∪⋯∪JK​ (K≥1K\ge1K≥1) be any partition of J0cJ_0^cJ0c​ into pairwise disjoint (possibly empty) blocks. Put J01=J0∪J1J_{01}=J_0\cup J_1J01​=J0​∪J1​ and let P01P_{01}P01​ be the orthogonal projector in Rn\mathbb R^nRn onto the linear span of the columns of XJ01X_{J_{01}}XJ01​​. Then

∣P01Xδ∣2 ≥ ∣P01XδJ01∣2−∣∑k=2KP01XδJk∣2 = ∣XδJ01∣2−∣∑k=2KP01XδJk∣2 ≥ ∣XδJ01∣2−∑k=2K∣P01XδJk∣2.|P_{01}X\delta|_2\ \ge\ |P_{01}X\delta_{J_{01}}|_2-\Big|\sum_{k=2}^KP_{01}X\delta_{J_k}\Big|_2 \ =\ |X\delta_{J_{01}}|_2-\Big|\sum_{k=2}^KP_{01}X\delta_{J_k}\Big|_2 \ \ge\ |X\delta_{J_{01}}|_2-\sum_{k=2}^K|P_{01}X\delta_{J_k}|_2 .∣P01​Xδ∣2​ ≥ ∣P01​XδJ01​​∣2​−​k=2∑K​P01​XδJk​​​2​ = ∣XδJ01​​∣2​−​k=2∑K​P01​XδJk​​​2​ ≥ ∣XδJ01​​∣2​−k=2∑K​∣P01​XδJk​​∣2​.

This is the first step of the proof of Lemma 4.1: it isolates the contribution of the leading block J01J_{01}J01​ from that of the tail blocks.

Formalization Note The paper states (A.1) for the specific sorted partition; it holds for every partition, which is how it is stated here. n≥1n\ge1n≥1 and M≥2M\ge2M≥2 are the paper's standing assumptions. P01P_{01}P01​ acts on Rn\mathbb R^nRn (the paper's "RM\mathbb R^MRM" on p. 9 is a slip).

Preamble
import Mathlib
import Definitions.Def_LassoDantzig_REConditions_RE
import Definitions.Def_LassoDantzig_REConditions_RestrictedEigenvalues
Formal statement
namespace LassoDantzig.REConditions

/-- **(A.1)**, Bickel–Ritov–Tsybakov, arXiv:0801.1095v3, Appendix A, p. 19. For any partition
`J0ᶜ = J 1 ∪ ⋯ ∪ J K` and `P01` the orthogonal projector in `ℝⁿ` onto the span of the columns
of `X_{J01}`, `J01 = J0 ∪ J 1`:
`|P01 Xδ|₂ ≥ |P01 X δ_{J01}|₂ − |∑_{k=2}^K P01 X δ_{Jk}|₂ = |X δ_{J01}|₂ − |∑_{k=2}^K P01 X δ_{Jk}|₂
≥ |X δ_{J01}|₂ − ∑_{k=2}^K |P01 X δ_{Jk}|₂`. -/
theorem eq_A1_projection_triangle {n M : ℕ} (X : Matrix (Fin n) (Fin M) ℝ)
    (hn : 1 ≤ n) (hM : 2 ≤ M)
    (δ : Fin M → ℝ) (J0 : Finset (Fin M)) (J : ℕ → Finset (Fin M)) (K : ℕ)
    (hJ : IsBlockPartition J0ᶜ J K) :
    projNorm X (J0 ∪ J 1) (X.mulVec (restrict δ (J0 ∪ J 1))) -
        ‖∑ k ∈ Finset.Icc 2 K,
          (colSpan X (J0 ∪ J 1)).starProjection (WithLp.toLp 2 (X.mulVec (restrict δ (J k))))‖
      ≤ projNorm X (J0 ∪ J 1) (X.mulVec δ) ∧
    projNorm X (J0 ∪ J 1) (X.mulVec (restrict δ (J0 ∪ J 1))) =
      euclNorm (X.mulVec (restrict δ (J0 ∪ J 1))) ∧
    euclNorm (X.mulVec (restrict δ (J0 ∪ J 1))) -
        ∑ k ∈ Finset.Icc 2 K, projNorm X (J0 ∪ J 1) (X.mulVec (restrict δ (J k)))
      ≤ euclNorm (X.mulVec (restrict δ (J0 ∪ J 1))) -
        ‖∑ k ∈ Finset.Icc 2 K,
          (colSpan X (J0 ∪ J 1)).starProjection (WithLp.toLp 2 (X.mulVec (restrict δ (J k))))‖ := by sorry

end LassoDantzig.REConditions
Source
Bickel, Ritov and Tsybakov, Simultaneous Analysis of Lasso and Dantzig Selector, arXiv:0801.1095v3, p. 19, Appendix A, Eq. (A.1)
Read-back

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

Setting.

  • n≥1n\ge1n≥1 and M≥2M\ge2M≥2 are natural numbers.
  • XXX is a real n×Mn\times Mn×M matrix.
  • δ∈RM\delta\in\mathbb R^Mδ∈RM, and J0⊆{1,…,M}J_0\subseteq\{1,\dots,M\}J0​⊆{1,…,M}.
  • (Jk)k∈N(J_k)_{k\in\mathbb N}(Jk​)k∈N​ is a sequence of index sets and K∈NK\in\mathbb NK∈N.

Hypothesis. J1,…,JKJ_1,\dots,J_KJ1​,…,JK​ form a block partition of J0cJ_0^cJ0c​, meaning:

  • K≥1K\ge1K≥1;
  • the sets J1,…,JKJ_1,\dots,J_KJ1​,…,JK​ are pairwise disjoint;
  • their union is exactly J0cJ_0^cJ0c​.

Blocks may be empty.

Notation.

  • J01=J0∪J1J_{01}=J_0\cup J_1J01​=J0​∪J1​.
  • δJ\delta_JδJ​ is the vector equal to δ\deltaδ on JJJ and 000 off JJJ.
  • ∣⋅∣2|\cdot|_2∣⋅∣2​ is the Euclidean norm on Rn\mathbb R^nRn.
  • P01P_{01}P01​ is the orthogonal projection of Rn\mathbb R^nRn onto the linear span of the columns of XXX indexed by J01J_{01}J01​.

Conclusion. All three of the following hold:

∣P01XδJ01∣2−∣∑k=2KP01XδJk∣2≤∣P01Xδ∣2,|P_{01}X\delta_{J_{01}}|_2-\Big|\sum_{k=2}^K P_{01}X\delta_{J_k}\Big|_2\le|P_{01}X\delta|_2,∣P01​XδJ01​​∣2​−​k=2∑K​P01​XδJk​​​2​≤∣P01​Xδ∣2​, ∣P01XδJ01∣2=∣XδJ01∣2,|P_{01}X\delta_{J_{01}}|_2=|X\delta_{J_{01}}|_2,∣P01​XδJ01​​∣2​=∣XδJ01​​∣2​, ∣XδJ01∣2−∑k=2K∣P01XδJk∣2≤∣XδJ01∣2−∣∑k=2KP01XδJk∣2.|X\delta_{J_{01}}|_2-\sum_{k=2}^K|P_{01}X\delta_{J_k}|_2\le|X\delta_{J_{01}}|_2-\Big|\sum_{k=2}^K P_{01}X\delta_{J_k}\Big|_2 .∣XδJ01​​∣2​−k=2∑K​∣P01​XδJk​​∣2​≤∣XδJ01​​∣2​−​k=2∑K​P01​XδJk​​​2​.

No condition is imposed on XXX, on δ\deltaδ, on how δ\deltaδ is ordered within the blocks, or on the block sizes.

Degenerate cases.

  • If K=1K=1K=1, every sum over k=2,…,Kk=2,\dots,Kk=2,…,K is empty and equals 000. The claims then become ∣P01XδJ01∣2≤∣P01Xδ∣2|P_{01}X\delta_{J_{01}}|_2\le|P_{01}X\delta|_2∣P01​XδJ01​​∣2​≤∣P01​Xδ∣2​, the equality above, and 0≤00\le00≤0.
  • If J01=∅J_{01}=\emptysetJ01​=∅, the projection is onto {0}\{0\}{0} and every projected norm is 000.
  • Empty blocks contribute 000.
  • δ=0\delta=0δ=0 is allowed.
  • The sets J0J_0J0​ and JkJ_kJk​ for k>Kk>Kk>K are unconstrained.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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