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

9 results · all verified · 4 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 5 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Conjugate Gradients, MINRES and Preconditioning: Examples and Counterexamples

1 · Prerequisites

2 · Summary

These worked examples spend the theory on small systems. They show two-step CG on an SPD matrix, early termination at grade smaller than dimension, the effect of spectral clustering on the Chebyshev bound, and the distinct niches of CG and MINRES on indefinite data.

The page also records the main failure modes the A page warns about: symmetry without positive definiteness is not enough for CG, nonsymmetry breaks the A-conjugacy theory, stationary splittings are compared through spectral radii, and a preconditioner can improve or worsen the condition number that actually controls CG.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-09-01Open item page →

CG on a 2×2 Hermitian positive-definite system reaches the solution in at most two steps

Example

Take

A=(2001),b=(21),x0=(00).

Then A is Hermitian positive definite and the exact solution is

x=(11).

CG reaches x by the second step.

Facts & Assumptions

Given: The displayed system and the exact-arithmetic CG recurrence started from x0=0.

[L1]

CG residuals are mutually orthogonal and search directions are A-conjugate (In exact arithmetic, CG residuals are mutually orthogonal and the search directions are A-conjugate).

[L2]

Exact-arithmetic CG terminates no later than the relative grade and hence in at most n steps (In exact arithmetic, CG terminates no later than the relative grade and hence in at most n steps).

Verification

technique · direct calculation
1.1

Here r0=p0=b=(2,1)T, so α0=r0Tr0p0TAp0=59,x1=(10/95/9),r1=bAx1=(2/94/9). Then β0=r1Tr1r0Tr0=481,p1=r1+β0p0=(10/8140/81). One checks r0Tr1=2(2/9)+1(4/9)=0,p0TAp1=(2,1)(20/8140/81)=0, exactly as [L1] predicts.

L1algebra
2.1

Next α1=r1Tr1p1TAp1=20/81200/729=910, so x2=x1+α1p1=(10/95/9)+910(10/8140/81)=(11)=x. Thus the method terminates in two steps, which matches the n=2 upper bound in [L2].

L2step 1.1
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-09-01Open item page →

CG can terminate at a relative grade strictly smaller than the ambient dimension

Example

Let

A=diag(1,1,2),b=(110),x0=(000).

Then the initial residual is r0=b, its grade is 1, and CG reaches the exact solution in one step although the ambient dimension is 3.

Facts & Assumptions

Given: The displayed Hermitian positive-definite system.

[F1]

The grade ν(A,r0) is the degree of the relative minimal polynomial of r0 (The grade of a start vector and its relative minimal polynomial).

[L1]

Exact-arithmetic CG terminates no later than the relative grade (In exact arithmetic, CG terminates no later than the relative grade and hence in at most n steps).

Verification

technique · direct calculation
1.1

Since Ar0=r0, the polynomial q(z)=z1 annihilates r0. The vector r0 is nonzero, so no constant polynomial can annihilate it. Therefore qA,r0(z)=z1 and ν(A,r0)=1 by [F1]. In particular, 1<3=dimR3.

F1algebra
2.1

The exact solution is x=A1b=(1,1,0)T=r0. Because p0=r0 and α0=r0Tr0p0TAp0=22=1, the first CG update gives x1=x0+α0p0=r0=x. Thus the method stops at step 1=ν(A,r0), exactly as [L1] allows.

L1step 1.1algebra
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-09-01Open item page →

Clustered eigenvalues give a visibly better CG condition-number bound than equally sized spread spectra

Example

Compare the Hermitian positive-definite matrices

Acl=diag(9,10,11),Asp=diag(1,10,100).

Both are 3×3, but the clustered spectrum of Acl gives a much sharper CG bound than the spread spectrum of Asp.

Facts & Assumptions

Given: The two displayed Hermitian positive-definite matrices.

[L1]

The CG error bound is emA2(κ2(A)1κ2(A)+1)me0A (CG obeys the Chebyshev A-norm bound in terms of the spectral condition number κ2(A)).

Verification

technique · direct calculation
1.1

The spectral condition numbers are κ2(Acl)=119,κ2(Asp)=100. So the contraction factors in [L1] are θcl=11/9111/9+1=11311+3, and θsp=1001100+1=911. Moreover 11<10/3, so θcl<1/18.

L1algebra
2.1

At m=2, [L1] yields e2Acl2θcl2e0Acl<1162e0Acl, whereas e2Asp2θsp2e0Asp=162121e0Asp. Thus the clustered eigenvalues give a visibly sharper theoretical CG estimate than the spread spectrum of the same size.

L1step 1.1algebra
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-01Open item page →

A symmetric indefinite matrix can make the CG denominator vanish or change sign before convergence

Statement refuted

Symmetry alone is enough for the CG denominator test: for every symmetric invertible matrix, every nonconverged CG step has pkTApk>0.

Facts & Assumptions

Given: The CG recurrence and the positive-denominator theorem for Hermitian positive-definite matrices.

[F1]

To test the proposed extension outside the positive-definite domain, define the attempted first search direction by p0:=r0:=bAx0 and inspect the attempted denominator p0TAp0. These are the same algebraic formulas used by CG on its legitimate domain (The conjugate-gradient recurrence); this fact does not assert that the cited definition applies to an indefinite matrix.

[L1]

For Hermitian positive-definite matrices, every nonconverged CG denominator is positive (Before convergence, every CG denominator pkApk is positive).

Counterexample

technique · direct calculation
1.1

Take A=(1001),b=(11),x0=(00). Then A is symmetric and invertible but indefinite. By [F1], r0=p0=b=(11), so p0TAp0=(1,1)(1001)(11)=(1,1)(11)=0. Yet r00, so the method has not converged.

F1algebra
2.1

Step 1.1 shows that the first CG denominator can fail to be positive even before convergence. Therefore the refuted statement is false. The contrast with [L1] isolates the missing hypothesis: positive definiteness, not mere symmetry, is load-bearing.

L1step 1.1
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-01Open item page →

A nonsymmetric invertible matrix does not fit the CG orthogonality and minimization theory

Statement refuted

The CG orthogonality and minimization theory applies to every invertible matrix.

Facts & Assumptions

Given: The CG recurrence and the GMRES affine-Krylov residual minimizer.

[F1]

To test the proposed extension outside the Hermitian positive-definite domain, define the attempted algebraic updates αk=rkTrkpkTApk,xk+1=xk+αkpk,rk+1=rkαkApk,pk+1=rk+1+βkpk with p0=r0 and βk=(rk+1Trk+1)/(rkTrk). These repeat the formulas used by CG on its legitimate domain (The conjugate-gradient recurrence); they are not claimed to constitute a run under that definition for nonsymmetric A.

[L1]

GMRES is the residual minimizer over an affine Krylov space for a general matrix (The GMRES iterate as the residual minimizer over an affine Krylov space).

Counterexample

technique · direct calculation
1.1

Take A=(1101),b=(01),x0=(00). Then A is invertible but not symmetric. From [F1], r0=p0=(01),α0=11=1,x1=(01),r1=bAx1=(10). Also β0=r1Tr1r0Tr0=1,p1=r1+β0p0=(11).

F1algebra
2.1

Now p0TAp1=(0,1)(01)=10. So the search directions fail the basic A-conjugacy identity already at the second direction, and the SPD CG theory cannot be transplanted to this nonsymmetric matrix. The appropriate general method here is the affine-Krylov residual minimizer named in [L1], not CG's Hermitian positive-definite theory.

L1step 1.1algebra
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-09-01Open item page →

MINRES still minimizes the residual on a small symmetric indefinite system

Example

Take

A=(1001),b=(11),x0=(00).

Then A is symmetric and indefinite. MINRES at step 1 gives the residual minimizer in the one-dimensional affine Krylov space.

Facts & Assumptions

Given: The displayed Hermitian indefinite system.

[L1]

For Hermitian matrices, including indefinite ones, MINRES minimizes the Euclidean residual over x0+Km(A,r0) (For Hermitian A, including the indefinite case, MINRES minimizes the Euclidean residual over x0+Km(A,r0)).

Verification

technique · direct calculation
1.1

Here r0=b, so q1=r0/r02=(1,1)T/2 and Aq1=(1/21/2),α1=q1TAq1=0,β1=1,q2=(1/21/2). Thus the first Lanczos matrix is Tˉ1=(01), and the step-1 least-squares problem is minyR(20)(0y)2, whose unique minimizer is y1=0. Therefore x1=x0+q1y1=0.

