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.

Barrier and primal dual interior point methods — Examples

1 · Prerequisites

2 · Summary

Objective

These examples compute a resource-allocation central path and an LP primal-dual gap, exhibit Hessian growth near a boundary, distinguish strict feasibility from boundary feasibility and weak infeasibility, derive an SOCP formulation of robust least squares, and give an SDP relaxation with a matching primal-dual certificate. The weakly infeasible example has no feasible matrix even though its affine slice approaches the positive-semidefinite cone, so failure to find a strictly feasible point does not certify infeasibility.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

Norm-bounded robust least squares as an SOCP

Example

Let m,n≥1, A∈Rm×n, b∈Rm, and ρ≥0. Suppose an adversary may perturb A by any Δ∈Rm×n with ∥Δ∥F≤ρ. The robust residual objective is sup⁡∥Δ∥F≤ρ∥(A+Δ)x−b∥2.

Facts & Assumptions

Given: The dimensions, data, and perturbation set above.

[F2]

A constraint ∥v∥2≤t is Lorentz-cone membership (t,v)∈L (Conic, LP, and convex QP primal-dual models).

Verification

1.1F1givenconstruct

For every admissible Δ, [F1] gives ∥(A+Δ)x−b∥2≤∥Ax−b∥2+ρ∥x∥2. If x≠0 and r=Ax−b≠0, choose u=r/∥r∥2 and Δ=ρuxT/∥x∥2; then ∥Δ∥F=ρ and Δx=ρ∥x∥2u, attaining the upper bound. If r=0, any unit u gives the same supremum; if x=0, the perturbation term vanishes.

2.1F2step 1.1algebra∎

Therefore the robust objective equals ∥Ax−b∥2+ρ∥x∥2. Introducing epigraph variables t,u gives min⁡t+ρu subject to (t,Ax−b)∈Lm+1 and (u,x)∈Ln+1 by [F2], which is an SOCP.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

A central path approaches the boundary and the Hessian conditioning diverges

Example

Consider min⁡x1 subject to x1≥0, x2≥0, and x1+x2≤1. On the strict interior the logarithmic barrier objective at parameter t>0 is Φt(x)=tx1−log⁡x1−log⁡x2−log⁡(1−x1−x2).

Facts & Assumptions

Given: The strict feasible region and barrier objective above; write q=1−x1−x2.

[F1]

Any attained minimizer of the logarithmic barrier objective Φt in the strict feasible region is a central point (Log-barrier central paths and primal-dual Newton residuals).

[F2]

A real symmetric matrix has an orthonormal eigenbasis (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis); hence its extreme eigenvalues bound each unit-vector Rayleigh quotient.

Verification

1.1givenF1algebra

The closed feasible triangle {x1≥0,x2≥0,x1+x2≤1} is compact, and x1,x2,q lie in [0,1]. On its strict interior, each barrier term is nonnegative; as any boundary point is approached, at least one of x1,x2,q tends to zero and its negative logarithm tends to +∞, while tx1 is bounded. Fix any strict-interior point. Its objective sublevel set is therefore separated from the boundary, closed in the compact triangle by continuity, and compact; the objective attains a strict-interior minimizer. Direct differentiation gives Ht=(x1−2+q−2q−2q−2x2−2+q−2), whose quadratic form is h12/x12+h22/x22+(h1+h2)2/q2>0 for every nonzero h, so the minimizer is unique. At the central point, the x2 derivative is −1/x2+1/q=0, hence q=x2 and x1+2x2=1. The x1 derivative is t−1/x1+1/q=0, so 1/x1=t+1/x2>t and 0<x1<1/t. Consequently x1→0 and x2=q→1/2 as t→∞.

2.1F2step 1.1algebra∎

