Alphabeta Math
Pipeline-generated
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.

✓ 6 results · all verified · 0 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 6 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Nonlinear conjugate gradient methods

1 · Prerequisites

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

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients

Definition

Work in finite-dimensional real Euclidean space Rn, n≥1, with its standard inner product and norm (The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn). Let D⊆Rn be open, let f:D→R be C1 (Continuously differentiable maps, local inverses, and local diffeomorphisms), and write g(x)=∇f(x) using the gradient convention of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case.

The inputs are x0∈D, a method choice FR or PR+, constants 0<c1<c2<1/2, an outer iteration limit K∈N, and a line-search mode. In bounded-strong-Wolfe mode, also supply finite expansion and zoom limits E,Z∈N. In exact-SPD-quadratic mode, supply a real symmetric positive-definite matrix A and vector b such that D=Rn and f(x)=12xTAx−bTx. The PR+ choice also takes σ,C>0. Evaluations and arithmetic are exact real operations; this definition makes no finite-precision error claim.

  1. Evaluate g0=g(x0). If g0=0, return status stationary with x0. Otherwise set d0=−g0.

  2. For k=0,…,K−1, if gk=0, return stationary with xk. For k≥1, set βk−1FR=∥gk∥22∥gk−1∥22,βk−1PR+=max⁡ ⁣{0,gkT(gk−gk−1)∥gk−1∥22}. Choose the selected coefficient and form dkcand=−gk+βk−1dk−1. For k=0, set d0cand=d0=−g0. Denominators are nonzero because the procedure has already returned at any zero gradient.

  3. In the PR+ method, test the candidate at the current point. If gkTdkcand>−σ∥gk∥22 or ∥dkcand∥2>C∥gk∥2, restart by setting dk=−gk and, only when k≥1, βk−1=0, and record that a restart occurred. Otherwise set dk=dkcand. In the FR method set dk=dkcand without this safeguard. If gkTdk≥0, return search-failure with cause invalid-direction.

  4. In bounded-strong-Wolfe mode, call Finite-budget bracketing and zoom for a strong Wolfe step at (f,xk,dk,c1,c2) with budgets E,Z. 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.

  5. In exact-SPD-quadratic mode, when gkTdk<0, compute tk=−gkTdkdkTAdk. 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.

  6. For an accepted step, set xk+1=xk+tkdk and evaluate gk+1. If gk+1=0, return stationary with xk+1. 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-K 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.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passOpen item page →

Fletcher–Reeves descent and direction-growth bound

Statement

Let gk=∇f(xk)≠0 and let the Fletcher–Reeves directions be d0=−g0,dk=−gk+βk−1dk−1,βk−1=∥gk∥22∥gk−1∥22(k≥1). Suppose every accepted step along dk−1 satisfies the strong Wolfe curvature inequality with constant 0<c2<1/2. Define qk=−gkTdk∥gk∥22,δ=1−2c21−c2,C3=1+c21−c2,Sk=∑j=0k1∥gj∥22. Then, for every k, δ≤qk≤11−c2,∥dk∥22≤C3∥gk∥24Sk. 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.

[F1]

Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: FR uses d0=−g0, dk=−gk+βk−1dk−1, and βk−1=∥gk∥22/∥gk−1∥22.

[F2]

Wolfe and strong Wolfe line-search conditions: a strong Wolfe step along dk−1 satisfies ∣gkTdk−1∣≤c2∣gk−1Tdk−1∣, with 0<c2<1/2.

Proof

Given: The hypotheses and notation in the Statement.

1.1givenF1algebra

From d0=−g0, we have q0=1.

1.2F1algebra

For k≥1, the recurrence and the definition of βk−1 give qk=1−gkTdk−1∥gk−1∥22.

2.1givenF2step 1.1step 1.2inductionalgebra

If 0<qk−1≤(1−c2)−1, then [F2] and step 1.2 imply 1−c2qk−1≤qk≤1+c2qk−1. Induction from step 1.1 gives qk≤∑j=0kc2j≤(1−c2)−1, and then qk≥1−c2/(1−c2)=δ>0.

