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.

✓ 3 results · all verified · 3 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; all 3 also cleared it.

Prediction problems, risks, and empirical minimization

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

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

Supervised prediction problems

Definition

A supervised prediction problem consists of nonempty measurable spaces (X,ΣX) of instances, (Y,ΣY) of labels, and (A,ΣA) of prediction actions; the product measurable space (X×Y,ΣX⊗ΣY); a probability measure P on that product; a nonempty class F of measurable predictors f:X→A; and a loss ℓ:A×Y→[0,+∞] that is measurable with respect to ΣA⊗ΣY. The law P need not be supported on a deterministic labeling function, and this definition imposes no assumption that sample observations be independent or share a common law.

Definition references

Measurable spaces and measurable sets: a measurable space is a set with a specified sigma-algebra.

A measurable function between measurable spaces: a function is measurable when preimages of measurable sets are measurable.

The product sigma-algebra and its finite iterates: the product sigma-algebra is generated by measurable rectangles.

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

Loss functions and risk: a loss is nonnegative and measurable in the action variable; risk is an extended nonnegative integral.

Remarks

The joint law P can be used at a fixed member of a statistical experiment. If it is selected from a parametric family, this prediction definition makes no parameter-recovery claim, and the family of laws need not distinguish parameter labels.

Remarks references

Statistical experiments: an experiment is a measurable sample space with a parameter-indexed family of probability measures.

Parametric statistical models: the parameter-to-law map need not be injective.

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

Population and empirical risk

Definition

For a supervised prediction problem with joint law P, the population risk of any measurable predictor f:X→A (in particular, every f∈F) is the extended nonnegative integral RP(f):=∫X×Yℓ(f(x),y) P(d(x,y))∈[0,+∞]. For an ordered sample S=((x1,y1),…,(xm,ym)) of length m≥1, the empirical risk or training risk of any such f is R^S(f):=1m∑i=1mℓ(f(xi),yi)∈[0,+∞]. Neither definition assumes finite risk. The sum uses extended nonnegative arithmetic; since m≥1, any summand equal to +∞ makes the empirical risk +∞.

Definition references

Supervised prediction problems: fixes the measurable spaces, joint law, predictor class and loss.

Expectation of a nonnegative or integrable random variable: the expectation of a nonnegative measurable function is its extended integral.

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

Empirical risk minimizers

Definition

Fix a sample S and a nonempty class F of predictors. Its empirical minimum is R^S∗(F):=inf⁡f∈FR^S(f)∈[0,+∞]. An exact empirical risk minimizer is a predictor f∈F with R^S(f)=R^S∗(F). If the infimum is finite but is not attained, no exact minimizer exists. If the infimum is +∞, nonemptiness implies that every member has infinite empirical risk and is an exact minimizer.

For finite η≥0, a predictor f∈F is an η-approximate empirical risk minimizer if either the empirical minimum is +∞ and f is an exact minimizer, or the empirical minimum is finite and f has finite empirical risk at most R^S∗(F)+η. The membership requirement f∈F applies in both branches. Thus the definition never forms +∞+η. When η=0 and the finite infimum is not attained, no such predictor exists.

For a fixed sample size m, a measurable prediction rule with class F is a jointly measurable evaluation map from the sample space ((X×Y)m,(ΣX⊗ΣY)⊗m) and a new instance in X to A, whose slice at each sample belongs to F. It is an exact or approximate ERM rule when every slice satisfies the corresponding samplewise definition above. This definition asserts no existence of a measurable selector for an arbitrary class.

Definition references

Supervised prediction problems: fixes the measurable observation and predictor spaces.

Population and empirical risk: defines the samplewise empirical risk being minimized.

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

Population and empirical risks are measurable

Statement

In a supervised prediction problem, for every measurable predictor f, the function (x,y)↦ℓ(f(x),y) is measurable, so its population risk is a defined extended nonnegative integral. For every sample size m≥1, the empirical risk S↦R^S(f) is an extended nonnegative measurable function on the finite product sample space.

