Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix, (61), p. 36 — eᵀXSe = Σᵢ (Tⁱxⁱ)ᵀTⁱsⁱ = xᵀs

Proved
ConicQuadIPM.Complementarity.eq_61

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

complementarityconic-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1second-order-cone

Let K=K1×⋯×KkK=K^1\times\dots\times K^kK=K1×⋯×Kk be as in §3, and for arbitrary x,sx,sx,s (partitioned like KKK) put Xi=mat⁡(Tixi)X^i=\operatorname{mat}(T^ix^i)Xi=mat(Tixi) and Si=mat⁡(Tisi)S^i=\operatorname{mat}(T^is^i)Si=mat(Tisi), with eie^iei the first unit vector of Rni\mathbb R^{n^i}Rni. Then for each iii

(ei)TXiSiei=(Tixi)TTisi=(xi)Tsi,(e^i)^TX^iS^ie^i=(T^ix^i)^TT^is^i=(x^i)^Ts^i,(ei)TXiSiei=(Tixi)TTisi=(xi)Tsi,

and consequently

eTXSe=∑i=1k(ei)TXiSiei=∑i=1k(Tixi)TTisi=xTs.e^TXSe=\sum_{i=1}^k (e^i)^TX^iS^ie^i=\sum_{i=1}^k (T^ix^i)^TT^is^i=x^Ts .eTXSe=i=1∑k​(ei)TXiSiei=i=1∑k​(Tixi)TTisi=xTs.

This identity shows that any x,sx,sx,s satisfying the arrow-head conditions (20) are complementary.

Formalization Note. No cone membership is needed. The block-diagonal matrices XXX, SSS are represented by their blocks, so eTXSee^TXSeeTXSe is written as the sum over blocks. The printed upper limit nnn of the first sum is a slip for kkk; the Lean sums over the kkk blocks. Block dimensions (WellFormed) are assumed so that TiTi=IT^iT^i=ITiTi=I.

Preamble
import Mathlib
import Definitions.Def_ConicQuadIPM_Complementarity_Setting

open Matrix
Formal statement
namespace ConicQuadIPM.Complementarity

theorem eq_61 {k : ℕ} (kind : Fin k → ConeKind) (n : Fin k → ℕ)
    (hwf : WellFormed kind n) (x s : (i : Fin k) → Fin (n i) → ℝ) :
    (∀ i,
      e1 ⬝ᵥ ((arrow (Tmat (kind i) (n i) *ᵥ x i) * arrow (Tmat (kind i) (n i) *ᵥ s i)) *ᵥ e1)
        = (Tmat (kind i) (n i) *ᵥ x i) ⬝ᵥ (Tmat (kind i) (n i) *ᵥ s i) ∧
      (Tmat (kind i) (n i) *ᵥ x i) ⬝ᵥ (Tmat (kind i) (n i) *ᵥ s i) = x i ⬝ᵥ s i) ∧
    ∑ i, e1 ⬝ᵥ ((arrow (Tmat (kind i) (n i) *ᵥ x i) * arrow (Tmat (kind i) (n i) *ᵥ s i)) *ᵥ e1)
      = ∑ i, x i ⬝ᵥ s i := by sorry

end ConicQuadIPM.Complementarity
Source
Andersen, Roos & Terlaky, On implementing a primal-dual interior-point method for conic quadratic optimization, Math. Program. (2003); authors' preprint of 18 Dec 2000, Appendix, proof of Lemma 3.1, p. 36, (61)
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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