Documentation

Verification.CheckerboardStability

← Mathematical handbook
theorem Verification.copulaRowMean_sub_le {m : ℕ} (C D : ProbabilityTheory.Copula 2) (P : ProbabilityTheory.Copula.IntervalPartition m) (ε : ℝ) (h : ∀ (u v : ↑unitInterval), |C.cdf ![u, v] - D.cdf ![u, v]| ≤ ε) (i : Fin m) (v : ↑unitInterval) :
|copulaRowMean P C i v - copulaRowMean P D i v| ≤ 2 * ε / P.width i
theorem Verification.sq_sub_le_of_mem_unit {a b δ : ℝ} (ha : a ∈ Set.Icc 0 1) (_hb : b ∈ Set.Icc 0 1) (hδ : |a - b| ≤ δ) :
a ^ 2 ≤ b ^ 2 + 2 * δ

Stability on arbitrary partitions; the constant depends only on the number of predictor bins.