Facts & Assumptions

Given: A supervised prediction problem, a measurable predictor f∈F, and a positive integer m. The sample domain is (X×Y)m with its recursively formed product sigma-algebra.

[F1]

Predictors are measurable, and the loss is measurable on the action-label product. Supervised prediction problems

[F2]

The product sigma-algebra is generated by measurable rectangles and finite products are formed recursively. The product sigma-algebra and its finite iterates

[F3]

Population risk is the nonnegative integral of (x,y)↦ℓ(f(x),y), and empirical risk is its finite sample average. Population and empirical risk

[F4]

Finite sums of measurable extended-real functions are measurable when pointwise defined; real scalar multiples of real-valued measurable functions, functions f1E for nonnegative measurable extended-real f and measurable E, countable infima, and increasing pointwise limits of measurable extended-real functions are measurable. Closure properties of measurable functions used by the integral

[F5]

A map is measurable when preimages of measurable sets are measurable; preimages under a composition are taken successively. A measurable function between measurable spaces

[F6]

An extended-real-valued function is measurable when all of its strict-superlevel preimages are measurable. Extended-real-valued measurable functions

Proof

Given: A supervised prediction problem, a measurable predictor f, and a sample size m≥1.

1.1F1F2F3F5

Define Φf(x,y)=(f(x),y). For each measurable rectangle U×V in A×Y, its preimage is f−1(U)×V, which belongs to ΣX⊗ΣY by measurability of f. Since the rectangles generate the target product sigma-algebra by [F2], Φf is measurable by [F5]. Therefore ℓf:=ℓ∘Φf is measurable by successive preimages in [F5] and nonnegative; [F3] defines RP(f)=∫ℓf dP.

2.1givenF2F3F4F5F6step 1.1∎

For each coordinate i∈{1,…,m}, the sample projection πi:(X×Y)m→X×Y is measurable by the finite product construction in [F2]. Hence S↦ℓf(πi(S)) is measurable by [F5]. The finite sum s(S):=∑i=1mℓf(πi(S)) is a defined nonnegative extended-real function and is measurable by [F4]. Since m>0, for every real a we have {S:s(S)/m>a}={S:s(S)>ma}, including when s(S)=+∞. Thus s/m is measurable by the strict-superlevel criterion [F6], and [F3] gives measurability of S↦R^S(f).

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A conditional Bayes rule minimizes population risk

Statement

Assume the Axiom of Choice. Let (X,ΣX) and (Y,ΣY) be standard Borel spaces, let (A,ΣA) be a measurable action space, and let P be a probability measure on X×Y. Write PX and PY for its coordinate marginals. There are regular conditional probability kernels Q(y,dx) for X given Y and K(x,dy) for Y given X, with P(C×D)=∫DQ(y,C) PY(dy)=∫CK(x,D) PX(dx)(C∈ΣX, D∈ΣY). Let ℓ:A×Y→[0,+∞] be measurable with respect to ΣA⊗ΣY and define q(x,a):=∫Yℓ(a,y)K(x,dy). If a measurable predictor f∗:X→A has a measurable set E∈ΣX with PX(E)=1 such that q(x,f∗(x))≤q(x,a) for every x∈E and every a∈A, then RP(f∗)≤RP(g) for every measurable predictor g:X→A. All risks may be +∞.

Statement references

Standard Borel spaces: a standard Borel space is measurably isomorphic to a Polish space.

Regular conditional distribution: a regular conditional distribution is an everywhere probability kernel satisfying the conditional-event integral identities.

The product sigma-algebra and its finite iterates: product sigma-algebras are generated by measurable rectangles.

The Axiom of Choice: AC asserts that every family of nonempty sets has a choice function.

Facts & Assumptions

Given: AC; standard Borel instance and label spaces; a joint probability law P; a measurable action space; a nonnegative product-measurable loss; and a measurable predictor f∗ that minimizes conditional risk on one measurable PX-full-measure set.

