How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Nonlinear conjugate gradient methods
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conjugate Gradients, MINRES and Preconditioning
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Determinants of Matrices over a Commutative Ring
- Direct Matrix Factorisations: LU, Cholesky and QR
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Krylov Subspaces, Arnoldi and GMRES
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Nonconvex line search and inexact newton methods
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Inverse and Implicit Function Theorems
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page defines finite-budget Fletcher–Reeves and safeguarded PR+ methods, including zero-gradient exit, restart, and search-failure statuses. For infinite sequences following the stated recurrence and successful strong Wolfe updates, the FR descent bound yields only the claimed gradient liminf result. For such infinite successful recurrence sequences, the PR+ safeguard supplies a uniform angle bound and full gradient-norm convergence. These convergence statements do not assert an infinite execution of the finite-budget procedure. Exact-line-search equivalence with linear CG is restricted to exact arithmetic and SPD quadratics; failed finite searches carry no convergence conclusion.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients
Definition
Work in finite-dimensional real Euclidean space , , with its standard inner product and norm (The Euclidean inner product on ). Let be open, let be (Continuously differentiable maps, local inverses, and local diffeomorphisms), and write using the gradient convention of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case.
The inputs are , a method choice or , constants , an outer iteration limit , and a line-search mode. In bounded-strong-Wolfe mode, also supply finite expansion and zoom limits . In exact-SPD-quadratic mode, supply a real symmetric positive-definite matrix and vector such that and . The choice also takes . Evaluations and arithmetic are exact real operations; this definition makes no finite-precision error claim.
-
Evaluate . If , return status stationary with . Otherwise set .
-
For , if , return stationary with . For , set Choose the selected coefficient and form . For , set . Denominators are nonzero because the procedure has already returned at any zero gradient.
-
In the method, test the candidate at the current point. If or , restart by setting and, only when , , and record that a restart occurred. Otherwise set . In the method set without this safeguard. If , return search-failure with cause invalid-direction.
-
In bounded-strong-Wolfe mode, call Finite-budget bracketing and zoom for a strong Wolfe step at with budgets . That procedure returns a step only after checking both strong Wolfe inequalities. If it instead returns invalid-direction, domain-exit, or evaluation-budget-exhausted, return search-failure with that cause.
-
In exact-SPD-quadratic mode, when , compute If the denominator is nonpositive or the computed step is not positive, return search-failure with cause invalid-exact-model. Otherwise verify the strong Wolfe inequalities and return search-failure if either fails. This mode records the exact-line-search specialization; it does not replace the finite-budget search mode.
-
For an accepted step, set and evaluate . If , return stationary with . After the loop, return iteration-limit with the last iterate, the accepted trace, and all restart flags. A failure or stationary status returns immediately with the trace so far.
The FR and safeguarded PR+ convergence statements concern infinite sequences following the respective recurrences and direction rules above, with a successful strong Wolfe update at every index; they do not concern an infinite execution of this finite- procedure. Each finite execution can realize only a prefix of such a sequence. A finite search budget can return search-failure; it does not certify convergence.
Fletcher–Reeves descent and direction-growth bound
Statement
Let and let the Fletcher–Reeves directions be Suppose every accepted step along satisfies the strong Wolfe curvature inequality with constant . Define Then, for every , In particular every direction is strictly descending, and its normalized directional derivative has a uniform positive lower bound.
Facts & Assumptions
Given: The nonzero gradients, Fletcher–Reeves recurrence, and strong Wolfe curvature hypotheses in the Statement.
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: FR uses , , and .
Wolfe and strong Wolfe line-search conditions: a strong Wolfe step along satisfies , with .
Proof
Given: The hypotheses and notation in the Statement.
From , we have .
For , the recurrence and the definition of give
If , then [F2] and step 1.2 imply Induction from step 1.1 gives , and then .
Expanding , applying [F2], and using step 2.1 yields because and .
For , . If the claimed bound holds at , step 3.1 gives Thus induction proves the direction-growth bound.
Remarks
The first bound is on , not on the cosine of the angle. It does not by itself give a uniform angle bound.
The safeguarded PR+ direction has a uniform angle bound
Statement
Let and let be the PR+ candidate direction from Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients. The safeguarded procedure either keeps when or restarts to , where . The resulting direction is strictly descending and its angle with satisfies using the angle convention of Wolfe and strong Wolfe line-search conditions.
Facts & Assumptions
Given: , , the PR+ candidate, and the safeguard in the Statement.
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: the PR+ safeguard keeps a candidate only if and ; otherwise it sets .
Wolfe and strong Wolfe line-search conditions: for a descent direction.
Proof
Given: The hypotheses and notation in the Statement.
If the candidate is kept, then , so it is descending. Using the norm test and [F2],
In the kept branch, [F3] also gives , so necessarily and the bound in step 1.1 implies . If the candidate is reset, then , whence and . Both branches prove the claim.
Finite-budget nonlinear conjugate gradient returns a status
Statement
Assume function and gradient evaluations at requested in-domain points return real values. For finite outer limit and finite expansion and zoom limits , the procedure of Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients terminates with one of stationary, search-failure, or iteration-limit. In bounded-strong-Wolfe mode it makes at most line-search calls and at most line-search trial evaluations, each of which evaluates the objective and directional derivative at one trial point. Separately, the outer iteration evaluates the gradient at most times: once initially and once after each accepted update. The theorem does not claim a total gradient-evaluation count, because the line search also evaluates directional derivatives. It gives no arithmetic-work or finite-precision error bound.
Facts & Assumptions
Given: The finite budgets, evaluation convention and algorithm in the Statement.
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: the outer loop ranges over and can accept at most one update per iteration.
Bracketing and zoom terminate with a checked step or a failure: a bounded call uses at most expansion trial evaluations.
Bracketing and zoom terminate with a checked step or a failure: at most one zoom call occurs, with at most trial evaluations.
Bracketing and zoom terminate with a checked step or a failure: each evaluated trial evaluates and , and a bounded call terminates with either a checked positive feasible strong Wolfe step or a failure status.
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: the algorithm evaluates the initial gradient once.
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: after each accepted update it evaluates one new iterate gradient and returns stationary if it is zero; when the loop ends with a nonzero last gradient, it returns iteration-limit.
Proof
Given: The hypotheses and budgets in the Statement.
By [F2] and [F3], each bounded strong Wolfe call uses at most trial evaluations; [F4] specifies that each trial evaluates and and that the call returns a checked step or a failure. In exact-SPD-quadratic mode, the algorithm instead computes and checks its single formula step.
By [F1] and [F6], there are at most outer iterations; each either returns a terminal status or accepts one step, and after the loop any nonzero last gradient yields iteration-limit. Thus bounded mode makes at most line-search calls and trial evaluations. By [F5] and [F6], the outer algorithm evaluates the initial gradient once and one new iterate gradient per accepted update, hence at most outer-iterate gradient evaluations.
FR and unrestarted PR+ match linear CG on SPD quadratics
Statement
Let be symmetric positive definite, , and In exact arithmetic, run the FR recurrence of Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients with exact line minimization. Its iterates, residuals , and directions coincide with the linear conjugate-gradient recurrence of The conjugate-gradient recurrence until the common zero-residual exit. The unrestarted raw PR+ recurrence has the same exact-line-search sequence; the safeguarded PR+ implementation has this equivalence only on runs where its safeguard does not restart. No such equivalence is asserted for non-SPD quadratics, inexact line searches, or finite-precision arithmetic.
Facts & Assumptions
Given: The SPD quadratic, initial point, exact-arithmetic recurrence, and exact-line-search conditions in the Statement.
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: the initial direction is .
Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: later directions use ; FR uses and raw PR+ uses before any safeguard reset.
The conjugate-gradient recurrence: linear CG uses , , , , , and .
In exact arithmetic, CG residuals are mutually orthogonal and the search directions are -conjugate: in exact-arithmetic CG for Hermitian positive-definite , distinct residuals are orthogonal.
Before convergence, every CG denominator is positive: if , then and .
Wolfe and strong Wolfe line-search conditions: strong Wolfe requires Armijo decrease and an absolute directional-derivative bound, with .
Proof
Given: The hypotheses and notation in the Statement.
Differentiating the given quadratic gives . If , both procedures are already at the common zero-residual exit. Otherwise, .
Use joint induction at index : the iterates and residuals agree through , and the directions and accepted step lengths agree through . At , the initial points and residuals agree and step 1.1 supplies the common initial direction. For , assume this invariant and that the run has not terminated. The preceding accepted step exactly minimizes the SPD quadratic along the common direction . The derivative of its restricted quadratic vanishes at that positive minimizer, so and therefore .
For the FR recurrence, and . For the raw PR+ recurrence, [F3] gives , so Thus either unrestarted direction equals , the linear-CG direction at the current index. A safeguarded PR+ direction also agrees whenever its safeguard does not restart.
For , step 1.1 gives ; for , step 3.1 gives the same equality. Then [F4] gives . The restriction of to is Its unique minimizer is . For , by step 1.1. For , step 2.1 and the recurrence give . Therefore this is from [F2]. At this minimizer, , so the strong curvature test holds. Also because and . Thus [F6] and the exact-model branch accept this step; the same calculation applies at every preceding common minimizer invoked in step 2.1, starting with step 1.1, so the induction uses actual accepted steps. Hence the next iterates and residuals agree.
After the common step, is the CG residual and by step 1.1. If , both methods stop at the common exit. Otherwise the FR coefficient equals , and the raw PR+ coefficient again equals it by [F3] and [F5]. Thus the next direction also agrees; induction continues until zero residual.
Fletcher–Reeves has vanishing gradient liminf under strong Wolfe
Statement
Let be open, be , and . Let , and suppose is bounded below on . Suppose an open set contains every trial segment and, for one , Consider an infinite sequence following the FR recurrence , from Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients, with , feasible updates , and every a strong Wolfe step for constants . Then This is a theorem about the infinite recurrence and successful updates, not an infinite execution of the finite- algorithm. The conclusion is a liminf statement; it does not assert .
Facts & Assumptions
Given: The domain, objective, lower bound, uniform Lipschitz-gradient neighborhood, FR recurrence, and successful strong Wolfe steps in the Statement.
Fletcher–Reeves descent and direction-growth bound: with and , satisfies and .
Wolfe and strong Wolfe line-search conditions: every strong Wolfe step is a Wolfe step.
Wolfe steps imply the Zoutendijk summability condition: under the stated lower-bound, smoothness, feasibility, descent, and Wolfe hypotheses, .
Proof
Given: The hypotheses and notation in the Statement.
By [F1], every is a strict descent direction. By [F2], the accepted strong Wolfe steps are Wolfe steps. The hypotheses therefore match [F3], so
Suppose instead that . Choose and an integer such that for every . Then for , where .
From [F1], . Since and , The harmonic series diverges, contradicting step 1.1. Thus the supposition is false and .
Remarks
The source proofs use bounded initial level sets to obtain bounded gradients. The argument here does not: the local direction-growth estimate in [F1] is normalized by the current gradient and leads directly to the harmonic contradiction under the hypotheses stated above.
Safeguarded PR+ converges in gradient norm under strong Wolfe
Statement
Let satisfy the hypotheses of A uniform descent angle makes the Wolfe gradient norms vanish. Consider an infinite sequence following the PR+ coefficient recurrence and candidate-or-restart direction selection of Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients, with its fixed , , every gradient nonzero, feasible updates , and every a strong Wolfe step with . Then This claim concerns the infinite recurrence with successful updates at every index, not an infinite execution of the finite- algorithm. Raw PR+ without the stated safeguard is not covered.
Facts & Assumptions
Given: The smoothness and lower-bound hypotheses of A uniform descent angle makes the Wolfe gradient norms vanish, an infinite successful safeguarded PR+ recurrence sequence, and .
The safeguarded PR+ direction has a uniform angle bound: every nonzero safeguarded PR+ direction is descending and has .
A uniform descent angle makes the Wolfe gradient norms vanish: under the stated lower-bound and Lipschitz-gradient hypotheses, Wolfe steps and a uniform positive descent-angle bound imply .
Proof
Given: The hypotheses and notation in the Statement.
Set . By [F1], every search direction has descent-angle cosine at least , including a direction reset to .
Strong Wolfe implies Wolfe by Wolfe and strong Wolfe line-search conditions. All hypotheses of [F2] therefore hold with this , and [F2] gives .
5 · Examples, counterexamples and false statements
None yet.