Eq. (38), corrected: the self-scaled restart matrix applied to a vector
ProvedShannoCG.SCONB.scaledRestart_mulVecconjugate-gradientp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1quasi-newton
Let with , let and let be the self-scaled restart matrix (37). Then for every
The paper prints this identity for as (38) with coefficient on , without the factor . Expanding (37) gives the factor , as in the paper's own (39), which is this identity with . The printed and corrected versions agree when , the only case the paper uses.
Formalization Note The corrected identity is stated for an arbitrary vector . The hypothesis is needed: without it Lean's total division makes the two sides differ.
Preamble
import Mathlib import Definitions.Def_ShannoCG_SCONB_gammaScale import Definitions.Def_ShannoCG_SCONB_scaledRestart open Matrix
Formal statement
namespace ShannoCG.SCONB
/-- Shanno, *Conjugate Gradient Methods with Inexact Searches*, Math. Oper. Res. 3(3) (1978), §IV, p. 250 (PDF 7), eq. (38), **corrected**: for the self-scaled restart matrix (37),
`Ĥ_k g = (p_t'y_t / y_t'y_t) g − (p_t'g / y_t'y_t) y_t + (2 p_t'g / p_t'y_t − y_t'g / y_t'y_t) p_t`.
The paper prints the coefficient of `p_t` as `p_t'g_{k+1}/p_t'y_t − y_t'g_{k+1}/y_t'y_t`, without the
factor `2`; expanding (37) gives the `2`, exactly as in the paper's own (39) (which is this identity
with `g = y_k`). The two versions agree when `p_t'g_{k+1} = 0`, the only case the paper uses (42).
**Formalization Note.** Stated for an arbitrary vector `g` (the paper's `g_{k+1}`; with `g = y_k` it is
(39)). The hypothesis `p_t ⬝ᵥ y_t ≠ 0` is needed: when it fails, Lean's total division makes the
two sides differ. -/
theorem scaledRestart_mulVec {n : ℕ} (pt yt g : Fin n → ℝ) (hpy : pt ⬝ᵥ yt ≠ 0) :
scaledRestart pt yt *ᵥ g =
gammaScale pt yt • g - ((pt ⬝ᵥ g) / (yt ⬝ᵥ yt)) • yt
+ (2 * ((pt ⬝ᵥ g) / (pt ⬝ᵥ yt)) - (yt ⬝ᵥ g) / (yt ⬝ᵥ yt)) • pt := by sorry
end ShannoCG.SCONB
Source
Shanno, Conjugate Gradient Methods with Inexact Searches, Math. Oper. Res. 3(3) (1978) 244–256, DOI 10.1287/moor.3.3.244, p. 250 (PDF p. 7), §IV, eq. (38) (corrected: factor 2 on the p_t'g_{k+1}/p_t'y_t term, as in eq. (39))
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.