Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 4.1, p. 14 — (x⁽⁰⁾)ᵀd_s + (s⁽⁰⁾)ᵀd_x + τ⁽⁰⁾d_κ + κ⁽⁰⁾d_τ = (γ − 1)µ⁽⁰⁾(k + 1) (page prints k)

Proved
ConicQuadIPM.NewtonStep.p14_chain

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

conic-optimizationinterior-pointnewton-directionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the setting of the Newton system (22) — a product cone K=K1×⋯×KkK = K^1\times\cdots\times K^kK=K1×⋯×Kk with the usual dimension conventions, data AAA, bbb, ccc, any point (x(0),τ(0),y(0),s(0),κ(0))(x^{(0)},\tau^{(0)},y^{(0)},s^{(0)},\kappa^{(0)})(x(0),τ(0),y(0),s(0),κ(0)), γ∈[0,1]\gamma\in[0,1]γ∈[0,1] and a solution (dx,dτ,dy,ds,dκ)(d_x,d_\tau,d_y,d_s,d_\kappa)(dx​,dτ​,dy​,ds​,dκ​) of (22) — with

μ(0)=(x(0))Ts(0)+τ(0)κ(0)k+1,\mu^{(0)} = \frac{(x^{(0)})^Ts^{(0)} + \tau^{(0)}\kappa^{(0)}}{k+1},μ(0)=k+1(x(0))Ts(0)+τ(0)κ(0)​,

one has

(x(0))Tds+(s(0))Tdx+τ(0)dκ+κ(0)dτ=(γ−1) μ(0) (k+1).(x^{(0)})^Td_s + (s^{(0)})^Td_x + \tau^{(0)}d_\kappa + \kappa^{(0)}d_\tau = (\gamma-1)\,\mu^{(0)}\,(k+1).(x(0))Tds​+(s(0))Tdx​+τ(0)dκ​+κ(0)dτ​=(γ−1)μ(0)(k+1).

Equivalently, the left-hand side equals (γ−1)((x(0))Ts(0)+τ(0)κ(0))(\gamma-1)\big((x^{(0)})^Ts^{(0)} + \tau^{(0)}\kappa^{(0)}\big)(γ−1)((x(0))Ts(0)+τ(0)κ(0)).

This is the value of the linear term in (26). Combined with (26) it gives the orthogonality of the direction and the reduction of the complementarity gap in Lemma 4.1.

Formalization Note The page ends the chain with (γ−1)μ(0)k(\gamma-1)\mu^{(0)}k(γ−1)μ(0)k. That constant is a slip: eTe=ke^Te = keTe=k, so the chain evaluates to −(x(0))Ts(0)+γμ(0)k−τ(0)κ(0)+γμ(0)=(γ−1)μ(0)(k+1)-(x^{(0)})^Ts^{(0)} + \gamma\mu^{(0)}k - \tau^{(0)}\kappa^{(0)} + \gamma\mu^{(0)} = (\gamma-1)\mu^{(0)}(k+1)−(x(0))Ts(0)+γμ(0)k−τ(0)κ(0)+γμ(0)=(γ−1)μ(0)(k+1), and the printed value is false whenever γ≠1\gamma\ne1γ=1 and μ(0)≠0\mu^{(0)}\ne0μ(0)=0 (for k=1k=1k=1, one R+\mathbb R_+R+​ block, x(0)=s(0)=τ(0)=κ(0)=1x^{(0)}=s^{(0)}=\tau^{(0)}=\kappa^{(0)}=1x(0)=s(0)=τ(0)=κ(0)=1, γ=1/2\gamma=1/2γ=1/2, the left side is −1-1−1 and the printed value is −1/2-1/2−1/2). The corrected constant k+1k+1k+1 is the one Lemma 4.1 needs. The hypothesis γ∈[0,1]\gamma\in[0,1]γ∈[0,1] is the range of (21) and is not needed.

Preamble
import Mathlib
import Definitions.Def_ConicQuadIPM_NewtonStep_Setting
Formal statement
namespace ConicQuadIPM.NewtonStep

open Matrix

theorem p14_chain
    {m k : ℕ} (kind : Fin k → ConicQuadIPM.Complementarity.ConeKind) (n : Fin k → ℕ) (hwf : ConicQuadIPM.Complementarity.WellFormed kind n)
    (A : (i : Fin k) → Matrix (Fin m) (Fin (n i)) ℝ) (b : Fin m → ℝ)
    (c : (i : Fin k) → Fin (n i) → ℝ)
    (x0 : (i : Fin k) → Fin (n i) → ℝ) (τ0 : ℝ) (y0 : Fin m → ℝ)
    (s0 : (i : Fin k) → Fin (n i) → ℝ) (κ0 : ℝ) (γ : ℝ) (hγ : γ ∈ Set.Icc (0 : ℝ) 1)
    (dx : (i : Fin k) → Fin (n i) → ℝ) (dτ : ℝ) (dy : Fin m → ℝ)
    (ds : (i : Fin k) → Fin (n i) → ℝ) (dκ : ℝ)
    (h22 : NewtonSystem kind n A b c x0 τ0 y0 s0 κ0 γ dx dτ dy ds dκ) :
    (∑ i, x0 i ⬝ᵥ ds i) + (∑ i, s0 i ⬝ᵥ dx i) + τ0 * dκ + κ0 * dτ
      = (γ - 1) * mu0 x0 τ0 s0 κ0 * ((k : ℝ) + 1) := by sorry

end ConicQuadIPM.NewtonStep
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, p. 14, proof of Lemma 4.1, the display after 'Moreover,' (final constant corrected from k to k + 1)
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