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.

Norm and margin generalization for neural networks

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

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

Proper Frobenius covering numbers

Definition

Let n,m≥1, let U be a nonempty subset of the real matrix space Rn×m, and let ϵ>0. A proper ϵ-cover of U in Frobenius norm is a finite subset V⊆U such that every X∈U has some Y∈V with ∥X−Y∥F≤ϵ. The proper Frobenius covering number NF(U,ϵ) is the least cardinality of such a cover when one exists, and is +∞ otherwise. The cover is proper because its centers belong to U.

Definition references

The Frobenius norm ∥A∥F=(∑i,j∣aij∣2)1/2 on real or complex matrices: defines ∥X−Y∥F as the Euclidean norm of the full matrix-entry list.

Bartlett, Foster, and Telgarsky, §3.2: defines the covering number using finite centers in the covered set.

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

Spectral network complexity with reference matrices

Definition

Let L≥1 and let d0,…,dL≥1 be layer widths, with K:=dL≥2 output classes. For each i∈{1,…,L}, fix a matrix Mi∈Rdi×di−1 and a vector activation σi:Rdi→Rdi satisfying σi(0)=0 and ∥σi(u)−σi(v)∥2≤ρi∥u−v∥2(u,v∈Rdi) for a fixed ρi>0. A network has matrices Ai∈Rdi×di−1, no biases, and is evaluated by h0(x)=x and hi(x)=σi(Aihi−1(x)), with score vector FA(x)=hL(x). For a real matrix B, define ∥B∥2,1:=∑j∥B⋅j∥2, the sum of the Euclidean norms of its columns. Write ∥A∥σ for the induced Euclidean operator norm max⁡∥u∥2=1∥Au∥2 and put W:=max⁡0≤i≤Ldi.

For a network whose layer matrices all have nonzero operator norm, its spectral network complexity relative to (Mi) is RA:=(∏i=1Lρi∥Ai∥σ)(∑i=1L(∥Ai⊤−Mi⊤∥2,1∥Ai∥σ)2/3)3/2. If some Ai=0, the network is instead handled as the constant-zero score map: the recurrence gives hi=0 and all later hidden vectors are zero. The displayed complexity is not defined in that zero-layer case.

The block diagram is schematic for L≥3 and depicts the stated recurrence. Each node is the entire vector at one layer; the arrow labelled Ai is the zero-bias linear map, followed by the vector activation shown in the next node. The omitted middle layers are represented by the ellipsis, and the widths are those in the definition. For L=1 or L=2, omit the ellipsis and use the corresponding initial segment of the recurrence. The diagram is illustrative and is not used in any proof.

diagram failed to render:
\begin{tikzpicture}[>=stealth]
  \node[draw,rounded corners] (h0) at (0,0) {$h_0=x\in\mathbb R^{d_0}$};
  \node[draw,rounded corners] (h1) at (3.1,0) {$h_1=\sigma_1(A_1h_0)$};
  \node (dots) at (4.9,0) {$\cdots$};
  \node[draw,rounded corners] (hL) at (6.8,0) {$h_L=\sigma_L(A_Lh_{L-1})=F_A(x)$};
  \draw[->] (h0) -- node[above] {$A_1$} (h1);
  \draw[->] (h1) -- (dots);
  \draw[->] (dots) -- node[above] {$A_L$} (hL);
\end{tikzpicture}

Definition references

Finite feedforward computation graphs and layered MLPs: finite acyclic computation graphs and their layered evaluation provide the broader feedforward-network context; the displayed vector-valued layer convention is defined fully above.

The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||: the induced norm is the maximum Euclidean output norm over unit input vectors.

The operator norm is 0 on the zero domain and otherwise equals the largest singular value, attained at a right-singular vector: the induced Euclidean operator norm equals the largest singular value, including rectangular real matrices.

Bartlett, Foster, and Telgarsky, Definition (1.2): defines the layerwise spectral/reference-matrix complexity used in the margin bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A truncated covering integral bounds empirical Rademacher complexity

Statement

Let n≥1, let S=(z1,…,zn) be a fixed sample, and let G be a nonempty class of measurable functions into [0,1]. Write G∣S for the set of column vectors (g(z1),…,g(zn))⊤ as g ranges over G. For 0<α≤n, R^S(G)≤4αn+12n∫αnlog⁡NF(G∣S,ϵ) dϵ, where R^S is the one-sided empirical Rademacher complexity with 1/n normalization and NF is the proper Frobenius covering number of the sample-vector set, identified with n×1 matrices. The set G∣S is totally bounded because it lies in [0,1]n.

Statement references

One-sided Rademacher complexity: fixes the one-sided empirical sign average and its 1/n normalization.

Proper Frobenius covering numbers: defines NF using finite centers belonging to the covered set.

Facts & Assumptions

Given: n≥1, a fixed sample S, a nonempty [0,1]-valued function class, and the corresponding finite sign space.

[F1]

The one-sided empirical complexity is Eεsup⁡g∈Gn−1∑i=1nεig(zi), where the signs are independent and uniform on {−1,+1}. One-sided Rademacher complexity

[F2]

NF(U,ϵ) is the least number of centers in a finite proper Frobenius ϵ-cover of U. Proper Frobenius covering numbers

[F3]

cosh⁡x>0, cosh⁡ is even, cosh⁡′x=sinh⁡x, tanh⁡′x=sech⁡2x, and cosh⁡2x−sinh⁡2x=1. The six hyperbolic functions and their natural domains Addition formulas, identities, parity, and derivatives of the hyperbolic functions

[F4]

For a bounded real random variable Y and convex exponential, exp⁡(λEY)≤Eexp⁡(λY). Jensen's inequality for expectation

