Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5 (Centering with Weights, §IV.C): one step contracts δt\delta_tδt​ by 1−14cr1-\frac{1}{4c_r}1−4cr​1​

Proved
PathFindingLP.Centering.centering_with_weights

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

interior-point-methodslinear-programmingp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1path-following

Let A∈Rm×nA\in\mathbb R^{m\times n}A∈Rm×n have full column rank, b∈Rmb\in\mathbb R^mb∈Rm, c∈Rnc\in\mathbb R^nc∈Rn and t∈Rt\in\mathbb Rt∈R. Let g⃗\vec gg​ be a weight function for AAA (Definition 4) with constants c1,cγ,crc_1,c_\gamma,c_rc1​,cγ​,cr​. Let x(old)∈S0x^{(old)}\in S^0x(old)∈S0, write s(old)=s(x(old))s^{(old)}=s(x^{(old)})s(old)=s(x(old)), and take the centering step

x(new)=x(old)−11+cr h⃗t(x(old),g⃗(s(old))).(5)x^{(new)}=x^{(old)}-\frac{1}{1+c_r}\,\vec h_t\big(x^{(old)},\vec g(s^{(old)})\big).\qquad(5)x(new)=x(old)−1+cr​1​ht​(x(old),g​(s(old))).(5)

If

δt(x(old),g⃗(s(old)))≤1100 cγcr2,\delta_t\big(x^{(old)},\vec g(s^{(old)})\big)\le\frac{1}{100\,c_\gamma c_r^2},δt​(x(old),g​(s(old)))≤100cγ​cr2​1​,

then x(new)∈S0x^{(new)}\in S^0x(new)∈S0 and, with s(new)=s(x(new))s^{(new)}=s(x^{(new)})s(new)=s(x(new)),

δt(x(new),g⃗(s(new)))≤(1−14cr) δt(x(old),g⃗(s(old))).\delta_t\big(x^{(new)},\vec g(s^{(new)})\big)\le\Big(1-\frac{1}{4c_r}\Big)\,\delta_t\big(x^{(old)},\vec g(s^{(old)})\big).δt​(x(new),g​(s(new)))≤(1−4cr​1​)δt​(x(old),g​(s(old))).

Here h⃗t\vec h_tht​ is the weighted Newton step and δt\delta_tδt​ the centrality of the weighted central path. The theorem says that one step of (5), followed by resetting the weights to the weight function's value at the new slacks, contracts the centrality by a constant factor depending only on crc_rcr​. Together with Lemma 1 this lets the method double ttt while staying near the weighted central path in a number of steps governed by cγc_\gammacγ​, crc_rcr​ and c1c_1c1​.

Formalization Note Full column rank of AAA is assumed (the paper leaves it implicit; the Newton step and centrality are undefined otherwise). The conclusion x(new)∈S0x^{(new)}\in S^0x(new)∈S0 is stated explicitly, because the page's conclusion evaluates g⃗\vec gg​ at s(new)s^{(new)}s(new), which is only meaningful for positive slacks. cγc_\gammacγ​ and crc_rcr​ are the constants of the weight function, and h⃗=h⃗t\vec h=\vec h_th=ht​ with the same ttt; the page places no restriction on ttt, and none is added. This is Theorem 5 of §IV.C, not the Theorem 5 (Centering with Inexact Weights) of §VI.B.

Preamble
import Mathlib
import Definitions.Def_PathFindingLP_Centering_WeightFunction

open Matrix
Formal statement
namespace PathFindingLP.Centering

