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.

Monotone risk calibration and finite-sample deployment guarantees

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

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

Finite nested decision families and bounded risk

Definition

Let n,M≥1, B>0, and α∈[0,B). Fix a deterministic strictly ordered grid Λ={λ1<⋯<λM}⊂R and a probability space (Ω,F,P). For i=1,…,n+1, let Wi be a random element of [0,B]M with its Borel sigma-algebra, and write Li(λj)=(Wi)j. The rows W1,…,Wn+1 are exchangeable when their joint law is invariant under every permutation of the n+1 row indices. The coordinates Li(λj) are the losses of the finite decision family at observation i; in a prediction problem they may be obtained by applying each fixed prediction rule to that observation and evaluating a specified loss.

The family is loss-nested when, with probability one, Li(λ1)≥⋯≥Li(λM) for every i. It is endpoint-safe at level α when, with probability one, Li(λM)≤α for every i. For any measurable selector λ^ taking values in Λ and determined by the calibration rows W1,…,Wn, its marginal expected test risk is E[Ln+1(λ^)], with expectation over all n+1 rows. This expectation is finite because every loss lies in [0,B]. Here “nested” means nonincreasing loss on the specified grid; literal inclusion of prediction sets is not required.

Definition references

Exchangeable random elements: exchangeability means invariance of the joint law under every coordinate permutation.

Random elements and real random variables: a random element is a measurable map from a probability space into a measurable space.

Expectation of a nonnegative or integrable random variable: the expectation of a bounded nonnegative loss is its Lebesgue integral against the probability measure.

Angelopoulos et al., Conformal Risk Control, §1.1

Angelopoulos, Barber, and Bates, Theoretical Foundations of Conformal Prediction, Chapter 2 §§2.1–2.2

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

Finite-grid conformal risk control

Definition

Input a deterministic ordered grid Λ={λ1<⋯<λM} with M≥1, a calibration size n≥1, a bound B>0, a target α∈[0,B), and calibration losses Li(λj)∈[0,B] for 1≤i≤n and 1≤j≤M. Also supply the prediction rule dλj associated with each grid point. For j=1,…,M in order, compute Tj=∑i=1nLi(λj)+Bn+1. Return (λj,dλj,pass) at the first index for which Tj≤α. If no index passes, return (λM,dλM,fallback). Monotonicity and the endpoint-safety assumption from the finite nested decision family are hypotheses for the risk theorem, not checks of the unobserved test loss.

Definition references

Finite nested decision families and bounded risk: the grid, bounded loss array, loss-nesting convention, endpoint-safety condition, and marginal expected test risk.

Angelopoulos et al., Conformal Risk Control, §1.1, equation (4)

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

Finite-sample expected-risk control on a finite grid

Statement

For every admissible input to the finite-grid risk-control rule, the rule returns a unique output after at most M threshold tests; no loss monotonicity or endpoint-safety assumption is required for this assertion.

Let n,M≥1, B>0, and α∈[0,B). On a probability space (Ω,F,P), let W1,…,Wn+1 be exchangeable random elements of [0,B]M with its Borel sigma-algebra, and write Li(λj)=(Wi)j on a deterministic grid Λ={λ1<⋯<λM}. Assume that, almost surely, Li(λ1)≥⋯≥Li(λM) for every i and Li(λM)≤α for every i. Apply the finite-grid risk-control rule to the first n rows and let λ^ be its selected parameter. Then E[Ln+1(λ^)]≤α, where the expectation is over all n+1 rows.

For a sub-sigma-algebra T⊆F, suppose the full matrix W=(W1,…,Wn+1), viewed in ([0,B]M)n+1 with its product Borel sigma-algebra, has an actual regular conditional distribution Qω given T. Suppose that, for almost every training outcome ω, the section Qω is row-exchangeable and the same bounds, monotonicity, and endpoint hypotheses hold Qω-almost surely. Then the same argument gives E[Ln+1(λ^)∣T]≤α almost surely.