[F5]

log⁡ is the increasing inverse of exp⁡ on positive reals, with log⁡(xy)=log⁡x+log⁡y and log⁡1=0. The natural logarithm as the inverse of the exponential function Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F6]

If a real function is continuous on [a,b] and differentiable on (a,b), the mean value theorem gives f(b)−f(a)=f′(c)(b−a) for some c∈(a,b). The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a)

[F8]

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

Proof

1.1F3F6F7algebra

For x>0, put r(x)=x−tanh⁡x. By [F3], r(0)=0 and r′(x)=1−sech⁡2x=tanh⁡2x≥0. The mean value theorem [F6] therefore gives r(x)≥0; at x=0 this is equality. Put q(x)=e−x2/2cosh⁡x. The derivative rules in [F3] and [F7] give q′(x)=e−x2/2cosh⁡x (tanh⁡x−x)≤0. Applying [F6] on [0,x] for x>0 yields q(x)≤q(0)=1, and equality holds at x=0. Since q is even, cosh⁡x≤ex2/2 for every real x.

1.2F1F2givenconstruct

Choose g0∈G and subtract its sample vector v0 from every vector in G∣S. The empirical Rademacher average is unchanged because Eε∑iεig0(zi)=0, and translation preserves all Frobenius covering numbers. Write U:=(G∣S)−v0; it contains 0, and each vector has norm at most n. For any ϵ>0, partition [−1,1]n into finitely many boxes of side at most ϵ/n; from each box meeting U take one member of that intersection. The resulting finite set is a proper ϵ-cover, since two points in one box differ in Euclidean norm by at most ϵ. Set ϵj=n 2−(j−1). The singleton V1={0} is a proper ϵ1-cover of U, so ∣V1∣=NF(U,ϵ1)=1. For each finite truncation N≥2 and each 2≤j≤N, choose a proper ϵj-cover Vj of U with the least possible cardinality, so ∣Vj∣=NF(U,ϵj); such a least cardinality exists because a finite cover exists and cover cardinalities are positive integers. Enumerate each finite cover and map every sample vector to the first center within ϵj.

2.1F1F4F5step 1.1algebra

Let V be a nonempty finite set of vectors in Rn and let R=max⁡v∈V∥v∥2. For Tv=∑iεivi, independence of the signs and step 1.1 give EeλTv=∏icosh⁡(λvi)≤eλ2R2/2. If R=0 or ∣V∣=1, Emax⁡v∈VTv=0. Otherwise, for λ>0, [F4] and eλmax⁡vTv≤∑v∈VeλTv imply Emax⁡vTv≤log⁡∣V∣/λ+λR2/2. Choosing λ=2log⁡∣V∣/R gives Emax⁡vTv≤R2log⁡∣V∣.

3.1F1F2F8step 2.1step 1.2algebra

For any translated sample vector v∈U, telescope v=(v−vN[v])+∑j=1N−1(vj+1[v]−vj[v]), since v1[v]=0. The absolute residual sign sum is at most ∥(εi)i∥2∥v−vN[v]∥2≤nϵN by [F8]. For each j<N, use only the paired-center difference set Dj:={vj+1[v]−vj[v]:v∈U}. It is a nonempty subset of Vj+1−Vj, so its cardinality is at most ∣Vj+1∣∣Vj∣≤NF(G∣S,ϵj+1)2, because covering numbers are nonincreasing with radius. Each paired difference has norm at most ∥vj+1[v]−v∥2+∥v−vj[v]∥2≤ϵj+1+ϵj=3ϵj+1. Step 2.1 applied to Dj therefore bounds its expected maximum sign sum by 6ϵj+1log⁡NF(G∣S,ϵj+1). Taking the supremum in the telescoping identity, summing these bounds, and dividing by n gives R^S(G)≤ϵN/n+(6/n)∑j=1N−1ϵj+1log⁡NF(G∣S,ϵj+1).

4.1F2step 3.1algebra

The function f(ϵ)=log⁡NF(G∣S,ϵ) is nonincreasing in ϵ. Since ϵj+2=ϵj+1/2, each summand obeys ϵj+1f(ϵj+1)≤2∫ϵj+2ϵj+1f(ϵ) dϵ. Therefore step 3.1 gives R^S(G)≤ϵN/n+(12/n)∫ϵN+1nf(ϵ) dϵ.

5.1F1step 4.1algebra∎

If n/4≤α≤n, each signed average is at most 1, so R^S(G)≤1≤4α/n. If 0<α<n/4, choose the largest N≥1 with ϵN+1>α; such an N exists because ϵ2=n/2>α and ϵj→0. Maximality gives ϵN+2≤α, hence ϵN=4ϵN+2≤4α, and ∫ϵN+1nf≤∫αnf. Substitution into step 4.1 proves the stated inequality for every 0<α<n/4. Together, the two cases prove it for every 0<α≤n.

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

Multiclass margins, ramp loss, and empirical margin loss

Definition

