Manuscript Offprint
arXiv:2610.31948Sharp Bounds on the Winner's Bias under Independent and Nonnegatively Correlated Noise
Abstract
Reporting the best of noisy, unbiased scores overstates the winner's value by up to , where is the total noise variance and the sharp constant depends on how the noise is dependent. It was known only at the two extremes, arbitrary dependence () and i.i.d. noise. We determine it for two classes in between: for independent, not identically distributed noise it is , and for pairwise nonnegatively correlated noise it is ; for uncorrelated noise this answers the maximum version of an open question about the expected range. Explicit finite constructions attain both. As a corollary, the bias of the cross-validation estimator is bounded sharply within each class. All theorems are formally verified in Lean 4. Across 448 language-model and classifier selection pipelines, designs with per-candidate items realize a median 0.75 of the independent-class ceiling. At a fixed item budget, scoring all candidates on shared items is markedly less optimistic than giving each candidate its own items.
1 Introduction
The Problem. Selecting the best of M alternatives by noisy scores and reporting the winner's score is a basic statistical operation. If the selection scores are unbiased with total variance V, the reported maximum is optimistically biased, and the worst case of that bias over noise laws is governed by
What Is Known. Under arbitrary dependence the sharp constant is (Aven, 1985), with tightness in the equal-moments case due to Arnold and Groeneveld (1979). For i.i.d. noise the sharp constant is (Gumbel, 1954; Hartley and David, 1954). Between these poles, Bertsimas et al. (2006) compute tight bounds under covariance information as a per-instance semidefinite program, and Papadatos (2016) proves the tight covariance-informed bound at , stating the general-M closed-form problem as open. The independent, non-identically distributed case has, to our knowledge, no published sharp constant.
The Gap. Neither pole describes how a selection is usually evaluated. Candidates of different accuracy have different score variances, so their noise is not identically distributed and the i.i.d. constant does not apply. The arbitrary-dependence constant does apply, but it ignores the structure that the evaluation design fixes. Giving each candidate its own test items makes the noise independent, and scoring all candidates on the same items typically makes it positively correlated. Both classes sit between the poles, and for neither is a closed-form sharp constant known. This paper supplies both.
-
Nonnegative correlation (Corollary 1b). The sharp constant is , attained at finite parameters. For uncorrelated noise this settles the maximum analogue of an open question of Papadatos (2016, Sec. 7). With the two poles, the constants form a graded family, strictly ordered for (Table 1).
-
Consequences. The bias of the cross-validation estimator is bounded sharply in each class (Corollary 2). With constant one this bound is Conjecture 1 of van Hasselt (2013), which already follows from Aven (1985); our constants sharpen it. Against Gaussian noise the worst case is close at small M (19% above for the independent class at M = 4) and conservative by a factor of order at large M (Table 2).
-
Selection pipelines (Sec. 5). Over 448 configurations of language-model and classifier selection, per-candidate designs realize a median 0.75 of the independent constant, and the hypothesis fails in one of nine populations, so it must be checked on the data. At a fixed item budget, shared items incur a median 4.9 times less optimism than per-candidate items, against the factor 2.1 the ceilings predict.
Method Summary. Both dependent classes follow from one master inequality: Aven's bound applied to deviations from the mean, proved by Samuelson's inequality pointwise and then Cauchy–Schwarz (Samuelson, 1968). Its covariance term is what separates the classes. The independent case needs different machinery and occupies most of the appendix.
Formal Verification. Every theorem, corollary and lemma in the paper is machine-checked in Lean 4 with Mathlib, in about 7,900 lines with no sorry and no axioms beyond Lean's standard three. The statements are formalized for random variables on an arbitrary probability space, with independence, square integrability and zero mean as explicit hypotheses, so the formal theorems are those stated here and not special cases. Attainment and the suprema are formalized too, so sharpness is checked as well as the bounds. Appendix E maps each result to its Lean name. The formalization will be released together with the code and the score matrices of the numerical study.
2 Setup and the Transfer Lemma
Alternatives (arms) have true means , , gaps . Selection scores are with , , . The winner is (ties broken uniformly). Two estimators of :
• the max-estimator reports , with Bias(ME) = ;
- the cross-validation (double) estimator evaluates an independent unbiased estimate at , with .
Lemma 1 (transfer). .
The max-estimator side needs no lemma: because . So every upper bound on bounds Bias(ME) and alike, and the extremal constructions below approach their constants in the form as well, in the limit where each alternative's deficit rises to its largest noise lead over the best alternative (Appendix D.5). For K-fold cross-validation the bound applies fold-wise and averages (Appendix A).
3 Main Results
Theorem 1 (master bound). For any mean-zero Z, with :
This is Aven’s (1985) bound applied to the deviations ; we record it with a short self-contained proof (Samuelson’s inequality pointwise, then Cauchy–Schwarz; Appendix B) because the covariance correction term is what separates the dependence classes below. At the bound is known to be tight under covariance information (Papadatos, 2016, Cor. 7.1). A quantitative comparison with Aven’s displayed covariance-aware bounds, which run through a fixed reference arm, is given in Appendix B: the centered form is tighter by a factor between 1 and , both ends attained.
Corollary 1a (arbitrary dependence). , sharp (Aven, 1985); the attaining law is the uniform-index one-up construction of Arnold and Groeneveld (1979).
Corollary 1b (pairwise nonnegative correlation; new). If for all , then
and the constant is sharp already in the uncorrelated subclass , attained there exactly at finite parameters by an explicit law (uniform-index one-up plus an independent common shock whose variance cancels the one-up covariances; Appendix B.3). With every covariance strictly positive the bound is not attained, so the constant is the sharp one for the class and not for each configuration in it.
Bertsimas et al. (2006, Sec. 2.4) compute the tight covariance-informed bound as a per-instance semidefinite program; Corollary 1b is the closed form of its value on the uncorrelated class, and answers the uncorrelated case of the question posed by Papadatos (2016, Sec. 7).
Theorem 2 (independent noise, deterministic best alternative; new). For independent mean-zero , with over these arms:
sharp, attained exactly by the cascade law in which alternative k takes value k/m with probability and value otherwise (Appendix C).
Table 1: The graded family of sharp constants by dependence class. “Exact” means the supremum is attained at finite parameters.
| dependence class | sharp constant | first proved | attainment |
|---|---|---|---|
| arbitrary | Aven 1985 / Arnold-Groeneveld 1979 | exact | |
| pairwise | this paper | exact | |
| independent | this paper | exact | |
| i.i.d. | Gumbel 1954 / Hartley-David 1954 | exact |
Table 2: Worst-case constants against the Gaussian value: the last column is for i.i.d. standard Gaussian noise, the same comparator in every row; the other columns are the sharp constants of Table 1. Entries are rounded to three decimals, and the percentages quoted in the text are computed from the exact values.
| arbitrary | independent | i.i.d. worst case | Gaussian i.i.d. | ||
|---|---|---|---|---|---|
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 10 | |||||
| 20 | |||||
| 50 |
Theorem 3 (independent noise; main result). For independent mean-zero :
and the supremum is attained exactly by the -arm cascade of Theorem 2 together with one deterministic arm. The optimal role of one alternative is to be a deterministic floor; at a deterministic arm is necessary for equality (Appendix D.5).
Proof structure (Appendix D): (i) a Dinkelbach-type conjugation shows the supremum is determined by laws with at most two atoms per arm; the measure-theoretic step is Corollary 2 of Bayer and Teichmann (2006), applied to the moment map , followed by a rank-2 linear program whose optimal vertices have at most two atoms; (ii) in two-point form the objective is a maximum of linear functionals of the reweighted atoms , so the constrained supremum is a maximum of explicit values; (iii) each value is bounded by a recursion whose fixed points are ; the one nontrivial branch reduces to the positivity of a factored cubic on an interval, with equality exactly at the attaining configuration.
Table 1 collects the graded family. The family is strictly decreasing down the table for every . Two identities: the constant is the square of the arbitrary one, and the arbitrary-to-independent ratio is for every . The and independent constants coincide only at ; the arbitrary constant coincides with neither.
Table 2 compares the worst case with the Gaussian value of the same ratio. How far a constant sits above that value depends on which class it belongs to. The i.i.d. constant exceeds it by , , and at , so in small comparisons the extremal i.i.d. law is barely worse than a Gaussian one. The independent constant, which is the one Theorem 3 supplies and
(a) every cell obeys its ceiling