algebra
2.1

The affine space x0+K1(A,r0) is {t(1,1)T:tR}. For such a vector, bA(tt)=(1t1+t),bA(tt)22=(1t)2+(1+t)2=2+2t2, which is minimized exactly at t=0. So the explicit computation in step 1.1 matches [L1].

L1step 1.1algebra
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-09-01Open item page →

Jacobi and Gauss-Seidel splittings can be compared by the spectral radii of their iteration matrices

Example

For

A=(4123),b=(11),x0=(00),

compare the Jacobi splitting with

MJ=(4003),NJ=(0120),

and the Gauss-Seidel splitting with

MG=(4023),NG=(0100).

The Gauss-Seidel iteration matrix has the smaller spectral radius and the faster visible error decay on this system.

Facts & Assumptions

Given: The two displayed splittings of the same system.

[F1]

A stationary splitting has iteration matrix B=M1N (Stationary iteration from a matrix splitting A=MN).

[L1]

A stationary splitting converges for every start exactly when ρ(B)<1 (A stationary splitting converges for every start if and only if its iteration matrix has spectral radius below 1).

Verification

technique · direct calculation
1.1

By [F1], BJ=MJ1NJ=(01/42/30),BG=MG1NG=(01/401/6). The eigenvalues of BJ are ±1/6, so ρ(BJ)=1/6, while the eigenvalues of BG are 0 and 1/6, so ρ(BG)=1/6. Both are below 1, and Gauss-Seidel has the smaller spectral radius.

F1L1algebra
2.1

The exact solution is x=(1/5,1/5)T. Jacobi gives x1(J)=(1/41/3),x2(J)=(1/61/6), so x1(J)x=215,x2(J)x=130. Gauss-Seidel gives x1(G)=(1/41/6),x2(G)=(5/247/36), so x1(G)x=120,x2(G)x=1120. Thus the splitting with smaller spectral radius also shows faster observed error decay here, consistent with [L1].

L1step 1.1algebra
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-01Open item page →

A diagonal positive-definite preconditioner can improve the relevant condition number

Example

Let

A=diag(100,1),M=diag(100,1).

Then M is diagonal and positive definite, and symmetric preconditioning turns the CG condition number from 100 into 1.

Facts & Assumptions

Given: The displayed Hermitian positive-definite system and diagonal preconditioner.

[L1]

Symmetric positive-definite preconditioning preserves the Hermitian positive-definite CG problem and replaces the bound by the one for the transformed operator (Symmetric positive-definite preconditioning preserves a Hermitian positive-definite CG problem, and the CG bound uses the transformed condition number).

Verification

technique · direct calculation
1.1

The original spectral condition number is κ2(A)=1001=100. If M=CC, then we may take C=diag(10,1).

algebra
2.1

The symmetrically preconditioned operator is C1AC=diag(1/10,1)diag(100,1)diag(1/10,1)=I2, so κ2(C1AC)=1. Therefore the relevant condition number has improved from 100 to 1, exactly the transformed quantity singled out in [L1].

L1step 1.1algebra
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-01Open item page →

A preconditioner can worsen the condition number that actually controls CG

Statement refuted

Every invertible, or even every symmetric positive-definite, preconditioner improves the condition number that governs CG.

Facts & Assumptions

Given: The residual-and-error maps for preconditioning and the symmetric positive-definite CG transform.

[F1]

Symmetric preconditioning replaces A by the transformed operator C1AC (Invertible preconditioners give equivalent linear systems, with the transformed residuals and errors written explicitly).

Counterexample

technique · direct calculation
1.1

Take A=I2,M=diag(1,1/100). Then A is already Hermitian positive definite with κ2(A)=1. Since M=CC with C=diag(1,1/10), [F1] gives the transformed operator C1AC=diag(1,10)I2diag(1,10)=diag(1,100).

F1algebra
2.1

The transformed spectral condition number is therefore κ2(C1AC)=100>1=κ2(A). So this symmetric positive-definite preconditioner worsens the condition number that actually appears in the CG bound from [L1]. The refuted statement is false.

L1step 1.1algebra

Sources