Let K≥2, let D be a Borel probability measure on Rd×{1,…,K}, and let F:Rd→RK be a continuous score map. At (x,y) its multiclass margin is mF(x,y):=F(x)y−max⁡j≠yF(x)j. The predicted label is y^F(x):=min⁡{j∈{1,…,K}:F(x)j=max⁡1≤l≤KF(x)l}. Its population zero-one error is L0(F):=D({(x,y):y^F(x)≠y}). For γ>0, the ramp loss is ℓγ(r):={0,r<−γ,1+r/γ,−γ≤r≤0,1,r>0. The population ramp risk is Rγ(F):=∫ℓγ(−mF(x,y)) D(d(x,y)). For a sample S=((x1,y1),…,(xn,yn)) of length n≥1, the empirical ramp risk and empirical margin loss are R^γ,S(F):=1n∑i=1nℓγ(−mF(xi,yi)),L^γ,S(F):=1n∑i=1n1{mF(xi,yi)≤γ}. The score coordinates are continuous, and finite maxima, comparisons, and the piecewise-linear ramp preserve Borel measurability. Thus the classification event and ramp loss in the displayed integrals are Borel sets or functions, so the risks are well-defined for D.

Definition references

The Borel sigma-algebra of a topological space: Borel subsets are members of the sigma-algebra generated by open sets.

Probability measures and probability spaces: a probability measure is a measure of total mass one.

Supervised prediction problems: fixes measurable instance and label spaces, a joint law, predictors, and measurable losses.

Population and empirical risk: defines population risk as an extended nonnegative integral and empirical risk as a finite sample average.

Bartlett, Foster, and Telgarsky, §3.1 and Appendix A.2: gives the multiclass margin operator and the ramp convention.

Mohri, Lecture 4, pp. 28–31: treats confidence margin, empirical margin loss, and margin-based risk bounds for binary scores.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A proper matrix-product cover from the mixed (2,1) norm

Statement

Let X∈Rn×d, M∈Rd×m with n,d,m≥1, and let a,s≥0. Suppose C:={A∈Rd×m:∥A−M∥2,1≤a, ∥A∥σ≤s} is nonempty. Put U:={XA:A∈C}. For every ϵ>0, log⁡NF(U,ϵ)≤5 a2∥X∥F2ϵ2log⁡(2dm). If a∥X∥F=0 or ϵ≥2a∥X∥F, then NF(U,ϵ)=1. Here ∥A−M∥2,1 is the sum of the Euclidean norms of the columns of A−M; when applying this lemma to a network layer, take A=Ai⊤ and M=Mi⊤, as in the spectral-network-complexity definition. The number NF is the proper Frobenius covering number.

Statement references

Spectral network complexity with reference matrices: defines the column-sum mixed norm and the induced Euclidean operator norm.

Proper Frobenius covering numbers: defines the proper cover whose centers must lie in U.

The Frobenius norm ∥A∥F=(∑i,j∣aij∣2)1/2 on real or complex matrices: defines the Euclidean matrix-entry norm used to measure cover error.

Bartlett, Foster, and Telgarsky, Lemma 3.2 and Appendix A.4: gives the Maurey sparsification route to this matrix-product cover.

Facts & Assumptions

Given: Matrices X,M, dimensions and constants as in the Statement, and the nonempty feasible set C.

[F1]

∥Z∥F2 is the sum of the squared absolute values of all entries of Z. The Frobenius norm ∥A∥F=(∑i,j∣aij∣2)1/2 on real or complex matrices

[F2]

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

[F3]

The Euclidean inner-product norm is homogeneous and satisfies the triangle inequality. The inner-product norm is definite, homogeneous, and satisfies the triangle inequality

[F4]

NF(U,ϵ) is the least size of a finite proper Frobenius cover of U. Proper Frobenius covering numbers

[F6]

log⁡ is strictly increasing on positive reals and satisfies log⁡(xy)=log⁡x+log⁡y. The natural logarithm as the inverse of the exponential function Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F7]

The mixed norm is the sum of the Euclidean column norms, and ∥A∥σ is the induced Euclidean operator norm. Spectral network complexity with reference matrices

[F9]

A continuous real-valued function on a nonempty compact metric space attains its minimum. A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value

Proof

1.1F1F2F7givenalgebra

For any B∈Rd×m, write its columns as bj and the columns of X as xr. By [F2], ∥Xbj∥22=∑i∣∑rXir(bj)r∣2≤∥X∥F2∥bj∥22. Summing over j gives ∥XB∥F≤∥X∥F(∑j∥bj∥22)1/2≤∥X∥F∑j∥bj∥2=∥X∥F∥B∥2,1; the middle inequality follows by squaring, since all column norms are nonnegative. Thus ∥A−A′∥2,1≤2a for A,A′∈C, and the diameter of U is at most 2a∥X∥F. If a∥X∥F=0, U is a singleton; if ϵ≥2a∥X∥F, any one point of nonempty U covers it.

1.2F1F2F7givenconstructalgebra

Assume a∥X∥F>0 and 0<ϵ<2a∥X∥F. For each nonzero column xr, each output coordinate j, and each sign η∈{−1,+1}, form the rank-one atom Vrjη=η(xr/∥xr∥2)ej⊤, where ej is the jth standard basis vector in Rm. There are at most 2dm atoms and each has Frobenius norm 1. For B=A−M, the expansion XB=∑r,j(B)rjxrej⊤ has coefficient mass β:=∑r,j∣Brj∣∥xr∥2≤∥B∥2,1∥X∥F≤a∥X∥F=:c, by [F2] column by column. Hence XB/c lies in the convex hull of these signed atoms: if β<c, fill the remaining weight with 0, which is the midpoint of an atom and its negative. If β=0, the product is 0.

2.1F1step 1.2givenalgebraconstruct

For an integer k≥1, sample k atoms independently from the finite convex representation of XB/c constructed in step 1.2. If V1,…,Vk are these atoms and EV1=XB/c, expansion of the squared Frobenius norm and independence give E∥ck−1∑t=1kVt−XB∥F2=(c2/k)(E∥V1∥F2−∥EV1∥F2)≤c2/k. Therefore some ordered k-tuple gives a center within c/k, and all such centers number at most (2dm)k. Taking k=⌈c2/ϵ2⌉ yields an external ϵ-cover of the translated relaxed product set XM+{XB:∥B∥2,1≤a}.

