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.

Linear classifiers, discriminants, and logistic models

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite linear-score classifiers with a deterministic tie rule

Definition

Let d≥1 and K≥2 be finite integers, with ordered labels 1<2<⋯<K. A finite linear-score classifier on Rd is specified by vectors ak∈Rd and constants bk∈R, one pair for each label, and assigns score sk(x)=akTx+bk to x∈Rd. Its predicted label is the smallest index attaining max⁡1≤j≤Ksj(x). This rule is single-valued, including when two or more scores tie.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Indicator-response least-squares classification

Definition

Let n,q≥1 and K≥2 be finite integers. For a fixed design matrix X∈Rn×q and labels yi∈{1,…,K}, form the indicator response matrix Y∈Rn×K by Yik=1 when yi=k and Yik=0 otherwise. For a coefficient matrix B∈Rq×K, set L(B)=(2n)−1∥Y−XB∥F2, where ∥A∥F2 is the sum of squares of all entries of A. Let B∗ be the least-squares minimizer with smallest Frobenius norm. For a new row vector xT∈R1×q, the indicator-response classifier assigns scores (xTB∗)k and predicts the smallest class index attaining their maximum. An intercept, if used, is one of the columns of X; no rank assumption is imposed on X.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

The minimum-norm indicator-response least-squares fit exists uniquely

Statement

Let n,q≥1 and K≥2 be finite, let X∈Rn×q, and let Y∈Rn×K be an indicator response matrix. Among all minimizers of ∥Y−XB∥F2 over B∈Rq×K there is a unique one of smallest Frobenius norm. If X=UrDrVrT is a thin singular-value decomposition with rank r>0, orthonormal columns in Ur,Vr, and positive diagonal entries in Dr, then this minimizer is B∗=VrDr−1UrTY. If r=0, then X=0 and B∗=0. In either case the full minimizer set is {B∗+N:XN=0}.

Facts & Assumptions

Given: Finite real matrices X∈Rn×q and Y∈Rn×K, with n,q≥1 and K≥2.

[F1]

The indicator-response fit minimizes (2n)−1∥Y−XB∥F2 over coefficient matrices; multiplying the objective by 2n does not change its minimizers. Indicator-response least-squares classification

[F3]

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

1.1F1F3givenalgebra

If r=0, [F3] implies X=0. By the objective in [F1], the least-squares objective is then constant in B, so every matrix is a minimizer and B∗=0 is the unique one of smallest Frobenius norm. The minimizer set is {N:XN=0}, as claimed.

1.2F3givenconstructalgebra

Suppose r>0 and write the thin SVD X=UrDrVrT from [F3]. Define B∗=VrDr−1UrTY. Orthonormality gives XB∗=UrUrTY, whose kth column is the orthogonal projection of the kth column of Y onto im⁡X=span⁡(Ur).

2.1F2step 1.2

Each residual column of Y−XB∗ is therefore orthogonal to im⁡X. Applying [F2] to each column shows that every column of B∗ is a least-squares minimizer, hence B∗ minimizes the matrix objective.

2.2F2F3step 1.2

By [F2], any other matrix minimizer has the form B∗+N with XN=0. The SVD in [F3] gives ker⁡X=span⁡(vr+1,…,vq), orthogonal to the row space span⁡(v1,…,vr) containing every column of B∗.

3.1step 1.1step 2.2algebra∎

Columnwise Pythagoras now gives ∥B∗+N∥F2=∥B∗∥F2+∥N∥F2. Thus B∗ has the smallest Frobenius norm among all minimizers, and equality is possible only for N=0. Together with step 1.1, this proves existence and uniqueness also in rank zero.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Gaussian LDA and QDA model contracts

Definition

