NLA-lib Explorer

Over-relaxed conjugate gradients: an admissible run that does not converge

Library · Source module

Over-relaxed conjugate gradients: an admissible run that does not converge

The rounding pattern \theta_j = \eta^\gamma_j = \varepsilon (relative error +\varepsilon in the computed \|\mathbf{r}_j\|^2 and in the division \nu_j/\mu_j, every other operation exact) is admissible in the standard model. Under it the run is exact CG with every step length multiplied by c = (1 + \varepsilon)^2, over-relaxed CG (NLAlib.overRelaxedCG), and its data satisfy, exactly, with \rho_j = \|\mathbf{r}_j\|, \mathbf{p}_j^{\mathsf{T}}\mathbf{r}_j = \bigl(1 - j(c - 1)\bigr)\rho_j^2,\qquad \|\mathbf{x}_\star - \mathbf{x}_j\|_{\mathbf{A}}^2 - \|\mathbf{x}_\star - \mathbf{x}_{j+1}\|_{\mathbf{A}}^2 = \gamma_j\rho_j^2\bigl(1 - (2j + 1)(c - 1)\bigr) : the line search defect drifts linearly and is never damped, and for (2j + 1)(c - 1) \ge 1, i.e. j \gtrsim 1/(4\varepsilon), the \mathbf{A}-norm error increases at every step. So the updated residual is bounded away from zero (NLAlib.overRelaxedCG_exists_pos_le_norm_r). Thus this bounded-error recurrence does not support an unconditional residual-decay guarantee at every horizon. Conditional guarantees based on a positive spectral margin of the backward model remain possible.

Realization. NLAlib.overRelaxedCGRun realizes the first k steps as an NLAlib.CGRun (the analysis interface) whenever k\varepsilon \le 1/100 and the residuals before those steps are nonzero. The constructor uses that horizon to prove successful curvatures. The run interface itself assumes only \varepsilon\le1/100; this file does not construct an interface instance for the later non-convergent regime. A realization of a concrete CG program under a value semantics meeting NLAlib.Computation.IsRelErrSem is not proved here. What it needs: (1) a semantics producing the pattern, for which a NLAlib.Computation.ScalarSem over \mathbb{R} does not suffice (it sees only the operand values, not which dot product or division it evaluates; perturbing the products with equal operands \mathbf{x} \cdot \mathbf{x} is admissible but can coincide with other products of the run) while a carrier of words that record their history (terms, decoded by evaluation) does: \mathrm{fl}(\mathbf{x} \cdot \mathbf{x}) = \mathbf{x}^2(1 + \varepsilon) for syntactically equal operands, exact otherwise, gives \theta_j = \varepsilon, \eta^\gamma_j = 0, i.e. c = 1 + \varepsilon; (2) an execution theorem for that concrete program under the chosen semantics for q steps, deriving its computed states with the perturbed dot product. Neither a program realization nor such an execution theorem is established by this recurrence example.

## Main definitions

* NLAlib.overRelaxedCGAlpha, NLAlib.overRelaxedCGStep, NLAlib.overRelaxedCG.

Main results

* NLAlib.overRelaxedCG_p_dotProduct_r: the linear drift of the line search defect. * NLAlib.quadForm_sub_overRelaxedCG_sub_quadForm_sub_overRelaxedCG_succ: the \mathbf{A}-norm decrement. * NLAlib.quadForm_sub_overRelaxedCG_le_of_le: no decrease past 1/(4\varepsilon). * NLAlib.overRelaxedCG_exists_pos_le_norm_r: no convergence. * NLAlib.overRelaxedCGRun: the admissible run.

Declarations