Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(63), Appendix p. 39 — for the rotated cone, Ŵ = TWT satisfies ŴQ̂Ŵ = Q̂ and ŝ = θ²Ŵ²x̂

Proved
ConicQuadIPM.NTScaling.eq_63

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

conic-optimizationnesterov-todd-scalingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1second-order-cone

Let d≥2d\ge2d≥2, let TTT, QQQ be the matrices (18), (19) of the rotated quadratic cone, and put Q^:=TQT\hat Q := TQTQ^​:=TQT, W^:=TWT\hat W := TWTW^:=TWT, x^:=Tx\hat x := Txx^:=Tx, s^:=Ts\hat s := Tss^:=Ts for a matrix WWW and vectors x,s∈Rdx,s\in\mathbb R^dx,s∈Rd. Then for every θ∈R\theta\in\mathbb Rθ∈R:

  1. if WQW=QWQW = QWQW=Q then W^Q^W^=Q^\hat W\hat Q\hat W = \hat QW^Q^​W^=Q^​;
  2. if s=θ2W2xs = \theta^2W^2xs=θ2W2x then
s^=θ2 W^2 x^.(63)\hat s = \theta^2\,\hat W^2\,\hat x.\qquad(63)s^=θ2W^2x^.(63)

These identities transport the NT condition for the rotated cone to the quadratic cone, where (31) applies.

Formalization Note 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 page writes θ^2\hat\theta^2θ^2 in the last two members of (63) and then shows θ^=θ\hat\theta = \thetaθ^=θ (formalized in rot_hat_quantities); here (63) is stated with θ\thetaθ. The page's WˉiQ^iW^i\bar W^i\hat Q^i\hat W^iWˉiQ^​iW^i is a printed slip for W^iQ^iW^i\hat W^i\hat Q^i\hat W^iW^iQ^​iW^i. The facts TT=ITT = ITT=I, TT=TT^T = TTT=T the page uses are consequences of (18), not hypotheses.

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

/-- (63), Appendix, proof of Lemma 4.2, p. 39 (rotated quadratic cone): with `Q̂ = TQT` and
`Ŵ = TWT`, `WQW = Q` gives `ŴQ̂Ŵ = Q̂`, and `s = θ²W²x` gives `ŝ = θ²Ŵ²x̂` for `x̂ = Tx`,
`ŝ = Ts`. -/
theorem eq_63 (d : ℕ) (hd : 2 ≤ d) (W : Matrix (Fin d) (Fin d) ℝ) (θ : ℝ)
    (x s : Fin d → ℝ) :
    (W * Qmat .rot d * W = Qmat .rot d →
      (Tmat .rot d * W * Tmat .rot d) * (Tmat .rot d * Qmat .rot d * Tmat .rot d) *
          (Tmat .rot d * W * Tmat .rot d) =
        Tmat .rot d * Qmat .rot d * Tmat .rot d) ∧
    (s = θ ^ 2 • ((W * W) *ᵥ x) →
      Tmat .rot d *ᵥ s =
        θ ^ 2 • (((Tmat .rot d * W * Tmat .rot d) * (Tmat .rot d * W * Tmat .rot d)) *ᵥ
          (Tmat .rot d *ᵥ x))) := 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. 39, Appendix, proof of Lemma 4.2, (63)
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