Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck passjudge pass (gpt-6-luna)
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.

Soft-margin SVM duality and KKT conditions

Statement

Let n≥1, C>0, let H be a real Hilbert space, and let ϕ:X→H be a feature map with kernel k(x,z)=⟨ϕ(x),ϕ(z)⟩H. For any finite sample (xi,yi)i=1n with yi∈{−1,+1}, the soft-margin SVM primal attains its minimum. Its Lagrangian dual is

max⁡α∈Rn ∑i=1nαi−12∑i=1n∑j=1nαiαjyiyjk(xi,xj)

subject to 0≤αi≤C for every i and ∑iαiyi=0. The dual maximum is attained and equals the primal minimum. For every primal minimizer there are dual multipliers αi and μi such that

w=∑i=1nαiyiϕ(xi),∑i=1nαiyi=0,C−αi−μi=0,

αi(1−ξi−yi(⟨w,ϕ(xi)⟩+b))=0,μiξi=0,

with αi≥0 and μi≥0. Conversely, any primal-feasible tuple and nonnegative multipliers satisfying these stationarity and complementarity equations are globally optimal. An index with αi>0 is a support vector; if 0<αi<C, then ξi=0 and its signed margin equals 1. The single dual equality row is independent because (y1,…,yn)≠0.

Facts & Assumptions

Given: A finite labeled sample in a real Hilbert feature space, the induced kernel, and C>0.

[F2]

Projection onto a finite-dimensional subspace preserves the residual orthogonality and does not increase norm (Projection onto a finite-dimensional subspace of an arbitrary real inner-product space).

[F3]
[F4]

For a finite sample, the kernel Gram matrix has vectors zi∈Rn with Kij=ziTzj (A finite positive semidefinite kernel Gram matrix has a Euclidean feature factorization).

[F5]

A finite-dimensional convex program uses proper closed convex objective and constraint functions, a full-row-rank equality matrix, and the inequality convention gi≤0 with nonnegative Lagrange multipliers (Finite-dimensional convex program, Lagrangian dual, and Slater condition).

[F6]

For a finite-dimensional convex program with independent equality rows, relative-interior Slater, and a finite attained primal value, the dual optimum is attained, the values agree, and inequality complementarity holds (Slater gives zero duality gap and an attained dual certificate).

[F7]

The inequality-program convention uses gi≤0 and Lagrangian f+λTg with λ≥0 (Inequality constrained programs, tangent cones, constraint qualifications, and KKT).

[F8]

In a differentiable convex program on an open convex domain, every feasible tuple satisfying KKT conditions is a global minimizer (Convex KKT conditions certify a global minimum and an outward normal).

Proof

1.1givenF1F2F3construct

Let (w∗,b∗,ξ∗) be any primal minimizer, which exists by [F1], and let M=span⁡{ϕ(xi):1≤i≤n}. Project w∗ onto M using [F2]; its residual is orthogonal to every ϕ(xi), so the projection preserves all margins and slacks. If the residual were nonzero, [F3] would give a strictly smaller squared norm and hence a strictly smaller objective, contradicting minimality because the regularization coefficient is 1/2>0. Thus every primal minimizer has w∗∈M.

2.1step 1.1F5F7algebra

Identify M with a Euclidean space using an orthonormal basis. In the finite-dimensional variable space M×R×Rn, the objective is a proper continuous convex function and the 2n inequality constraints are continuous affine functions with the sign convention [F7]. No inequality is removed by the domain-preserving convention in [F5]: all functions have full domain, and sending the corresponding ξi→−∞ makes either constraint function positive. There are no primal equality rows, so the full-row-rank condition in [F5] holds vacuously.

3.1step 1.1step 2.1F1F6construct

The point w=0, b=0, ξi=2 has strict slack in every constraint: 1−ξi−yi(⟨w,ϕ(xi)⟩+b)=−1<0 and −ξi=−2<0. The objective and all constraint domains are the whole finite-dimensional variable space, so this point lies in their relative interiors. Together with the finite attained primal value from [F1], this verifies every hypothesis of [F6].

3.2step 2.1F5F7construct

Write the margin constraints as gi(m):=1−ξi−yi(⟨w,ϕ(xi)⟩+b)≤0 and the nonnegative-slack constraints as gi(s):=−ξi≤0. Give them multipliers αi≥0 and μi≥0, respectively. The Lagrangian is L=12∥w∥2+C∑iξi+∑iαigi(m)+∑iμigi(s).

4.1step 3.2algebra

Put v:=∑iαiyiϕ(xi). The terms of L depending on w are 12∥w∥2−⟨w,v⟩=12∥w−v∥2−12∥v∥2, so their infimum is −12∥v∥2. The infimum over the unrestricted bias b is finite exactly when ∑iαiyi=0, and the infimum over each unrestricted ξi is finite exactly when C−αi−μi=0. Thus the dual-feasible conditions are ∑iαiyi=0 and 0≤αi≤C.

4.2step 3.1step 3.2F6algebra

Apply [F6] using the verified hypotheses in [step 3.1]. It gives an attained dual optimum (α,μ) with the same value as the primal optimum and complementarity for both families gi(m) and gi(s). At any fixed primal minimizer, these equal values and complementarity make L attain its unconstrained infimum; its derivatives in w, b, and each ξi therefore vanish.

5.1step 4.1F4algebra

For any finite list u1,…,um∈X and c1,…,cm∈R, symmetry and bilinearity of the real inner product give ∑r,scrcsk(ur,us)=⟨∑rcrϕ(ur),∑scsϕ(us)⟩=∥∑rcrϕ(ur)∥2≥0. Thus the feature-induced kernel k is real positive semidefinite, so its sample Gram matrix satisfies the hypothesis of [F4]. Since k(xi,xj)=⟨ϕ(xi),ϕ(xj)⟩, ∥v∥2=∑i,jαiαjyiyjk(xi,xj). By [F4], the matrix (yiyjk(xi,xj))i,j is the Gram matrix of yizi, so its quadratic form is nonnegative. Hence the displayed dual objective is concave. Its equality row has coefficient vector y≠0, because n≥1 and each yi∈{−1,+1}, so that row is independent.

5.2step 4.2step 3.2F6algebra

Differentiating the Lagrangian of [step 3.2] gives w=∑iαiyiϕ(xi), ∑iαiyi=0, and C−αi−μi=0. The last equation and μi≥0 give αi≤C; together with αi≥0 these are the dual box constraints. The complementarity equations supplied by [F6] are αigi(m)=0 and μigi(s)=0, which are exactly the two equations in the Statement.

6.1step 5.2step 2.1F8algebra∎

The finite-dimensional primal has differentiable convex objective and affine convex constraints on the open convex variable space identified in [step 2.1]. Thus [F8] certifies that any feasible tuple satisfying the stationarity and complementarity equations is a global primal minimizer. If 0<αi<C, then μi=C−αi>0, so μiξi=0 forces ξi=0; then αigi(m)=0 forces the signed margin to equal 1. Finally, for any input x, stationarity gives the score s(x)=∑iαiyik(xi,x)+b.

Depends on

Used by

Dependency tree · two levels

28 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