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 be a finite ordered sample with , , and . Put , with Euclidean inner product and norm . Suppose for every and there is a unit vector and such that for every . The zero-initialized cyclic procedure that visits the sample in the stated order and updates whenever makes at most updates and stops after a finite pass with no updates. At each visit, before its update, the procedure predicts if and otherwise; a prediction mistake is a visit on which this prediction differs from . The total number of such mistakes before termination is at most . The returned weight vector has strictly positive signed margin on every sample point.
Statement references
Facts & Assumptions
Given: A finite ordered sample, the augmented vectors , the bounds , a unit separator with signed margin at least , and the zero-initialized cyclic procedure in the Statement.
The algorithm initializes , predicts when and otherwise, updates exactly when , and stops after a full pass with no updates. The cyclic perceptron update procedure
In a real inner-product space, . Cauchy–Schwarz: , with equality exactly for linearly dependent vectors
Proof
After each update on point , the separator progress changes by . Starting at zero, after updates .
At an update, [F1] gives and , so . Since , after updates .
If , the bound is immediate. If , [F2] and give , whence . Thus only finitely many updates occur.
At a visit to point , if and the classifier is wrong, its score is at most zero; if and the classifier is wrong, its score is positive. In either case , 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 . 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
- Hastie, Tibshirani, and Friedman, The Elements of Statistical Learning, 2nd ed., corrected 12th printing (standard reference, not scraped)
- Cornell CS4780 Spring 2018, Lecture 3: The Perceptron (standard reference, not scraped)