Statement references

Finite nested decision families and bounded risk: finite grid, row exchangeability, bounded losses, loss monotonicity, endpoint safety, and marginal expected test risk.

Finite-grid conformal risk control: the first-passing calibration rule and maximum-grid fallback.

Regular conditional distribution: a conditional probability kernel satisfying the conditional-event identity.

Conditional expectation given a sigma algebra: a conditional-expectation version is characterized by its integrals over all conditioning events.

Angelopoulos et al., Conformal Risk Control, §2.1

Angelopoulos, Barber, and Bates, Theoretical Foundations of Conformal Prediction, Chapter 2 §§2.1–2.2

Facts & Assumptions

Given: The finite grid and bounded loss matrix in the statement, row exchangeability, coordinatewise nonincrease, endpoint safety, and the algorithm's selected parameter. For the conditional assertion, also the stated regular conditional law.

[F1]

Rows are random elements of [0,B]M, their joint law is invariant under all row permutations, every loss lies in [0,B], each row is nonincreasing along the grid, and the maximum-grid loss is at most α almost surely. Finite nested decision families and bounded risk

[F2]

On calibration losses, the rule tests (∑i=1nLi(λj)+B)/(n+1) in increasing grid order, returns the first index whose value is at most α, and otherwise returns M. Finite-grid conformal risk control

[F3]

A regular conditional distribution is a probability kernel whose section integrals give conditional probabilities on every event in the conditioning sigma-algebra. Regular conditional distribution

[F4]

A conditional-expectation version is a measurable integrable function whose integrals over all events in the conditioning sigma-algebra agree with those of the original integrable variable. Conditional expectation given a sigma algebra

[F5]

For nonnegative measurable functions increasing pointwise to a limit, their integrals increase to the integral of the limit. Monotone convergence for the integral

[F6]

Expectation is monotone and linear on integrable real random variables. Linearity, monotonicity, and the modulus bound for expectation

[F7]

A random element's law is its pushforward probability measure. Law or distribution of a random element

[F8]

The expectation of a bounded nonnegative random variable is its Lebesgue integral against the probability measure. Expectation of a nonnegative or integrable random variable

Proof

1.1F2algebra

For any admissible input to the rule, every threshold is a finite real number since its numerator is a finite sum and n+1>0. The scan tests each index at most once, returning at the first passing index; if none passes, the specified fallback returns the supplied rule at index M. Since M≥1, both branches give a unique output after at most M tests, without any monotonicity or endpoint-safety assumption.

1.2givenF1F2construct

Write Cj=(∑i=1nLi(λj)+B)/(n+1) and Sj=(∑i=1n+1Li(λj))/(n+1). These are Borel functions of the finite row matrix. Each calibration pass event and the fallback event is a finite Boolean combination of Borel threshold sets, so the selected index is Borel-measurable. Define j∗=min⁡{j:Sj≤α}; this set is nonempty since SM≤α by endpoint safety. Each event {j∗=j}={Sj≤α}∩⋂k<j{Sk>α} is Borel, so j∗ and g(W)=Ln+1(λ^(W)) are Borel-measurable as well.

2.1F1F2step 1.2algebra

If the calibration scan passes first at q, then Sq=Cq+(Ln+1(λq)−B)/(n+1)≤Cq≤α, so j∗≤q=j^. If the scan has no pass, then j^=M and j∗≤M. In either case j∗≤j^, and row monotonicity gives Ln+1(λj^)≤Ln+1(λj∗) almost surely.

2.2F1F6F7F8step 1.2constructalgebra

Set Vi=Li(λj∗). The full-row averages Sj are invariant under row permutations, so j∗ is a symmetric measurable function of all rows. Consequently the vector (V1,…,Vn+1) is exchangeable. Its entries have the same law by [F7]; since they are bounded, [F8] gives finite expectations and [F6] gives their equality. By [F6], the expectation of their average is E[Sj∗], which is at most α because Sj∗≤α almost surely. Thus E[Ln+1(λj∗)]≤α.

3.1F6step 2.1step 2.2algebra

By step 2.1 and monotonicity of expectation in [F6], E[Ln+1(λ^)]≤E[Ln+1(λj∗)]. Step 2.2 bounds the right side by α, proving the marginal guarantee.

4.1F1F3F4F5F6step 1.2step 2.1step 2.2step 3.1∎

For almost every training outcome ω, apply the argument established in steps 1.2 and 2.1–2.2 under the conditional row law Qω to obtain ∫g dQω≤α, where g(W)=Ln+1(λ^(W)). The function is Borel-measurable by step 1.2 and bounded by B by [F1]. Its dyadic lower approximations gm=2−m⌊2mg⌋ are finite-valued Borel simple functions increasing to g. For each conditioning event H∈T, decompose gm into its finitely many level-set indicators. The event identities in [F3] and linearity in [F6] then give ∫H∫gm dQω dP(ω)=∫Hgm(W) dP. Applying [F5] to both sides gives the same identity for g. Each kernel integral of gm is T-measurable by [F3], so their pointwise limit ∫g dQω is measurable. By [F4], this bounded function is a version of E[g∣T]. The sectionwise bound therefore gives the claimed conditional inequality almost surely.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Finite-grid risk control by monotone envelopes

Statement

Let n,M≥1, B>0, and α∈[0,B). On a probability space (Ω,F,P), let W1,…,Wn+1 be exchangeable random elements of [0,B]M with its Borel sigma-algebra, and write their coordinates as Li(λj) on a deterministic grid Λ={λ1<⋯<λM}; do not assume the original rows are nonincreasing. Assume Li(λM)≤α almost surely for every i. Define the finite tail-maximum losses L~i(λj)=max⁡j≤k≤MLi(λk). Apply the finite-grid risk-control rule to the transformed calibration rows and let λ~ be its selected parameter. Then E[Ln+1(λ~)]≤α. The expectation is over all calibration and test rows. If the rows have an actual regular conditional exchangeable law given a training sigma-algebra and the same bounds and endpoint condition hold almost surely in that law, the corresponding conditional expected-risk bound also holds almost surely.

Statement references

Finite nested decision families and bounded risk: exchangeable loss rows, bounds, grid, endpoint safety, and expected test risk.

Finite-sample expected-risk control on a finite grid: finite-grid risk control for exchangeable coordinatewise nonincreasing rows.

Regular conditional distribution: the actual conditional probability kernel used for the conditional clause.

Conditional expectation given a sigma algebra: conditional expected risk is identified by its integrals on conditioning events.

Angelopoulos et al., Conformal Risk Control, §2.4, Corollary 1

Facts & Assumptions

Given: The finite grid, exchangeable bounded loss rows, the endpoint condition, and the algorithm applied to their finite tail maxima. For the conditional clause, also an actual regular conditional distribution of the full row matrix given the stated sigma-algebra, with the stated sectionwise assumptions.

[F1]

The original rows are exchangeable and their coordinates are measurable and lie in [0,B]; the endpoint losses satisfy Li(λM)≤α almost surely. Finite nested decision families and bounded risk

[F2]

The maximum-grid risk-control theorem applies to exchangeable bounded loss rows that are nonincreasing along the finite grid and endpoint-safe. Finite-sample expected-risk control on a finite grid

[F3]

Expectation is monotone: if integrable real random variables X≤Y almost surely, then E[X]≤E[Y]. Linearity, monotonicity, and the modulus bound for expectation

[F4]

A regular conditional distribution is a probability kernel whose section evaluations satisfy the conditional-event identity for every conditioning event and measurable target set. Regular conditional distribution

[F5]

A conditional-expectation version is measurable, integrable, and has the same integrals as the original variable on every event in the conditioning sigma-algebra. Conditional expectation given a sigma algebra