3.1F1F2F3F5F7F8F9step 1.1step 2.1givenalgebraconstruct

The mixed-norm constraint set is convex: for A,A′∈C and 0≤t≤1, the column triangle inequality [F3] gives ∥t(A−M)+(1−t)(A′−M)∥2,1≤ta+(1−t)a=a. The operator-norm constraint is convex because for each unit vector v, ∥(tA+(1−t)A′)v∥2≤t∥Av∥2+(1−t)∥A′v∥2≤s, and taking the supremum over v preserves the bound. The mixed norm is continuous as a finite sum of continuous column norms. From [F7] and the Euclidean triangle inequality, ∣∥A∥σ−∥A′∥σ∣≤∥A−A′∥σ≤∥A−A′∥F, where the last inequality follows from the rowwise Cauchy estimate in step 1.1; hence the operator norm is continuous and C is closed. Also ∥A−M∥F≤∥A−M∥2,1≤a, so C is bounded. Identify the real matrix space with Rdm by its entries; its Euclidean norm is the Frobenius norm, so [F5] makes C compact. The map T(A)=XA is continuous because step 1.1 and [F2] give ∥T(A)−T(A′)∥F≤∥X∥F∥A−A′∥2,1≤m∥X∥F∥A−A′∥F. Hence [F8] makes U=T(C) compact; it is convex because C is convex and T is linear. For each of the finitely many external centers z from step 2.1, the function u↦∥z−u∥F is continuous on the nonempty compact metric space U, since the reverse triangle inequality bounds its change by ∥u−u′∥F. Thus [F9] gives a nearest point p∈U for each center; enumerate the finite center set and choose these minimizers successively. For any u∈U, convexity gives p+t(u−p)∈U for 0≤t≤1. Put ⟨P,Q⟩F:=∑i,jPijQij. Minimality implies 0≤∥z−p−t(u−p)∥F2−∥z−p∥F2=−2t⟨z−p,u−p⟩F+t2∥u−p∥F2 for 0<t≤1; division by t and passage to t↓0 give ⟨z−p,u−p⟩F≤0. Expanding ∥z−u∥F2 then gives ∥p−u∥F2≤∥z−u∥F2. Thus projection does not increase distance to any point of U, and the cover becomes proper without increasing its size.

4.1F4F6step 1.1step 3.1step 2.1algebra∎

Put q=a2∥X∥F2/ϵ2>1/4. Then k=⌈q⌉≤q+1≤5q, so step 2.1 and [F6] imply log⁡NF(U,ϵ)≤klog⁡(2dm)≤5qlog⁡(2dm). Together with step 1.1 this proves both cases of the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Uniform margin-risk deviation from empirical Rademacher complexity

Statement

Assume the axiom of choice.

Fix a finite network architecture with L≥1, widths d0,…,dL≥1, output size K=dL≥2, and activations as in the spectral-network-complexity definition. Let si>0, bi≥0, and reference matrices Mi be such that the class F:={FA:∥Ai∥σ≤si, ∥Ai⊤−Mi⊤∥2,1≤bi for every i} is nonempty. Let D be any Borel probability measure on Rd0×{1,…,K}, let S=((x1,y1),…,(xn,yn)) be an independent identically distributed sample from D with n≥1, and fix γ>0 and 0<δ<1. Define the ramp-loss class Lγ:={(x,y)↦ℓγ(−mF(x,y)):F∈F}. With probability at least 1−δ over S, every F∈F satisfies L0(F)≤L^γ,S(F)+2R^S(Lγ)+3log⁡(2/δ)2n, where R^S is the one-sided empirical Rademacher complexity with 1/n normalization.

Statement references

Multiclass margins, ramp loss, and empirical margin loss: defines multiclass margin, ramp risk, zero-one risk, and empirical margin loss.

Spectral network complexity with reference matrices: fixes the network family and the layer constraints used to form F.

One-sided Rademacher complexity: fixes the one-sided empirical Rademacher convention and normalization.

Facts & Assumptions

Given: The compactly constrained network class, Borel probability measure, iid sample, fixed margin level, confidence parameter, and ramp-loss class in the Statement.

[F1]

Scores are formed by finite matrix layers and zero-origin Lipschitz activations; the margin is the finite minimum mF(x,y)=min⁡j≠y(F(x)y−F(x)j), and the ramp loss takes values in [0,1]. Spectral network complexity with reference matrices Multiclass margins, ramp loss, and empirical margin loss

[F3]

For bounded pointwise-convergent measurable functions, dominated convergence passes the limit through the probability integral. Dominated convergence

[F4]

Independent random elements have the product joint law, and change of variables transfers integrable product-law functions to expectations; these facts justify the independent ghost sample, pairwise swaps, and expectation identities. Identical distribution and IID families The product sigma-algebra and its finite iterates Independent random elements have product joint law Change of variables for expectation

[F5]

The axiom of choice permits choosing one point from every nonempty member of a countable family of sets. The Axiom of Choice

[F6]

If changing one independent coordinate changes a bounded measurable statistic by at most 1/n, McDiarmid's inequality bounds each of its upper and lower tails by exp⁡(−2nt2); the lower-tail bound follows by applying the upper-tail bound to the negative statistic. McDiarmid bounded-differences inequality

[F7]

The empirical Rademacher complexity is the expectation over independent uniform signs of the supremum of the normalized signed sample averages. One-sided Rademacher complexity

[F9]

The rationals are dense in the reals: every nonempty open real interval contains a rational. Both Q and R∖Q are dense in R, and every nonempty open subset of R is uncountable

Proof

1.1F1F2givenalgebra