[A1]

Assume the Axiom of Choice. The Axiom of Choice

[F1]

A standard Borel space is measurably isomorphic to a Polish space. Standard Borel spaces

[F2]

Under AC, a joint law on a product of standard Borel spaces admits a probability kernel in either coordinate direction with the rectangle disintegration identity. Disintegration of a joint law on standard borel spaces

[F3]

The disintegration identity also holds for every nonnegative product-measurable integrand, including value infinity. Disintegration of a joint law on standard borel spaces

[F4]

Under AC and standard Borel parameter/data hypotheses, a measurable rule attaining posterior minimum almost everywhere minimizes prior-integrated risk among all randomized rules. A posterior-risk minimizer minimizes prior risk

[F5]

Population risk is the extended nonnegative integral of the loss under the joint law. Population and empirical risk

[F6]

A regular conditional distribution is a probability kernel whose evaluations satisfy the conditional-event integral identity. Regular conditional distribution

[F7]

Integrating a nonnegative product-measurable function against a probability kernel gives a measurable extended-valued function. Measurability of integration against a kernel

[F8]

Product sigma-algebras are generated by measurable rectangles, so the coordinate swap between finite products is measurable. The product sigma-algebra and its finite iterates

[F9]

A map is measurable when preimages of measurable sets are measurable; this criterion is preserved by composition. A measurable function between measurable spaces

Proof

1.1A1F1F2F6F7F8F9

The spaces satisfy the standard-Borel hypothesis [F1]. Apply [F2] to P and to its coordinate swap. This gives Q(y,dx) and K(x,dy) with the two displayed disintegrations; [F6] identifies them as regular conditional distributions. With prior π=PY and sampling kernel Q, the joint prior-data law is P and the posterior is K. The loss L(y,a):=ℓ(a,y) is jointly measurable because the coordinate swap on product spaces has rectangle preimages that are rectangles by [F8], and composition preserves measurability by [F9]. The lifted kernel K~((x,a),D):=K(x,D) is a probability kernel, since its evaluations are measurable by projection from x; [F7] therefore makes q(x,a) measurable.

2.1A1F3F4F5F8F9givenstep 1.1algebra∎

For any measurable g:X→A, the point-mass rule δg(x,B):=1B(g(x)) is a probability kernel, since each section is a Dirac probability measure and each evaluation is measurable by [F9]. The function (y,x)↦ℓ(g(x),y) is product-measurable by the rectangle-preimage criterion [F8, F9]. Its prior-integrated risk is ∫Y∫Xℓ(g(x),y)Q(y,dx)PY(dy)=RP(g) by [F3, F5], with the same identity for f∗. Under [F4], use parameter y, prior PY, data x, model kernel Q, posterior K, action space A, loss L, and rule f∗. Its posterior risk is q, so the common full-measure minimizing premise applies; the theorem gives prior risk of f∗ no larger than that of δg. Thus RP(f∗)≤RP(g). Since g was arbitrary, the claim follows.

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

A standard-Borel label has a conditional kernel over an arbitrary measurable instance space

Statement

Assume the Axiom of Choice. Let (X,ΣX) be a nonempty measurable space, let (Y,ΣY) be a nonempty standard Borel space, and let P be a probability measure on (X×Y,ΣX⊗ΣY). Put PX(C)=P(C×Y). There exists an everywhere probability kernel K:(X,ΣX)→(Y,ΣY) such that

P(C×A)=∫CK(x,A) PX(dx)(C∈ΣX, A∈ΣY).

No standard-Borel, countable-generation, or completeness hypothesis is imposed on the instance space.

Facts & Assumptions

Given: AC, the nonempty measurable instance space, the nonempty standard Borel label space, and the joint law P in the Statement.

[A1]

AC is assumed for the regular-conditional-distribution existence supplier. The Axiom of Choice

[F1]