3.1F1F2step 2.1algebra

Expanding dk=−gk+βk−1dk−1, applying [F2], and using step 2.1 yields ∥dk∥22≤∥gk∥22+2βk−1∣gkTdk−1∣+βk−12∥dk−1∥22≤C3∥gk∥22+∥gk∥24∥gk−1∥24∥dk−1∥22, because ∣gkTdk−1∣≤c2qk−1∥gk−1∥22 and qk−1≤(1−c2)−1.

4.1step 3.1inductionalgebra∎

For k=0, ∥d0∥22=∥g0∥22≤C3∥g0∥24S0. If the claimed bound holds at k−1, step 3.1 gives ∥dk∥22≤C3∥gk∥22+C3∥gk∥24Sk−1=C3∥gk∥24Sk. Thus induction proves the direction-growth bound.

Remarks

The first bound is on −gkTdk/∥gk∥22, not on the cosine of the angle. It does not by itself give a uniform angle bound.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passOpen item page →

The safeguarded PR+ direction has a uniform angle bound

Statement

Let g≠0 and let dcand be the PR+ candidate direction from Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients. The safeguarded procedure either keeps dcand when gTdcand≤−σ∥g∥22,∥dcand∥2≤C∥g∥2, or restarts to d=−g, where σ,C>0. The resulting direction is strictly descending and its angle θ with −g satisfies cos⁡θ≥δPR:=min⁡{1,σ/C}>0, using the angle convention of Wolfe and strong Wolfe line-search conditions.

Facts & Assumptions

Given: g≠0, σ,C>0, the PR+ candidate, and the safeguard in the Statement.

[F1]

Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: the PR+ safeguard keeps a candidate only if gTd≤−σ∥g∥22 and ∥d∥2≤C∥g∥2; otherwise it sets d=−g.

[F2]

Wolfe and strong Wolfe line-search conditions: cos⁡θ=−gTd/(∥g∥2∥d∥2) for a descent direction.

Proof

Given: The hypotheses and notation in the Statement.

1.1givenF1F2algebra

If the candidate is kept, then gTd≤−σ∥g∥22<0, so it is descending. Using the norm test and [F2], cos⁡θ=−gTd∥g∥2∥d∥2≥σC.

2.1givenF1F3step 1.1algebra∎

In the kept branch, [F3] also gives cos⁡θ≤1, so necessarily σ/C≤1 and the bound in step 1.1 implies cos⁡θ≥δPR. If the candidate is reset, then d=−g, whence gTd=−∥g∥22<0 and cos⁡θ=1≥δPR. Both branches prove the claim.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passOpen item page →

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 K and finite expansion and zoom limits E,Z, 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 K line-search calls and at most K(E+Z) 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 K+1 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.

[F1]

Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: the outer loop ranges over k=0,…,K−1 and can accept at most one update per iteration.

[F2]

Bracketing and zoom terminate with a checked step or a failure: a bounded call uses at most E expansion trial evaluations.

[F3]

Bracketing and zoom terminate with a checked step or a failure: at most one zoom call occurs, with at most Z trial evaluations.

[F4]

Bracketing and zoom terminate with a checked step or a failure: each evaluated trial evaluates ϕ(t) and ϕ′(t), and a bounded call terminates with either a checked positive feasible strong Wolfe step or a failure status.

[F5]
[F6]

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.

1.1givenF2F3F4

By [F2] and [F3], each bounded strong Wolfe call uses at most E+Z trial evaluations; [F4] specifies that each trial evaluates ϕ(t) and ϕ′(t) 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.

2.1F1F5F6step 1.1algebra∎

By [F1] and [F6], there are at most K 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 K line-search calls and K(E+Z) 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 K+1 outer-iterate gradient evaluations.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passOpen item page →

FR and unrestarted PR+ match linear CG on SPD quadratics

Statement

Let A∈Rn×n be symmetric positive definite, b∈Rn, and f(x)=12xTAx−bTx,x∈Rn. 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 rk=b−Axk, 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.