Let Θ be the set of all feasible tuples (A1,…,AL). The mixed-norm constraints are closed because each is a finite sum of continuous Euclidean column norms. For each layer, ∥Ai∥σ≤si is the intersection, over all unit vectors v, of the closed conditions ∥Aiv∥2≤si, by the induced-operator-norm definition. Each column Aiej then has norm at most si, so all matrix entries are bounded. Hence Θ is closed and bounded in finite-dimensional Euclidean space and is compact by [F2].

2.1F1F3step 1.1given

For fixed x, induction over the layers shows that the score vector depends continuously on the matrix tuple: matrix multiplication is jointly continuous and each Lipschitz activation is continuous. Finite maxima, coordinate differences, and the ramp preserve continuity, so for fixed (x,y) the loss A↦ℓγ(−mFA(x,y)) is continuous. If A(r)→A, these losses converge pointwise in (x,y) and are bounded by one, so [F3] shows that A↦Rγ(FA) is continuous. Each empirical loss and each finite signed sum of losses is also continuous in A.

3.1F1F5F9step 1.1step 2.1given

Identify the parameter tuples with Rp, where p:=∑i=1Ldidi−1. The balls B(q,r) with q∈Qp and r∈Q>0 form a countable family: each rational is a quotient of an integer by a positive integer, the integers have the enumeration 0,1,−1,2,−2,…, and finite tuples of natural numbers are enumerated by iterating the diagonal pairing π(a,b):=(a+b)(a+b+1)/2+b. They form a base because for any open O⊆Rp and x∈O, choose η>0 with B(x,η)⊆O, then use [F9] in each coordinate interval (xj−η/(4p),xj+η/(4p)) to choose q∈Qp with ∥q−x∥2<η/4. Use [F9] again to choose a rational r with ∥q−x∥2<r<η−∥q−x∥2 (a nonempty interval with positive upper endpoint); then x∈B(q,r)⊆B(x,η)⊆O. Intersecting these balls with Θ gives a countable base for its subspace topology. Using [F5], choose one point of Θ from each nonempty basic intersection; the selected countable subset is dense in Θ. By step 2.1, each supremum over Θ defining the uniform deviation or a signed empirical supremum equals the supremum over this countable dense subset. The losses are Borel in (x,y) because the scores are continuous in x, the margin is a finite minimum of continuous score-coordinate differences, and the label set is finite. These countable suprema are therefore measurable.

4.1F4F7step 3.1givenalgebra

Write Z(S):=sup⁡F∈F(Rγ(F)−R^γ,S(F)). Let S′ be an independent ghost sample from D. By the integral identities in [F4] and the inequality sup⁡FES′UF≤ES′sup⁡FUF, EZ(S)≤ES,S′sup⁡F∈F1n∑i=1n(ℓF(xi′,yi′)−ℓF(xi,yi)), where ℓF(x,y)=ℓγ(−mF(x,y)). Swapping each iid pair (zi,zi′) leaves its law unchanged; introducing independent uniform signs εi therefore leaves this expectation unchanged when each difference is multiplied by εi. The supremum of a sum is at most the sum of the suprema, and symmetry of the signs gives EZ(S)≤2ESR^S(Lγ).

5.1F6F7F8step 4.1givenalgebra

Replacing one sample coordinate changes Z(S) by at most 1/n, since every loss lies in [0,1]; it also changes R^S(Lγ) by at most 1/n, by [F7] and the same range bound. Apply the upper-tail bound [F6] to Z and to −R^S(Lγ), each with failure probability δ/2 and t=log⁡(2/δ)/(2n). Outside a set of probability at most δ, both Z(S)≤EZ(S)+t and ER^S(Lγ)≤R^S(Lγ)+t. Combining with step 4.1 gives Z(S)≤EZ(S)+t≤2ER^S(Lγ)+t≤2R^S(Lγ)+3t.

6.1F1step 5.1givenalgebra∎

If the predicted label differs from y, some competing score is at least the true-label score, so mF(x,y)≤0 and ℓγ(−mF(x,y))=1. Hence the zero-one loss is pointwise at most the ramp loss. Also ℓγ(−m)≤1{m≤γ} for every real m, so empirical ramp risk is at most empirical margin loss. Apply the definition of Z(S) and step 5.1 to conclude the stated bound for every F∈F simultaneously.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Spectral and reference-matrix covering entropy for network outputs

Statement

Fix an architecture and activations as in the spectral-network-complexity definition, with widths d0,…,dL and W:=max⁡0≤i≤Ldi. Let n≥1 and let X∈Rn×d0 be any sample matrix. Let Mi∈Rdi×di−1, and fix si>0 and bi≥0. Suppose each feasible layer set Ci:={Ai:∥Ai∥σ≤si, ∥Ai⊤−Mi⊤∥2,1≤bi} is nonempty. Let HX be the set of n×dL score matrices whose rth row is FA(xr)⊤, for Ai∈Ci and the rth row xr⊤ of X. Then for every ϵ>0, log⁡NF(HX,ϵ)≤5 ∥X∥F2ϵ2log⁡(2W2)(∏i=1L(ρisi)2)(∑i=1L(bi/si)2/3)3. The logarithm is natural, an empty product equals 1, and NF uses proper centers in the covered score-matrix set.

Statement references

Spectral network complexity with reference matrices: fixes the network recurrence, zero-origin Lipschitz activations, spectral norm, and mixed column-sum norm.

Proper Frobenius covering numbers: defines proper covers and their Frobenius radius.

A proper matrix-product cover from the mixed (2,1) norm: supplies the proper product cover for a fixed input matrix and one constrained layer.

Facts & Assumptions