Under AC, a measurable random element with standard-Borel target has a regular conditional distribution given any sub-sigma-algebra; all sections are probability measures everywhere, with no completeness or countable-generation assumption on the conditioning sigma-algebra. Existence of regular conditional distributions for standard borel targets

[F2]

A regular conditional distribution L of Y given G is a probability kernel from (Ω,G) whose evaluations satisfy ∫BL(ω,A)P(dω)=P(B∩{Y∈A}) for every B∈G and A∈ΣY. In particular every evaluation is G-measurable everywhere and every section is a probability measure. Regular conditional distribution, Measure kernel and probability kernel

[F3]

Product sigma-algebras are generated by measurable rectangles; coordinate projections are measurable. A map is measurable when preimages of all target measurable sets are measurable, and this criterion is preserved by composition. The product sigma-algebra and its finite iterates, A measurable function between measurable spaces

[F4]

Between two unequal real numbers there is a rational number. Both Q and R∖Q are dense in R, and every nonempty open subset of R is uncountable

[F5]

If a random element X has law PX and g is nonnegative real-valued measurable, then ∫g(X(ω))P(dω)=∫g(x)PX(dx). Change of variables for expectation

[F6]

Restricting a nonnegative measurable function to a measurable set and setting it to zero elsewhere preserves measurability. Closure properties of measurable functions used by the integral

Proof

1.1givenA1F1F2F3construct

Work on Ω=X×Y with sigma-algebra F=ΣX⊗ΣY and probability P. Let X(x,y)=x and Y(x,y)=y. These projections are measurable by [F3], and X has law PX. The family G:={X−1(C):C∈ΣX} is a sigma-algebra, since inverse images preserve the full set, complements and countable unions; it is contained in F and is exactly σ(X). Apply [F1] to the label coordinate Y given this exact, uncompleted G, obtaining a kernel L as in [F2].

2.1givenF3step 1.1chooseconstruct

Fix one y0∈Y and define s:X→Ω by s(x)=(x,y0). As a map into (Ω,G) it is measurable: for every C∈ΣX, s−1(X−1(C))=C, and step 1.1 describes every set of G in this form. Also X(s(x))=x for every x.

3.1F2F4step 1.1step 2.1cases

Every G-measurable real function v is constant on each X-fiber. Indeed, if X(ω)=X(ω′) but v(ω)<v(ω′), choose a rational r strictly between these values by [F4]. The measurable set {v≤r} equals X−1(C) for some C∈ΣX by step 1.1, and so cannot contain exactly one of ω,ω′, a contradiction. Reversing the two points rules out the other inequality. Applying this to v(ω)=L(ω,A)∈[0,1] separately for each A∈ΣY gives L(ω,A)=L(s(X(ω)),A) for every ω and every A. These are pointwise identities, with no event-dependent null sets.

4.1F2F3step 2.1step 3.1construct

Define K(x,A):=L(s(x),A). Every K(x,⋅) is a probability measure by [F2]. For fixed A, the evaluation is the composition of the G-measurable evaluation of L with the measurable map s from step 2.1, so it is ΣX-measurable by [F3]. Thus K is an everywhere probability kernel, and step 3.1 gives K(X(ω),A)=L(ω,A) for every ω,A.

5.1F2F5F6step 1.1step 4.1algebra∎

Fix C∈ΣX and A∈ΣY. The real function g(x)=1C(x)K(x,A) is measurable, nonnegative and bounded by one by [F6] and step 4.1. Apply [F5] and then [F2] to obtain ∫CK(x,A)PX(dx)=∫X−1(C)K(X(ω),A)P(dω)=∫X−1(C)L(ω,A)P(dω)=P(X−1(C)∩Y−1(A))=P(C×A). Since C,A were arbitrary, this proves the Statement on the original arbitrary measurable instance space.

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

Bayes predictors and excess risk

Definition

