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.

Rademacher complexity and uniform generalization — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A two-function loss class has explicit Rademacher complexity

Example

Let Z={a,b} with the discrete sigma-algebra, let P({a})=p and P({b})=1−p for p∈[0,1], and let G={g0,g1} where g0 is identically zero and g1(z)=1 for z=a and g1(z)=0 for z=b. For a one-observation sample (m=1), R^S(G)=1/2 when Z1=a and 0 when Z1=b, so R1(G)=p/2.

Example references

One-sided Rademacher complexity: defines the empirical sign supremum and its expectation over the sample.

Facts & Assumptions

Given: The two-point probability law, the finite class G, and sample size m=1.

[F1]

R^S(G)=Eσsup⁡g∈Gm−1∑iσig(Zi) and Rm(G)=ESR^S(G). One-sided Rademacher complexity

Verification

Given: The objects and hypotheses in the Example.

1.1F1givenalgebra

If Z1=a, then for sign σ1=1 the supremum of σ1g(Z1) over G is 1, and for σ1=−1 it is 0. Thus R^S(G)=12(1+0)=12. If Z1=b, both functions vanish at the observation, so R^S(G)=0.

2.1F1step 1.1algebra∎

The two sample outcomes have probabilities p and 1−p. Averaging the values from step 1.1 gives R1(G)=p(12)+(1−p)0=p/2.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

Bounded linear predictors have a radius-dependent bound

Example

Let ⟨u,v⟩:=∑j=1dujvj and ∥u∥2:=∑j=1duj2 on Rd. Put XR:={x∈Rd:∥x∥2≤R} with its Borel sigma-algebra, let m,d≥1, and let a fixed sample x1,…,xm∈XR. Let B,R≥0 satisfy BR≤1. For the loss class

G:={gw:XR→[0,1],gw(x)=1+⟨w,x⟩2,∥w∥2≤B},

every gw takes values in [0,1] on the sample domain {x:∥x∥2≤R}, and

R^S(G)≤BR2m.

Example references

One-sided Rademacher complexity: fixes the empirical one-sided sign-average convention.

Cauchy–Schwarz: ∣⟨u,v⟩∣≤∥u∥∥v∥, with equality exactly for linearly dependent vectors: gives the Euclidean inner-product bound used to maximize over the ball.

Cauchy-Schwarz for finite random variables: E[XY]2≤E[X2]E[Y2]: bounds the sign-average norm by its second moment.

Facts & Assumptions

Given: The fixed sample, radii B,R≥0 with BR≤1, and independent uniform signs.

[F1]

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

[F2]

For finite random variables, (E[XY])2≤E[X2]E[Y2]. Cauchy-Schwarz for finite random variables: E[XY]2≤E[X2]E[Y2]

[F3]

The empirical complexity is Eσsup⁡g∈Gm−1∑iσig(xi). One-sided Rademacher complexity

Verification

Given: The objects and hypotheses in the Example.

1.1F1given

For every w in the radius-B ball and every sample point, [F1] gives ∣⟨w,xi⟩∣≤BR≤1. Thus gw(xi)∈[0,1], as required for the stated loss class.

1.2F1F3givenconstructalgebra

Put Vσ:=∑iσixi. By [F3], R^S(G)=12mEσ[∑iσi+sup⁡∥w∥2≤B⟨w,Vσ⟩]. The sign sum has expectation zero. By [F1], ⟨w,Vσ⟩≤B∥Vσ∥2; equality is attained at w=BVσ/∥Vσ∥2 when Vσ≠0, while both sides are zero when Vσ=0. Therefore R^S(G)=B2mEσ∥Vσ∥2.

2.1F2step 1.2givenalgebra∎

Apply [F2] with X=∥Vσ∥2 and Y=1 to get (Eσ∥Vσ∥2)2≤Eσ∥Vσ∥22. Expanding the square and using Eσ[σiσj]=0 for i≠j and 1 for i=j gives Eσ∥Vσ∥22=∑i∥xi∥22≤mR2. Substitution in step 1.2 proves R^S(G)≤BR/(2m).

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Clipping can make the linear radius bound loose