Given: The architecture, activations, matrices, positive spectral bounds, nonnegative reference-distance bounds, nonempty layer sets, and sample matrix in the Statement.

[F1]

Each activation fixes zero and is ρi-Lipschitz in Euclidean norm; each layer matrix has induced Euclidean norm at most si, and its transpose-difference from the reference has column-sum norm at most bi. Spectral network complexity with reference matrices

[F2]

For a fixed input matrix Z, the one-layer image under a nonempty feasible matrix set has a proper Frobenius cover satisfying the stated matrix-product entropy estimate. A proper matrix-product cover from the mixed (2,1) norm

[F3]

The Frobenius norm is the Euclidean norm of all matrix entries, so rowwise application of a ρi-Lipschitz map changes Frobenius distances by at most the factor ρi. The Frobenius norm ∥A∥F=(∑i,j∣aij∣2)1/2 on real or complex matrices Spectral network complexity with reference matrices

[F4]

A proper cover has centers in the covered set, and its covering number is the least size of such a finite cover. Proper Frobenius covering numbers

[F6]

If A=∑j=1rσjujvj⊤ is a singular-value decomposition with r>0, then A⊤=∑j=1rσjvjuj⊤ has the same positive singular values; the largest-singular-value theorem therefore gives equal operator norms. If r=0, both matrices are zero and their operator norms are zero by the same theorem. Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition The operator norm is 0 on the zero domain and otherwise equals the largest singular value, attained at a right-singular vector

Proof

1.1F1F3F6giveninductionalgebra

Write Zi(A) for the matrix of rowwise layer-i activations, with Z0(A)=X. Induction gives ∥Zi−1(A)∥F≤∥X∥F∏j<iρjsj: rowwise zero-origin Lipschitzness gives ∥Zi∥F≤ρi∥Zi−1Ai⊤∥F, and [F6] identifies ∥Ai⊤∥σ=∥Ai∥σ≤si, so the induced norm gives ∥Zi−1Ai⊤∥F≤si∥Zi−1∥F, row by row.

1.2F1givenalgebra

If every bi=0, each feasible layer set is the singleton {Mi}, so HX is a singleton and the right side is zero. Otherwise set ri=bi/si, T:=∑i:ri>0ri2/3, and αi:=ri2/3/T for positive ri, with αi=0 when ri=0. These weights are nonnegative and sum to one over the varying layers.

2.1F1F2F4F6step 1.1step 1.2givenconstruct

Build finite proper covers of the attainable layer outputs successively. At layer i, suppose the previous attainable activation matrices have a proper η-cover with centers V that are themselves attainable prefix outputs. For each such V, [F6] gives ∥Ai⊤∥σ=∥Ai∥σ, so apply [F2] to {VAi⊤:Ai∈Ci} with input V, reference Mi⊤, radius ei/ρi, and ei:=αiϵ/∏j>iρjsj when bi>0. Map each product-cover center through the rowwise activation σi. Every resulting center is attainable by joining the prefix that realizes V to its feasible layer matrix. For any actual prefix Z within η of V and any Ai∈Ci, the activation output differs from σi(VAi⊤) by at most ρisiη; the layer cover adds at most ei. Thus the next-stage cover radius is at most ρisiη+ei. When bi=0, use the single matrix Mi and set ei=0.

3.1F2F4F5step 1.1step 2.1givenalgebra

Starting with the exact cover {X}, the recurrence in step 2.1 gives final radius at most ∑iei∏j>iρjsj=ϵ∑i:ri>0αi=ϵ. The cover is proper by construction. At each varying layer, [F2] and the bound from step 1.1 show that its cover-number logarithm is at most 5∥X∥F2∏j<i(ρjsj)2bi2(ei/ρi)2log⁡(2di−1di). For each prior cover center V, the next cover has at most this uniform cardinality bound, so taking the union over the prior centers multiplies cardinalities by at most that factor. Since di−1,di≤W, the logarithm of the final product cover is at most the sum of the displayed layer bounds.

4.1F5step 1.2step 3.1givenalgebra∎

Substitute ei=αiϵ/∏j>iρjsj into step 3.1. Each varying-layer term becomes 5∥X∥F2ϵ2log⁡(2W2)(∏j=1L(ρjsj)2)ri2αi2. By the choice in step 1.2, ∑i:ri>0ri2/αi2=T3=(∑i(bi/si)2/3)3. The all-zero case was handled in step 1.2, so the displayed bound follows in every case.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Margin generalization for a bounded spectral-complexity class

Statement

Assume the axiom of choice.

Fix a finite network architecture with L≥1, widths d0,…,dL≥1, output size K=dL≥2, activations, and reference matrices as in the spectral-network-complexity definition. Let si>0, bi≥0, and let F be the nonempty class with layer constraints ∥Ai∥σ≤si and ∥Ai⊤−Mi⊤∥2,1≤bi. Let S=((x1,y1),…,(xn,yn)) be an iid sample from any Borel probability measure on Rd0×{1,…,K}, let X be its input matrix with rows xi⊤, and fix n≥1, γ>0, and 0<δ<1. Set W:=max⁡0≤i≤Ldi. With probability at least 1−δ, every FA∈F satisfies L0(FA)≤L^γ,S(FA)+8n+3620 ∥X∥Flog⁡(2W2)log⁡nγn(∏i=1Lρisi)(∑i=1L(bi/si)2/3)3/2+3log⁡(2/δ)2n. All logarithms are natural. The matrix norm on X is the Frobenius norm, and the empirical margin loss uses the threshold convention mFA(xi,yi)≤γ.

Statement references

Multiclass margins, ramp loss, and empirical margin loss: defines population error, ramp loss, and empirical margin loss.

