Theorem 1, proof: the deviation of is split between and
ProvedOpenCategoryPAC.alien_deviation_splitLet be probability measures on , , , and let be their CDFs. Let , let and be any real numbers, and let be their empirical CDFs and . If
then
This is the deterministic content of the first chain of inequalities in the proof of Theorem 1: the event that deviates by more than is contained in the union of the two events on the right.
import Mathlib import Definitions.Def_OpenCategoryPAC_Basic open MeasureTheory ProbabilityTheory Filter Topology
namespace OpenCategoryPAC
theorem alien_deviation_split (μ0 μa μm : Measure ℝ) [IsProbabilityMeasure μ0]
[IsProbabilityMeasure μa] [IsProbabilityMeasure μm] (α : ℝ) (hα0 : 0 < α) (hα1 : α ≤ 1)
(hm : μm = mixture α μ0 μa) (ε : ℝ) (hε : 0 < ε) {n : ℕ} (x y : Fin n → ℝ)
(h : ε < supDev (alienCDFEst α x y) (cdf μa)) :
α / (2 - α) * ε < supDev (empCDF y) (cdf μm) ∨
α / (2 - α) * ε < supDev (empCDF x) (cdf μ0) := by sorry
end OpenCategoryPACRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let , and be arbitrary probability measures on the real line, with cumulative distribution functions
Let be a real number with . Assume that is exactly the mixture
Let be a real number. Let be any natural number, and let and be two arbitrary vectors of real numbers each. These vectors are completely arbitrary, deterministic inputs. The statement places no sampling, independence or distributional assumption on them, and they are not required to be related to the measures in any way.
The following empirical quantities are defined from the two vectors.
- The empirical CDF of is
The empirical CDF of is defined the same way. When , the division by zero is taken to give , so both empirical CDFs are identically .
- The alien-CDF estimate is
Here plays the role of the mixture sample and plays the role of the nominal sample.
- For two functions , the uniform distance is
All functions compared here are bounded, so each of these suprema is a genuine finite real number.
Hypothesis. The estimate deviates from the true alien CDF by strictly more than :
Conclusion. At least one of the following two strict inequalities holds (possibly both):
Since , we have , so the factor lies in . It equals exactly when .
Edge cases.
- When , the estimate is identically , so . The hypothesis then reduces to .
- When , the mixture condition forces , and .
The statement is purely deterministic: it concerns every choice of the vectors . It contains no probability bound on how the samples are drawn.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.