Assume the Axiom of Choice. Let d≥1 and K≥2 be finite integers, let the class label be Y∈{1,…,K}, and let X∈Rd. Choose class priors πk>0 with ∑k=1Kπk=1, means μk∈Rd, and real symmetric positive-definite covariance matrices Σk∈Rd×d. The Gaussian generative model has Pr⁡(Y=k)=πk and conditional laws X∣Y=k∼Nd(μk,Σk). The LDA subfamily imposes one common covariance matrix, Σk=Σ for every k; the QDA subfamily permits the covariance matrices to differ by class.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Common-covariance LDA scores are affine and QDA scores are quadratic

Statement

Assume the Axiom of Choice. Let d≥1 and K≥2 be finite, let πk>0 with ∑k=1Kπk=1, let μk∈Rd, and let each real symmetric matrix Σk∈Rd×d be positive definite, meaning vTΣkv>0 for every nonzero v. Define

fk(x)=(2π)−d/2det⁡(Σk)−1/2exp⁡ ⁣(−12(x−μk)TΣk−1(x−μk)),pk(x)=πkfk(x)∑j=1Kπjfj(x).

For LDA, assume Σk=Σ for all k; then log⁡pk(x) differs by a term independent of k from the affine score

δkL(x)=xTΣ−1μk−12μkTΣ−1μk+log⁡πk.

For QDA, allow the Σk to vary with k; then log⁡pk(x) differs by a term independent of k from the quadratic score

δkQ(x)=−12log⁡det⁡(Σk)−12(x−μk)TΣk−1(x−μk)+log⁡πk.

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.

Facts & Assumptions

Given: AC, finite d≥1 and K≥2, positive priors summing to one, means μk, symmetric positive-definite covariance matrices, and the LDA common-covariance or QDA class-specific-covariance premise in the Statement.

[A1]

AC is the assumption used by the multivariate-normal law and its positive-definite density theorem. The Axiom of Choice

[F1]

The generative model has priors πk and conditional laws Nd(μk,Σk); LDA shares Σ and QDA permits distinct positive-definite Σk. Gaussian LDA and QDA model contracts

[F2]

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

[F3]

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

1.1A1F1F2givenalgebra

For each x, [F2] gives fk(x)>0 and finite because Σk is positive definite; since πk>0, the denominator m(x)=∑jπjfj(x) is positive. The density Bayes formula pk(x)=πkfk(x)/m(x) is therefore well-defined, positive, and sums to one.

2.1step 1.1F2algebra

Taking logarithms gives log⁡pk(x)=log⁡πk−d2log⁡(2π)−12log⁡det⁡(Σk)−12(x−μk)TΣk−1(x−μk)−log⁡m(x). The terms −d2log⁡(2π) and −log⁡m(x) do not depend on k, so the remaining class-dependent expression is exactly δkQ(x).

3.1step 2.1F1F2algebra

Under the LDA premise Σk=Σ, the determinant term in step 2.1 is also independent of k. Symmetry of Σ−1 gives (x−μk)TΣ−1(x−μk)=xTΣ−1x−2xTΣ−1μk+μkTΣ−1μk. Removing the terms independent of k leaves δkL(x). The LDA score is affine in x, whereas the QDA score in step 2.1 has degree at most two.

4.1step 1.1step 2.1step 3.1F3algebra∎

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 δkQ(x) is finite because Σk is positive definite and πk>0; since K 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.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Binary logistic and multiclass softmax conditional models

Definition

For d≥1, define the sigmoid σ(t)=(1+e−t)−1. A binary logistic conditional model on x∈Rd has finite coefficients β0∈R, β∈Rd and specifies Pr⁡(Y=1∣x)=σ(β0+xTβ) and Pr⁡(Y=0∣x)=1−σ(β0+xTβ) for Y∈{0,1}. Its classifier predicts 1 when β0+xTβ>0 and predicts 0 when β0+xTβ≤0. A multiclass softmax conditional model has finite ordered labels 1,…,K with K≥2, affine logits ηk(x)=ak+xTwk for ak∈R and wk∈Rd, and probabilities Pr⁡(Y=k∣x)=eηk(x)/∑j=1Keηj(x); 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 X, in particular no Gaussian feature law.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Binary logistic log-likelihood and L1-penalized objective