/-- Theorem 5 (Centering with Weights), §IV.C, p. 428: let `g` be a weight function for `A`
with constants `c₁, c_γ, c_r`, let `x_old ∈ S⁰` and
`x_new = x_old - (1/(1+c_r)) h_t(x_old, g(s(x_old)))` (eq. (5)). If
`δ_t(x_old, g(s(x_old))) ≤ 1/(100 c_γ c_r²)` then `x_new ∈ S⁰` and
`δ_t(x_new, g(s(x_new))) ≤ (1 - 1/(4 c_r)) δ_t(x_old, g(s(x_old)))`. -/
theorem centering_with_weights {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ) (b : Fin m → ℝ)
    (c : Fin n → ℝ) (hA : A.rank = n)
    (g : (Fin m → ℝ) → (Fin m → ℝ)) (c₁ cγ cr : ℝ) (hg : IsWeightFunction A g c₁ cγ cr)
    (t : ℝ) (xOld : Fin n → ℝ) (hx : xOld ∈ interiorS0 A b)
    (hδ : centrality A b c t xOld (g (slack A b xOld)) ≤ 1 / (100 * cγ * cr ^ 2)) :
    let xNew := xOld - (1 / (1 + cr)) • newtonStep A b c t xOld (g (slack A b xOld))
    xNew ∈ interiorS0 A b ∧
      centrality A b c t xNew (g (slack A b xNew)) ≤
        (1 - 1 / (4 * cr)) * centrality A b c t xOld (g (slack A b xOld)) := by sorry

end PathFindingLP.Centering
Source
Lee, Sidford, Path Finding Methods for Linear Programming, FOCS 2014, pp. 424–433, p. 428, §IV.C, Theorem 5 (Centering with Weights), eq. (5)
Read-back

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

Let m,n∈Nm, n \in \mathbb{N}m,n∈N. The statement quantifies over all of the following data:

  • a real m×nm \times nm×n matrix AAA, a vector b∈Rmb \in \mathbb{R}^mb∈Rm and a vector c∈Rnc \in \mathbb{R}^nc∈Rn;
  • a map g:Rm→Rmg : \mathbb{R}^m \to \mathbb{R}^mg:Rm→Rm;
  • three real numbers c1,cγ,crc_1, c_\gamma, c_rc1​,cγ​,cr​;
  • a real number ttt;
  • a point xold∈Rnx_{\text{old}} \in \mathbb{R}^nxold​∈Rn.

The hypotheses are:

  1. The rank of AAA equals nnn. Since the rank is at most min⁡(m,n)\min(m,n)min(m,n), this can hold only when m≥nm \ge nm≥n.
  2. The predicate IsWeightFunction(A,g,c1,cγ,cr)\mathrm{IsWeightFunction}(A, g, c_1, c_\gamma, c_r)IsWeightFunction(A,g,c1​,cγ​,cr​) holds. This predicate is defined in the imported definitions file, which is not shown here, so its content cannot be stated. Apart from this hypothesis, the constant c1c_1c1​ appears nowhere in the statement. The statement itself places no sign or size restriction on c1,cγ,crc_1, c_\gamma, c_rc1​,cγ​,cr​; any such restriction would have to come from this predicate.
  3. xoldx_{\text{old}}xold​ belongs to the set interiorS0(A,b)⊆Rn\mathrm{interiorS0}(A,b) \subseteq \mathbb{R}^ninteriorS0(A,b)⊆Rn. This set is also defined only in the imported file.
  4. Write s(x):=slack(A,b,x)∈Rms(x) := \mathrm{slack}(A,b,x) \in \mathbb{R}^ms(x):=slack(A,b,x)∈Rm and δ(x,w):=centrality(A,b,c,t,x,w)∈R\delta(x, w) := \mathrm{centrality}(A,b,c,t,x,w) \in \mathbb{R}δ(x,w):=centrality(A,b,c,t,x,w)∈R. Both are imported functions that are not shown here, and δ\deltaδ also depends on ccc and ttt. The hypothesis is
δ(xold, g(s(xold)))  ≤  1100 cγ cr2.\delta\big(x_{\text{old}},\, g(s(x_{\text{old}}))\big) \;\le\; \frac{1}{100\, c_\gamma\, c_r^2}.δ(xold​,g(s(xold​)))≤100cγ​cr2​1​.

Here "1/⋅1/\cdot1/⋅" is Lean's real division, so the right-hand side is 000 if cγ=0c_\gamma = 0cγ​=0 or cr=0c_r = 0cr​=0. There is no hypothesis on the sign of ttt.

Next define the vector

