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.

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

Cross-validation risk, model selection, and comparison uncertainty — Examples

1 · Prerequisites

2 · Summary

Examples

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

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

A holdout estimate targets a smaller training sample

Example

Take n=4 IID observations Zi∼Bernoulli⁡(1/2), squared loss L(a,z)=(a−z)2, and the learning rule Ak(z1,…,zk)=k−1∑q=1kzq. Hold out Z4 and train on Z1,Z2,Z3. The expected holdout score estimates R3, while training on all four observations has risk R4.

Facts & Assumptions

Given: The four IID Bernoulli observations, the sample-mean rule, squared loss, and holdout split above. Compute the training-size risks and their difference.

[F1]

Cross-validation estimates risk at its training sizes: the expected holdout score with k training observations is Rk.

[F2]

Cross-validation splits and training-size risk targets: Rk=E[L(Ak(Z1,…,Zk),Zk+1)] for an independent test observation.

[F3]

Identical distribution and IID families: the observations are mutually independent and have one common law.

[F4]

Moments, variance, and covariance on a probability space: variance is E[(X−EX)2] for square-integrable X.

[F5]

Expectations factor over finite products of independent random variables: expectations of products of integrable functions of independent variables factor.

[F6]

Holdout, leave-out, V-fold, and repeated cross-validation: a holdout score averages losses on the validation indices after training on their complement.

[F7]

Bernoulli random variables and binomial random variables as sums of independent Bernoulli trials: For p∈[0,1], a Bernoulli(p) random variable takes the value 1 with probability p and 0 with probability 1−p.

Verification

1.1givenF3F4F5F7algebra

For Z∼Bernoulli⁡(p), [F7] gives EZ=p and the two-point expectation gives Var⁡(Z)=p(1−p). Expanding the variance of Zˉk=k−1∑q=1kZq, the diagonal terms sum to kp(1−p) and each cross covariance vanishes by [F3] and [F5]; hence Var⁡(Zˉk)=p(1−p)/k.

2.1F2F3F4F5step 1.1algebra

The independent test variable Zk+1 has mean p and variance p(1−p). Expanding E[(Zˉk−Zk+1)2] around the common mean p, the centered cross term is zero by independence, so [F2] gives Rk=Var⁡(Zˉk)+Var⁡(Zk+1)=p(1−p)(1+1/k).

3.1F1F2F6step 2.1algebra∎

At p=1/2, R3=14(1+13)=13 and R4=14(1+14)=516. The split in [F6] holds out one observation, so [F1] gives expected holdout score R3; its bias for full-sample risk is R3−R4=148>0.

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

Paired K-fold comparison retains correlated fold errors

Example

Let n=4, K=2, I1={1,2}, I2={3,4}, and Zi∼IIDBernoulli⁡(1/2). Compare Ak(z1,…,zk)=∏qzq with the zero predictor Bk=0 under loss L(h,z)=hz, using the same folds for both procedures. Write Δ^ for the paired difference of their cross-validation scores.

Facts & Assumptions

Given: The two-fold partition, IID Bernoulli observations, product and zero rules, and loss above. Compute the covariance terms and the variance of the paired difference.

[F1]

Cross-validation splits and training-size risk targets: the equal-fold score is the average of the four held-out losses.

[F2]

Holdout, leave-out, V-fold, and repeated cross-validation: paired comparison applies the same split schedule and averages within-fold loss differences.

[F3]

Identical distribution and IID families: the four observations are mutually independent with a common Bernoulli law.

[F4]

Expectations factor over finite products of independent random variables: expectations of products of functions of distinct observations factor.

[F5]

Moments, variance, and covariance on a probability space: variance and covariance are the centered second moments.

[F6]

The covariance decomposition of a fixed K-fold score: for K equal folds, the average-error variance is σ2/n+(m−1)ω/n+(n−m)γ/n.

[F7]

Bernoulli random variables and binomial random variables as sums of independent Bernoulli trials: For p∈[0,1], a Bernoulli(p) random variable takes the value 1 with probability p and 0 with probability 1−p.

Verification

1.1givenF1F2

Since the zero rule has zero loss, the four paired errors are e1=Z1Z3Z4, e2=Z2Z3Z4, e3=Z3Z1Z2, and e4=Z4Z1Z2, and Δ^=14∑i=14ei.

2.1F3F4F5F7step 1.1algebra

Each ei is a product of three independent Bernoulli(1/2) variables, so [F3]–[F5] and [F7] give Eei=1/8 and Var⁡(ei)=1/8−(1/8)2=7/64. For any distinct i,j, the product eiej equals Z1Z2Z3Z4 because Zq2=Zq; hence E[eiej]=1/16 and Cov⁡(ei,ej)=1/16−(1/8)2=3/64. Thus ω=γ=3/64.

3.1F5F6step 2.1algebra