(b) design effect at M = 8, mmlu pro
(c) a Gaussian model overstates it
Figure 1: Configuration cells of Sec. 5: one marker per population, pool size M, item budget and design; scores in accuracy points. (a) Measured against the class ceiling , log-log. Solid: the ceiling, which no marker exceeds; dotted: half of it. (b) Optimism against total item budget n at M = 8 on MMLU-Pro, log-log; colour is the design, dashed lines are the matching ceilings. Per-candidate items (n/8 each) lie above shared items throughout. (c) Measured optimism over that of a Gaussian model with matched covariance, against items per candidate (n shared, n/M per-candidate; log scale); below 1, the Gaussian model overstates. Only cells resolved to three standard errors are shown.
which drops the identical-distribution requirement, sits further above, and not monotonically: 25.3%, 18.2%, 19.0% and 21.6% at the same M, a minimum at M = 3 and growth after it.
The comparator is i.i.d. Gaussian noise in every row; the supremum over independent Gaussian laws of the same total variance is at least that value, so these percentages bound the independent class's distance from its own Gaussian worst case from above. For large M the Gaussian ratio decays like while the worst-case constants approach their limits, so both are conservative by a factor of order ; conclusions that depend on the difference between dependence classes at large M should not be drawn from worst-case constants alone.
4 The Bias of the Cross-Validation Estimator
Corollary 2. For the K-fold cross-validation estimator of Sec. 2,
where in general, under pairwise nonnegative correlation of the fold's selection scores, and under independence; each constant is sharp within its class as the supremum of ; in the Bias(CV) form it is approached along the limiting configurations of Appendix D.5 rather than attained. The same three constants bound Bias(ME) fold-wise, Lemma 1 covering the cross-validation side and the other.
The general case follows from Lemma 1 and Corollary 1a applied fold-wise. Since , this settles Conjecture 1 of van Hasselt (2013), which asserts the bound with ; Corollary 1a is Aven's bound, which appears there as equation (7). The strict form of the inequality fails only when every fold variance vanishes, and there both sides are zero.
Table 3: Optimism and regret of best-of- selection at with a fixed budget of 64 items, under both evaluation designs: shared items ( class, 64 items per candidate) and per-candidate items (independent class, 8 items each; “per-cand.” in the table). Scores are percentage points of accuracy; 20,000 replications per cell. Optimism is , regret is , the ceiling is for the design's class, is the fraction of that ceiling realized by the measured , and the last column is the optimism a Gaussian model with the matched covariance predicts.
| population | N | design | items | optimism | regret | ceiling | ρ | Gaussian | |
|---|---|---|---|---|---|---|---|---|---|
| MMLU-Pro | 4000 | shared | 64 | 3.09 ± 0.04 | 0.44 | 5.15 | 14.86 | 0.346 | 3.05 |
| MMLU-Pro | 4000 | per-cand. | 8 | 18.87 ± 0.07 | 2.54 | 24.07 | 31.78 | 0.757 | 19.02 |
| GSM8K | 1319 | shared | 64 | 1.09 ± 0.02 | 0.48 | 4.27 | 10.92 | 0.391 | 1.17 |
| GSM8K | 1319 | per-cand. | 8 | 6.87 ± 0.02 | 0.45 | 17.59 | 23.34 | 0.754 | 8.90 |
| ARC-Challenge | 1172 | shared | 64 | 1.75 ± 0.02 | 0.42 | 2.54 | 8.81 | 0.288 | 1.87 |
| ARC-Challenge | 1172 | per-cand. | 8 | 8.18 ± 0.01 | 0.30 | 10.05 | 18.84 | 0.534 | 13.13 |
| MATH-500 | 500 | shared | 64 | 1.19 ± 0.04 | 0.92 | 4.80 | 13.38 | 0.359 | 1.19 |
| MATH-500 | 500 | per-cand. | 8 | 13.71 ± 0.07 | 1.39 | 21.73 | 28.61 | 0.760 | 14.27 |
| digits (hard) | 1757 | shared | 64 | 1.91 ± 0.04 | 0.54 | 4.23 | 13.96 | 0.303 | 2.02 |
| digits (hard) | 1757 | per-cand. | 8 | 17.31 ± 0.05 | 1.37 | 21.17 | 29.84 | 0.709 | 19.31 |
| digits (sweep) | 997 | shared | 64 | 0.78 ± 0.01 | 0.34 | 2.12 | 5.56 | 0.381 | 1.14 |
| digits (sweep) | 997 | per-cand. | 8 | 2.11 ± 0.00 | 0.06 | 4.25 | 11.89 | 0.358 | 7.71 |
| digits (16 seeds) | 997 | shared | 64 | 0.82 ± 0.01 | 0.31 | 1.62 | 5.17 | 0.314 | 1.16 |
| digits (16 seeds) | 997 | per-cand. | 8 | 2.11 ± 0.00 | 0.10 | 3.16 | 11.04 | 0.286 | 7.58 |
| breast cancer | 369 | shared | 64 | 1.02 ± 0.01 | 0.16 | 1.47 | 5.11 | 0.288 | 1.35 |
| breast cancer | 369 | per-cand. | 8 | 2.44 ± 0.00 | 0.05 | 2.98 | 10.93 | 0.273 | 7.90 |
| wine | 118 | shared | 64 | 1.02 ± 0.01 | 0.60 | 2.70 | 6.98 | 0.387 | 1.22 |
| wine | 118 | per-cand. | 8 | 3.39 ± 0.00 | 0.23 | 7.02 | 14.93 | 0.470 | 9.25 |
The case proved in that paper substitutes for inside a Cantelli bound. That substitution is valid under , so the constant obtained there is the value at , where the two classes coincide. They separate for every , which is where the graded constants of Table 1 matter.
Which of the three constants applies is decided by the fold, and for standard -fold cross-validation it is usually not the independent one: within a fold every candidate is scored on the same held-out block, so the selection scores are dependent and typically positively correlated, which puts the fold in the class with . The independent constant governs the case where each candidate gets its own evaluation data, which is the per-candidate design of Sec. 5.
A remark in the same paper suggests that i.i.d. noise is the worst case within the independent class. Table 1 shows otherwise: the i.i.d. constant lies strictly below the independent one for every , so the i.i.d. configuration does not govern the independent class.
5 Numerical Study: Selection Pipelines
Data and Pipelines. Two families of selection problems. The first is language-model configuration selection: one instruction-tuned 7B model (Qwen2.5-7B-Instruct; Yang et al., 2024) crossed with decoding temperature 0 and 0.7, zero-shot and five-shot prompting, and chain-of-thought on and off, giving candidates evaluated item by item on four benchmarks — MMLU-Pro (a 4000-item uniform subsample of 12032; Wang et al., 2024), GSM8K (1319 items; Cobbe et al., 2021), ARC-Challenge (1172 items; Clark et al., 2018) and MATH-500 (500 items; Hendrycks et al., 2021; Lightman et al., 2024). An answer-extraction grader marks each generation right or wrong, so an item score is in for the greedy candidates and in for the temperature-0.7 candidates, which are drawn twice per item and averaged. The averaging halves those candidates' per-item variance and is part of the variance heterogeneity measured below.
The second is classifier selection: four model families (regularized logistic regression, k-nearest neighbours, decision trees, small multilayer perceptrons) at four capacities each, giving M = 16 candidates on handwritten digits (Alpaydin and Kaynak, 1998) at two difficulty levels, breast cancer (Wolberg et al., 1993) and wine (Aeberhard and Forina, 1992), plus a pool of 16 seeds of one fixed configuration. All three datasets are the copies shipped with scikit-learn (Pedregosa et al., 2011).
Designs and Definitions. Each candidate is scored once on every item of its population, so the item mean of row i is that candidate's population score and no candidate is ever retrained. Evaluation designs are then realized by resampling items: the shared design scores every candidate on the same n items, the per-candidate design draws an independent set of n/M items for each candidate. Both draw i.i.d. with replacement from the population, so the scoring noise has exactly zero mean; the per-candidate sets are drawn independently of one another rather than partitioned, so they may overlap in content, and it is the independence of the draws, not disjointness, that makes the per-candidate noise exactly independent across candidates.
We report the optimism of the reported best, , which is Bias(ME) of Sec. 2 on the accuracy scale, and its regret . The ceiling of a configuration is for the constant of its class, and which class that is follows from the design: the per-candidate design is in the independent class by construction, whatever the population’s covariances, so the test below is applied to the shared design alone.
Grid. One cell is one population, pool size, budget and design. A pool of size M is the first M candidates of its population, so the pools are nested in M. Candidates are ordered by the sweep that generates them, so the small pools vary only the fastest axis and are correspondingly homogeneous: at M = 2 a language-model pool is one prompting scheme at two temperatures and a classifier pool is two capacities of one model family. Results at M = 2 and 4 should be read with that in mind.
The language-model populations have eight candidates and the classifier populations sixteen, so pool sizes run over and respectively. Budgets double, , and each cell is replicated 20,000 times, giving cells. Scores below are percentage points.
Validity of the Ceiling. In every cell the measured lies on or below the ceiling of its class (Figure 1(a)). Since each design's class is fixed by construction, a violation would mean a fault in the measurement rather than a counterexample, and we report the check in that spirit. It does exercise the extremes: cells in which the per-candidate design leaves one item per candidate, and the per-candidate cells of the pool that fails the covariance test, which are held to the independent constant rather than to the looser one its population would suggest.
Realized Fraction. The realized fraction separates the two classes: with per-candidate items (independent class, Theorem 3) has median 0.75 and reaches 0.84, and with shared items it has median 0.37 and reaches 0.62, each cell divided by the constant of its own class. These medians run over all pool sizes and budgets; Table 3 is one budget, and its nine per-candidate rows have a median of 0.53, because rises with the budget.
The ceiling of Theorem 3 is therefore about a third above the an independent-evaluation pipeline actually incurs. The optimism of the reported best is smaller again, so the ceiling exceeds it by more; the reporting recipe below quotes both distances.
The ceiling is the looser of the two because positive correlation across candidates cancels in the score differences that decide the selection without cancelling in , so the denominator grows while the numerator does not.
Where a pool falls inside its class depends on how close its candidates are to the top of the accuracy scale. At M = 8 with eight items per candidate (Table 3) the independent-class fraction is 0.71 to 0.76 on the four pools that still contain a candidate below 0.75 — MMLU-Pro, GSM8K, MATH-500 and the hardest classifier pool — and falls as the weakest candidate rises: 0.53 on ARC-Challenge (0.895 to 0.917), 0.47 on wine (0.924 to 0.966), and 0.27 to 0.36 on the three pools whose candidates all exceed 0.95.
Near the top of the scale the per-item variance, at most , collapses, and a mean of eight bounded items is far from the two-point law that attains the constant. This ordering is a regularity of nine pools at one budget, not a law; which feature of a pool predicts is open (Sec. 7).
Verifying the Class Hypothesis. All four language-model populations and four of the five classifier pools have every pairwise covariance of per-item scores positive, so Corollary 1b applies and the constant is . The 16-candidate wine pool contains a negatively correlated pair (minimum covariance -0.031), which places it in the arbitrary-dependence class and raises its ceiling from to ; its eight-candidate shortlist has all covariances positive. The graded family is applied by checking the covariances and reading off the constant.
Design Effect at a Fixed Budget. Splitting a fixed budget into M blocks multiplies each candidate's variance by M, so the that independence buys in the constant is a statement per unit of variance rather than design advice. At equal budget the ceilings predict a ratio of per-candidate to shared optimism, between 1.41 and 2.92 over our pool sizes; the measured ratio has median 4.85 with interquartile range 3.14 to 8.63, and the shared design incurs less optimism in every one of the 220 pairs in which both quantities are resolved to three standard errors (Figure 1(b)). The measured effect exceeds the predicted one because the shared design also realizes a smaller fraction of its own ceiling.
In the MMLU-Pro cell of Table 3 the same 64 items cost 3.09 points of optimism when shared and 18.87 points when split into eight blocks of eight, a factor 6.1. Shared evaluation dominates at a fixed budget, and by more than the constants alone suggest.
Comparison with a Gaussian Model. A Gaussian model with the matched covariance is not a substitute for the ceiling. Replacing the resampled scores by Gaussian ones changes the optimism by a factor whose median is 0.89 (interquartile range 0.74 to 0.97 over 444 resolved cells), and the error is systematic in the budget, the median rising monotonically from 0.60 at n = 16 to 0.96 at n = 1024.
At small budgets the Gaussian model overstates the optimism, by up to sixteenfold, because an average of a few bounded discrete item scores has much lighter tails than its Gaussian counterpart: on the three pools whose eight candidates all exceed 0.95 — the two digit sweeps and breast cancer — it predicts 7.6 to 7.9 points where 2.1 to 2.4 are incurred (Table 3).
The direction reverses in 24 of 444 cells, by up to 1.5-fold at the largest budgets and extreme pass rates, where skewness dominates (Figure 1(c)); a handful of further cells cross the line by a margin of no consequence once the ratio is already near one, as the shared MMLU-Pro row does at a budget of 64 with 3.09 against 3.05.
Variance Heterogeneity. The extremal laws that attain Theorem 3 carry variances spanning a factor of order M across arms. Real pools do not: the ratio of largest to smallest per-candidate item variance stays between 1.15 and 1.81 across our nine populations, and within that band does not track it, the Spearman rank correlation being 0.25. The accuracy level does track it, at -0.95 over the same nine populations. Nine points are few either way, and the contrast is what we report rather than a predictor: one ordering is monotone up to an adjacent swap and spans a threefold range in , the other moves without order inside a narrow band.
Attainment needs a variance profile no selection pool we measured comes close to, which is why the constants are best read as ceilings computable from data, not as predictions of the optimism.
A Worked Cell. Selecting among the eight configurations by MMLU-Pro accuracy measured on 64 shared items, the accuracy of the reported winner overstates its population accuracy by points against a ceiling of 14.86 points, while the winner's population accuracy is 0.44 points below the best available. The first number is what a leaderboard reports; the second is what the selection costs.
The seed pool of Table 3 is the closest thing here to a null case: sixteen seeds of one configuration, whose population accuracies still differ, by 2.4 points over the sixteen and 1.1 over the eight in the table, so most but not all of the reported gain of the best seed is winner's bias. Its measured quantities behave as in the other pools, as the theory implies, since the constants do not depend on the means.
Reporting Recipe. The optimism of a leaderboard-style best-of-M number admits a ceiling computable from quantities already in hand: the per-candidate score variances give , and the class constant follows from the evaluation design, after checking the pairwise covariances if the design is shared. No distributional assumption and no additional model runs are required.
Against , the quantity the theorem bounds, that ceiling is too large by a factor between 1.3 and 1.7 over the interquartile range of cells with per-candidate items, and between 2.4 and 3.2 with a shared evaluation set; against the optimism of the reported best, which is smaller again, the same ranges are 1.5 to 3.3 and 4.5 to 11.7. A recipe must say which of the two it bounds, since the optimism of the reported best is smaller than whenever the candidates are not tied.
Exclusions. A 60-item competition benchmark (AIME 2024 and 2025) was evaluated and excluded: at this model scale four of the eight candidates score exactly zero, so the pool has four identical rows with no variance and selection has nothing to select between. On MATH-500 and MMLU-Pro between 5% and 20% of chain-of-thought generations reach the token cap, which lowers the population accuracies of the affected candidates; since the population is defined by the measured scores and the optimism is measured against that same population, this does not affect any statement above, but it does mean the absolute accuracies are not comparable with published leaderboard numbers.
6 Related Work
Classical Moment Bounds. Aven (1985) proves
in which n is the number of variables, M in our notation, and gives covariance-aware variants through a fixed reference arm. Arnold and Groeneveld (1979) prove tightness in the equal-moments case with an explicit dependent construction. These are the arbitrary-dependence pole of Table 1; the i.i.d. pole is Gumbel (1954) and Hartley and David (1954).
Convex-Optimization Bounds. Bertsimas et al. (2006) treat the moment problem for order statistics under arbitrary dependence (“no other assumptions on independence or the type of distribution are made”) and compute the covariance-informed tight bound as a semidefinite program; the only independence-adjacent result they cite is the i.i.d. bound above.
In the marginal-moment-problem line that follows them, expectations of maxima and ranges are bounded by convex optimization under marginal or partial dependence information, and Natarajan and Teo (2017) reduce the semidefinite programs involved and apply them to the expected range. Those bounds are optimal values computed per instance, and they require the covariance information that the independent class replaces by a structural assumption.
Bounds for Samples from a Common Distribution. The projection method of Gajek and Rychlik (1996, 1998) and the monograph of Rychlik (2001) derive sharp expectation bounds for order statistics of samples from a common distribution, possibly restricted in shape (decreasing density, decreasing failure rate, symmetric unimodal). The independent case treated there (Gajek and Rychlik, 1998) concerns independent samples from one such distribution, so the variables are identically distributed and the bounds are in units of the common mean and standard deviation, which is a different problem from ours.
Rychlik (1995) bounds order statistics of dependent variables with given non-identical marginals, and Kałuszka et al. (2005) bound L-statistics from dependent samples of random length. None of this work treats independent, non-identically distributed variables under per-variable variance information, which is the setting of Theorems 2 and 3.
The Open Covariance-Informed Problem. Papadatos (2016) derives the tight mean-variance bound for the expected range under arbitrary dependence, proves the tight covariance-informed bound at M = 2 (Corollary 7.1, crediting Papadatos, 2001), and poses tight covariance-informed bounds at general M as open, listing the bounds of Aven (1985) and Papadatos (2001) as non-tight. Corollary 1b answers the uncorrelated case of that question in closed form.
Estimating the Maximum of Means. van Hasselt (2010, 2013) introduced the double estimator and the conjecture resolved in Sec. 4. D'Eramo et al. (2016) propose a Gaussian approximation estimator for the same quantity. This line studies estimators; our results bound the worst case of any selection-based report.
Selection Bias in Model Evaluation. The minimum cross-validated error of a tuned model is optimistic: Varma and Simon (2006) show the bias on simulated data and remove it by nested cross-validation, Cawley and Talbot (2010) find its effect comparable to the differences between learning algorithms, and Tibshirani and Tibshirani (2009) estimate it from the cross-validation run itself. These works measure or estimate the bias in a given problem; the constants here bound it in advance. Reusing one holdout set or leaderboard for repeated selection raises the same issue, which Dwork et al. (2015) and Blum and Hardt (2015) control algorithmically; Recht et al. (2019) find that the accuracy drops on new CIFAR-10 and ImageNet test sets are not explained by such adaptive overfitting.
Post-Selection Inference. Post-selection inference corrects selection effects either simultaneously over all possible selections (Berk et al., 2013) or by conditioning on the selection event (Lee et al., 2016; Fithian et al., 2014), and Andrews et al. (2024) build estimators and confidence intervals for the winner among several estimates. This work is complementary: it requires distributional assumptions and yields valid inference, whereas the constants here are distribution-free bounds on unconditional bias.
7 Limitations
The constants are worst-case over noise laws within each dependence class; Table 2 quantifies the gap to Gaussian noise, which grows with M. The attainment analysis leaves one open question: whether every attaining configuration in Theorem 3 must contain a deterministic arm is proved at M = 2 and conjectured for general M (the conjecture is used nowhere).
The numerical study of Sec. 5 has a narrow scope. The language-model pools vary the decoding and prompting configuration of a single 7B model, so pools that mix model scales — the case whose variance profile could come closest to the extremal one — are untested, and the classifier pools are small models on datasets that ship with a standard library.
All scores are single-item correctness, and both designs are idealizations: the resampling of Sec. 5 is what makes the scoring noise exactly mean-zero and the per-candidate design exactly independent. It is also the only source of randomness, since each candidate is scored once and its population score is treated as fixed, so the measurements say nothing about noise from retraining, from data splits, or from distribution shift between the evaluation pool and deployment.
The realized fractions of Sec. 5 describe these pools at these budgets and are not typical-case guarantees; outside them we make no claim about magnitudes beyond Table 2. Finally, the gap between the ceilings and the measurements is explained only qualitatively: the variance heterogeneity the extremal laws require is absent from these pools, and tracks the accuracy level instead, but nine populations do not yield a quantitative predictor of .
AI Use Statement
In this work, we used generative AI tools to assist in writing the Lean 4 formalization of our proofs (Appendix E). We have not used generative AI tools to develop the theory, formulate the mathematical claims, provide ingredients for or write the proofs of Appendices A to D, propose hypotheses, design the experiments, implement the methods, generate or clean data, or interpret the results; translation and qualitative or thematic data analysis are not applicable to this work. Additionally, we used generative AI tools to edit the text for readability, to create or modify figures, and to brainstorm the title. We have reviewed all AI-assisted work: the authors checked every statement of the Lean formalization manually against the paper after it was implemented, the formal proofs are checked by Lean's kernel, and the authors checked all proofs in the paper line by line. We take responsibility for the final content of this work, including text, claims, or artifacts produced with the aid of generative AI.
References
Aeberhard, S. and Forina, M. (1992). Wine. UCI Machine Learning Repository, doi:10.24432/C5PC7J.
Alpaydin, E. and Kaynak, C. (1998). Optical recognition of handwritten digits. UCI Machine Learning Repository, doi:10.24432/C50P49.
Andrews, I., Kitagawa, T., and McCloskey, A. (2024). Inference on winners. The Quarterly Journal of Economics, 139(1):305–358.
Arnold, B. C. and Groeneveld, R. A. (1979). Bounds on expectations of linear systematic statistics based on dependent samples. The Annals of Statistics, 7(1):220–223.
Aven, T. (1985). Upper (lower) bounds on the mean of the maximum (minimum) of a number of random variables. Journal of Applied Probability, 22(3):723–728.
Bayer, C. and Teichmann, J. (2006). The proof of Tchakaloff's theorem. Proceedings of the American Mathematical Society, 134(10):3035–3040.
Berk, R., Brown, L., Buja, A., Zhang, K., and Zhao, L. (2013). Valid post-selection inference. The Annals of Statistics, 41(2):802–837.
Bertsimas, D., Natarajan, K., and Teo, C.-P. (2006). Tight bounds on expected order statistics. Probability in the Engineering and Informational Sciences, 20(4):667–686.
Blum, A. and Hardt, M. (2015). The Ladder: A reliable leaderboard for machine learning competitions. In Proceedings of the 32nd International Conference on Machine Learning, PMLR 37:1006–1014.
Cawley, G. C. and Talbot, N. L. C. (2010). On over-fitting in model selection and subsequent selection bias in performance evaluation. Journal of Machine Learning Research, 11(70):2079–2107.
Clark, P., Cowhey, I., Etzioni, O., Khot, T., Sabharwal, A., Schoenick, C., and Tafjord, O. (2018). Think you have solved question answering? Try ARC, the AI2 reasoning challenge. arXiv:1803.05457.
Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H., Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Nakano, R., Hesse, C., and Schulman, J. (2021). Training verifiers to solve math word problems. arXiv:2110.14168.
D'Eramo, C., Restelli, M., and Nuara, A. (2016). Estimating maximum expected value through Gaussian approximation. In Proceedings of the 33rd International Conference on Machine Learning, PMLR 48:1032–1040.
Dwork, C., Feldman, V., Hardt, M., Pitassi, T., Reingold, O., and Roth, A. (2015). The reusable holdout: Preserving validity in adaptive data analysis. Science, 349(6248):636–638.
Fithian, W., Sun, D., and Taylor, J. (2014). Optimal inference after model selection. arXiv:1410.2597.
Gajek, L. and Rychlik, T. (1996). Projection method for moment bounds on order statistics from restricted families. I. Dependent case. Journal of Multivariate Analysis, 57(1):156–174.
Gajek, L. and Rychlik, T. (1998). Projection method for moment bounds on order statistics from restricted families. II. Independent case. Journal of Multivariate Analysis, 64(2):156–182.
Gumbel, E. J. (1954). The maxima of the mean largest value and of the range. The Annals of Mathematical Statistics, 25(1):76–84.
Hartley, H. O. and David, H. A. (1954). Universal bounds for mean range and extreme observation. The Annals of Mathematical Statistics, 25(1):85–99.
Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., and Steinhardt, J. (2021). Measuring mathematical problem solving with the MATH dataset. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1.
Kaluszka, M., Okolewski, A., and Szymańska, K. (2005). Sharp bounds for L-statistics from dependent samples of random length. Journal of Statistical Planning and Inference, 127(1–2):71–89.
Lee, J. D., Sun, D. L., Sun, Y., and Taylor, J. E. (2016). Exact post-selection inference, with application to the lasso. The Annals of Statistics, 44(3):907–927.
Lightman, H., Kosaraju, V., Burda, Y., Edwards, H., Baker, B., Lee, T., Leike, J., Schulman, J., Sutskever, I., and Cobbe, K. (2024). Let's verify step by step. In The Twelfth International Conference on Learning Representations.
Natarajan, K. and Teo, C.-P. (2017). On reduced semidefinite programs for second order moment bounds with applications. Mathematical Programming, 161(1–2):487–518.
Papadatos, N. (2001). Expectation bounds on linear estimators from dependent samples. Journal of Statistical Planning and Inference, 93(1–2):17–27.
Papadatos, N. (2016). Maximizing the expected range from dependent observations under mean-variance information. Statistics, 50(3):596–629.
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., and Duchesnay, É. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12(85):2825–2830.
Recht, B., Roelofs, R., Schmidt, L., and Shankar, V. (2019). Do ImageNet classifiers generalize to ImageNet? In Proceedings of the 36th International Conference on Machine Learning, PMLR 97:5389–5400.
Rychlik, T. (1995). Bounds for order statistics based on dependent variables with given nonidentical distributions. Statistics & Probability Letters, 23(4):351–358.
Rychlik, T. (2001). Projecting Statistical Functionals. Lecture Notes in Statistics 160, Springer, New York.
Samuelson, P. A. (1968). How deviant can you be? Journal of the American Statistical Association, 63(324):1522–1525.
Tibshirani, R. J. and Tibshirani, R. (2009). A bias correction for the minimum error rate in cross-validation. The Annals of Applied Statistics, 3(2):822–829.
van Hasselt, H. (2010). Double Q-learning. In Advances in Neural Information Processing Systems 23, pages 2613–2621.
van Hasselt, H. (2013). Estimating the maximum expected value: an analysis of (nested) cross validation and the maximum sample average. arXiv:1302.7175.
Varma, S. and Simon, R. (2006). Bias in error estimation when using cross-validation for model selection. BMC Bioinformatics, 7:91.
Wang, Y., Ma, X., Zhang, G., Ni, Y., Chandra, A., Guo, S., Ren, W., Arulraj, A., He, X., Jiang, Z., Li, T., Ku, M., Wang, K., Zhuang, A., Fan, R., Yue, X., and Chen, W. (2024). MMLU-Pro: A more robust and challenging multi-task language understanding benchmark. In Advances in Neural Information Processing Systems 37 (Datasets and Benchmarks Track), pages 95266–95290.
Wolberg, W., Mangasarian, O., and Street, W. N. (1993). Breast cancer Wisconsin (diagnostic). UCI Machine Learning Repository, doi:10.24432/C5DW2B.
Yang, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., et al. (2024). Qwen2.5 technical report. arXiv:2412.15115.
Appendix
Numbering matches the main text: Lemma 1 (transfer), Theorem 1 with Corollaries 1a/1b, Theorem 2, Theorem 3, and the Attainment Lemma. Every identity and attainment claim below was additionally verified in exact rational and symbolic arithmetic; the verification script will be released with the code. All theorems and lemmas below are also formally verified in Lean 4 with Mathlib; the formalization is described in Appendix E.
A Notation and the Transfer Lemma
A.1 Setup and Notation
Alternatives (arms) , true means , , gaps . Selection estimates with , , , . The winner is . Two estimators of :
-
Max-estimator (ME): report ; Bias(ME) = .
-
CV / double estimator: evaluate an independent unbiased estimate at ; Bias(CV) = .
Tie Convention. Ties in arg max are broken by uniform choice; none of the extremal laws in this appendix produce ties. The transfer below also holds under the tie convention of van Hasselt (2013), which averages the gap over the tied set; no ties occur in the constructions.
Two-Point Notation (used throughout Appendices C and D). A two-point mean-zero arm takes the up value with probability and the down value with probability ; its variance is . With arms sorted so that :
A.2 Lemma 1 (Transfer)
Lemma 1.
Proof. Since , for a fixed optimal arm (one with ) we have , i.e. . Take expectations and use .
Consequently every upper bound on in this appendix bounds both and , and all three extremal constructions approach their constants in the form as well, along the limiting configurations of Appendix D.5: each gap rises to times the largest lead its arm's noise can take over the optimal arm, . That lead is the up-value of the arm for the cascade, whose best arm is deterministic, but , not the up-value , for the one-up laws of Corollaries 1a and 1b.
Remark (K-fold decomposition). For K-fold CV the per-fold decomposition is licensed by van Hasselt's (2013) observation that averaging over folds does not change the bias (“The bias of the CV estimators is unaffected by the fact that averages over K estimators”). Per fold k, the tie-averaged gap is bounded by (Corollary 1a, which requires no dependence assumption at all), and ; the bound applies fold-wise and averages. Edge case: the conjectured strict inequality fails exactly when all fold variances vanish (both sides are then 0); this is noted in the main text.
B Theorem 1 and Corollaries 1a/1b
B.1 Theorem 1 (Master Bound)
Theorem 1. For any mean-zero Z (no independence assumed),
Proof. Samuelson's inequality (Samuelson, 1968), applied pointwise: for any reals with mean ,
Apply at , so that . Take expectations, use , and apply Cauchy–Schwarz to :
and the variance identity
completes the proof.
Difference Form. Via the identity
Theorem 1 is equivalent to a bound in the variances of pairwise differences.
Provenance. Theorem 1 is Aven's (1985) bound applied to the deviations : , , and , so is exactly the master bound. We therefore claim no novelty for Theorem 1 itself; the Samuelson proof above is kept as self-contained exposition. At the bound is published with tightness: Papadatos (2016, Cor. 7.1), crediting Papadatos (2001).
Lemma (gap to Aven's fixed-arm family). Aven's covariance-aware bounds are (centered) with , for each fixed reference arm . With :
-
for every , with exact slack ;
-
, hence ;
-
so (assuming ); over this reference-arm subfamily the ratio equals 1 iff some a.s. (by the slack in 1; a deterministic arm is neither necessary nor sufficient), and is attained, for any non-degenerate exchangeable law , e.g. i.i.d.), where every . Aven's member is excluded from this min; including it keeps the ratio in (since ) but changes the equality case to “ a.s. or some a.s.”: e.g. the anti-correlated pair of Corollary 1a has with no .
Proof. (1) Fix , set ; then , , and pointwise ; take expectations. (2) Expand and take expectations. (3) Immediate from (1)-(2).
Remark. Under full covariance information the tight bound is the semidefinite program of Bertsimas et al. (2006, Sec. 2.4), which dominates the master bound; the master bound's virtue is closed form. Papadatos (2016, Sec. 7) poses tight covariance-informed bounds at general M as open, listing the bounds of Aven (1985) and Papadatos (2001) as non-tight; Corollary 1b below answers the uncorrelated case of that question sharply.
B.2 Corollary 1a (Arbitrary Dependence)
Corollary 1a. in Theorem 1 gives
This is Aven's bound (displayed as bound (3) in Bertsimas–Natarajan–Teo's restatement), cited by van Hasselt as his equation (7). It is sharp.
Equality Characterization. Equality in the chain of the proof of Theorem 1 requires all three of:
-
a.s. (to drop the term),
-
the Samuelson equality pattern pointwise (one value up, the remaining M - 1 values equal), and
-
a.s. constant (the Jensen/Cauchy–Schwarz condition).
Attainment. At : the anti-correlated pair (each sign with probability ) has and satisfies the Samuelson equality pattern, attaining . The anti-correlated pair attains the constant at only; at general the attaining law is the uniform-index one-up law (Arnold–Groeneveld's dependent construction; tightness in the equal-moments case is theirs, as restated by Bertsimas–Natarajan–Teo): let be uniform on and
Then , pointwise, each realization has one value up and the rest equal, , , and a.s., so
exactly, at finite parameters.
B.3 Corollary 1b (Pairwise Nonnegative Correlation; Sharp)
Corollary 1b. If for all , then
and this is sharp already in the uncorrelated subclass (Cov = 0), attained exactly at finite parameters. Proof of the bound. . Under pairwise this gives (with equality iff all pairwise covariances vanish). Then Theorem 1 gives
Attainment: The One-Up-plus-Common-Shock Law (Exact at Finite Parameters, Not Asymptotic). Fix . Let be uniform on , let be the one-up law of Corollary 1a ( up, down for ), and let be an independent mean-zero common shock with variance exactly . Set
Then:
• Mean zero: .
• Covariances: for , , so and the arms are pairwise uncorrelated, which fixes the shock variance at .
• Variance and maximum: , so ; and , so . The shock adds to the denominator and nothing to the numerator:
exactly, at every finite . Equality also holds term-by-term in the master bound: , , and .
The Cov ≥ 0 Extension. Since holds under pairwise Cov ≥ 0 (not only under Cov = 0), Corollary 1b extends verbatim to the pairwise nonnegatively-correlated class, and is sharp on its boundary (the uncorrelated subclass). This wider class is also the realistic one: shared evaluation data induces positive correlation. It is likewise the class in which van Hasselt's appendix proof lives: Cantelli's right-hand side is increasing in the variance, so his substitution of for is valid iff , and his proved constant is at .
Remark (limits of the master bound). Independence gives the same as uncorrelatedness, so the master bound cannot see past ; no variance-decomposition argument can. The independent improvement (Theorems 2–3) rests on a different mechanism.
C Theorem 2 (Independent Noise, Deterministic Best Arm)
Theorem 2. For independent mean-zero :
Equivalently: in the CV problem with arms whose best arm has deterministic selection estimate, the sharp constant is .
Proof, in five steps. Write .
C.1 Step 1: Two-Point Reduction per Arm
By Dinkelbach conjugation, maximize at the critical . For fixed other arms, both and are linear in arm 's law, so the per-arm problem maximizes a linear functional over the constraint set , whose extreme points have at most 2 atoms. An arm whose up-atom is non-positive is (by the mean-zero constraint) the point mass ; it contributes nothing to and is dropped, reducing ; since is increasing in , the bound for the reduced problem implies the stated one. So without loss of generality arm takes with probability and with probability , with .
(The fully careful statement of this reduction, covering finiteness of the sup, integrability of the per-arm integrand, the Bayer–Teichmann representation theorem, and the one-sweep exact-replacement argument, is written out in Appendix D.1 for Theorem 3; it is the same Dinkelbach argument, with the deterministic floor entering only through the other-arms maximum .)
C.2 Step 2: The Exact Formula
Sort the arms so that . Partition by the first up arm: iff arm is up and all arms are down (arms cannot change the max then, since and their down values are negative); if all arms are down, . Hence
C.3 Step 3: The Cauchy–Schwarz Split
Factor each term and apply Cauchy–Schwarz:
with equality at . This choice is sort-consistent: since ,
so the maximizing respects the assumed order , and the split loses nothing.
C.4 Step 4: The Recursion and Its Exact Solution
Since and for ,
so where
Claim: , with optimizer .
Proof by induction. Base: . Assume . The objective is a concave quadratic in ; setting its derivative to zero,
so . The value there is
Combining Steps 3–4: .
C.5 Step 5: Attainment (The Cascade Law)
Take arm :
hence for every k.
The supremum is attained exactly, for every m, by a two-line computation. Each arm has
so . The cascade is indexed by increasing up-value , so arm occupies sorted position , and the head survival factor of Appendix A.1 at that position is the product of the over the arms with larger up-value, that is over . With the product telescopes:
so each term of the exact formula is
and
Hence exactly. The same configuration appears as the Theorem-3 attaining law with the floor realized by a deterministic-zero arm (Appendix D.5).
D Theorem 3 (Independent Noise, General)
Theorem 3. For independent mean-zero :
i.e. the Theorem-2 value with one fewer arm: the optimal role of one arm is as a deterministic floor. The sup is attained exactly (Appendix D.5).
The proof is a chain of four reductions plus the attainment lemma:
two-point reduction (D.1) convexity (D.2)
head recursion (D.3) (D.4); attainment (D.5).
Throughout, only upper bounds ( ) are needed in D.1–D.4; equality follows from D.5.
D.1 The Two-Point Reduction
Proposition (two-point reduction).
is unchanged if every arm is restricted to laws with at most two atoms.
Proof. Step 0 (normalization and finiteness). , and scaling scales the objective by and the variance by , so the sup over equals (as suprema) the sup at , and the ratio form has the same value. is finite before anything else is argued: Corollary 1a (Samuelson pointwise plus Cauchy–Schwarz; no independence used) gives for every mean-zero vector, so
Assume throughout Steps 1–5 (at the theorem is the trivial and below would be a maximum over an empty set); for , (the arm with probability each, plus a zero arm, gives ).
Step 1 (Dinkelbach conjugation). For let
over independent mean-zero laws, unconstrained. For any with : (finite by Step 0), so
conversely, scaling a near-optimal to shows equality. So \Phi(\lambda) = R^*^2/(4\lambda) < \infty, and determining on the two-point class determines on it, unambiguously, via , which needs only .
Step 2 (per-arm linearity). Fix and all arms except , and let (independent of ). Define
g is a 1-Lipschitz convex function with as and as (indeed ). The Fubini step behind g is licensed: , both integrable (finite variance plus mean zero implies ), product measure, so Tonelli/Fubini applies. The per-arm objective is then
(defined as one integral, not a difference), which is linear in ; the constraint set is .
Step 3 (integrability; no compactness needed). is bounded above: on the left, , so ; on the right, , so . Hence , is well-defined in for every mean-zero (measures without a second moment score ), and any with has . That is all that Step 4's general-integrand theorem requires: no compact-support detour is necessary.
The compact-support route via Tchakaloff's theorem is therefore available but not needed, and we do not take it.
Step 4 (Bayer–Teichmann plus linear-program basic solutions). Consider the moment map
Apply Corollary 2 of Bayer and Teichmann (2006) with , any full-measure set, and : for a positive measure concentrated in and a Borel map whose push-forward has first moments, there exist an integer , points and weights with for every , under integrability alone. The hypotheses hold here: are Borel and -integrable; because is a probability measure; because the mean-zero constraint presupposes it; may be assumed by Step 3 ( is continuous and bounded above). Conclusion: the value vector is achieved by a measure with at most atoms, of mass exactly (the coordinate) and mean exactly (the coordinate).
The argument does not depend on the exact atom count from the citation: among measures on any finite atom set, maximizing the linear objective under the two equality constraints (mass = 1, mean = 0) is a linear program (LP) whose constraint matrix has rank and whose feasible set is a compact subset of the simplex; hence the LP is never unbounded, and an optimal vertex with at most 2 active atoms exists (rank-1 degeneracy forces a one-point measure, which, being mean-zero, is ). Combining: the per-arm sup is approached within two-point mean-zero laws. (The underlying convexity fact is that the barycenter of an integrable random vector lies in the convex hull, not just the closed hull, of its support; this is the probability-measure consequence that Bayer and Teichmann (2006) derive from their Theorem 1.)
Step 5 (one sweep, exact replacements). The joint objective is , where both and depend only on the other arms. Replace arms one at a time by an exact LP optimum: by Steps 3–4, for each arm there is a two-point mean-zero law whose value is (the finitely-atomic representer followed by the LP vertex; both exact, no per-arm ). Each replacement does not decrease the joint value, and a previously replaced arm's law stays supported on at most two atoms (possibly the one-point ; later replacements change only its role in , and support size is a property of the law itself). A later replacement may destroy the per-arm optimality of an earlier one; this is immaterial, because the argument uses only two facts about each replacement: it does not decrease the joint value, and it leaves the replaced arm two-point. One sweep of exact replacements from an -optimal starting configuration gives ; with the trivial , , and Step 1 run inside the two-point class (which is scaling-closed) gives . The sweep terminates in steps.
Remark (degenerate arms). A one-point mean-zero arm is ; if any arm is degenerate, the objective is with random arms and the same , which Theorem 2 bounds by ( ) is increasing in ). So it suffices to bound configurations in which every arm is two-point, which is what D.2–D.4 do.
D.2 The Convexity Step
Work in the two-point class with , arms sorted by up value, and the notation of Appendix A.1 ( , , , ). The formula for below is derived under the sort order ; the maximization over the variance ellipsoid afterwards drops the order constraint, which can only enlarge the supremum, and an upper bound is all that is required. Partition by the first up arm as in Appendix C.2, except that the all-down event (probability ) now contributes the largest down value instead of 0; the objective is
Since of the negatives, with
a maximum of linear functionals of , hence convex; and is homogeneous of degree 1 in . For fixed , the variance constraint is an ellipsoid in , so
with
where (the coefficient of in is , using ; equivalently, the expansion uses ). Because the supremum is taken as a maximum over the attaining arms rather than through a first-order condition, ties among them, subgradients and boundary cases play no role.
If is last in sort order, and immediately (Theorem 2, Step C.4). The remaining task is for every .
D.3 The Head Recursion
Decompose : with the head sum, , tail value over the arms after (in their own coordinates , with survivors computed inside the tail), and tail survival ,
(for , , which yields the factor on the tail sum). The bracket equals
the key quantity of Appendix D.4. Maximizing the head over its arms is the recursion applied times (peel the first arm as in Appendix C.4: ), is increasing in (the coefficient is nonnegative), and , which is the Theorem-2 recursion. Hence
and only ≤ is needed; equality holds numerically but is not claimed. Given (Appendix D.4),
(The composition identity holds because for every : this is the instance of the recursion solved in Appendix C.4, so follows by induction on .) Combining D.1–D.3 with D.4:
D.4 The Key Inequality
Proposition. For a t-arm tail ,
where and with the within-tail survivals.
Proof, in four steps.
Step 1 (the tail trade-off curve has a closed form). Define
the best tail value at fixed tail survival. Then
Proof by induction. Base : directly (one arm, ), matching the formula. For the step, peel the first tail arm (, so the remaining constraint is ):
Substituting the inductive form, the objective is a downward parabola in (leading coefficient ) with unique critical point
which is feasible: , and . Explicitly, substituting gives the objective
a quadratic in r with coefficients
Its value at the vertex is , and the numerator factors:
so the vertex value is , which is the claimed form.
The branch. The peeling identity presumes . At the excluded branch gives , which never attains the max for . Moreover is attained as a value, not merely a supremum: is a polynomial, well-defined at , and placing an always-firing arm last reduces to of the remaining arms, whose maximum is by Appendix C.4.
Two checks of the closed form: at , and , so , matching the telescoped survival of the optimal schedule; at , , consistent with an always-firing arm placed last costing nothing.
Step 1' (order-independence; why the upper envelope is safe). is order-dependent, but the -variables were already eliminated by the Cauchy–Schwarz step, so no sort constraint binds on ; and takes the sup over all ordered tuples, which dominates the specific ordered configuration appearing in . The bound therefore holds pointwise, and only this pointwise domination is used below.
Step 2 (vertex analysis). For fixed tail y, Step 1' gives
is a quadratic in with , , and vertex when . Cases:
-
: the parabola opens upward (coefficient ), so the max over is at an endpoint; (Step 1's form is maximized at with value ) and .
-
: downward parabola with vertex , so the max on is at , .
• (interior vertex): the vertex value is , and
-
Sub-case : , so .
-
Sub-case , i.e. : the one nontrivial branch, handled in Step 3.
Step 3 (the nontrivial branch is a factored cubic). With and , the required inequality reads , and
(an identity verified by expanding both sides). On : the factor ; the second factor at the left endpoint is and is increasing in , so the product is throughout, i.e. where it is needed, with equality only at .
Step 4 (endpoints meet, and the equality branch). At ( ):
(both sides equal ): the constraint curve and the trade-off curve touch at the always-firing-tail configuration. The equality branch at a = 1 for general t is
This is the regime in which the tail always fires and arm k itself takes the role of the deterministic floor.
This completes the chain: D.1 (two-point reduction) → D.2 ( ) → D.3 ( composition, ≤ only) → D.4 ( ) gives sup for independent mean-zero noise. Equality is Appendix D.5.
D.5 The Attainment Lemma
Attainment Lemma. The Theorem-3 sup is attained exactly for every : the -arm cascade of Theorem 2 (arm : with probability , else ) plus one deterministic-zero arm is a legitimate independent -arm mean-zero configuration, and is the Theorem-2 quantity with , so by the computation in Appendix C.5 (with : , ),
The bias-transfer form needs a limiting construction, given below; the ratio itself does not.
The Limiting Constructions for . The gaps must be placed just below the up-values of the extremal law, not near zero. Give the deterministic arm the top mean, , and arm the gap with , where is its up-value. Arm then beats the floor exactly when it is up, since up and down; and among the up arms the largest wins, which is the same arm that attains . Hence
with V unchanged, since the means do not enter it. The ratio therefore rises to the constant as , that is as every alternative's deficit approaches the gain its own noise can supply and selection becomes a near-tie. The margins must keep the order of the : with gaps just below the but margins in another order the limit is smaller, for instance at .
At this is the whole picture in closed form. With the floor , and gap on the second arm, the second arm is selected exactly when it is up and , so
The supremum 1/2 is approached as . At the ratio goes to zero: a pool of equally good alternatives has no bias to transfer, because every selection is then correct. Vanishing gaps are the wrong limit.
The One-Up Laws. The same mechanism carries the constants of Corollaries 1a and 1b over to the form, but the gaps must rise to , the lead of an up arm over the optimal arm (which is then down), and not to the up-value . Give arm 1 the top mean and every other arm the gap . When the up arm beats every other non-optimal arm and beats arm 1 exactly when ; when arm 1 wins; and the common shock of Corollary 1b shifts every score equally. With ties broken uniformly, for both laws,
with unchanged. Hence as , and rises to and to respectively; gaps at the up-value give only the fraction of each constant.
Necessity of a Deterministic Arm at (Proved). , with equality iff is a.s. constant; for independent arms this forces one arm deterministic ( a.s., ): the deterministic-floor structure appears by itself.
Remark (conjecture). Whether every attaining configuration at general must contain a deterministic arm is stated as a conjecture; Sec. 7 records its status.
E Formal Verification in Lean 4
The formalization, which will be released with the code, covers every theorem, corollary and lemma of the paper in Lean 4 with Mathlib (toolchain and Mathlib v4.34.0-rc1; 11 files, about 7,900 lines). It contains no sorry, and every theorem depends only on Lean's standard axioms propext, Classical.choice and Quot.sound. It builds with lake build.
What Is Formalized. Random-variable statements are made on an arbitrary probability space for , with hypotheses MemLp (Z i) 2 P (finite variance), and, where the class requires it, iIndepFun Z P (mutual independence). The maximum is the pointwise supremum and is the sum of the Mathlib variances. Sharpness is formalized as a greatest element: for Theorems 2 and 3 the statement IsGreatest asserts both that the constant bounds the ratio over all admissible laws and that some law attains it.
Correspondence. Table 4 lists the main Lean names; the README of the released formalization gives the full list, including the paper-specific algebra of Appendices C and D and the closed forms behind Tables 1 and 2.
Table 4: Paper results and the Lean theorems that verify them.
| paper | Lean | file |
|---|---|---|
| Lemma 1, bias ranges | Transfer.transfer, me_bias_mem, cv_bias_mem | Transfer |
| Theorem 1 | Master.master_bound | Master |
| Corollaries 1a, 1b (bounds) | corla_bound, corla_eq_iff, cor1b_bound, cor1b_strict | Master |
| Corollaries 1a, 1b (attaining laws) | Attain1.Y_ratio, pair_ratio, shock_attains | Attain1 |
| Theorem 2 | theorem2, theorem2_measure, theorem2_sup | Independent |
| Theorem 3 | theorem3, theorem3_measure, theorem3_sup | Independent |
| Theorem 3 at , deterministic arm | thm3_M2_bound, thm3_M2_equality | Necessity |
| Two-point reduction (App. D.1) | reduction_ratio_rv, reduction | Reduction |
| Cascade attainment (App. C.5, D.5) | TwoPoint.cascade_*, cascadeZ_* | TwoPoint |
| Corollary 2 | Transfer.cor2, cor2_strict_iff, cor2_me | Transfer |
| limits (App. D.5) | cascade_limit, m2_closed_form, ouEgap_* | Transfer |
Where the Formal Proofs Take Shorter Routes. Two steps of the independent case are formalized along routes different from, and shorter than, the ones written in this appendix. The two-point reduction of Appendix D.1 is proved without Bayer and Teichmann (2006): an elementary supporting-line lemma (a function bounded by on every mean-zero two-point law satisfies for some ) combined with Fubini's theorem arm by arm. The two-point bound of Theorem 3 is proved by one induction that removes the arm with the largest up-value and applies a two-term Cauchy–Schwarz step, and the inequality of Appendix D.4 follows, once is replaced by its closed-form bound , from the sum-of-squares certificate
valid for and nonnegative on . The route written here (ellipsoid, maximum of values, vertex analysis and factored cubic) is formalized separately as well, so both proofs are checked.