2.3. Equivalent formulations of the limit relation
Logarithmic version of the limit relation
Let F and G be c.d.f.s, and (A_n)_{n \in \N} a sequence of orientation
preserving affine isomorphisms A_n \in \OriAffR. Then for any x \in \bR
such that 0 < G(x) < 1, the two conditions
\begin{aligned}
\text{(i)} & & \lim_{n \to \infty} \big( (A_n.F)(x) \big)^n \, = \; & G(x) \\
\text{(ii)} & & \lim_{n \to \infty} n \, \log F (A_n^{-1}(x)) \, = \; & \log G(x)
\end{aligned}
are equivalent.
Lean code for Lemma2.3.1●1 theorem
Associated Lean declarations
-
ev_limit_iff_log_ev_limit[complete]
-
ev_limit_iff_log_ev_limit[complete]
-
theoremdefined in ExtremeValueProject/LimitRelationManipulation.leancomplete
theorem ev_limit_iff_log_ev_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x ^ n) Filter.atTop (nhds (↑G.toStieltjesFunction x)) ↔ Filter.Tendsto (fun n => ↑n * Real.log (↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (Real.log (↑G.toStieltjesFunction x)))
theorem ev_limit_iff_log_ev_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x ^ n) Filter.atTop (nhds (↑G.toStieltjesFunction x)) ↔ Filter.Tendsto (fun n => ↑n * Real.log (↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (Real.log (↑G.toStieltjesFunction x)))
Recall that (A_n.F)(x) = F (A_n^{-1}(x)).
Then just take logarithms (and use continuity) to get from (i) to (ii),
and take exponentials (and use continuity) to get from (ii) to (i).
Relation implies F tending to one
Let F and G be c.d.f.s, and (A_n)_{n \in \N} a sequence of orientation
preserving affine isomorphisms A_n \in \OriAffR. Then for any x \in \bR
such that 0 < G(x) < 1, if
\begin{aligned}
\text{(i)} & & \lim_{n \to \infty} \big( (A_n.F)(x) \big)^n \, = \; & G(x)
\end{aligned}
holds, then necessarily
\lim_{n \to \infty} F (A_n^{-1}(x)) \; = \; 1 .
Lean code for Lemma2.3.2●1 theorem, incomplete
Associated Lean declarations
-
tendsto_one_of_ev_limit[sorry in proof]
-
tendsto_one_of_ev_limit[sorry in proof]
-
theoremdefined in ExtremeValueProject/LimitRelationManipulation.leancontains sorry
theorem tendsto_one_of_ev_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) (h : Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x ^ n) Filter.atTop (nhds (↑G.toStieltjesFunction x))) : Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x) Filter.atTop (nhds 1)
theorem tendsto_one_of_ev_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) (h : Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x ^ n) Filter.atTop (nhds (↑G.toStieltjesFunction x))) : Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x) Filter.atTop (nhds 1)
Otherwise \big( F (A_n^{-1}(x)) \big)^n would have 0 \ne G(x)
as an accumulation point, contradicting the assumed limit (i).
To wit, if for some \delta > 0 we would have
F (A_n^{-1}(x)) \le 1 - \delta for infinitely many n, then
0 \le \big( F (A_n^{-1}(x)) \big)^n \le (1 - \delta)^n
for those n, and since (1 - \delta)^n \to 0, we would
get \big( F (A_n^{-1}(x)) \big)^n \to 0 \ne G(x) along the
subsequence of those n; a contradiction.
Taylor expansion limit modification
Let S \subset \bR be a subset with 0 \in S, and let f_1, f_2 \colon S \to \bR be
functions. Let also (t_n)_{n \in \bN} be a sequence in S,
and let (m_n)_{n \in \bR} be a sequence of real numbers tending to infinity,
\lim_{n \to \infty} m_n = +\infty.
Assume that for j = 1,2
-
f_j(0)=0; -
the derivative
f_j'(0)exists (derivative taken within the setS)
Assume further about j = 1 that
-
f_1'(0) \ne 0; -
the limit
\lim_{n \to \infty} \big( m_n \, f_1 (t_n) \big)exists; -
for any
\delta > 0there exists an\eps > 0such that if|f_1(t)| < \eps(witht \in S) then|t| < \delta.
Denote c = \frac{1}{f_1'(0)} \, \lim_{n \to \infty} \big( m_n \, f_1 (t_n) \big).
Then we have \lim_{n \to 0} t_n = 0 and
\begin{aligned}
\lim_{n \to \infty} \Big( m_n \, f_2 (t_n) \Big) \; = \; & c \, f_2'(0) .
\end{aligned}
Lean code for Lemma2.3.3●2 theorems
Associated Lean declarations
-
theoremdefined in ExtremeValueProject/LimitRelationManipulation.leancomplete
theorem tendsto_smul_apply_smul_deriv_of_tendsto_atTop_of_tendsto_smul_apply_smul_deriv.{u_1, u_2} {ι : Type u_1} {L : Filter ι} [L.NeBot] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] (f₁ f₂ : ℝ → E) (hf₁ : f₁ 0 = 0) (hf₂ : f₂ 0 = 0) {s : Set ℝ} (hs₁ : ∀ δ > 0, ∃ ε > 0, ∀ x ∈ s, ‖f₁ x‖ < ε → x ∈ Metric.ball 0 δ) {m : ι → ℝ} (m_to_infty : Filter.Tendsto m L Filter.atTop) {a : ι → ℝ} (a_in_s : ∀ᶠ (i : ι) in L, a i ∈ s) {c : ℝ} {D₁ D₂ : E} (D₁_ne_zero : D₁ ≠ 0) (hDf₁ : HasDerivAt f₁ D₁ 0) (hDf₂ : HasDerivAt f₂ D₂ 0) (ha : Filter.Tendsto (fun i => m i • f₁ (a i)) L (nhds (c • D₁))) : Filter.Tendsto (fun i => m i • f₂ (a i)) L (nhds (c • D₂))
theorem tendsto_smul_apply_smul_deriv_of_tendsto_atTop_of_tendsto_smul_apply_smul_deriv.{u_1, u_2} {ι : Type u_1} {L : Filter ι} [L.NeBot] {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] (f₁ f₂ : ℝ → E) (hf₁ : f₁ 0 = 0) (hf₂ : f₂ 0 = 0) {s : Set ℝ} (hs₁ : ∀ δ > 0, ∃ ε > 0, ∀ x ∈ s, ‖f₁ x‖ < ε → x ∈ Metric.ball 0 δ) {m : ι → ℝ} (m_to_infty : Filter.Tendsto m L Filter.atTop) {a : ι → ℝ} (a_in_s : ∀ᶠ (i : ι) in L, a i ∈ s) {c : ℝ} {D₁ D₂ : E} (D₁_ne_zero : D₁ ≠ 0) (hDf₁ : HasDerivAt f₁ D₁ 0) (hDf₂ : HasDerivAt f₂ D₂ 0) (ha : Filter.Tendsto (fun i => m i • f₁ (a i)) L (nhds (c • D₁))) : Filter.Tendsto (fun i => m i • f₂ (a i)) L (nhds (c • D₂))
-
theoremdefined in ExtremeValueProject/LimitRelationManipulation.leancomplete
theorem tendsto_zero_of_tendsto_atTop_of_tendsto_smul.{u_1, u_2} {ι : Type u_1} {L : Filter ι} {E : Type u_2} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {v : E} (f : ℝ → E) {s : Set ℝ} (hs : ∀ δ > 0, ∃ ε > 0, ∀ x ∈ s, ‖f x‖ < ε → x ∈ Metric.ball 0 δ) {m : ι → ℝ} (m_to_infty : Filter.Tendsto m L Filter.atTop) {a : ι → ℝ} (a_in_s : ∀ᶠ (i : ι) in L, a i ∈ s) (ha : Filter.Tendsto (fun i => m i • f (a i)) L (nhds v)) : Filter.Tendsto a L (nhds 0)
theorem tendsto_zero_of_tendsto_atTop_of_tendsto_smul.{u_1, u_2} {ι : Type u_1} {L : Filter ι} {E : Type u_2} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {v : E} (f : ℝ → E) {s : Set ℝ} (hs : ∀ δ > 0, ∃ ε > 0, ∀ x ∈ s, ‖f x‖ < ε → x ∈ Metric.ball 0 δ) {m : ι → ℝ} (m_to_infty : Filter.Tendsto m L Filter.atTop) {a : ι → ℝ} (a_in_s : ∀ᶠ (i : ι) in L, a i ∈ s) (ha : Filter.Tendsto (fun i => m i • f (a i)) L (nhds v)) : Filter.Tendsto a L (nhds 0)
This is in principle straightforward:
the assumptions are first checked to imply that \lim_{n \to 0} t_n = 0,
and then one can just consider the first order Taylor expansions of the
functions f_j at 0 given by the assumed existence of the derivatives
(the key is t_n \, = \, \frac{c}{m_n} + \oo \big(\frac{1}{m_n}\big)).
Taylored version of the limit relation
Let F and G be c.d.f.s, and (A_n)_{n \in \N} a sequence of orientation
preserving affine isomorphisms A_n \in \OriAffR. Then for any x \in \bR
such that 0 < G(x) < 1, the two conditions
\begin{aligned}
\text{(ii)} & & \lim_{n \to \infty} n \, \log F (A_n^{-1}(x)) \, = \; & \log G(x) \\
\text{(iii)} & & \lim_{n \to \infty} \Big( n \, \big(1 - F (A_n^{-1}(x)) \big) \Big)
\, = \; & - \log G(x)
\end{aligned}
are equivalent.
Lean code for Lemma2.3.4●1 theorem, incomplete
Associated Lean declarations
-
log_ev_limit_iff_taylored_ev_limit[sorry in proof]
-
log_ev_limit_iff_taylored_ev_limit[sorry in proof]
-
theoremdefined in ExtremeValueProject/LimitRelationManipulation.leancontains sorry
theorem log_ev_limit_iff_taylored_ev_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => ↑n * Real.log (↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (Real.log (↑G.toStieltjesFunction x))) ↔ Filter.Tendsto (fun n => ↑n * (1 - ↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (-Real.log (↑G.toStieltjesFunction x)))
theorem log_ev_limit_iff_taylored_ev_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => ↑n * Real.log (↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (Real.log (↑G.toStieltjesFunction x))) ↔ Filter.Tendsto (fun n => ↑n * (1 - ↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (-Real.log (↑G.toStieltjesFunction x)))
Both implications (ii) \, \Rightarrow \, (iii) and (iii) \, \Rightarrow \, (ii)
are proven similarly using Lemma 2.3.3.
Assume (ii). Let f_1(t) = - \log (1-t) and f_2(t) = t and
S = [0,1) \subset \bR, and m_n = n and t_n = 1 - F (A_n^{-1}(x)).
It is straightforward to check the assumptions of Lemma 2.3.3,
with
\begin{aligned}
f_1'(0) \; = \; & \der{t} \Big|_{t=0} \Big( - \log (1 - t) \Big) \; = \; 1
\end{aligned}
and f_2'(0) = \mathrm{id}'(0) = 1.
The key assumption about the existence of
the limit \lim_{n \to \infty} \big( m_n \, f_1(t_n) \big) is given by (ii),
and the conclusion is (iii).
Similarly assuming (iii) we derive (ii) with Lemma 2.3.3
just interchanging the roles of the two functions, i.e., now using
f_1(t) = t and f_2(t) = - \log (1-t) instead.
Inverted Taylored version of the limit relation
Let F and G be c.d.f.s, and (A_n)_{n \in \N} a sequence of orientation
preserving affine isomorphisms A_n \in \OriAffR. Then for any x \in \bR
such that 0 < G(x) < 1, the two conditions
\begin{aligned}
\text{(iii)} & & \lim_{n \to \infty} \Big( n \, \big(1 - F (A_n^{-1}(x)) \big) \Big)
\, = \; & - \log G(x) \\
\text{(iv)} & & \lim_{n \to \infty} \frac{1}{n \, \big(1 - F (A_n^{-1}(x)) \big)}
\, = \; & \frac{1}{-\log G(x)}
\end{aligned}
are equivalent.
Lean code for Lemma2.3.5●1 theorem
Associated Lean declarations
-
taylored_ev_limit_iff_oneDivOneSub_limit[complete]
-
taylored_ev_limit_iff_oneDivOneSub_limit[complete]
-
theoremdefined in ExtremeValueProject/LimitRelationManipulation.leancomplete
theorem taylored_ev_limit_iff_oneDivOneSub_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => ↑n * (1 - ↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (-Real.log (↑G.toStieltjesFunction x))) ↔ Filter.Tendsto (fun n => 1 / (↑n * (1 - ↑(As n • F).toStieltjesFunction x))) Filter.atTop (nhds (1 / -Real.log (↑G.toStieltjesFunction x)))
theorem taylored_ev_limit_iff_oneDivOneSub_limit {F G : CumulativeDistributionFunction} {As : ℕ → AffineIncrEquiv} {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => ↑n * (1 - ↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (-Real.log (↑G.toStieltjesFunction x))) ↔ Filter.Tendsto (fun n => 1 / (↑n * (1 - ↑(As n • F).toStieltjesFunction x))) Filter.atTop (nhds (1 / -Real.log (↑G.toStieltjesFunction x)))
By assumption G(x) \in (0,1) we have -\log G(x) > 0.
The implication (iii) \,\Rightarrow \, (iv)
can therefore be seen by applying t \mapsto \frac{1}{t}
and using its continuity at t = -\log G(x), and the
converse implication (iv) \,\Rightarrow \, (iii) similarly by using continuity of
t \mapsto \frac{1}{t} at t = \frac{1}{-\log G(x)}.
Transformed version of the limit relation
Let F and G be c.d.f.s, and (A_n)_{n \in \N} a sequence of orientation
preserving affine isomorphisms A_n \in \OriAffR. Then for any x \in \bR
such that 0 < G(x) < 1, the two conditions
\begin{aligned}
\text{(iv)} & & \lim_{n \to \infty} \frac{1}{n \, \big(1 - F (A_n^{-1}(x)) \big)}
\, = \; & \frac{1}{-\log G(x)} \\
\text{(v)} & & \lim_{n \to \infty} \frac{1}{n} \oneDivOneSub{A_n . F} (x)
\, = \; & \oneDivNegLog{G} (x)
\end{aligned}
are equivalent.
(See Definition 5.2.1 and Definition 5.3.1 for the transforms involved in condition (v)).
Lean code for Lemma2.3.6●1 theorem
Associated Lean declarations
-
oneDivSub_limit_iff[complete]
-
oneDivSub_limit_iff[complete]
-
theoremdefined in ExtremeValueProject/TransformedCDF.leancomplete
theorem oneDivSub_limit_iff {F G : CumulativeDistributionFunction} (As : ℕ → AffineIncrEquiv) {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => 1 / (↑n * (1 - ↑(As n • F).toStieltjesFunction x))) Filter.atTop (nhds (1 / -Real.log (↑G.toStieltjesFunction x))) ↔ Filter.Tendsto (fun n => (↑n)⁻¹ * (As n • F).oneDivOneSub ↑x) Filter.atTop (nhds (G.oneDivNegLog ↑x))
theorem oneDivSub_limit_iff {F G : CumulativeDistributionFunction} (As : ℕ → AffineIncrEquiv) {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : Filter.Tendsto (fun n => 1 / (↑n * (1 - ↑(As n • F).toStieltjesFunction x))) Filter.atTop (nhds (1 / -Real.log (↑G.toStieltjesFunction x))) ↔ Filter.Tendsto (fun n => (↑n)⁻¹ * (As n • F).oneDivOneSub ↑x) Filter.atTop (nhds (G.oneDivNegLog ↑x))
This is in principle straightforward, although certain cases need to be checked separately and the continuity of various natural extensions need to addressed.
Equivalent versions of the limit relation
Let F and G be c.d.f.s, and (A_n)_{n \in \N} a sequence of orientation
preserving affine isomorphisms A_n \in \OriAffR. Then for any x \in \bR
such that 0 < G(x) < 1, the conditions
\begin{aligned}
\text{(i)} & & \lim_{n \to \infty} \big( (A_n.F)(x) \big)^n \, = \; & G(x) \\
\text{(ii)} & & \lim_{n \to \infty} n \, \log F (A_n^{-1}(x)) \, = \; & \log G(x) \\
\text{(iii)} & & \lim_{n \to \infty} \Big( n \, \big(1 - F (A_n^{-1}(x)) \big) \Big)
\, = \; & - \log G(x) \\
\text{(iv)} & & \lim_{n \to \infty} \frac{1}{n \, \big(1 - F (A_n^{-1}(x)) \big)}
\, = \; & \frac{1}{-\log G(x)} \\
\text{(v)} & & \lim_{n \to \infty} \frac{1}{n} \oneDivOneSub{A_n . F} (x)
\, = \; & \oneDivNegLog{G} (x)
\end{aligned}
are equivalent.
(See Definition 5.2.1 and Definition 5.3.1 for the transforms involved in condition (v)).
(More equivalent conditions are to be added; this is just a theorem to collect various equivalent phrasings.)
Lean code for Theorem2.3.7●1 theorem
Associated Lean declarations
-
tfae_ev_limit_relation[complete]
-
tfae_ev_limit_relation[complete]
-
theoremdefined in ExtremeValueProject/LimitRelationManipulation.leancomplete
theorem tfae_ev_limit_relation {F G : CumulativeDistributionFunction} (As : ℕ → AffineIncrEquiv) {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : [Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x ^ n) Filter.atTop (nhds (↑G.toStieltjesFunction x)), Filter.Tendsto (fun n => ↑n * Real.log (↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (Real.log (↑G.toStieltjesFunction x))), Filter.Tendsto (fun n => ↑n * (1 - ↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (-Real.log (↑G.toStieltjesFunction x))), Filter.Tendsto (fun n => 1 / (↑n * (1 - ↑(As n • F).toStieltjesFunction x))) Filter.atTop (nhds (1 / -Real.log (↑G.toStieltjesFunction x))), Filter.Tendsto (fun n => (↑n)⁻¹ * (As n • F).oneDivOneSub ↑x) Filter.atTop (nhds (G.oneDivNegLog ↑x))].TFAE
theorem tfae_ev_limit_relation {F G : CumulativeDistributionFunction} (As : ℕ → AffineIncrEquiv) {x : ℝ} (hGx : ↑G.toStieltjesFunction x ∈ Set.Ioo 0 1) : [Filter.Tendsto (fun n => ↑(As n • F).toStieltjesFunction x ^ n) Filter.atTop (nhds (↑G.toStieltjesFunction x)), Filter.Tendsto (fun n => ↑n * Real.log (↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (Real.log (↑G.toStieltjesFunction x))), Filter.Tendsto (fun n => ↑n * (1 - ↑(As n • F).toStieltjesFunction x)) Filter.atTop (nhds (-Real.log (↑G.toStieltjesFunction x))), Filter.Tendsto (fun n => 1 / (↑n * (1 - ↑(As n • F).toStieltjesFunction x))) Filter.atTop (nhds (1 / -Real.log (↑G.toStieltjesFunction x))), Filter.Tendsto (fun n => (↑n)⁻¹ * (As n • F).oneDivOneSub ↑x) Filter.atTop (nhds (G.oneDivNegLog ↑x))].TFAE