Definition

Fix a finite design with rows xiT∈Rq, 1≤i≤n, where n≥1 and q≥1. Use either an intercept design, in which the first coordinate of every row is 1 and β=(β0,θ)∈R×Rq−1, or a no-intercept design, in which no coordinate is reserved as an intercept, the intercept coefficient is fixed at zero, and β∈Rq. Let yi∈{0,1} and assume the responses are conditionally independent given the design, with binary logistic probabilities pi=σ(xiTβ) for finite coefficients. In either design convention, the log-likelihood is

ℓ(β)=∑i=1n[yixiTβ−log⁡ ⁣(1+exiTβ)].

For λ>0, the L1 objective to minimize in the intercept design is −ℓ(β)+λ∥θ∥1, so the intercept is unpenalized; in the no-intercept design it is −ℓ(β)+λ∥β∥1, so every coefficient is penalized. Here ∥θ∥1=∑j=1q−1∣θj∣ and ∥β∥1=∑j=1q∣βj∣, with an empty sum equal to zero. These are objective definitions and assert no optimizer existence.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Binary logistic derivatives and the exact Newton/IRLS update

Statement

Let n,q≥1 be finite, let X∈Rn×q be a fixed design matrix whose first column is the intercept column of ones, and let y∈{0,1}n. For finite β∈Rq, put η=Xβ, pi=σ(ηi), W=diag⁡(pi(1−pi)), and ℓ(β)=∑i[yiηi−log⁡(1+eηi)]. Then

∇ℓ(β)=XT(y−p),∇2ℓ(β)=−XTWX.

The diagonal entries of W are positive, so −ℓ is convex; if X has full column rank, XTWX is positive definite. In that full-rank case, the exact Newton step for maximizing the unpenalized log-likelihood is

βnew=β+(XTWX)−1XT(y−p)=(XTWX)−1XTWz,z=Xβ+W−1(y−p).

This is the Bernoulli-logit IRLS step with the weighted least-squares convention using weights pi(1−pi). The identities describe one update and do not assert convergence of repeated updates.

Statement references

Facts & Assumptions

Given: The finite fixed design, binary responses, finite current coefficient vector, binary conditional logistic model, and log-likelihood in the Statement.

[F1]

The binary conditional model has Pr⁡(Y=1∣x)=σ(β0+xTβ), with 0<σ(t)<1 for finite t. Binary logistic and multiclass softmax conditional models

[F2]

The fixed-design log-likelihood is ℓ(β)=∑i[yixiTβ−log⁡(1+exiTβ)]. Binary logistic log-likelihood and L1-penalized objective

[F3]

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

[F4]

For a canonical link, the natural parameter is the linear predictor; the GLM uses its specified common scale. Generalized linear model with explicit conditioning

[F5]

Under the stated GLM hypotheses, U=XT(μ˙i(yi−μi)/(aVi))i and I=XTdiag⁡(μ˙i2/(aVi))X; with positive weights and full column rank, I is positive definite. General-link score and Fisher information

[F6]

The IRLS procedure uses zi=ηi+(yi−μi)/μ˙i, wi=μ˙i2/(aVi) and returns a weighted least-squares minimizer. One minimum-norm IRLS step

[F7]

Under the stated differentiability, common-support, moment and invertible-information hypotheses, the IRLS output equals β+I−1U. IRLS equals the Fisher-scoring step when information is invertible

[F9]

A C2 function on an open convex Euclidean domain is convex when its Hessian is positive semidefinite everywhere. A C2 function is convex exactly when its Hessian is positive semidefinite

Proof

1.1F1F2algebra

For one observation, ℓi(ηi)=yiηi−log⁡(1+eηi) has derivative yi−σ(ηi) and second derivative −σ(ηi)(1−σ(ηi)). Applying the coordinate chain rule to η=Xβ gives ∇ℓ=XT(y−p) and ∇2ℓ=−∑ipi(1−pi)xixiT=−XTWX.

1.2F1F9algebra