For t≥4, step 1.1 gives x1<1/4 and x2=q=(1−x1)/2>3/8. By [F2] applied to the coordinate unit vectors, λmax⁡(Ht)≥(Ht)11>x1−2>t2 and 0<λmin⁡(Ht)≤(Ht)22=x2−2+q−2<2(8/3)2=128/9. With κ2(Ht):=λmax⁡(Ht)/λmin⁡(Ht) for this positive-definite Hessian, κ2(Ht)>9t2/128, exhibiting growing conditioning as the central path approaches the boundary.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

Strict feasibility, boundary feasibility, and a weakly infeasible SDP

Example

Two affine slices of S2 illustrate why Phase I must report a zero margin as inconclusive.

Facts & Assumptions

Given: The positive-semidefinite cone S+2 and the Phase-I margin model of The conic phase-I margin separates strict feasibility but may leave weak infeasibility undecided.

[F1]

X⪰0 exactly when vTXv≥0 for every v, and the cone is self-dual (The positive semidefinite cone is self-dual and its log determinant barrier has parameter n).

Verification

1.1F1F2givenalgebra

The slice X11=1, X22=0 is feasible at X=diag⁡(1,0) but has no positive-definite point: a symmetric matrix in the slice is X(a)=(1aa0). If a≠0, the vector (−a,1) gives (−a,1)X(a)(−a,1)T=−a2<0, so X(a) is not positive semidefinite; if a=0, it is singular. Its Phase-I margin with e=I is 0, since X(0)+τI=diag⁡(1+τ,τ)⪰0 for τ≥0 and is impossible for τ<0 by testing the second coordinate.

2.1F1F2givenalgebra∎

Every matrix in the slice X22=0, X12=1 has form X(t)=(t110). If t>0, the vector (−1/t,1) gives quadratic form −1/t<0; if t=0, vector (−1,1) gives −2<0; if t<0, vector (1,0) gives t<0. Thus the slice is infeasible. For t>0, the matrix Y(t)=(t111/t) is positive semidefinite because its quadratic form is t(u+v/t)2; its Frobenius distance from X(t) is 1/t→0. For any τ>0, choose t=1/τ. Then X(t)+τI has quadratic form (1τ+τ)u2+2uv+τv2=(1τ+τ)(u+τv1+τ2)2+τ31+τ2v2, which is positive for every nonzero (u,v), so it is positive definite and τ is Phase-I feasible. If τ<0, the lower-right diagonal entry of X(t)+τI is τ<0, so it cannot be positive semidefinite. Hence the Phase-I infimum is zero and is not attained.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

A two-resource allocation LP and its central path

Example

Allocate one unit between two resources by minimizing x1+2x2 subject to x1+x2=1 and x1,x2≥0. The exact optimum is 1, at (1,0).

Facts & Assumptions

Given: The LP, the strict-interior logarithmic barrier objective t(x1+2x2)−log⁡x1−log⁡x2, and the exact candidate x1(1)=(5−1)/2, x2(1)=(3−5)/2 at t0=1.

[F1]

The exact central point has gap at most m/t (Exact central points have barrier gap m/t or nu/t).

[F2]

For valid inputs with positive-definite restricted barrier Hessian and finite primal value, the short-step theorem gives the stated count from a strictly feasible centered start, provided the exact Newton solver is supplied and the finite caps permit all required updates (Short-step path following takes O(νlog⁡(ν/(εt0))) Newton steps).

[F3]

The orthant log barrier −log⁡x1−log⁡x2 has parameter ν=2 (The orthant logarithmic barrier has parameter equal to its dimension).

Verification

1.1givenalgebra

Substituting x2=1−x1, stationarity of the barrier objective gives −t−1/x1+1/x2=0, or 1/x2−1/x1=t. Multiplying by x1x2>0 and using x1+x2=1 yields tx12+(2−t)x1−1=0. Its roots are (t−2±t2+4)/(2t); because t2+4>∣t−2∣, only the plus root is positive. Thus x1=(t−2+t2+4)/(2t), and rationalizing 1−x1 gives x2=2/(t+2+t2+4)>0. These coordinates sum to one and satisfy stationarity. The restricted second derivative is 1/x12+1/x22>0, so the stationary point is the unique exact central point. At t0=1 these become the values in Given, whose reciprocal difference is 1; hence the supplied start is exact and its decrement is zero.