Spectral network complexity with reference matrices: fixes the architecture and mixed-norm/spectral-norm conventions.

Spectral and reference-matrix covering entropy for network outputs: bounds the proper Frobenius entropy of the sample score matrices.

A truncated covering integral bounds empirical Rademacher complexity: bounds empirical Rademacher complexity by a truncated covering integral.

Uniform margin-risk deviation from empirical Rademacher complexity: converts empirical loss-class complexity to a uniform margin-risk bound.

Facts & Assumptions

Given: The nonempty bounded layer class, iid sample, sample matrix, fixed positive margin, and confidence level in the Statement.

[F1]

For fixed sample inputs, the score matrices form the class covered in the output-entropy lemma, whose logarithmic covering bound has coefficient 5∥X∥F2log⁡(2W2)∏i(ρisi)2(∑i(bi/si)2/3)3. Spectral and reference-matrix covering entropy for network outputs

[F2]

At a fixed example the margin is the true-label score minus the maximum competing score, and the ramp is the stated piecewise-linear function with breakpoints −γ and 0. Multiclass margins, ramp loss, and empirical margin loss

[F3]

For any nonempty [0,1]-valued loss class on the fixed sample and 0<α≤n, its one-sided empirical Rademacher complexity is bounded by the truncated proper-covering integral. A truncated covering integral bounds empirical Rademacher complexity

[F4]

Under the axiom of choice, with probability at least 1−δ, the zero-one risk is bounded by the empirical margin loss, twice the loss-class empirical Rademacher complexity, and the stated confidence term. Uniform margin-risk deviation from empirical Rademacher complexity The Axiom of Choice

Proof

1.1F2F5givenalgebraconstruct

Fix a realized sample and let UX be its set of score matrices. For score matrices P,Q and example (xi,yi), the true-label coordinate changes by at most ∥Pi⋅−Qi⋅∥2, and the maximum competing coordinate changes by at most the same amount, so [F2] gives margin change at most twice this row norm. On each linear piece of the ramp the absolute slope is either 0 or 1/γ; the pieces meet continuously at −γ and 0, so summing the changes over the at most three pieces between any two inputs proves ∣ℓγ(a)−ℓγ(b)∣≤∣a−b∣/γ. Thus the corresponding loss-vector distance is at most (2/γ)∥P−Q∥F. Mapping the centers of a proper γϵ/2-cover of UX to their loss vectors therefore gives a proper ϵ-cover of the empirical loss-vector class.

2.1F1step 1.1givenalgebra

Apply [F1] at radius γϵ/2 and use step 1.1. For every ϵ>0, log⁡NF(Lγ∣S,ϵ)≤20∥X∥F2log⁡(2W2)γ2ϵ2(∏i(ρisi)2)(∑i(bi/si)2/3)3=:Kγϵ2. Here Lγ∣S is the set of vectors of ramp-loss values on the fixed sample.

3.1F3F6step 2.1givenalgebra

Use the truncated-integral bound [F3] with α=1/n, which satisfies 0<1/n≤n. From step 2.1, log⁡NF(Lγ∣S,ϵ)≤Kγ/ϵ. Since ∫1/nndϵ/ϵ=log⁡(nn)=32log⁡n, it follows that R^S(Lγ)≤4nn+18Kγlog⁡nn. When n=1 the integral is zero and the same expression holds.

4.1F4F5step 3.1givenalgebra∎

Apply [F4] and substitute step 3.1. The term twice 4/(nn) is at most 8/n because n≥1. Also Kγ=20 ∥X∥Flog⁡(2W2) γ−1(∏iρisi)(∑i(bi/si)2/3)3/2. This yields exactly the stated inequality.

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

A simultaneous spectral margin bound for multiclass networks

Statement

Assume the axiom of choice. Fix a network architecture with L≥1, widths d0,…,dL≥1, K=dL≥2, zero-bias recurrence and zero-origin ρi-Lipschitz activations as in the spectral-network-complexity definition. Fix reference matrices Mi∈Rdi×di−1. Let S=((x1,y1),…,(xn,yn)) be an iid sample of size n≥1 from any Borel probability measure on Rd0×{1,…,K}, and let X be the matrix with rows xr⊤. Fix 0<δ<1 and set W:=max⁡0≤i≤Ldi. With probability at least 1−δ, simultaneously for every network with nonzero layer matrices and every margin γ>0, L0(FA)≤L^γ,S(FA)+8n+7220 (1+∥X∥F)log⁡(2W2)log⁡nγn(∏i=1Lρi)(∑i=1L[(1L+∥Ai⊤−Mi⊤∥2,1)∏r≠i(1L+∥Ar∥σ)]2/3)3/2+3Q(A,X,γ,n,δ)2n, where all logarithms are natural, an empty product equals 1, and Q(A,X,γ,n,δ):=log⁡(6/δ)+log⁡(2+nγ)+log⁡(2+n/γ)+2log⁡(2+∥X∥F)+2∑i=1Llog⁡ ⁣(2+L∥Ai⊤−Mi⊤∥2,1)+2∑i=1Llog⁡ ⁣(2+L∥Ai∥σ).

Statement references

Spectral network complexity with reference matrices: fixes the network recurrence, reference matrices, zero-origin activations, and layer norm conventions.

Multiclass margins, ramp loss, and empirical margin loss: defines population zero-one error and empirical margin loss.

Margin generalization for a bounded spectral-complexity class: supplies the fixed-margin bound for a class with fixed positive norm caps and reference-distance caps.

Identical distribution and IID families: defines the iid sampling assumption.

Facts & Assumptions

Given: The network architecture, fixed reference matrices, iid sample, confidence parameter, and axiom-of-choice assumption in the Statement.