[F6]

For nonnegative measurable functions increasing pointwise to a limit, their integrals increase to the integral of the limit. Monotone convergence for the integral

Proof

1.1givenF1constructalgebra

For each i, L~i(λj) is a maximum of finitely many measurable coordinates, so it is measurable and lies in [0,B]. The set of indices in the maximum shrinks as j increases, hence L~i(λj+1)≤L~i(λj). At the endpoint, L~i(λM)=Li(λM)≤α. The same deterministic row map is applied to every Wi, and it commutes with row permutations; therefore the transformed rows remain exchangeable. Each calibration threshold is a finite sum of transformed coordinates, and each first-pass or fallback event is a finite Boolean combination of Borel threshold sets. Thus the selected parameter λ~(W) and the losses g(W)=Ln+1(λ~(W)) and h(W)=L~n+1(λ~(W)) are Borel functions of the full matrix.

1.2F1F2given

By [F2], applying the calibration rule to the transformed rows gives E[L~n+1(λ~)]≤α.

2.1F3step 1.2algebra

For every grid index j, the maximum defining L~n+1(λj) includes Ln+1(λj), so Ln+1(λ~)≤L~n+1(λ~) almost surely. Both variables are bounded and integrable; [F3] and step 1.2 give E[Ln+1(λ~)]≤α.

2.2givenF2F3step 1.1construct

For the conditional clause, let Qω be the stated regular conditional distribution of the full matrix W=(W1,…,Wn+1) given T. For almost every ω, its row law is exchangeable, its coordinates lie in [0,B], and its endpoint losses are at most α almost surely. Applying the same Borel tail-maximum map to each row preserves exchangeability under Qω, gives nonincreasing bounded rows, and leaves the endpoint unchanged. The marginal assertion of [F2], applied under each such probability measure Qω to the transformed rows, gives ∫h dQω≤α. Since 0≤g≤h≤B pointwise, [F3] under Qω yields ∫g dQω≤α.

3.1F4F5F6step 1.1step 2.2construct∎

For each m≥1, put gm=2−m⌊2mg⌋. These are finite-valued Borel simple functions increasing pointwise to g. Write gm=∑rcm,r1Am,r for Borel level sets Am,r in the full matrix space. By the kernel identity [F4], for every H∈T, ∫H∫gm dQω dP(ω)=∫Hgm(W) dP. The kernel integrals of gm are T-measurable finite sums of kernel evaluations. By [F6], they increase to k(ω)=∫g dQω, and the right-hand integrals increase to ∫Hg(W) dP. Applying [F6] on both sides gives the same identity with g in place of gm. Thus k is T-measurable, bounded, and has the defining integral identities of a conditional-expectation version by [F5]. Step 2.2 gives k≤α almost surely, proving the conditional bound.

RemarkRemark: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Marginal risk control, calibration, and adaptive reuse

Scope and limitations

The finite-grid theorem controls expected test loss after averaging over both the calibration rows and the test row. It is not a high-probability guarantee on the conditional risk after the realized calibration sample. For a two-state illustration, let U∈{0,1} represent the realized calibration state with P(U=0)=P(U=1)=1/2, let T=σ(U), and let the test loss X equal 0 when U=0 and 1/2 when U=1. Then the conditional risk R=E[X∣T] equals X, so E[R]=1/4 while P(R>1/4)=1/2. Thus expected-risk control alone does not imply a high-probability bound on conditional risk. The finite-grid theorem and its monotone-envelope extension give no general risk bound conditional on an arbitrary subgroup event or covariates. They do give the corresponding conditional bound when the full loss matrix has an actual regular conditional law given the sigma-algebra generated by that information, its sections are exchangeable, and the applicable boundedness, nesting, and endpoint-safety assumptions hold almost surely under those sections. The results give no validity when the deployment distribution differs from the exchangeable calibration and test distribution or when arbitrary reuse of calibration rows breaks exchangeability. For a classifier on a random labeled input, let Y and Y^ be its true and predicted labels and let C∈[0,1] be its measurable reported confidence. Top-label probability calibration means E[1{Y=Y^}∣σ(C)]=C almost surely; this is a different claim and is not concluded here. Split conformal coverage controls the particular miscoverage event under its own exchangeability hypotheses; it is not a guarantee for every bounded loss. For nonmonotone losses, the finite tail-maximum theorem applies but can increase the loss and make the selected decision more conservative. The conditional form proved here for an independently trained model assumes an actual regular conditional exchangeable law of the calibration and test rows, with the stated hypotheses holding almost surely.

