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.

✓ 1 result · all verified · 0 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Stochastic gradient descent and random-iterate guarantees — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

Constant-step SGD can have a nonzero noise floor

Example

Fix 0<α≤1/4, b∈R, σ≥0, and x0∈R. For every integer horizon N≥1, take the finite probability space {−1,1}N with each sign vector assigned mass 2−N, let ξ0,…,ξN−1 be its coordinate signs, set f(x)=x2/2, and run xt+1=xt−α(xt+b+σξt). Write q=1−α. For every 0≤t≤N, the horizon-consistent moment is E[xt2]=(qtx0−b(1−qt))2+ασ22−α(1−q2t), so these moments converge as t→∞ to b2+ασ2/(2−α). In the unbiased case b=0 with σ>0, the fixed-step expected squared gradient therefore has a positive noise floor.

Under AC, two published finite-horizon bounds also apply. For b=0, if RN is chosen independently and uniformly from {0,…,N−1} on a finite extension, then E∣xRN∣2≤x02/(αN)+ασ2. For general b, the uniform average satisfies N−1∑t=0N−1E[xt2]≤x02/(αN)+(5/2)b2+ασ2.

Example references

Stochastic-gradient-descent procedure: fixes the unconstrained update applied in this example.

Independent finite random-index extension: constructs the independent uniform output index.

Published uniform-random-iterate theorem: supplies the unbiased constant-step bound under its exact hypotheses.

Published biased-noise-floor theorem: supplies the bounded-bias average bound under its exact hypotheses.

Facts & Assumptions

Given: The finite product sample space and recurrence in the Example; AC is used only for the two conditional-expectation theorem comparisons at the end of the verification.

[A1]

The Axiom of Choice: AC supplies the conditional-expectation classes required by the published theorem comparisons.

[F1]

Stochastic gradient descent: for s=1,…,N, the update is ys+1=ys−αHs, starting at y1.

[F2]

Probability measures and probability spaces and Measures on sigma-algebras: a probability measure has total mass one and is countably additive.

[F3]

Random elements and real random variables: each coordinate sign is a measurable real random variable.

[F4]

Filtration and filtered probability space and Adapted and integrable stochastic process: Ft records the first t signs and xt is measurable with respect to it.

[F5]

Conditional expectation as an ae class: conditional expectations are almost-sure classes under AC.

[F6]

Conditional variance and Conditional variance is well-defined and has the second-moment formula: conditional variance is the conditional second moment of the centered direction.

[F8]

An independent finite random index has the weighted expectation formula: a finite uniform index can be added independently and its output expectation is the arithmetic mean of the iterate expectations.

[F9]

Nonconvex SGD stationarity bound for a uniform randomized iterate: assume AC, f:Rd→R continuously differentiable with L-Lipschitz gradient for L>0, a real global lower bound finf⁡, deterministic x0, and the filtration-adapted update with square-integrable directions, conditional mean ∇f(xt) and conditional variance at most σ2. For constant 0<α≤1/L, N≥1, and Δ=f(x0)−finf⁡, the independent uniform output from {0,…,N−1} obeys E∥∇f(xR)∥22≤2Δ/(αN)+Lασ2.

[F10]

Biased SGD has an explicit weighted stationarity floor: assume AC, f:Rd→R with L-Lipschitz gradient for L>0, a real global lower bound finf⁡, square-integrable x0, and the filtration-adapted update with square-integrable directions, conditional mean ∇f(xt)+bt, measurable conditional bias bt of norm at most a deterministic β≥0, and conditional variance at most a deterministic σ2≥0. For constant 0<α≤1/(4L), N≥1, and finite Δ=Ef(x0)−finf⁡, the uniform average of E∥∇f(xt)∥22 over 0≤t<N is at most 2Δ/(αN)+(5/2)β2+Lασ2.

[F11]

Expectation of a nonnegative or integrable random variable: expectation on a finite probability space is the finite weighted sum.

Verification

1.1F1F2F3F4F11givenconstructalgebra

For a fixed horizon N, let Ft be generated by ξ0,…,ξt−1, with F0 trivial and Ft=FN for t>N. Apply [F1] with ys=xs−1, Hs=Gs−1, and Hs=Fs−1 for s≥1, setting H0=F0; this gives exactly the zero-based recurrence in the Example. For 0≤t<N and each prefix atom A, define CtH on A as the average of H over its 2N−t extensions. This is an explicit Ft-measurable function, and finite summation gives ∫BCtH dP=∫BH dP for every B∈Ft, since B is a union of prefix atoms. Half the extensions of each prefix have each next sign, so Ctξt=0 and Ct(ξt2)=1. The recurrence makes xt constant on each prefix, hence CtGt=xt+b and Ct[(Gt−(xt+b))2]=σ2 for Gt=xt+b+σξt. All variables have finite moments on the finite space; these averages and identities require no AC.

1.2F1giveninductionalgebra

Put mt=E[xt]. The update is xt+1=qxt−αb−ασξt, hence mt+1=qmt−αb with m0=x0. Induction gives mt=qtx0−b(1−qt) for every t≤N.

2.1F2F4F11step 1.1step 1.2givenalgebra

Let Vt=E[(xt−mt)2]. Averaging first over each prefix atom as in step 1.1 gives E[(xt−mt)ξt]=0 and E[ξt2]=1, so the cross term vanishes and Vt+1=q2Vt+α2σ2, with V0=0. Thus Vt=α2σ2∑j=0t−1q2j=ασ22−α(1−q2t), since 1−q2=α(2−α). Adding mt2 proves the displayed moment formula, and it is independent of the chosen horizon whenever N≥t.

2.2A1F5F6F8F9step 1.1givenalgebra

Now assume AC for the published bounds. The event-integral identities in step 1.1 identify its finite averages with the conditional-expectation classes [F5] and their conditional variances [F6]. Here f′(x)=x and ∣f′(u)−f′(v)∣=∣u−v∣, so the gradient is 1-Lipschitz. The deterministic start and all directions are square-integrable by step 1.1, and f(x)≥0. In the unbiased case, L=1, finf⁡=0, Δ=x02/2, and step 1.1 verifies conditional unbiasedness and variance σ2; α≤1/4≤1/L. Use [F8] with pk=1/N and apply [F9] to obtain E∣xRN∣2≤x02/(αN)+ασ2.

3.1F7step 2.1givenalgebra

Here q=1−α∈[3/4,1), so [F7] gives qt→0. The formula in step 2.1 therefore yields E[xt2]→b2+ασ2/(2−α); if b=0<σ, this limit is strictly positive. This proves the exact constant-step noise-floor claim without using AC.

4.1A1F5F6F10step 1.1step 2.2step 3.1givenalgebra∎

For general b, step 1.1 verifies conditional mean f′(xt)+b, bias bound β=∣b∣, variance bound σ2, and f(x)≥0. The step restriction is α≤1/(4L) because L=1. Apply [F10] with Δ=x02/2 to obtain N−1∑t=0N−1E[xt2]≤x02/(αN)+(5/2)b2+ασ2. The exact limiting floor from step 3.1 is at most b2+ασ2, since 2−α≥1, and is therefore consistent with this bound.

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

Uniform empirical-risk sampling gives an unbiased bounded-variance gradient

Example

Assume AC for the conditional-expectation stationarity bound below. Take instance space ({∗},2{∗}), action and label spaces (R,B(R)), the population law Ppop=δ(∗,0), the nonempty predictor class F={hθ:θ∈R} with hθ(∗)=θ, and squared loss ℓ(a,y)=12(a−y)2. Fix an ordered sample S=((∗,y1),…,(∗,ym)) of integer length m≥1 with yi∈R, and let yˉ=m−1∑iyi and vS=m−1∑i(yi−yˉ)2. Fix a deterministic initial parameter θ1∈R, a constant stepsize 0<α≤1, an integer batch size b≥1, and an integer horizon T≥1. On the finite uniform probability space (Ω,2Ω,Q), where Ω={1,…,m}bT and each point has Q-mass m−bT, write It,j for the coordinate indices, independently uniform with replacement, for 1≤t≤T and 1≤j≤b. Set Ft=σ(Is,j:1≤s<t, 1≤j≤b) for 1≤t≤T+1, set F0=F1={∅,Ω}, and set Ft=FT+1 for t>T+1. At each iteration t=1,…,T, average the component gradients to form Gt=b−1∑j=1b(θt−yIt,j) and set θt+1=θt−αGt. For the fixed-sample empirical risk R^S(hθ), this direction has conditional mean EQ[Gt∣Ft]=θt−yˉ=ddθR^S(hθt) and conditional variance Var⁡Q(Gt∣Ft)=vS/b. The objective has 1-Lipschitz gradient and global infimum vS/2, so the expected-average theorem yields 1T∑t=1TEQ∣ddθR^S(hθt)∣2≤αvSb+(θ1−yˉ)2Tα. The sampling law here is over the fixed empirical sample; no population-risk gradient identity is asserted.

Example references

Supervised prediction-problem definition: fixes the measurable prediction and loss setting.

Population and empirical-risk definition: defines the fixed-sample empirical objective.

Minibatch SGD procedure: specifies the averaged direction and update.

Expected-average stationarity theorem: supplies the conditional-moment guarantee applied here.

Facts & Assumptions

Given: The supervised setup, fixed sample, finite product index law, batch procedure, and AC assumption in the Example.

[A1]

The Axiom of Choice: AC supplies conditional-expectation classes for the final theorem application.

[F1]

Supervised prediction problems: predictors are measurable maps and the loss is measurable on the action-label product.

[F2]

Population and empirical risk: the empirical risk is the finite average of the sample losses.

[F4]

Minibatch stochastic gradient descent: the update uses the average of the batch vectors at the current iterate.

[F5]

Probability measures and probability spaces and Measures on sigma-algebras: the finite uniform space is a probability space with countably additive probability.

[F6]

Filtration and filtered probability space and Adapted and integrable stochastic process: the filtration records prior index batches and the current iterate is measurable with respect to that history.

[F7]

Random elements and real random variables: each finite index and scalar component gradient is a measurable random variable.

[F8]

Conditional expectation as an ae class: conditional expectations are almost-sure classes.

[F9]

Conditional variance and Conditional variance is well-defined and has the second-moment formula: conditional variance is the conditional second moment of the centered scalar direction.

[F10]

Expected-average stationarity under aligned stochastic directions: for an unbiased oracle with μ=μG=1, constant step α≤1/L, variance bound M, and lower bound Finf⁡, the average gradient-square bound is αLM+2(f(θ1)−Finf⁡)/(Tα).

[F11]

Expectation of a nonnegative or integrable random variable: finite-space expectations are finite weighted sums.

Verification

1.1F1F2F3givenalgebra

Each hθ is measurable on the singleton instance space, and the squared loss is continuous, hence measurable; with the stated nonempty predictor class and probability law, these data satisfy the supervised-problem interface [F1]. By the empirical-risk definition [F2], FS(θ)=R^S(hθ)=12m∑i=1m(θ−yi)2. For h≠0, [FS(θ+h)−FS(θ)]/h=m−1∑i(θ−yi)+h/2=θ−yˉ+h/2, whose limit as h→0 is θ−yˉ by [F3]. Expanding around yˉ also gives FS(θ)=12(θ−yˉ)2+vS/2, so FS′(θ)=θ−yˉ, its gradient is 1-Lipschitz, and its global infimum is vS/2.

1.2F4F5F6F7F8F9F11givenalgebra

Conditional on any past index batches, each new batch tuple is uniform on {1,…,m}b. For each component, E[θt−yIt,j∣Ft]=θt−yˉ. Its centered value is yˉ−yIt,j, with conditional second moment vS; for i≠j, the cross moment is m−2(∑r(yˉ−yr))2=0. Therefore the average direction has conditional mean θt−yˉ and conditional variance b−2(bvS)=vS/b.

2.1A1F10step 1.1step 1.2givenalgebra∎

The mean and variance in step 1.2 satisfy the unbiased branch of [F10] with μ=μG=1, M=vS/b, MV=0, L=1, and Finf⁡=vS/2. Since 0<α≤1=μ/(LMG), substitute these values into [F10] to obtain the displayed expected-average bound. The data sample S is fixed throughout; no expectation over a population law is used.

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

A biased SGD direction can fail positive alignment

Example

For comparison with the expected-average stationarity theorem, assume AC. Let Ω={ω}, F={∅,Ω}, P(∅)=0, P(Ω)=1, and Ft=F for each t. Let f(x)=x2/2 on R, choose x0≠0 and a constant stepsize α>0, and use the deterministic direction Gt=−xt in the SGD update. The recurrence is deterministic and needs no choice principle: xt+1=(1+α)xt, so f(x1)=(1+α)2f(x0)>f(x0). At every iterate, the conditional mean direction is −∇f(xt) and its inner product with the gradient is −xt2<0; consequently no positive alignment constant μ can satisfy the theorem's condition ⟨∇f(xt),E[Gt∣Ft]⟩≥μ∥∇f(xt)∥22.

Example references

Stochastic-gradient-descent procedure: fixes the update used in the example.

Expected-average stationarity theorem: its positive-alignment hypothesis is the condition this direction violates.

Facts & Assumptions

Given: The one-dimensional objective, deterministic initial point and direction, and positive constant stepsize in the Example.

[A1]

The Axiom of Choice: AC is assumed for the conditional-expectation theorem comparison; the deterministic recurrence itself uses no choice.

[F1]

Stochastic gradient descent: the unconstrained update is xt+1=xt−αGt.

[F2]

Expected-average stationarity under aligned stochastic directions: the expected-average theorem requires ⟨∇f(xt),E[Gt∣Ft]⟩≥μ∥∇f(xt)∥22 for a constant μ>0.

[F4]

The principle of mathematical induction: a property true at the initial natural index and inherited by each successor holds at every index.

[F5]

Probability measures and probability spaces and Measures on sigma-algebras: a probability measure has total mass one and is countably additive on disjoint measurable sequences.

Verification

1.1F1F3F5givenalgebra

The singleton measure has total mass one and is countably additive because at most one set in any disjoint sequence can be nonempty [F5]. By [F3], ∇f(x)=x and f(x)=x2/2. The deterministic direction has conditional mean −xt and conditional variance zero on the trivial filtration. For any finite horizon, apply [F1] with ys=xs−1, Hs=−ys=Gs−1 for s≥1, and Hs=F for s≥0. Its positive-time update ys+1=ys−αHs becomes xt+1=xt−α(−xt)=(1+α)xt for t=s−1≥0.

2.1F4step 1.1giveninductionalgebra

The recurrence in step 1.1 and 1+α>0 give xt=(1+α)tx0≠0 for every t≥0 by [F4]. In particular, f(x1)=(1+α)2x02/2>x02/2=f(x0), so this direction can increase the objective in one step.

3.1A1F2step 1.1step 2.1givenalgebra∎

For every t, step 2.1 gives xt≠0, so ∇f(xt) E[Gt∣Ft]=xt(−xt)=−xt2<0, whereas μ∣∇f(xt)∣2=μxt2>0 for every μ>0. Therefore the local positive-alignment hypothesis [F2] fails at every iterate, despite the direction norm equaling the gradient norm and the variance being zero. This comparison invokes the theorem only in its AC branch [A1]; the displayed deterministic calculation does not use AC.