[F1]
[F5]

Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients: later directions use dk=−gk+βk−1dk−1; FR uses βk−1=∥gk∥22/∥gk−1∥22 and raw PR+ uses max⁡{0,gkT(gk−gk−1)/∥gk−1∥22} before any safeguard reset.

[F2]

The conjugate-gradient recurrence: linear CG uses r0=b−Ax0, p0=r0, αk=(rkTrk)/(pkTApk), rk+1=rk−αkApk, βk=(rk+1Trk+1)/(rkTrk), and pk+1=rk+1+βkpk.

[F3]

In exact arithmetic, CG residuals are mutually orthogonal and the search directions are A-conjugate: in exact-arithmetic CG for Hermitian positive-definite A, distinct residuals are orthogonal.

[F4]

Before convergence, every CG denominator pk∗Apk is positive: if rk≠0, then pk≠0 and pkTApk>0.

[F6]

Wolfe and strong Wolfe line-search conditions: strong Wolfe requires Armijo decrease and an absolute directional-derivative bound, with 0<c1<c2<1/2.

Proof

Given: The hypotheses and notation in the Statement.

1.1givenF1algebra

Differentiating the given quadratic gives gk=Axk−b=−rk. If r0=0, both procedures are already at the common zero-residual exit. Otherwise, d0=−g0=r0=p0≠0.

2.1giveninductionalgebra

Use joint induction at index k: the iterates and residuals agree through k, and the directions and accepted step lengths agree through k−1. At k=0, the initial points and residuals agree and step 1.1 supplies the common initial direction. For k≥1, assume this invariant and that the run has not terminated. The preceding accepted step exactly minimizes the SPD quadratic along the common direction dk−1=pk−1. The derivative of its restricted quadratic vanishes at that positive minimizer, so gkTdk−1=0 and therefore rkTdk−1=0.

3.1F3F5step 2.1inductionalgebra

For the FR recurrence, dk=rk+βk−1dk−1 and βk−1=∥rk∥22/∥rk−1∥22. For the raw PR+ recurrence, [F3] gives rkTrk−1=0, so βk−1PR+=max⁡ ⁣{0,rkT(rk−rk−1)∥rk−1∥22}=∥rk∥22∥rk−1∥22=βk−1FR. Thus either unrestarted direction equals rk+βk−1pk−1, the linear-CG direction at the current index. A safeguarded PR+ direction also agrees whenever its safeguard does not restart.

4.1givenF2F4F6step 1.1step 2.1step 3.1algebra

For k=0, step 1.1 gives dk=pk≠0; for k≥1, step 3.1 gives the same equality. Then [F4] gives pkTApk>0. The restriction of f to xk+tdk is f(xk+tdk)=f(xk)+t gkTdk+12t2dkTAdk. Its unique minimizer is tk=−gkTdk/(dkTAdk)>0. For k=0, r0Td0=∥r0∥22 by step 1.1. For k≥1, step 2.1 and the recurrence give rkTdk=∥rk∥22. Therefore this is tk=rkTrkpkTApk=αk from [F2]. At this minimizer, ϕ′(tk)=gkTdk+tkdkTAdk=0, so the strong curvature test holds. Also ϕ(tk)=ϕ(0)+12tkgkTdk≤ϕ(0)+c1tkgkTdk because tkgkTdk<0 and c1<1/2. 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.

5.1F2F3F5step 1.1step 4.1induction∎

After the common step, rk+1=b−Axk+1 is the CG residual and gk+1=−rk+1 by step 1.1. If rk+1=0, both methods stop at the common exit. Otherwise the FR coefficient equals ∥rk+1∥22/∥rk∥22, and the raw PR+ coefficient again equals it by [F3] and [F5]. Thus the next direction also agrees; induction continues until zero residual.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passOpen item page →

Fletcher–Reeves has vanishing gradient liminf under strong Wolfe

Statement

