Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.3 i)–iii), p. 12 — scaling preserves xᵀs and rescales xᵀQx by θ², sᵀQs by θ⁻²

Proved
ConicQuadIPM.NTScaling.lemma_3_3_i_iii

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

conic-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1scalingsecond-order-cone

Let KKK be one of R+\mathbb R_+R+​, KqK^qKq, KrK^rKr in dimension ddd, with matrix QQQ of Definition 3.2. Let θ>0\theta>0θ>0, let WWW be a scaling matrix (W≻0W\succ 0W≻0, WQW=QWQW = QWQW=Q), and for x,s∈Rdx,s\in\mathbb R^dx,s∈Rd put xˉ=θWx\bar x = \theta W xxˉ=θWx, sˉ=(θW)−1s\bar s = (\theta W)^{-1}ssˉ=(θW)−1s. Then

xTs=xˉTsˉ,θ2 xTQx=xˉTQxˉ,θ−2 sTQs=sˉTQsˉ.x^Ts = \bar x^T\bar s,\qquad \theta^2\,x^TQx = \bar x^TQ\bar x,\qquad \theta^{-2}\,s^TQs = \bar s^TQ\bar s.xTs=xˉTsˉ,θ2xTQx=xˉTQxˉ,θ−2sTQs=sˉTQsˉ.

Scaling therefore leaves the duality gap unchanged and changes the "Lorentz norms" xTQxx^TQxxTQx, sTQss^TQssTQs only by the factors θ±2\theta^{\pm2}θ±2. This is what determines θ\thetaθ in the Nesterov–Todd scaling (30).

Formalization Note The statement is made for one cone block KiK^iKi, with the superscript iii dropped: Θ\ThetaΘ and WWW are block diagonal (p. 11–12), so the per-block statement is the paper's statement block by block. Vectors are Fin d → ℝ with 0-based indices (the paper's x1x_1x1​ is coord x 0); ∥x2:n∥2\|x_{2:n}\|^2∥x2:n​∥2 is tailSq x 1, a sum of squares (Euclidean, never Mathlib's sup norm); xTsx^TsxTs is x ⬝ᵥ s. The dimension conventions the paper leaves implicit (d=1d=1d=1 for R+\mathbb R_+R+​, d≥1d\ge 1d≥1 for KqK^qKq, d≥2d\ge2d≥2 for KrK^rKr) are the hypothesis WellFormedBlock kind d. The hypothesis θ>0\theta>0θ>0 is implicit in the paper (Θ\ThetaΘ is positive definite, p. 24).

Preamble
import Mathlib
import Definitions.Def_ConicQuadIPM_NTScaling_Setting
import Definitions.Def_ConicQuadIPM_NTScaling_Scaling
open Matrix
Formal statement
namespace ConicQuadIPM.NTScaling

/-- Lemma 3.3 i)–iii), p. 12, for one cone block. -/
theorem lemma_3_3_i_iii (kind : ConicQuadIPM.Complementarity.ConeKind) (d : ℕ) (hwf : WellFormedBlock kind d)
    (θ : ℝ) (hθ : 0 < θ) (W : Matrix (Fin d) (Fin d) ℝ) (hW : IsScaling kind d W)
    (x s : Fin d → ℝ) :
    x ⬝ᵥ s = xbar θ W x ⬝ᵥ sbar θ W s ∧
    θ ^ 2 * (x ⬝ᵥ (Qmat kind d *ᵥ x)) = xbar θ W x ⬝ᵥ (Qmat kind d *ᵥ xbar θ W x) ∧
    (θ ^ 2)⁻¹ * (s ⬝ᵥ (Qmat kind d *ᵥ s)) = sbar θ W s ⬝ᵥ (Qmat kind d *ᵥ sbar θ W s) := by sorry
end ConicQuadIPM.NTScaling
Source
Andersen, Roos & Terlaky, On implementing a primal-dual interior-point method for conic quadratic optimization, Math. Program. (2003), DOI 10.1007/s10107-002-0349-3; authors' preprint of 18 Dec 2000, p. 12, Lemma 3.3 i)–iii); proof p. 37
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