Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: Not applicablePipeline-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.

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.

Depends on

Used by

Dependency tree · two levels

24 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources