Theorem 5 (Centering with Weights, §IV.C): one step contracts by
ProvedPathFindingLP.Centering.centering_with_weightsLet have full column rank, , and . Let be a weight function for (Definition 4) with constants . Let , write , and take the centering step
If
then and, with ,
Here is the weighted Newton step and 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 . Together with Lemma 1 this lets the method double while staying near the weighted central path in a number of steps governed by , and .
Formalization Note Full column rank of is assumed (the paper leaves it implicit; the Newton step and centrality are undefined otherwise). The conclusion is stated explicitly, because the page's conclusion evaluates at , which is only meaningful for positive slacks. and are the constants of the weight function, and with the same ; the page places no restriction on , and none is added. This is Theorem 5 of §IV.C, not the Theorem 5 (Centering with Inexact Weights) of §VI.B.
import Mathlib import Definitions.Def_PathFindingLP_Centering_WeightFunction open Matrix
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let . The statement quantifies over all of the following data:
- a real matrix , a vector and a vector ;
- a map ;
- three real numbers ;
- a real number ;
- a point .
The hypotheses are:
- The rank of equals . Since the rank is at most , this can hold only when .
- The predicate 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 appears nowhere in the statement. The statement itself places no sign or size restriction on ; any such restriction would have to come from this predicate.
- belongs to the set . This set is also defined only in the imported file.
- Write and . Both are imported functions that are not shown here, and also depends on and . The hypothesis is
Here "" is Lean's real division, so the right-hand side is if or . There is no hypothesis on the sign of .
Next define the vector
where is another imported function that is not shown here. The scalar is again Lean division, so it equals when .
The conclusion is the conjunction of two claims:
- ; and
- the centrality at the new point is bounded as
In this bound, the weight map is re-evaluated at the slack of the new point. The factor is Lean division, so it is when , and the factor exceeds when .
Degenerate cases. The statement's force in these cases also depends on the unseen definitions of , , , and . The cases are:
- : every has rank , so hypothesis 1 holds automatically, and is the one-point space. , so the membership conclusion is immediate. The inequality then compares a single number with times the same number, .
- : this forces , and is a map on the one-point space.
- or : the threshold in hypothesis 4 is the junk value , so the hypothesis reads .
- : in addition, the contraction factor is , so the conclusion only says does not increase.
- : the step size is , so , and the inequality reads .
- Sign conditions: nothing in the statement itself excludes negative or , a non-positive , or an empty . If is empty, or if the weight-function predicate is unsatisfiable, the theorem holds vacuously.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.