Scope and limitations references

Finite-sample expected-risk control on a finite grid: expected test loss is averaged over calibration and test rows.

Finite-grid risk control by monotone envelopes: finite tail maxima dominate the original losses pointwise.

Split conformal marginal coverage: the exchanged split-score rank theorem controls marginal miscoverage under its stated conditional exchangeability hypotheses.

Regular conditional distribution: conditional distribution means a probability kernel satisfying the conditional-event identity.

Angelopoulos et al., Conformal Risk Control, §§1.2, 2.3–2.4, 4.1

Angelopoulos, Barber, and Bates, Theoretical Foundations of Conformal Prediction, Chapter 4

Shafer and Vovk, A Tutorial on Conformal Prediction, §§2.2, 3.1–3.2, 4.2–4.5

Facts & Assumptions

Given: The expected-risk theorem, the split-conformal marginal-coverage theorem, and the finite two-state conditional-risk illustration in the Statement.

[F1]

Under exchangeability, boundedness, loss monotonicity, and endpoint safety, the finite-grid theorem bounds expected test loss averaged over calibration and test rows. It also gives a conditional bound when an actual regular conditional law given T has exchangeable sections satisfying those hypotheses almost surely. Finite-sample expected-risk control on a finite grid

[F2]

Split conformal controls the marginal coverage probability of its particular set-valued predictor under its stated conditional exchangeability and score hypotheses. Split conformal marginal coverage

[F3]

The finite tail-maximum theorem bounds the original loss pointwise by a finite monotone envelope. Finite-grid risk control by monotone envelopes

[F4]

A regular conditional distribution is a probability kernel satisfying the conditional-event identity for every conditioning event and measurable target set. Regular conditional distribution

[F5]

A conditional-expectation version is measurable with respect to the conditioning sigma-algebra and has the same integrals as the original variable on every event in that sigma-algebra. Conditional expectation given a sigma algebra

[F6]

The expectation of a bounded nonnegative random variable is its Lebesgue integral against the probability measure. Expectation of a nonnegative or integrable random variable

Verification

1.1givenF5F6algebra

The variable X is T-measurable and integrable, so it is itself a version of E[X∣T] by [F5]. Therefore R=X, ER=(1/2)0+(1/2)(1/2)=1/4, and P(R>1/4)=1/2. In particular, the chance constraint P(R≤1/4)≥1−δ fails for every δ<1/2.

1.2F1F2F4

[F1] gives a general marginal bound and a conditional bound only when its actual regular conditional law is sectionwise exchangeable and boundedness, loss nesting, and endpoint safety hold almost surely under those sections. Thus neither [F1] nor [F2] gives a general guarantee conditional on an arbitrary subgroup or feature value; [F2] concerns a particular coverage event under its own conditional-exchangeability hypotheses. An adaptive reuse or distribution shift that violates the applicable exchangeability hypotheses falls outside [F1] and [F2].

2.1F1F3F4∎

The conditional extension in [F1] requires the actual regular conditional law described by [F4]. The envelope in [F3] only dominates the original loss pointwise, so it may increase the selected decision's risk and make the resulting bound more conservative.

4 · Examples, counterexamples and false statements

None yet.

Sources