Proof of Theorem 11: the replace-one term is at most
ProvedStabGen.Hypothesis.replace_one_pointwise_boundLet be a probability distribution on , let the cost satisfy , and let be a symmetric deterministic learning algorithm whose losses are measurable. Suppose that, at sample size , has hypothesis stability (Definition 3) and pointwise hypothesis stability (Definition 4). Let , let be independent of , and let be with replaced by . Then for every index ,
This converts the replace-one quantity in Lemma 9, eq. (8), into the two remove-one stability notions of the paper.
Formalization Note The paper prints the bound . Its argument splits the quantity, by the triangle inequality, into and . In the second term is not in and , so it is an instance of Definition 3 and is bounded by , not . The statement here is the bound the argument proves; it agrees with the printed one when . Expectation over is the integral against .
import Mathlib import Definitions.Def_FoundationsML_Stability_Loss import Definitions.Def_FoundationsML_Stability_EmpiricalError import Definitions.Def_FoundationsML_Stability_GeneralizationError import Definitions.Def_StabGen_Hypothesis_Setting import Definitions.Def_StabGen_Hypothesis_Stability open MeasureTheory
namespace StabGen.Hypothesis
open FoundationsML.Stability
theorem replace_one_pointwise_bound {X Y Y' : Type*} [MeasurableSpace X] [MeasurableSpace Y]
(D : Measure (X × Y)) [IsProbabilityMeasure D] (L : Y' → Y → ℝ) (M : ℝ)
(hL : ∀ (y' : Y') (y : Y), 0 ≤ L y' y ∧ L y' y ≤ M)
(A : LearningAlgorithm X Y Y')
(hA : ∀ n : ℕ, Measurable (fun p : (Fin n → X × Y) × (X × Y) =>
Loss L (A (trainingSet p.1)) p.2))
(m : ℕ) (β₁ β₂ : ℝ) (h₁ : HypothesisStable D L A m β₁)
(h₂ : PointwiseHypothesisStable D L A m β₂) (i : Fin m) :
∫ p : (Fin m → X × Y) × (X × Y),
|Loss L (A (trainingSet p.1)) (p.1 i)
- Loss L (A (trainingSet (replaceAt p.1 i p.2))) (p.1 i)|
∂((Measure.pi fun _ : Fin m => D).prod D)
≤ β₁ + β₂ := by sorry
end StabGen.Hypothesis
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.