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.
Bfgs and limited memory quasi newton methods — Examples
1 · Prerequisites
- Bfgs and limited memory quasi newton methods
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- 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
- Countability and Uncountability
- Determinants of Matrices over a Commutative Ring
- Direct Matrix Factorisations: LU, Cholesky and QR
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite-precision direct factorizations and least squares
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- 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
- Matrix Norms, Condition Numbers and Numerical Stability
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Nonconvex line search and inexact newton methods
- Order, Zorn's Lemma, and the Axiom of Choice
- 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
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- 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
The examples calculate an exact BFGS secant update on a two-variable strongly convex quadratic, compare a nonconvex negative-curvature trial with its Powell-damped pair, and quantify the storage difference between full-memory BFGS and L-BFGS. The negative-curvature trial fails the Wolfe curvature test and is explicitly not treated as an accepted line-search step.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
An exact Bfgs secant update on a two-variable quadratic
Example
Let and on . Start at with . The exact steepest-descent BFGS direction is . Take the exact line-search step and form the Hessian BFGS update.
Facts & Assumptions
Given: The objective, start, initial matrices, direction, and step in the Example.
Bfgs curvature pairs and Hessian/inverse updates: , , and when .
Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: an exact full-memory iteration uses and accepts a positive strong Wolfe step before updating.
Bfgs updates preserve the secant equations, symmetry, and positive definiteness: an SPD BFGS update with positive curvature satisfies and remains SPD.
Verification
Given: The objective, start, initial matrices, direction, and step in the Example.
[F1] Bfgs curvature pairs and Hessian/inverse updates: , , and when .
[F2] Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: an exact full-memory iteration uses and accepts a positive strong Wolfe step before updating.
[F3] Bfgs updates preserve the secant equations, symmetry, and positive definiteness: an SPD BFGS update with positive curvature satisfies and remains SPD.
The gradient is , so and the direction in [F2] is . Along this ray, , so the exact minimizer is .
At this step , which satisfies the strong curvature test for . The quadratic identity gives , so the strong Wolfe Armijo test also holds.
The step and gradient change are and . Hence and .
Substitution in [F1] gives Multiplication yields . The positive curvature from step 1.3 and [F3] also imply is SPD.
Remarks
This verifies one exact strong-Wolfe input to the BFGS recurrence. A finite-budget bracketing search may return a different acceptable step or a failure status; this example does not claim that the search returns exactly .
Powell damping repairs a negative-curvature trial pair
Example
Consider the nonconvex function at . The gradient is . The trial direction and trial step give and . Use to compare the raw and Powell-damped updates.
Facts & Assumptions
Given: The function, point, trial direction and step, and initial matrices in the Example.
Bfgs curvature pairs and Hessian/inverse updates: an undamped BFGS update requires ; Powell damping uses and, if , forms with .
Powell damping gives a strictly positive curvature pair: this damping rule gives in the damped branch.
Bfgs updates preserve the secant equations, symmetry, and positive definiteness: for SPD and positive damped curvature, the BFGS Hessian update remains SPD and satisfies .
Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: the normal search branch requires a strong Wolfe step and reports line-search failure if its finite search does not return one.
Verification
Given: The function, point, trial direction and step, and initial matrices in the Example.
[F1] Bfgs curvature pairs and Hessian/inverse updates: an undamped BFGS update requires ; Powell damping uses and, if , forms with .
[F2] Powell damping gives a strictly positive curvature pair: this damping rule gives in the damped branch.
[F3] Bfgs updates preserve the secant equations, symmetry, and positive definiteness: for SPD and positive damped curvature, the BFGS Hessian update remains SPD and satisfies .
[F4] Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: the normal search branch requires a strong Wolfe step and reports line-search failure if its finite search does not return one.
Here , and . The Armijo inequality holds for , but the directional derivatives are and . For , the Wolfe curvature test would require , which is false; the strong curvature test fails as well. Thus this is a nonconvex trial pair, not a step accepted by the strong-Wolfe search of [F4].
The raw pair has , so its BFGS curvature denominator is negative. Direct substitution into the formal Hessian-update expression gives , whose quadratic form at is ; it is not SPD.
Here and , so and . Therefore , as also follows from [F2].
The damped update is It is SPD and , in agreement with [F3]. The example shows the algebraic role of damping; because the trial fails Wolfe, the normal line-search algorithm rejects it rather than treating it as a successful BFGS iteration.
Full-memory and limited-memory storage costs
Example
Compare the paired Hessian/inverse state used by the full-memory algorithm with the correction-pair storage in L-BFGS for variables and memory length .
Facts & Assumptions
Given: , , a full BFGS matrix, and the limited-memory state of Limited-memory Bfgs two-loop recursion with curvature filtering.
The L-Bfgs two-loop recursion equals the stored inverse updates and costs linear memory work: L-BFGS stores at most pairs of length- vectors and uses work for the two-loop recursion.
Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: this fully explicit implementation maintains both consistent dense matrices and .
Limited-memory Bfgs two-loop recursion with curvature filtering: the working vectors have length and the stored memory is capped at pairs.
Bfgs curvature pairs and Hessian/inverse updates: the direct update is , and the inverse update is , with .
Verification
Each dense matrix contains real entries. The paired state in [F3] therefore stores matrix entries; a one-matrix implementation stores .
The L-BFGS pair list contains at most real coordinates, plus temporary vectors and scalars.
In exact inverse-matrix mode, computing uses one dense matrix-vector product and costs scalar operations. For the direct update, first compute with one dense matrix-vector product; since is symmetric, . Then form using two outer products and an entrywise matrix update, which costs . For the inverse update, first compute with one dense matrix-vector product and expand [F4] using symmetry of to obtain This uses a constant number of outer-product updates and also costs . Thus the dense direction and the paired BFGS updates use work per iteration. By [F1], the two-loop recursion uses scalar work. Here while ; the paired representation uses 100 times as many matrix entries as correction-pair coordinates, and a one-matrix representation uses 50 times as many. These are storage comparisons, not exact operation totals.
Remarks
The example compares storage and update work only. It does not infer that L-BFGS has the same convergence rate as full BFGS; its convergence result requires separate curvature and scale bounds.