Let M be the class of all measurable predictors from X to A. The class Bayes risk is RP∗(F):=inf⁡f∈FRP(f), and the unrestricted Bayes risk is RP∗:=inf⁡g∈MRP(g). A class Bayes predictor is a member of F attaining the first infimum; an unrestricted Bayes predictor, also called a Bayes predictor, is a member of M attaining the second. No attainment is asserted. If an infimum is +∞, every member of its nonempty class has infinite risk and attains that extended infimum, but no finite excess risk results.

For f∈F with both terms finite, its class excess risk is RP(f)−RP∗(F). For a measurable predictor g∈M with both terms finite, its unrestricted excess risk is RP(g)−RP∗. These differences are left undefined if either risk is infinite.

Write PX(C):=P(C×Y) for the instance marginal. If a regular conditional label law K(x,dy) given x is supplied, its conditional risk is q(x,a):=∫Yℓ(a,y)K(x,dy). This function is measurable when the loss is product-measurable. A conditional Bayes rule is a measurable predictor that attains inf⁡a∈Aq(x,a) on one measurable set of full PX-measure. Such a kernel exists under AC whenever the label space is standard Borel, even if the instance space is an arbitrary measurable space; if the label space is an arbitrary measurable space, no conditional law or measurable minimizer is asserted. When both instance and label spaces are standard Borel and AC holds, the conditional Bayes theorem shows that any such rule is an unrestricted Bayes predictor.

Definition references

Supervised prediction problems: fixes the measurable instance, label and action spaces, joint law, predictor class and loss.

Population and empirical risk: defines RP(f) as the extended nonnegative population risk.

Standard Borel spaces: a standard Borel space is measurably isomorphic to a Polish space.

Regular conditional distribution: a regular conditional distribution is an everywhere probability kernel satisfying the conditional-event integral identities.

The Axiom of Choice: AC asserts that every family of nonempty sets has a choice function.

A standard-Borel label has a conditional kernel over an arbitrary measurable instance space: under AC, a joint law with standard Borel label space admits an everywhere label-given-instance probability kernel even for an arbitrary measurable instance space.

Measurability of integration against a kernel: integration of a nonnegative product-measurable function against a probability kernel is measurable.

A conditional Bayes rule minimizes population risk: under standard-Borel and AC hypotheses, a measurable conditional minimizer is globally risk-minimizing.

Kallenberg, Foundations of Modern Probability, 2nd ed., Theorem 6.3: a Borel target admits a conditional-distribution kernel from any measurable conditioning space.

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

Finite-list empirical risk minimization

Definition

Given a sample S of length m≥1, an ordered finite nonempty list of measurable predictors (f1,…,fn), and a finite tolerance η≥0, compute rj:=R^S(fj) for each j∈{1,…,n}. If every rj=+∞, return index 1. Otherwise set r∗:=min⁡1≤j≤nrj and return the least index j for which rj<+∞ and rj≤r∗+η. The output index denotes the selected predictor from the supplied list. When η=0, the output is a first exact minimizer, including the all-infinite case. The algorithm evaluates only a finite number of empirical risks and makes no population-risk guarantee.

Definition references

Supervised prediction problems: fixes the measurable observation and predictor spaces.

Population and empirical risk: defines each empirical risk evaluated by the procedure.

Empirical risk minimizers: defines exact and approximate ERM, including the all-infinite branch.

Population and empirical risks are measurable: the sample objective for each listed predictor is measurable.

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

Approximate empirical risk minimization with a supplied selector

Definition

Fix a positive sample size m, a nonempty predictor class F, and a finite tolerance η≥0. The input includes a supplied jointly measurable evaluation map Aη:(X×Y)m×X→A such that every sample slice Aη(S,⋅) belongs to F. For each sample S, require that the slice is an exact empirical risk minimizer if R^S∗(F)=+∞, and otherwise has finite empirical risk at most R^S∗(F)+η. The procedure returns the predictor Aη(S,⋅) on input S. Its selector is an explicit input; this procedure asserts no existence or construction of such a selector for an arbitrary class. In particular, η=0 requires attainment whenever the empirical minimum is finite.

