Theorem 6: multiplicative bounds under Huber contamination
ProvedConformalBeyondExchangeability.multiplicative_boundsLet be independent with laws on . Let be an algorithm that treats its input points symmetrically, let with , let , and let . Write .
- If the residual map is measurable, the nonexchangeable full conformal set for a symmetric algorithm (eq. (12)) satisfies
This includes nonexchangeable split conformal (eq. (11)) as the special case of an algorithm that returns a fixed function. 2. If the leave-two-out residual matrix is measurable, the nonexchangeable jackknife+ interval for a symmetric algorithm (eq. (33)) satisfies
Under an -Huber contamination model the miscoverage inflates by at most the factor .
Formalization Note The bounds are stated in with for , so the case , where the right side is , is included. Independence is the product form of the joint law.
import Mathlib import Definitions.Def_ConformalBeyondExchangeability_Basic open MeasureTheory
namespace ConformalBeyondExchangeability
theorem multiplicative_bounds {X : Type*} [MeasurableSpace X] {n : ℕ}
(μ : Fin (n + 1) → Measure (X × ℝ)) [∀ i, IsProbabilityMeasure (μ i)]
(alg : Alg X) (halg : IsSymmetric alg)
(w : Fin n → ℝ) (hw : ∀ i, 0 ≤ w i ∧ w i ≤ 1) (hwpos : 0 < ∑ i, w i)
{α : ℝ} (hα0 : 0 < α) (hα1 : α < 1) :
(Measurable (symResiduals (n := n) alg) →
Measure.pi μ {z | (z (Fin.last n)).2 ∉ symFullSet alg w α z} ≤
ENNReal.ofReal α / ENNReal.ofReal (1 - mixTerm μ w)) ∧
(Measurable (symJackResiduals (n := n) alg) →
Measure.pi μ {z | (z (Fin.last n)).2 ∉ symJackInterval alg w α z} ≤
ENNReal.ofReal (2 * α) / ENNReal.ofReal (1 - mixTerm μ w)) := by sorry
end ConformalBeyondExchangeabilityRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be any measurable space and a natural number. A data point is a pair . A data sequence consists of training points and a test point .
The theorem assumes the following:
- Distributions. are probability measures on . Write for their product measure on . Under the points are independent, with . No identical-distribution or exchangeability assumption is made.
- Algorithm. maps every finite list of data points to a function . It is assumed symmetric: any two lists that are permutations of each other produce the same fitted function.
- Weights. are fixed (non-random) reals with for each , and . The positivity condition forces , since an empty sum is .
- Level. is a real number with .
Auxiliary notions.
Normalized weights. For and for the test point,
Lower weighted quantile. For masses at points ,
with .
Upper weighted quantile.
Contamination distance. For probability measures ,
The value always qualifies (take ), so . It equals when .
Contamination term. With , note this normalization has no "" in the denominator:
Full conformal set. For a hypothesized test label :
- Let .
- Let for , and .
Then
The mass sits at the test residual itself, not at .
Jackknife+ interval.
- For , let be applied to the training points , , listed in index order.
- Let .
Then is the set of such that
Residual vector. is defined by
Residual matrix. has zero diagonal. For ,
where is applied to the points , , in index order.
Conclusion. Both of the following hold.
- Full conformal. If the map is measurable, then
- Jackknife+. If the map is measurable, then
How to read the bounds.
- Both bounds are inequalities in , and the right-hand sides are not capped at .
- If , the denominator is and the bound is , so the claim is vacuous.
- If all , then and the bounds are and .
- The measurability hypotheses concern only and evaluated at the observed data. Nothing is assumed about measurability of , , or the non-coverage events. If an event is not measurable, of it means its outer measure.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.