Every finite ηi gives 0<pi<1, so W is positive diagonal and hTXTWXh=∑ipi(1−pi)(xiTh)2≥0. Therefore the Hessian of −ℓ is positive semidefinite on Rq, an open convex domain; [F9] gives convexity. If X has full column rank, h≠0 implies Xh≠0, so at least one squared term is nonzero and the same sum is positive.

1.3F3F4givenalgebra

For Bernoulli data the mass is exp⁡(yiηi−log⁡(1+eηi)) on {0,1} with counting measure, common support, a=1, canonical natural parameter θi=ηi, b(θ)=log⁡(1+eθ), μi=pi, Vi=b′′(θi)=pi(1−pi), and μ˙i=pi(1−pi). The response has finite second moment and bounded score; on every compact interval of finite ηi 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.

2.1F5F7step 1.1step 1.3algebra

By [F5], the score is U=XT(y−p) and the expected information is I=XTWX. Full column rank makes I positive definite. The observed Hessian in step 1.1 is −I, so the maximizing Newton formula β−(∇2ℓ)−1∇ℓ equals β+I−1U. The generic IRLS result [F7] gives the same β+I−1U update under these verified hypotheses.

3.1F6F8step 1.3step 2.1algebra∎

By [F6], the Bernoulli working response is z=Xβ+W−1(y−p) and the weights are W. The weighted normal equation [F8] and full rank give the unique IRLS fit βnew=(XTWX)−1XTWz. Expanding z yields β+(XTWX)−1XT(y−p), the Newton step from step 2.1.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Complete separation gives an unattained logistic likelihood supremum

Statement

Let n,q≥1 be finite, let xi∈Rq be a fixed design row with an intercept coordinate when one is used, and let yi∈{0,1}. Suppose the unpenalized binary logistic log-likelihood is ℓ(β)=∑i[yixiTβ−log⁡(1+exiTβ)]. If there is a vector v∈Rq such that (2yi−1)xiTv>0 for every i, then sup⁡β∈Rqℓ(β)=0, and no finite coefficient vector attains this supremum.

Facts & Assumptions

Given: A finite fixed binary logistic data set with n≥1, yi∈{0,1}, the unpenalized log-likelihood, and a strict separating vector v satisfying the signed-margin inequalities in the Statement.

[F1]

The log-likelihood is the sum of the Bernoulli terms yiηi−log⁡(1+eηi) with ηi=xiTβ. Binary logistic log-likelihood and L1-penalized objective

[F2]

At every finite coefficient vector, the binary conditional probability is strictly between zero and one. Binary logistic and multiclass softmax conditional models

Proof

1.1F1givenconstructalgebra

Put β(t)=tv for t>0. If yi=1, the separation condition gives ai=xiTv>0 and the ith log-likelihood term is −log⁡(1+e−tai)→0. If yi=0, the condition gives ai=xiTv<0 and the term is −log⁡(1+etai)→0. Since the sample is finite, ℓ(β(t))→0, so the supremum is at least zero.

2.1F2givenstep 1.1algebra∎

For any finite β, each ηi is finite and [F2] gives 0<pi<1. The observed Bernoulli log-probability is log⁡pi<0 when yi=1 and log⁡(1−pi)<0 when yi=0. As n≥1, ℓ(β)<0 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.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

The cyclic perceptron update procedure

Definition

Input a finite ordered sample ((xi,yi))i=1n with n≥1, xi∈Rd, and yi∈{−1,+1}. Put x~i=(xi,1)∈Rd+1 and initialize w=0. In each pass, visit i=1,…,n in the fixed order. Whenever yiwTx~i≤0, replace w by w+yix~i and count one update. After a full pass with no updates, stop and return w. The associated classifier returns +1 when wT(x,1)>0 and −1 when wT(x,1)≤0, so a score tie is assigned to −1. The procedure has no iteration limit; if its stop condition never holds, it continues with further passes.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

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.

4 · Examples, counterexamples and false statements

None yet.

Sources