File size: 1,160 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import OAI.Probability.ContinuumTransition.ConvexUniform

namespace OAI

universe u_1

section
open scoped Topology
open Set Filter
namespace ContinuumTemperature

lemma eventually_of_subseq (P : β„• β†’ Prop)
    (h : βˆ€ Ο† : β„• β†’ β„•, StrictMono Ο† β†’ βˆƒ ψ : β„• β†’ β„•, StrictMono ψ ∧ βˆ€αΆ  n in atTop, P (Ο† (ψ n))) :
    βˆ€αΆ  n in atTop, P n := by
  by_contra hh
  obtain βŸ¨Ο†,hΟ†,hbad⟩ := extraction_of_frequently_atTop (not_eventually.mp hh)
  obtain ⟨ψ,_,hgood⟩ := h Ο† hΟ†
  obtain ⟨n,hn⟩ := hgood.exists
  exact hbad (ψ n) hn

lemma metric_tendsto_of_subseq {E : Type u_1} [PseudoMetricSpace E] {u : β„• β†’ E} {x : E}
    (h : βˆ€ Ο† : β„• β†’ β„•, StrictMono Ο† β†’ βˆƒ ψ : β„• β†’ β„•, StrictMono ψ ∧
      Tendsto (fun n => u (Ο† (ψ n))) atTop (𝓝 x)) : Tendsto u atTop (𝓝 x) := by
  apply Metric.tendsto_atTop.mpr
  intro Ξ΅ hΞ΅
  have hh : βˆ€αΆ  n in atTop, dist (u n) x < Ξ΅ := by
    apply eventually_of_subseq
    intro φ hφ
    obtain ⟨ψ,hψ,ht⟩ := h Ο† hΟ†
    exact ⟨ψ,hψ,ht.eventually (Metric.ball_mem_nhds x hΡ)⟩
  exact eventually_atTop.mp hh

end ContinuumTemperature
end

end OAI