xnew:=xold−11+cr h(xold, g(s(xold))),x_{\text{new}} := x_{\text{old}} - \frac{1}{1+c_r}\, h\big(x_{\text{old}},\, g(s(x_{\text{old}}))\big),xnew​:=xold​−1+cr​1​h(xold​,g(s(xold​))),

where h(x,w):=newtonStep(A,b,c,t,x,w)∈Rnh(x,w) := \mathrm{newtonStep}(A,b,c,t,x,w) \in \mathbb{R}^nh(x,w):=newtonStep(A,b,c,t,x,w)∈Rn is another imported function that is not shown here. The scalar 11+cr\frac{1}{1+c_r}1+cr​1​ is again Lean division, so it equals 000 when cr=−1c_r = -1cr​=−1.

The conclusion is the conjunction of two claims:

  • xnew∈interiorS0(A,b)x_{\text{new}} \in \mathrm{interiorS0}(A,b)xnew​∈interiorS0(A,b); and
  • the centrality at the new point is bounded as
δ(xnew, g(s(xnew)))  ≤  (1−14cr) δ(xold, g(s(xold))).\delta\big(x_{\text{new}},\, g(s(x_{\text{new}}))\big) \;\le\; \Big(1 - \frac{1}{4 c_r}\Big)\, \delta\big(x_{\text{old}},\, g(s(x_{\text{old}}))\big).δ(xnew​,g(s(xnew​)))≤(1−4cr​1​)δ(xold​,g(s(xold​))).

In this bound, the weight map ggg is re-evaluated at the slack of the new point. The factor 14cr\frac{1}{4c_r}4cr​1​ is Lean division, so it is 000 when cr=0c_r = 0cr​=0, and the factor 1−14cr1 - \frac{1}{4c_r}1−4cr​1​ exceeds 111 when cr<0c_r < 0cr​<0.

Degenerate cases. The statement's force in these cases also depends on the unseen definitions of IsWeightFunction\mathrm{IsWeightFunction}IsWeightFunction, interiorS0\mathrm{interiorS0}interiorS0, slack\mathrm{slack}slack, centrality\mathrm{centrality}centrality and newtonStep\mathrm{newtonStep}newtonStep. The cases are:

  • n=0n = 0n=0: every AAA has rank 0=n0 = n0=n, so hypothesis 1 holds automatically, and Rn\mathbb{R}^nRn is the one-point space. xnew=xoldx_{\text{new}} = x_{\text{old}}xnew​=xold​, so the membership conclusion is immediate. The inequality then compares a single number δ\deltaδ with (1−14cr)(1 - \tfrac{1}{4c_r})(1−4cr​1​) times the same number, δ\deltaδ.
  • m=0m = 0m=0: this forces n=0n = 0n=0, and ggg is a map on the one-point space.
  • cγ=0c_\gamma = 0cγ​=0 or cr=0c_r = 0cr​=0: the threshold in hypothesis 4 is the junk value 000, so the hypothesis reads δ(xold,⋅)≤0\delta(x_{\text{old}}, \cdot) \le 0δ(xold​,⋅)≤0.
  • cr=0c_r = 0cr​=0: in addition, the contraction factor is 111, so the conclusion only says δ\deltaδ does not increase.
  • cr=−1c_r = -1cr​=−1: the step size is 000, so xnew=xoldx_{\text{new}} = x_{\text{old}}xnew​=xold​, and the inequality reads δ(xold,⋅)≤54 δ(xold,⋅)\delta(x_{\text{old}},\cdot) \le \tfrac{5}{4}\,\delta(x_{\text{old}},\cdot)δ(xold​,⋅)≤45​δ(xold​,⋅).
  • Sign conditions: nothing in the statement itself excludes negative cγc_\gammacγ​ or crc_rcr​, a non-positive ttt, or an empty interiorS0(A,b)\mathrm{interiorS0}(A,b)interiorS0(A,b). If interiorS0(A,b)\mathrm{interiorS0}(A,b)interiorS0(A,b) is empty, or if the weight-function predicate is unsatisfiable, the theorem holds vacuously.
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