Documentation

Atlas.TheoryOfProbability.code.HellySelection

structure IsDistributionFunction (F : ) :

A real function F : ℝ → ℝ is a (cumulative) distribution function if it is monotone non-decreasing, right-continuous, tends to 0 at -∞, and tends to 1 at +∞. These are exactly the distribution functions of probability measures on .

Instances For
    theorem IsDistributionFunction.nonneg {F : } (hF : IsDistributionFunction F) (x : ) :
    0 F x

    A distribution function is non-negative: 0 ≤ F x for all x ∈ ℝ.

    theorem IsDistributionFunction.le_one {F : } (hF : IsDistributionFunction F) (x : ) :
    F x 1

    A distribution function is bounded above by 1: F x ≤ 1 for all x ∈ ℝ.

    theorem IsDistributionFunction.mem_Icc {F : } (hF : IsDistributionFunction F) (x : ) :
    F x Set.Icc 0 1

    For any distribution function F and any x ∈ ℝ, F x lies in the unit interval [0, 1].

    A bundled monotone, right-continuous real function ℝ → ℝ. This is the natural class of subsequential limits arising in Helly's selection theorem.

    Instances For
      @[implicit_reducible]

      Coercion allowing a MonotoneRightContinuous to be applied as a function ℝ → ℝ.

      noncomputable def HellySelection.ofMonotone (f : ) (hf : Monotone f) :

      Given any monotone function f : ℝ → ℝ, the right-limit rightLim f is monotone and right-continuous, yielding a canonical MonotoneRightContinuous.

      Instances For
        theorem sSup_image_rat_eq (g : ) (hg_mono : ∀ (q₁ q₂ : ), q₁ q₂g q₁ g q₂) (hg_bdd : ∀ (q : ), 0 g q g q 1) (q : ) :
        sSup (g '' {r : | r q}) = g q

        For a monotone, [0, 1]-valued function g : ℚ → ℝ, the supremum of g over all rationals r ≤ q equals g q. This is the key bookkeeping step in the proof of Helly's selection theorem, used to define the candidate limit on from values on .

        theorem helly_selection (F : ) (hF : ∀ (n : ), IsDistributionFunction (F n)) :
        ∃ (φ : ) (G : HellySelection.MonotoneRightContinuous), StrictMono φ ∀ (x : ), ContinuousAt G.toFun xFilter.Tendsto (fun (k : ) => F (φ k) x) Filter.atTop (nhds (G.toFun x))

        Helly's selection theorem. Every sequence F : ℕ → ℝ → ℝ of distribution functions has a subsequence F ∘ φ that converges pointwise to a monotone, right-continuous function G : ℝ → ℝ at every continuity point of G. The limit G need not itself be a distribution function (it may lose mass to ±∞), but it is always monotone and right-continuous.