2.1F1F2F3step 1.1algebra∎

The central inequality multipliers are λi=1/(txi)>0. Their difference is λ2−λ1=(1/t)(1/x2−1/x1)=1, so the equality multiplier y=1−λ1=2−λ2 satisfies both dual stationarity equations. Every primal feasible vector has objective x1+2x2=1+x2≥1, while (1,0) attains 1, so p∗=1 and the objective excess is x2. The primal-dual gap is x1λ1+x2λ2=2/t; hence x2≤2/t by [F1]. By [F3], ν=2. For 0<ε<3, put K=⌈log⁡(3/ε)/log⁡(1+1/(82))⌉, supply exact solves of the scalar restricted Newton equations, and choose Nout≥K and Nin≥2. Their scalar Hessian is positive by step 1.1. With the exact t0=1 start from that step and p∗=1, all hypotheses of [F2] hold, so at most K path updates suffice, with at most two corrections each.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

An LP primal-dual residual and exact gap certificate

Example

For min⁡x1+2x2 subject to x1+x2=1 and x≥0, take candidate x=(3/5,2/5), dual scalar y=1, and dual slack s=(0,1).

Facts & Assumptions

Given: A=(1,1), b=1, c=(1,2), and the candidate variables above.

[F1]

The algorithm's residuals are rp=Ax−b and rd=c−ATy−s for this LP (Finite-budget primal-dual Newton methods for LP, convex QP, and symmetric cones).

[F2]

Exact primal feasibility, dual feasibility, stationarity, and gap xTs imply 0≤f0(x)−p∗≤xTs (Fraction-to-boundary steps preserve positivity and exact primal-dual feasibility certifies a gap).

Verification

1.1givenF1algebra

The primal residual is (1,1)⋅(3/5,2/5)−1=0. The dual stationarity residual is c−ATy−s=(1,2)−(1,1)−(0,1)=(0,0), and x≥0, s≥0, so the candidate pair is exactly feasible.

2.1F2step 1.1algebra∎

The primal objective is 3/5+2(2/5)=7/5, the dual value is by=1, and the gap is xTs=2/5. Every primal feasible vector has x1+x2=1, xi≥0, and objective x1+2x2=1+x2≥1; the feasible point (1,0) attains 1, so p∗=1. Thus the objective error is exactly 7/5−1=2/5=xTs, and [F2] gives the same certified upper bound.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

A two-variable semidefinite relaxation with a matching dual certificate

Example

The binary problem max⁡{u1u2:ui∈{−1,1}} lifts to max⁡X12 with X=uuT, X11=X22=1, and X⪰0. Dropping rank⁡X=1 gives a two-by-two SDP relaxation.

Facts & Assumptions

Given: The SDP relaxation and the trace-inner-product primal-dual convention of Conic, LP, and convex QP primal-dual models.

[F1]

X⪰0 iff vTXv≥0 for every v, and the positive-semidefinite cone is self-dual (The positive semidefinite cone is self-dual and its log determinant barrier has parameter n).

Verification

1.1F1givenalgebra

Write the minimization objective as C∙X=−X12 with C=(0−1/2−1/20). For any feasible X, [F1] applied to e1−e2 gives 2−2X12≥0, hence −X12≥−1. The feasible matrix X∗=(1111) attains −1.

2.1F1step 1.1algebra∎

The dual multiplier y=(−1/2,−1/2) and slack S=12(1−1−11) satisfy vTSv=12(v1−v2)2≥0 for every v, hence S⪰0. Direct addition gives diag⁡(y)+S=C. Their dual value is y1+y2=−1, and X∗∙S=0. Thus the displayed primal and dual values match and certify the relaxation optimum.

Sources