Example

Let m≥1, let the fixed sample be x1=⋯=xm=1 in R with its Borel sigma-algebra, and let B≥1. Define clip⁡(u):=max⁡{−1,min⁡{1,u}} and

GB:={gw:R→[0,1],gw(x)=1+clip⁡(wx)2,∣w∣≤B}.

For this sample, R^S(GB)=m−1Eσ[(∑iσi)+], where u+:=max⁡{u,0}, so R^S(GB)≤1/(2m) independently of B. The contraction inequality and the direct radius estimate for the unclipped linear class also give R^S(GB)≤B/(2m); this latter bound grows with B although the actual complexity on this fixed sample does not.

Example references

One-sided Rademacher complexity: fixes the empirical one-sided sign-average convention.

One-sided coordinate Rademacher contraction: gives the factor-one contraction bound used for the second, looser estimate.

Cauchy-Schwarz for finite random variables: E[XY]2≤E[X2]E[Y2]: bounds the sign-average absolute sum by its second moment.

Facts & Assumptions

Given: m≥1, the all-ones sample, radius B≥1, and independent uniform signs.

[F1]

The one-sided empirical complexity is the sign average of the supremum divided by m. One-sided Rademacher complexity

[F2]

For a fixed sample and an admissible nonempty real-valued class H, the general one-sided convention is R^S(H):=m−1Eσsup⁡h∈H∑iσih(zi). Under the theorem's class and finite-supremum hypotheses, a common 1-Lipschitz coordinate map contracts this complexity by factor 1, without a zero-at-zero assumption. One-sided coordinate Rademacher contraction

[F3]

For finite random variables, (E[XY])2≤E[X2]E[Y2]. Cauchy-Schwarz for finite random variables: E[XY]2≤E[X2]E[Y2]

Verification

Given: The objects and hypotheses in the Example.

1.1F1givenconstruct

Since B≥1 and every sample input is 1, the clipped values clip⁡(w) range over all of [−1,1], so the class values on the sample range over a∈[0,1]. For T:=∑iσi, the signwise supremum is sup⁡a∈[0,1]aT=T+. Hence R^S(GB)=m−1EσT+.

2.1F3step 1.1givenalgebra

The distribution of T is symmetric, so ET+=12E∣T∣. Apply [F3] to X=∣T∣ and Y=1; independence and symmetry of the signs give ET2=m. Thus ET+≤m/2 and step 1.1 gives R^S(GB)≤1/(2m).

3.1F2F3step 2.1givenalgebra∎

Put HB:={hw:x↦wx:∣w∣≤B} and H0:={h−B,hB}⊆HB. For every sign vector, with T=∑iσi, the raw supremum is sup⁡∣w∣≤BwT=B∣T∣, attained at an endpoint. The clipped supremum is sup⁡∣w∣≤Bclip⁡(w)T=∣T∣, also attained at an endpoint because B≥1. Thus H0 gives both suprema required by [F2]. The map clip⁡ is 1-Lipschitz: for u≤v, its increase is 0 if both are below −1 or both above 1, is v−u if both lie in [−1,1], is v+1≤v−u if u≤−1≤v≤1, is 1−u≤v−u if −1≤u≤1≤v, and is 2≤v−u if u≤−1 and v≥1. Thus [F2] applies. The constant offset 1/2 has zero expected sign sum, and scaling by 1/2 gives R^S(GB)=12R^S(clip⁡∘HB). By the general formula in [F2], R^S(HB)=m−1Eσsup⁡∣w∣≤BwT=BE∣T∣/m≤B/m, where [F3] is applied to X=∣T∣ and Y=1 and ET2=m. Therefore the contraction route gives R^S(GB)≤B/(2m), which can grow arbitrarily relative to the bound in step 2.1 as B increases.