Definition references

Supervised prediction problems: fixes the measurable sample and predictor spaces.

Population and empirical risk: defines the sample objective.

Empirical risk minimizers: defines exact and approximate ERM without forming +∞+η.

Population and empirical risks are measurable: establishes measurability of the sample objective for a fixed predictor.

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

The finite-list ERM selector is measurable

Statement

For a sample of positive length, a finite ordered nonempty list of measurable predictors, and finite tolerance η≥0, let J(S) be the index returned by the finite-list empirical-risk algorithm. Then J is measurable into the finite index set with its discrete sigma-algebra, the evaluation map (S,x)↦fJ(S)(x) is jointly measurable, and the returned predictor is an η-approximate empirical risk minimizer as defined in the algorithm's input conditions. When η=0, it is an exact minimizer.

Facts & Assumptions

Given: A supervised prediction problem, sample size m≥1, an ordered list (f1,…,fn) of measurable predictors with n≥1, and finite tolerance η≥0.

[F1]

The algorithm returns index 1 when every list risk is infinite; otherwise it returns the first finite-risk index within η of the finite list minimum. Finite-list empirical risk minimization

[F2]

For each fixed predictor, the empirical-risk map on the sample space is extended-real measurable. Population and empirical risks are measurable

[F3]

A finite-list exact or approximate ERM is defined by its empirical risk relative to the list infimum, with a separate all-infinite case. Empirical risk minimizers

[F4]

Finite sums of measurable extended-real functions are measurable when pointwise defined; real scalar multiples of real-valued measurable functions, functions f1E for nonnegative measurable extended-real f and measurable E, countable infima, and increasing pointwise limits of measurable extended-real functions are measurable. Closure properties of measurable functions used by the integral

[F5]

The finite sample-and-instance product sigma-algebra contains measurable rectangles and is closed under finite unions and differences. The product sigma-algebra and its finite iterates

[F6]

An extended-real function is measurable when preimages of Borel sets, including the finite-value ray, are measurable. Extended-real-valued measurable functions

[F7]

A map between measurable spaces is measurable exactly when preimages of measurable sets are measurable. A measurable function between measurable spaces

Proof

1.1F2F4F6

For j=1,…,n, put rj(S)=R^S(fj) and r∗(S)=min⁡jrj(S). By [F2] each rj is measurable. The finite minimum is the infimum of the measurable sequence r1,…,rn,rn,rn,…, so [F4] makes r∗ measurable. Thus E:={S:r∗(S)<+∞} is measurable by [F6].

2.1F1F4F6step 1.1

Define finite nonnegative measurable functions uj:=rj1{rj<+∞} and u∗:=r∗1E. Their measurability follows from [F4], including the convention 0⋅(+∞)=0. The sets {rj<+∞} and E are measurable by [F6]. On E, u∗=r∗ and each finite rj equals uj, so Cj:=E∩{rj<+∞}∩{uj−u∗≤η} is measurable by [F4, F6]. At every S∈E a finite minimizing index lies in some Cj.

3.1F1F5F7step 2.1

The algorithm's selected-index events are {J=1}=Ec∪C1 and, for j>1, {J=j}=Cj∖⋃k<jCk. They are measurable by step 2.1, so J is measurable into the finite discrete index set by [F7]. For each measurable B⊆A, the evaluation preimage is ⋃j=1n({J=j}×fj−1(B)), a finite union of measurable rectangles by [F5]; hence (S,x)↦fJ(S)(x) is jointly measurable by [F7].

4.1F1F3givenstep 1.1step 2.1∎

On Ec all list risks are +∞, so the returned first predictor is an exact minimizer by [F3]. On E, at least one finite minimizer exists in the finite list, belongs to some Cj, and the first selected Cj has finite risk at most r∗+η by its definition. If η=0, this inequality forces the selected risk to equal r∗. Thus the output has the asserted ERM property in both branches.

4 · Examples, counterexamples and false statements

None yet.

Sources