Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedPipeline-generatedjudge 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.

The perceptron makes at most R squared over gamma squared mistakes

Statement

Let ((xi,yi))i=1n be a finite ordered sample with n≥1, xi∈Rd, and yi∈{−1,+1}. Put x~i=(xi,1)∈Rd+1, with Euclidean inner product ⟨u,v⟩=uTv and norm ∥u∥2=(uTu)1/2. Suppose ∥x~i∥2≤R for every i and there is a unit vector u∈Rd+1 and γ>0 such that yi⟨u,x~i⟩≥γ for every i. The zero-initialized cyclic procedure that visits the sample in the stated order and updates w←w+yix~i whenever yi⟨w,x~i⟩≤0 makes at most R2/γ2 updates and stops after a finite pass with no updates. At each visit, before its update, the procedure predicts +1 if ⟨w,x~i⟩>0 and −1 otherwise; a prediction mistake is a visit on which this prediction differs from yi. The total number of such mistakes before termination is at most R2/γ2. The returned weight vector has strictly positive signed margin on every sample point.

Facts & Assumptions

Given: A finite ordered sample, the augmented vectors x~i, the bounds ∥x~i∥2≤R, a unit separator u with signed margin at least γ>0, and the zero-initialized cyclic procedure in the Statement.

[F1]

The algorithm initializes w=0, predicts +1 when ⟨w,x~i⟩>0 and −1 otherwise, updates w←w+yix~i exactly when yi⟨w,x~i⟩≤0, and stops after a full pass with no updates. The cyclic perceptron update procedure

[F2]

In a real inner-product space, ∣⟨u,v⟩∣≤∥u∥∥v∥. Cauchy–Schwarz: ∣⟨u,v⟩∣≤∥u∥∥v∥, with equality exactly for linearly dependent vectors

Proof

1.1givenF1algebra

After each update on point i, the separator progress changes by ⟨u,w+yix~i⟩−⟨u,w⟩=yi⟨u,x~i⟩≥γ. Starting at zero, after M updates ⟨u,wM⟩≥Mγ.

1.2F1givenalgebra

At an update, [F1] gives yi⟨w,x~i⟩≤0 and yi2=1, so ∥w+yix~i∥22=∥w∥22+2yi⟨w,x~i⟩+∥x~i∥22≤∥w∥22+R2. Since w0=0, after M updates ∥wM∥22≤MR2.

2.1step 1.1step 1.2F2givenalgebra

If M=0, the bound is immediate. If M>0, [F2] and ∥u∥2=1 give Mγ≤⟨u,wM⟩≤∥wM∥2≤MR, whence M≤R2/γ2. Thus only finitely many updates occur.

3.1F1step 2.1algebra∎

At a visit to point i, if yi=+1 and the classifier is wrong, its score is at most zero; if yi=−1 and the classifier is wrong, its score is positive. In either case yi⟨w,x~i⟩≤0, so every prediction mistake triggers an update by [F1]. Thus the number of mistakes is at most the number of updates and is bounded by step 2.1. An infinite run would complete infinitely many passes, each with at least one update; that would contradict the finite update bound. Therefore a pass with no updates occurs, and during that pass every point has strictly positive signed margin because the update test is ≤0. The algorithm stops and returns a training-separating weight vector.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

7 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