Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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.

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.

Depends on

Used by

Cited to discharge well-definedness by Finite-grid conformal risk control.

Dependency tree · two levels

29 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources