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.
Linear classifiers, discriminants, and logistic models
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Central Limit Theorems
- Characteristic Functions Inversion and Continuity
- Compactness
- Compactness in Metric Spaces
- Complete Metrizability, Čech-Completeness, and Baire Category
- Completeness, Completion, and Uniform Continuity
- Complex Lp Spaces and Test-Function Conventions
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Convex and Semicontinuous Functions on Rⁿ
- Convexity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Cyclic Groups and Direct Products
- Darboux, L'Hôpital, and Taylor's Theorem
- Density Separability and Convolution in Lᵖ
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Direct Matrix Factorisations: LU, Cholesky and QR
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Domination and Likelihood Ratios
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Estimators and Randomized Procedures
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Fourier Transform Convolution and Approximate Identities
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Generalized linear models and Fisher scoring
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hausdorff via the Diagonal
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Independence Borel Cantelli and Zero One Laws
- Infinite Product Measures and Kolmogorov Extension
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Mixed effects and longitudinal models
- Mixed Partials, Taylor Formulae, and Extrema
- Modes of Convergence Egorov and Lusin
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Partitions of Unity and Paracompactness
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Radon Measures and the Riesz Markov Kakutani Theorem
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Scientific model contracts and applicability
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Statistical Experiments, Models and Identifiability
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Maximal Function and Lebesgue Differentiation
- The Moore--Penrose Pseudoinverse and Regularised Least Squares
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Urysohn's Lemma and the Tietze Extension Theorem
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Convergence Tightness and Representation
2 · Logical flowchart
3 · Definitions, theorems and proofs
Finite linear-score classifiers with a deterministic tie rule
Definition
Let and be finite integers, with ordered labels . A finite linear-score classifier on is specified by vectors and constants , one pair for each label, and assigns score to . Its predicted label is the smallest index attaining . This rule is single-valued, including when two or more scores tie.
Indicator-response least-squares classification
Definition
Let and be finite integers. For a fixed design matrix and labels , form the indicator response matrix by when and otherwise. For a coefficient matrix , set , where is the sum of squares of all entries of . Let be the least-squares minimizer with smallest Frobenius norm. For a new row vector , the indicator-response classifier assigns scores and predicts the smallest class index attaining their maximum. An intercept, if used, is one of the columns of ; no rank assumption is imposed on .
The minimum-norm indicator-response least-squares fit exists uniquely
Statement
Let and be finite, let , and let be an indicator response matrix. Among all minimizers of over there is a unique one of smallest Frobenius norm. If is a thin singular-value decomposition with rank , orthonormal columns in , and positive diagonal entries in , then this minimizer is . If , then and . In either case the full minimizer set is .
Statement references
Facts & Assumptions
Given: Finite real matrices and , with and .
The indicator-response fit minimizes over coefficient matrices; multiplying the objective by does not change its minimizers. Indicator-response least-squares classification
For a finite-dimensional linear map, least-squares minimizers exist, satisfy the normal equation, and any two differ by an element of the kernel. For a linear map between finite-dimensional inner-product spaces, minimises if and only if , equivalently ; minimisers exist and any two differ by an element of
Every finite-dimensional real inner-product-space map has a singular-value decomposition with orthonormal input and output bases and positive singular values on its image. Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition
Proof
If , [F3] implies . By the objective in [F1], the least-squares objective is then constant in , so every matrix is a minimizer and is the unique one of smallest Frobenius norm. The minimizer set is , as claimed.
Suppose and write the thin SVD from [F3]. Define . Orthonormality gives , whose th column is the orthogonal projection of the th column of onto .
Each residual column of is therefore orthogonal to . Applying [F2] to each column shows that every column of is a least-squares minimizer, hence minimizes the matrix objective.
By [F2], any other matrix minimizer has the form with . The SVD in [F3] gives , orthogonal to the row space containing every column of .
Columnwise Pythagoras now gives . Thus has the smallest Frobenius norm among all minimizers, and equality is possible only for . Together with step 1.1, this proves existence and uniqueness also in rank zero.
Gaussian LDA and QDA model contracts
Definition
Assume the Axiom of Choice. Let and be finite integers, let the class label be , and let . Choose class priors with , means , and real symmetric positive-definite covariance matrices . The Gaussian generative model has and conditional laws . The LDA subfamily imposes one common covariance matrix, for every ; the QDA subfamily permits the covariance matrices to differ by class.
Common-covariance LDA scores are affine and QDA scores are quadratic
Statement
Assume the Axiom of Choice. Let and be finite, let with , let , and let each real symmetric matrix be positive definite, meaning for every nonzero . Define
For LDA, assume for all ; then differs by a term independent of from the affine score
For QDA, allow the to vary with ; then differs by a term independent of from the quadratic score
Thus maximizing the posterior probabilities uses affine scores in LDA and scores of degree at most two in QDA; ties are resolved by the smallest class index.
Statement references
Facts & Assumptions
Given: AC, finite and , positive priors summing to one, means , symmetric positive-definite covariance matrices, and the LDA common-covariance or QDA class-specific-covariance premise in the Statement.
AC is the assumption used by the multivariate-normal law and its positive-definite density theorem. The Axiom of Choice
The generative model has priors and conditional laws ; LDA shares and QDA permits distinct positive-definite . Gaussian LDA and QDA model contracts
Under AC, a finite-dimensional multivariate normal law with positive-definite covariance has the displayed Lebesgue density. A positive-definite multivariate normal law has its Gaussian density
A finite ordered family of affine class scores predicts the smallest label index attaining the maximum. Finite linear-score classifiers with a deterministic tie rule
Proof
For each , [F2] gives and finite because is positive definite; since , the denominator is positive. The density Bayes formula is therefore well-defined, positive, and sums to one.
Taking logarithms gives . The terms and do not depend on , so the remaining class-dependent expression is exactly .
Under the LDA premise , the determinant term in step 2.1 is also independent of . Symmetry of gives . Removing the terms independent of leaves . The LDA score is affine in , whereas the QDA score in step 2.1 has degree at most two.
For LDA, the affine scores in step 3.1 have a maximizing index and use the smallest-index tie rule by [F3]. For QDA, each is finite because is positive definite and ; since is finite, the maximizing set is nonempty and finite, so it has a unique smallest index. In either model, adding the same finite quantity to every score preserves the maximizing indices, and the log-posterior scores in steps 2.1 and 3.1 differ from the displayed scores by such a quantity. Thus the posterior argmax has the stated deterministic tie rule for both LDA and QDA.
Binary logistic and multiclass softmax conditional models
Definition
For , define the sigmoid . A binary logistic conditional model on has finite coefficients , and specifies and for . Its classifier predicts when and predicts when . A multiclass softmax conditional model has finite ordered labels with , affine logits for and , and probabilities ; its classifier chooses the smallest index attaining the largest logit. These models specify conditional label probabilities and impose no distributional assumption on the feature vector , in particular no Gaussian feature law.
Binary logistic log-likelihood and L1-penalized objective
Definition
Fix a finite design with rows , , where and . Use either an intercept design, in which the first coordinate of every row is and , or a no-intercept design, in which no coordinate is reserved as an intercept, the intercept coefficient is fixed at zero, and . Let and assume the responses are conditionally independent given the design, with binary logistic probabilities for finite coefficients. In either design convention, the log-likelihood is
For , the L1 objective to minimize in the intercept design is , so the intercept is unpenalized; in the no-intercept design it is , so every coefficient is penalized. Here and , with an empty sum equal to zero. These are objective definitions and assert no optimizer existence.
Binary logistic derivatives and the exact Newton/IRLS update
Statement
Let be finite, let be a fixed design matrix whose first column is the intercept column of ones, and let . For finite , put , , , and . Then
The diagonal entries of are positive, so is convex; if has full column rank, is positive definite. In that full-rank case, the exact Newton step for maximizing the unpenalized log-likelihood is
This is the Bernoulli-logit IRLS step with the weighted least-squares convention using weights . The identities describe one update and do not assert convergence of repeated updates.
Statement references
Binary logistic and multiclass softmax conditional models
Binary logistic log-likelihood and L1-penalized objective
A function is convex exactly when its Hessian is positive semidefinite
Generalized linear model with explicit conditioning
Explicit exponential-family response contracts
General-link score and Fisher information
IRLS equals the Fisher-scoring step when information is invertible
Hastie, Tibshirani, and Friedman, ESL, §§4.4.1 and 4.4.4, equations (4.20)–(4.31)
Facts & Assumptions
Given: The finite fixed design, binary responses, finite current coefficient vector, binary conditional logistic model, and log-likelihood in the Statement.
The binary conditional model has , with for finite . Binary logistic and multiclass softmax conditional models
The fixed-design log-likelihood is . Binary logistic log-likelihood and L1-penalized objective
A Bernoulli GLM observation family has fixed support, finite second moments, and locally integrable first- and second-derivative envelopes when those moment identities are used. Explicit exponential-family response contracts
For a canonical link, the natural parameter is the linear predictor; the GLM uses its specified common scale. Generalized linear model with explicit conditioning
Under the stated GLM hypotheses, and ; with positive weights and full column rank, is positive definite. General-link score and Fisher information
The IRLS procedure uses , and returns a weighted least-squares minimizer. One minimum-norm IRLS step
Under the stated differentiability, common-support, moment and invertible-information hypotheses, the IRLS output equals . IRLS equals the Fisher-scoring step when information is invertible
A weighted least-squares minimizer satisfies the normal equation and is unique when the weighted design has trivial kernel. For a linear map between finite-dimensional inner-product spaces, minimises if and only if , equivalently ; minimisers exist and any two differ by an element of
A function on an open convex Euclidean domain is convex when its Hessian is positive semidefinite everywhere. A function is convex exactly when its Hessian is positive semidefinite
Proof
For one observation, has derivative and second derivative . Applying the coordinate chain rule to gives and .
Every finite gives , so is positive diagonal and . Therefore the Hessian of is positive semidefinite on , an open convex domain; [F9] gives convexity. If has full column rank, implies , so at least one squared term is nonzero and the same sum is positive.
For Bernoulli data the mass is on with counting measure, common support, , canonical natural parameter , , , , and . The response has finite second moment and bounded score; on every compact interval of finite the mass and its first two derivatives are bounded on the finite support, giving the stated local envelopes. Thus the response-family and canonical-link conditions [F3, F4] hold.
By [F5], the score is and the expected information is . Full column rank makes positive definite. The observed Hessian in step 1.1 is , so the maximizing Newton formula equals . The generic IRLS result [F7] gives the same update under these verified hypotheses.
By [F6], the Bernoulli working response is and the weights are . The weighted normal equation [F8] and full rank give the unique IRLS fit . Expanding yields , the Newton step from step 2.1.
Complete separation gives an unattained logistic likelihood supremum
Statement
Let be finite, let be a fixed design row with an intercept coordinate when one is used, and let . Suppose the unpenalized binary logistic log-likelihood is . If there is a vector such that for every , then , and no finite coefficient vector attains this supremum.
Statement references
Facts & Assumptions
Given: A finite fixed binary logistic data set with , , the unpenalized log-likelihood, and a strict separating vector satisfying the signed-margin inequalities in the Statement.
The log-likelihood is the sum of the Bernoulli terms with . Binary logistic log-likelihood and L1-penalized objective
At every finite coefficient vector, the binary conditional probability is strictly between zero and one. Binary logistic and multiclass softmax conditional models
Proof
Put for . If , the separation condition gives and the th log-likelihood term is . If , the condition gives and the term is . Since the sample is finite, , so the supremum is at least zero.
For any finite , each is finite and [F2] gives . The observed Bernoulli log-probability is when and when . As , for every finite . Thus the supremum is at most zero and is attained by no finite coefficient vector; step 1.1 shows that it equals zero.
The cyclic perceptron update procedure
Definition
Input a finite ordered sample with , , and . Put and initialize . In each pass, visit in the fixed order. Whenever , replace by and count one update. After a full pass with no updates, stop and return . The associated classifier returns when and when , so a score tie is assigned to . The procedure has no iteration limit; if its stop condition never holds, it continues with further passes.
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.
4 · Examples, counterexamples and false statements
None yet.