1.5. Miscellaneous results on cumulative distribution functions
Continuity points of c.d.f.s are those which carry no point mass
Let F be cumulative distribution function of a
probability measure \PRmeas on \bR. A point x \in \bR is
a continuity point of F if and only if \PRmeas[\set{x}] = 0.
Lean code for Lemma1.5.1●1 theorem
Associated Lean declarations
-
theoremdefined in ExtremeValueProject/CumulativeDistributionFunction.leancomplete
theorem CumulativeDistributionFunction.continuousAt_iff (F : CumulativeDistributionFunction) (x : ℝ) : ContinuousAt (↑F.toStieltjesFunction) x ↔ F.measure {x} = 0
theorem CumulativeDistributionFunction.continuousAt_iff (F : CumulativeDistributionFunction) (x : ℝ) : ContinuousAt (↑F.toStieltjesFunction) x ↔ F.measure {x} = 0
A c.d.f. is always continuous from the right.
Continuity of F from the left at x means that for any
sequence (x_n)_{n \in \bN} increasing to x
(i.e., x_n \le x_{n+1} < x for all n \in \bN)
F(x_n) \to F(x) ,
or equivalently in terms of measures
\PRmeas \big[ (-\infty,x_n] \big] \to \PRmeas \big[ (-\infty,x] \big] .
But by monotone convergence of measures, we always have
\begin{aligned}
\PRmeas \big[ (-\infty,x_n] \big]
\to \; & \PRmeas \big[ (-\infty,x) \big] \\
= \; & \PRmeas \big[ (-\infty,x] \big] - \PRmeas[\set{x}] .
\end{aligned}
A comparison of these conditions shows that F is also continuous from the left
at x if and only if \PRmeas[\set{x}] = 0.
A pair of nontrivial continuity points of nondegenerate c.d.f.
Let G be a nondegenerate c.d.f. Then there exists
continuity points x_1 < x_2 of G such that
0 < G(x_1) \le G(x_2) < 1.
Lean code for Lemma1.5.2●1 theorem, incomplete
Associated Lean declarations
-
theoremdefined in ExtremeValueProject/TypeOfCDF.leancontains sorry
theorem CumulativeDistributionFunction.exists₂_continuousAt_of_not_isDegenerate (F : CumulativeDistributionFunction) (hF : ¬F.IsDegenerate) : ∃ x₁ x₂, x₁ < x₂ ∧ 0 < ↑F.toStieltjesFunction x₁ ∧ ↑F.toStieltjesFunction x₂ < 1 ∧ ContinuousAt (↑F.toStieltjesFunction) x₁ ∧ ContinuousAt (↑F.toStieltjesFunction) x₂
theorem CumulativeDistributionFunction.exists₂_continuousAt_of_not_isDegenerate (F : CumulativeDistributionFunction) (hF : ¬F.IsDegenerate) : ∃ x₁ x₂, x₁ < x₂ ∧ 0 < ↑F.toStieltjesFunction x₁ ∧ ↑F.toStieltjesFunction x₂ < 1 ∧ ContinuousAt (↑F.toStieltjesFunction) x₁ ∧ ContinuousAt (↑F.toStieltjesFunction) x₂
Since G is nondegenerate, there exists some x_0 \in \bR such that
0 < G(x_0) < 1. Since G is continuous from the right, for some
small \delta > 0 we have that 0 < G(x) < 1 for
all x \in [x_0,x_0+\delta). Since the continuity points of G
are dense, from any nonempty open interval we may pick a continuity point.
First pick a continuity point x_1 \in (x_0,x_0+\delta),
and then pick another continuity point x_2 \in (x_1,x_0+\delta).
Equality of c.d.f.s on a dense set suffices
Suppose that F,G are two c.d.f.s and S \subseteq \bR is a dense
subset of the real line. If F(\xi) = G(\xi) for all \xi \in S,
then we have F = G.
Lean code for Lemma1.5.3●1 theorem
Associated Lean declarations
-
theoremdefined in ExtremeValueProject/CumulativeDistributionFunction.leancomplete
theorem CumulativeDistributionFunction.eq_of_forall_dense_eq {S : Set ℝ} (S_dense : Dense S) (F G : CumulativeDistributionFunction) (h : ∀ x ∈ S, ↑F.toStieltjesFunction x = ↑G.toStieltjesFunction x) : F = G
theorem CumulativeDistributionFunction.eq_of_forall_dense_eq {S : Set ℝ} (S_dense : Dense S) (F G : CumulativeDistributionFunction) (h : ∀ x ∈ S, ↑F.toStieltjesFunction x = ↑G.toStieltjesFunction x) : F = G
We must prove that for any x \in \bR we have F(x) = G(x).
But by right-continuity of c.d.f.s, density of S, and coincidence of
F and G on S, we have
\begin{aligned}
F(x)
= \; & \lim_{\xi \to x^+ \text{ along $S$}} F(\xi) \\
= \; & \lim_{\xi \to x^+ \text{ along $S$}} G(\xi)
= \, G(x) .
\end{aligned}