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
- Binary Operations, Monoids, Groups and Subgroups
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Conformal Prediction and Exchangeable Ranks
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Estimators and Randomized Procedures
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- limsup, liminf, and Subsequential Limits
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- The Lebesgue Integral and the Convergence Theorems
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
2 · Logical flowchart
3 · Definitions, theorems and proofs
Finite nested decision families and bounded risk
Definition
Let , , and . Fix a deterministic strictly ordered grid and a probability space . For , let be a random element of with its Borel sigma-algebra, and write . The rows are exchangeable when their joint law is invariant under every permutation of the row indices. The coordinates are the losses of the finite decision family at observation ; 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, for every . It is endpoint-safe at level when, with probability one, for every . For any measurable selector taking values in and determined by the calibration rows , its marginal expected test risk is , with expectation over all rows. This expectation is finite because every loss lies in . 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.
Finite-grid conformal risk control
Definition
Input a deterministic ordered grid with , a calibration size , a bound , a target , and calibration losses for and . Also supply the prediction rule associated with each grid point. For in order, compute Return at the first index for which . If no index passes, return . 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)
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 threshold tests; no loss monotonicity or endpoint-safety assumption is required for this assertion.
Let , , and . On a probability space , let be exchangeable random elements of with its Borel sigma-algebra, and write on a deterministic grid . Assume that, almost surely, for every and for every . Apply the finite-grid risk-control rule to the first rows and let be its selected parameter. Then where the expectation is over all rows.
For a sub-sigma-algebra , suppose the full matrix , viewed in with its product Borel sigma-algebra, has an actual regular conditional distribution given . Suppose that, for almost every training outcome , the section is row-exchangeable and the same bounds, monotonicity, and endpoint hypotheses hold -almost surely. Then the same argument gives 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.
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.
Rows are random elements of , their joint law is invariant under all row permutations, every loss lies in , each row is nonincreasing along the grid, and the maximum-grid loss is at most almost surely. Finite nested decision families and bounded risk
On calibration losses, the rule tests in increasing grid order, returns the first index whose value is at most , and otherwise returns . Finite-grid conformal risk control
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
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
For nonnegative measurable functions increasing pointwise to a limit, their integrals increase to the integral of the limit. Monotone convergence for the integral
Expectation is monotone and linear on integrable real random variables. Linearity, monotonicity, and the modulus bound for expectation
A random element's law is its pushforward probability measure. Law or distribution of a random element
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
For any admissible input to the rule, every threshold is a finite real number since its numerator is a finite sum and . 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 . Since , both branches give a unique output after at most tests, without any monotonicity or endpoint-safety assumption.
Write and . 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 ; this set is nonempty since by endpoint safety. Each event is Borel, so and are Borel-measurable as well.
If the calibration scan passes first at , then , so . If the scan has no pass, then and . In either case , and row monotonicity gives almost surely.
Set . The full-row averages are invariant under row permutations, so is a symmetric measurable function of all rows. Consequently the vector 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 , which is at most because almost surely. Thus .
By step 2.1 and monotonicity of expectation in [F6], . Step 2.2 bounds the right side by , proving the marginal guarantee.
For almost every training outcome , apply the argument established in steps 1.2 and 2.1–2.2 under the conditional row law to obtain , where . The function is Borel-measurable by step 1.2 and bounded by by [F1]. Its dyadic lower approximations are finite-valued Borel simple functions increasing to . For each conditioning event , decompose into its finitely many level-set indicators. The event identities in [F3] and linearity in [F6] then give . Applying [F5] to both sides gives the same identity for . Each kernel integral of is -measurable by [F3], so their pointwise limit is measurable. By [F4], this bounded function is a version of . The sectionwise bound therefore gives the claimed conditional inequality almost surely.
Finite-grid risk control by monotone envelopes
Statement
Let , , and . On a probability space , let be exchangeable random elements of with its Borel sigma-algebra, and write their coordinates as on a deterministic grid ; do not assume the original rows are nonincreasing. Assume almost surely for every . Define the finite tail-maximum losses Apply the finite-grid risk-control rule to the transformed calibration rows and let be its selected parameter. Then 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.
The original rows are exchangeable and their coordinates are measurable and lie in ; the endpoint losses satisfy almost surely. Finite nested decision families and bounded risk
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
Expectation is monotone: if integrable real random variables almost surely, then . Linearity, monotonicity, and the modulus bound for expectation
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
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
For nonnegative measurable functions increasing pointwise to a limit, their integrals increase to the integral of the limit. Monotone convergence for the integral
Proof
For each , is a maximum of finitely many measurable coordinates, so it is measurable and lies in . The set of indices in the maximum shrinks as increases, hence . At the endpoint, . The same deterministic row map is applied to every , 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 and the losses and are Borel functions of the full matrix.
By [F2], applying the calibration rule to the transformed rows gives .
For every grid index , the maximum defining includes , so almost surely. Both variables are bounded and integrable; [F3] and step 1.2 give .
For the conditional clause, let be the stated regular conditional distribution of the full matrix given . For almost every , its row law is exchangeable, its coordinates lie in , and its endpoint losses are at most almost surely. Applying the same Borel tail-maximum map to each row preserves exchangeability under , gives nonincreasing bounded rows, and leaves the endpoint unchanged. The marginal assertion of [F2], applied under each such probability measure to the transformed rows, gives . Since pointwise, [F3] under yields .
For each , put . These are finite-valued Borel simple functions increasing pointwise to . Write for Borel level sets in the full matrix space. By the kernel identity [F4], for every , The kernel integrals of are -measurable finite sums of kernel evaluations. By [F6], they increase to , and the right-hand integrals increase to . Applying [F6] on both sides gives the same identity with in place of . Thus is -measurable, bounded, and has the defining integral identities of a conditional-expectation version by [F5]. Step 2.2 gives almost surely, proving the conditional bound.
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 represent the realized calibration state with , let , and let the test loss equal when and when . Then the conditional risk equals , so while . 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 and be its true and predicted labels and let be its measurable reported confidence. Top-label probability calibration means 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.
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 has exchangeable sections satisfying those hypotheses almost surely. Finite-sample expected-risk control on a finite grid
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
The finite tail-maximum theorem bounds the original loss pointwise by a finite monotone envelope. Finite-grid risk control by monotone envelopes
A regular conditional distribution is a probability kernel satisfying the conditional-event identity for every conditioning event and measurable target set. Regular conditional distribution
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
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
The variable is -measurable and integrable, so it is itself a version of by [F5]. Therefore , , and . In particular, the chance constraint fails for every .
[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].
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
- Anastasios N. Angelopoulos, Stephen Bates, Adam Fisch, Lihua Lei, and Tal Schuster, Conformal Risk Control, arXiv:2208.02814v4
- Anastasios N. Angelopoulos, Rina Foygel Barber, and Stephen Bates, Theoretical Foundations of Conformal Prediction, prepublication book manuscript
- Glenn Shafer and Vladimir Vovk, A Tutorial on Conformal Prediction, Journal of Machine Learning Research 9 (2008), 371–421