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 — Examples
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
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- limsup, liminf, and Subsequential Limits
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Monotone risk calibration and finite-sample deployment guarantees
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- 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
- 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
None yet.
4 · Examples, counterexamples and false statements
The all-zero loss boundary
Example
Let , , , and let every calibration and test loss be zero at every grid point. The rule passes at the first grid point exactly when ; when it returns the maximum-grid fallback. In either case the selected test loss is zero and its expected risk is zero.
Example references
Finite nested decision families and bounded risk: the bounded finite-grid risk setup.
Finite-grid conformal risk control: the B-corrected pass test and fallback.
Facts & Assumptions
Given: The finite grid, the all-zero calibration and test losses, , and .
The risk family uses a finite deterministic grid and bounded measurable loss rows; expected test risk is the expectation of the selected test loss. Finite nested decision families and bounded risk
The algorithm selects the first grid point whose B-corrected calibration average is at most , and falls back to the maximum point if none passes. Finite-grid conformal risk control
Verification
At every grid point, the calibration threshold is . Hence, if the first point passes, while if every point fails and the algorithm returns the fallback.
The test loss is zero at every grid point, including the first point and the fallback. Its expectation is therefore , which is at most because .
Fallback when the calibration correction exceeds the target
Example
Let , , and . Consider any loss-nested finite-grid family with calibration losses in and endpoint losses almost surely. The B-corrected calibration threshold is too large to pass at any grid point, so the rule falls back to . The endpoint condition then bounds the realized test loss, and the expected test risk is at most .
Example references
Finite nested decision families and bounded risk: nonnegative bounded losses and the safe maximum-grid endpoint.
Finite-grid conformal risk control: the pass threshold includes the B correction and otherwise returns the maximum grid point.
Facts & Assumptions
Given: A finite grid, , , , calibration losses in , and endpoint test loss at most almost surely.
Losses are nonnegative and endpoint-safe, with almost surely. Finite nested decision families and bounded risk
At grid point , the algorithm tests and uses when no point passes. Finite-grid conformal risk control
Expectation preserves almost-sure inequalities for integrable real random variables. Linearity, monotonicity, and the modulus bound for expectation
Verification
Since every calibration loss is nonnegative, for each the algorithm's threshold satisfies . No point passes, so the rule returns .
The endpoint condition gives almost surely. The loss is bounded and integrable, so [F3] implies .
A nonmonotone loss can defeat first-pass calibration
Statement refuted
For every deterministic grid with , calibration size , bound , and target , suppose a probability space carries exchangeable random elements of the Borel space , with almost surely for every . The B-corrected first-passing rule then has expected test loss , even when the losses are not nonincreasing along the grid.
Statement references
Finite-grid conformal risk control: the first-passing rule and maximum-grid fallback.
Exchangeable random elements: joint-law invariance under all row permutations.
Facts & Assumptions
Given: The refuted assertion and the following finite model: , , , , and . Let be independent with and . Define the losses by and when , and by and when .
Exchangeability means invariance of the joint law under every coordinate permutation. Exchangeable random elements
The algorithm tests at each grid point in increasing order and returns the maximum point if no test passes. Finite-grid conformal risk control
The two rows are independent draws from the same two-point law specified above, so their joint law is exchangeable.
The loss table has values in and endpoint losses ; it is nonmonotone on type because as the grid index increases.
Counterexample
By [A1] and [F1], the two loss rows are exchangeable. By [A2], their values are bounded by , the endpoint is safe, and the family violates the required nonincreasing-loss condition on an event of probability .
If the calibration row is type , the first threshold is , so the algorithm selects . If it is type , the first threshold is and the second is , so the algorithm falls back to .
Conditional on a type- calibration row, independence makes the expected test loss at equal to . Conditional on a type- calibration row, the selected endpoint loss is for either test type.
Averaging over the calibration row gives . Thus the asserted guarantee fails despite exchangeability, boundedness, and a safe endpoint.
Multilabel false-negative risk control
Example
Let , let be a measurable space, give the finite set its full sigma-algebra, and let be a deterministic grid in . Fix a measurable score map . Let , , be exchangeable random elements of the product measurable space , where . Define . For nonempty , set ; for , define . With and any target , the finite-grid rule selects a threshold whose expected test false-negative loss is at most .
Example references
Finite nested decision families and bounded risk: exchangeable finite loss rows and endpoint-safe bounded risk.
Finite-grid conformal risk control: the finite-grid calibration rule.
Finite-sample expected-risk control on a finite grid: expected-risk control under loss nesting and endpoint safety.
Facts & Assumptions
Given: The finite class set, fixed measurable score map, exchangeable example rows, nested threshold sets, explicit empty-label convention, and target .
A finite family of bounded loss rows is loss-nested when each row is nonincreasing along the ordered grid, and endpoint-safe when every terminal loss is at most the target. Finite nested decision families and bounded risk
For exchangeable, bounded, loss-nested rows with a safe endpoint, the finite-grid rule has expected test loss at most . Finite-sample expected-risk control on a finite grid
Verification
For each and grid point , the event is measurable; finite intersections, unions, and sums in the displayed loss formula are therefore measurable. The same map is applied to every exchangeable example row, so the resulting loss vectors are exchangeable.
If , then , so . For nonempty , the number of included true labels can only increase, making ; for empty the loss is constantly zero. The losses lie in .
At , the threshold is zero and every score lies in , so . Hence every nonempty-label loss is zero, and the stated empty-label convention also gives zero. Thus .
The finite loss rows are exchangeable, bounded by , nonincreasing, and endpoint-safe by steps 1.1–2.1. Applying [F3] gives .
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