Let D⊆Rn be open, f:D→R be C1, and x0∈D. Let L0={x∈D:f(x)≤f(x0)}, and suppose f is bounded below on L0. Suppose an open set N⊆D contains every trial segment xk+[0,tk]dk and, for one L>0, ∥∇f(u)−∇f(v)∥2≤L∥u−v∥2(u,v∈N). Consider an infinite sequence following the FR recurrence d0=−g0, dk=−gk+(∥gk∥22/∥gk−1∥22)dk−1 from Fletcher–Reeves and safeguarded Polak–Ribière nonlinear conjugate gradients, with gk=∇f(xk)≠0, feasible updates xk+1=xk+tkdk, and every tk a strong Wolfe step for constants 0<c1<c2<1/2. Then lim inf⁡k→∞∥gk∥2=0. This is a theorem about the infinite recurrence and successful updates, not an infinite execution of the finite-K algorithm. The conclusion is a liminf statement; it does not assert ∥gk∥2→0.

Facts & Assumptions

Given: The domain, objective, lower bound, uniform Lipschitz-gradient neighborhood, FR recurrence, and successful strong Wolfe steps in the Statement.

[F1]

Fletcher–Reeves descent and direction-growth bound: with δ=(1−2c2)/(1−c2) and C3=(1+c2)/(1−c2), qk=−gkTdk/∥gk∥22 satisfies qk≥δ>0 and ∥dk∥22≤C3∥gk∥24∑j=0k∥gj∥2−2.

[F2]

Wolfe and strong Wolfe line-search conditions: every strong Wolfe step is a Wolfe step.

[F3]

Wolfe steps imply the Zoutendijk summability condition: under the stated lower-bound, smoothness, feasibility, descent, and Wolfe hypotheses, ∑k≥0cos⁡2θk∥gk∥22<∞.

Proof

Given: The hypotheses and notation in the Statement.

1.1givenF1F2F3

By [F1], every dk is a strict descent direction. By [F2], the accepted strong Wolfe steps are Wolfe steps. The hypotheses therefore match [F3], so ∑k=0∞cos⁡2θk∥gk∥22<∞.

1.2givenchoosealgebra

Suppose instead that lim inf⁡k∥gk∥2>0. Choose γ>0 and an integer K≥1 such that ∥gj∥2≥γ for every j≥K. Then for k≥K, Sk:=∑j=0k1∥gj∥22≤k(∑j=0K−11∥gj∥22+γ−2)=:A0k, where A0>0.

2.1F1step 1.1step 1.2algebracontradiction∎

From [F1], ∥dk∥22≤C3A0k∥gk∥24. Since qk=−gkTdk/∥gk∥22 and cos⁡θk=−gkTdk/(∥gk∥2∥dk∥2), cos⁡2θk∥gk∥22=(gkTdk)2∥dk∥22=qk2∥gk∥24∥dk∥22≥δ2C3A0k. The harmonic series diverges, contradicting step 1.1. Thus the supposition is false and lim inf⁡k∥gk∥2=0.

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.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passOpen item page →

Safeguarded PR+ converges in gradient norm under strong Wolfe

Statement

Let D,f,x0,L0,N,L 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 σ,C>0, d0=−g0, every gradient nonzero, feasible updates xk+1=xk+tkdk, and every tk a strong Wolfe step with 0<c1<c2<1/2. Then ∥∇f(xk)∥2⟶0. This claim concerns the infinite recurrence with successful updates at every index, not an infinite execution of the finite-K 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 0<c1<c2<1/2.

[F1]

The safeguarded PR+ direction has a uniform angle bound: every nonzero safeguarded PR+ direction is descending and has cos⁡θk≥min⁡{1,σ/C}>0.

[F2]

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 ∥∇f(xk)∥2→0.

Proof

Given: The hypotheses and notation in the Statement.

1.1givenF1algebra

Set δPR=min⁡{1,σ/C}>0. By [F1], every search direction has descent-angle cosine at least δPR, including a direction reset to −gk.

2.1givenF2step 1.1∎

Strong Wolfe implies Wolfe by Wolfe and strong Wolfe line-search conditions. All hypotheses of [F2] therefore hold with this δPR, and [F2] gives ∥∇f(xk)∥2→0.

5 · Examples, counterexamples and false statements

None yet.

Sources