Substituting n=4,m=2,σ2=7/64,ω=γ=3/64 into [F6] gives Var⁡(Δ^)=7256+3256+6256=116. Treating the four errors as independent would keep only 7/256, omitting the two positive covariance contributions.

4.1F3F4F5F7step 3.1algebra∎

Directly, if all four observations are one then Δ^=1; if exactly three are one then Δ^=1/4; with at most two ones it is zero. By [F7] these events have probabilities 1/16, 4/16, and 11/16, respectively, so EΔ^=1/8, EΔ^2=5/64, and the direct variance is 5/64−(1/8)2=1/16, confirming step 3.1.

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

Random row splits leak repeated-group information

Example

There are G≥2 groups, each with two repeated rows (g,Yg), where Y1,…,YG are IID Bernoulli(1/2). Choose uniformly a balanced two-fold partition of the 2G rows, independently of the labels. The learner memorizes the majority label for any group ID present in training (ties are resolved as zero) and predicts zero for a previously unseen ID. Use zero-one loss. This grouped design is not an IID row sample: the two rows in a group share a label and fixed group IDs.

Facts & Assumptions

Given: The repeated-group data, balanced random row partition, memorizing rule, and zero-one loss above. Compare the expected row-split score with prediction risk for a new group.

[F1]

Holdout, leave-out, V-fold, and repeated cross-validation: a K-fold schedule trains on each fold's complement and weights held-out rows equally when folds have equal size.

[F2]

Identical distribution and IID families: IID requires mutual independence; repeated rows sharing Yg violate this row-level condition.

[F3]

Bernoulli random variables and binomial random variables as sums of independent Bernoulli trials: For p∈[0,1], a Bernoulli(p) random variable takes the value 1 with probability p and 0 with probability 1−p.

Verification

1.1givenF1

For a fixed group g, if its two rows fall in different folds, then each validation row's group ID appears in training and its memorized prediction is Yg, so both losses are zero. If both rows fall in one fold, neither is in the training set for that fold; both losses are Yg. Therefore the full row-split score is R^row=G−1∑g=1GYg1{the two rows of g share a fold}.

1.2givenalgebra

In a uniformly chosen balanced partition, the probability both rows of a fixed group lie in fold 1 is (2G−2G−2)/(2GG)=(G−1)/(2(2G−1)); the same probability holds for fold 2. Thus the probability they share a fold is (G−1)/(2G−1).

2.1F2F3step 1.1step 1.2algebra

The split is independent of Yg, and [F3] gives EYg=1/2, so step 1.1 and the probability in step 1.2 give ER^row=(G−1)/(2(2G−1))<1/2. For a new group ID no training row has that ID, so the learner predicts zero and its error probability is P(Ynew=1)=1/2. Row-split CV is therefore estimating an easier within-group prediction target than new-group prediction.

3.1F2F3step 2.1∎

The example violates the independent-row premise in [F2], so it is a warning about choosing the resampling unit to match deployment; it is not a counterexample to the IID risk identity.

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

Equal predictive risks do not identify a model label

Example

Let the candidate model labels be M={0,1} with identical observation laws P0=P1=Bernoulli⁡(1/2). Associate with each label the constant learning rule Am,k(z1,…,zk)=hm for every k, where h0=0 and h1=1, and use squared loss. The labels describe distinct candidate specifications but make the same observable data law.

Facts & Assumptions

Given: The two candidate labels, their common data law, and the two constant predictors. Compare their risks and show that observations cannot recover the label.

[F1]

Risk estimation versus model identification: risk minimization chooses a label by predictive loss, whereas identification asks to recover the true data-generating label.

[F2]

Cross-validation splits and training-size risk targets: risk is expected loss on an independent test observation after training.

[F3]

Identical distribution and IID families: an IID sample has mutually independent coordinates with the common law.

[F4]

Independent random elements have product joint law: the joint law of an IID finite sample is the product of its common marginal law.

[F5]

Bernoulli random variables and binomial random variables as sums of independent Bernoulli trials: For p∈[0,1], a Bernoulli(p) random variable takes the value 1 with probability p and 0 with probability 1−p.

Verification

1.1F1F2F5algebra

Under either label, Y∼Bernoulli⁡(1/2). By [F5], the two prediction risks are E[(0−Y)2]=1/2 and E[(1−Y)2]=1/2, since Y2=Y and (1−Y)2=1−Y. Thus the predictive-risk objective ties the labels and any fixed tie rule selects one without separating them.

1.2F3F4algebra

For every sample size n, [F3]–[F4] give the same data law P0⊗n=P1⊗n. Therefore every measurable data-based selector has the same output distribution under labels 0 and 1. If it were model-consistent at label 0, then P0(m^n=0)→1, and equality of the sample laws would give P1(m^n=0)→1. Consistency at label 1 would also give P1(m^n=1)→1, impossible because these disjoint events have probabilities summing to at most one.

2.1F1step 1.1step 1.2∎

The example has equal predictive risk but no observable information that distinguishes the two labels, so risk minimization alone does not identify a true model.

Sources