[F1]

For fixed positive caps si and nonnegative caps bi, every nonempty constrained network class has the fixed-margin bound with leading factor 3620 and confidence term 3log⁡(2/η)/(2n). Margin generalization for a bounded spectral-complexity class

[F2]

The architecture uses zero-origin Lipschitz activations, and the sample matrix Frobenius norm is the Euclidean norm of all its entries. Spectral network complexity with reference matrices The Frobenius norm ∥A∥F=(∑i,j∣aij∣2)1/2 on real or complex matrices

[F3]

The empirical margin loss is nondecreasing as a function of its positive threshold: if 0<γ1≤γ2, then L^γ1,S(F)≤L^γ2,S(F). Multiclass margins, ramp loss, and empirical margin loss

[F4]

The product of finitely many at most countable sets is at most countable, and probability is countably subadditive. A product of two at most countable sets is at most countable Basic identities for a probability measure

[F6]

The sample coordinates are independent and have the same distribution, as required by the fixed-margin result. Identical distribution and IID families

[F7]

The fixed-margin result assumes the axiom of choice through its McDiarmid supplier. The Axiom of Choice

Proof

1.1givenalgebra

For each integer j∈Z, put γj:=2j/n and vj:=2−∣j∣/3. Then ∑j∈Zvj=(1+2∑m≥12−m)/3=1, since ∑m=1N2−m=1−2−N→1. Every γ>0 belongs to exactly one interval [γj,2γj). For each positive integer m, put wm:=1/(m(m+1))=1/m−1/(m+1); the finite partial sum is ∑m=1Nwm=1−1/(N+1), so ∑m≥1wm=1.

2.1F1F4F6F7step 1.1givenconstruct

The integers are countable by the enumeration 0,1,−1,2,−2,…; the other factors are positive integers, so repeated use of [F4] shows that the tuples indexed by j∈Z, a positive integer q, and positive integers ki,li for 1≤i≤L form a countable set. For such a tuple set ηj,q,k,l:=δvjwq∏iwkiwli. Let JN={−N,…,N} and MN={1,…,N}. Finite distributivity gives the sum over JN×MN1+2L as δ(∑j∈JNvj)(∑q∈MNwq)∏i(∑ki∈MNwki)(∑li∈MNwli), which tends to δ by step 1.1. These finite boxes increase to the countable index set and contain every finite subset for large enough N; since all terms are nonnegative, their partial sums establish ∑j,q,k,lηj,q,k,l=δ. For each tuple consider the layer class with caps si=li/L and bi=ki/L; if it is empty its event is vacuous. Otherwise [F1] gives a fixed-margin result at γj and confidence ηj,q,k,l, with its displayed sample-norm term evaluated at the realized X.

3.1F4step 2.1given

Apply countable subadditivity [F4] to the failure events from step 2.1. Their union has probability at most ∑j,q,k,lηj,q,k,l=δ. Thus outside that union, all fixed-margin inequalities for every tuple hold simultaneously.

4.1F2F3step 1.1step 3.1givenconstruct

Fix any realized sample, any network with nonzero layer matrices, and any γ>0. Choose its unique j from step 1.1 with γj≤γ<2γj, and set q=⌊∥X∥F⌋+1,ki=⌊L∥Ai⊤−Mi⊤∥2,1⌋+1,li=⌊L∥Ai∥σ⌋+1. These positive integers satisfy ∥X∥F<q, ∥Ai⊤−Mi⊤∥2,1<ki/L, and 0<∥Ai∥σ<li/L. The network belongs to the corresponding constrained class. Also L^γj,S(FA)≤L^γ,S(FA) by [F3], and 1/(γjn)<2/(γn).

5.1F1F2step 4.1givenalgebra

In the leading term of [F1], the cap expression satisfies (∏isi)(∑i(bi/si)2/3)3/2=(∑i(bi∏r≠isr)2/3)3/2. For the tuple selected in step 4.1, q≤1+∥X∥F, ki/L≤∥Ai⊤−Mi⊤∥2,1+1/L, and li/L≤∥Ai∥σ+1/L. Monotonicity of the sums and products therefore bounds [F1]'s leading term by the leading term in the Statement, using 1/(γjn)<2/(γn).

5.2F5step 1.1step 4.1givenalgebra

The confidence logarithm for this tuple equals log⁡(2/ηj,q,k,l)=log⁡(6/δ)+∣j∣log⁡2+log⁡(q(q+1))+∑i(log⁡(ki(ki+1))+log⁡(li(li+1))). Put t=nγ. If j≥0, then 2j≤t and ∣j∣log⁡2≤log⁡(2+t). If j<0, then t<2j+1≤1, so log⁡(2+t)≥log⁡2 and log⁡(2+1/t)≥log⁡(1/t); their sum is at least log⁡(2/t)>∣j∣log⁡2. For each positive integer bin chosen as m=⌊u⌋+1, one has m≤u+1 and m+1≤u+2, hence log⁡(m(m+1))≤2log⁡(u+2). Apply this with u=∥X∥F and u=L∥Ai⊤−Mi⊤∥2,1 or L∥Ai∥σ. By [F5], the result is log⁡(2/ηj,q,k,l)≤Q(A,X,γ,n,δ).

6.1F1step 3.1step 4.1step 5.1step 5.2given∎

On the probability-1−δ event from step 3.1, apply the selected fixed-margin inequality. Steps 4.1–5.2 replace its empirical margin loss, leading term, and confidence term by the respective terms displayed in the Statement. The choices in step 4.1 were arbitrary, so this holds simultaneously for every network with nonzero layer matrices and every γ>0.

4 · Examples, counterexamples and false statements

None yet.

Sources