-- File: optlib/Optlib/Algorithm/BCD/Convergence.lean
Theorem statement:
theorem extracted_formal_statement_140.{u_2, u_1} {E : Type u_1} {F : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : InnerProductSpace ℝ E] [inst_2 : CompleteSpace E] [inst_3 : NormedAddCommGroup F]
  [inst_4 : InnerProductSpace ℝ F] [inst_5 : CompleteSpace F] {f : E → ℝ} {g : F → ℝ} {H : WithLp 2 (E × F) → ℝ}
  {x0 : E} {y0 : F} {l : NNReal} {alg : BCD f g H l x0 y0} [inst_6 : ProperSpace E] [inst_7 : ProperSpace F]
  (bd : Bornology.IsBounded (z '' univ)) (ε : ℝ) (epos : 0 < ε)
  (h :
    ∀ (x : ℕ),
      ∃ x_1,
        x ≤ x_1 ∧
          (-ε < (EMetric.infEdist (z x_1) (limit_set z)).toReal →
            ε ≤ (EMetric.infEdist (z x_1) (limit_set z)).toReal)) :
  let W := fun n => Nat.recOn n (Classical.choose (h 0)) fun n p => Classical.choose (h (p + 1));
  StrictMono W →
    ∀ z_ ∈ closure (z ∘ W '' univ),
      ∀ (α : ℕ → ℕ),
        StrictMono α →
          Tendsto (fun n => (z ∘ W) (α n)) atTop (𝓝 z_) →
            z_ ∈ limit_set z →
              (EMetric.infEdist z_ (limit_set z)).toReal ≥ ε →
                ∀ᶠ (c : ℕ) in atTop, ε ≤ ((fun x => Metric.infDist x (limit_set z)) ∘ fun n => (z ∘ W) (α n)) c := sorry

Tactic state before:
E : Type u_1
F : Type u_2
inst✝⁷ : NormedAddCommGroup E
inst✝⁶ : InnerProductSpace ℝ E
inst✝⁵ : CompleteSpace E
inst✝⁴ : NormedAddCommGroup F
inst✝³ : InnerProductSpace ℝ F
inst✝² : CompleteSpace F
f : E → ℝ
g : F → ℝ
H : WithLp 2 (E × F) → ℝ
x0 : E
y0 : F
l : NNReal
alg : BCD f g H l x0 y0
inst✝¹ : ProperSpace E
inst✝ : ProperSpace F
bd : Bornology.IsBounded (z '' univ)
ε : ℝ
epos : 0 < ε
h :
  ∀ (x : ℕ),
    ∃ x_1,
      x ≤ x_1 ∧
        (-ε < (EMetric.infEdist (z x_1) (limit_set z)).toReal → ε ≤ (EMetric.infEdist (z x_1) (limit_set z)).toReal)
W : ℕ → ℕ := fun n => Nat.recOn n (Classical.choose ⋯) fun n p => Classical.choose ⋯
monoW : StrictMono W
z_ : WithLp 2 (E × F)
left✝ : z_ ∈ closure (z ∘ W '' univ)
α : ℕ → ℕ
monoa : StrictMono α
conv : Tendsto (fun n => (z ∘ W) (α n)) atTop (𝓝 z_)
z_in : z_ ∈ limit_set z
⊢ (EMetric.infEdist z_ (limit_set z)).toReal ≥ ε

Tactic: apply
  ge_of_tendsto (continuous_iff_seqContinuous.mp (Metric.continuous_infDist_pt (limit_set alg.z)) conv)

Tactic state after:
[E : Type u_1
 F : Type u_2
 inst✝⁷ : NormedAddCommGroup E
 inst✝⁶ : InnerProductSpace ℝ E
 inst✝⁵ : CompleteSpace E
 inst✝⁴ : NormedAddCommGroup F
 inst✝³ : InnerProductSpace ℝ F
 inst✝² : CompleteSpace F
 f : E → ℝ
 g : F → ℝ
 H : WithLp 2 (E × F) → ℝ
 x0 : E
 y0 : F
 l : NNReal
 alg : BCD f g H l x0 y0
 inst✝¹ : ProperSpace E
 inst✝ : ProperSpace F
 bd : Bornology.IsBounded (z '' univ)
 ε : ℝ
 epos : 0 < ε
 h :
   ∀ (x : ℕ),
     ∃ x_1,
       x ≤ x_1 ∧
         (-ε < (EMetric.infEdist (z x_1) (limit_set z)).toReal → ε ≤ (EMetric.infEdist (z x_1) (limit_set z)).toReal)
 W : ℕ → ℕ := fun n => Nat.recOn n (Classical.choose ⋯) fun n p => Classical.choose ⋯
 monoW : StrictMono W
 z_ : WithLp 2 (E × F)
 left✝ : z_ ∈ closure (z ∘ W '' univ)
 α : ℕ → ℕ
 monoa : StrictMono α
 conv : Tendsto (fun n => (z ∘ W) (α n)) atTop (𝓝 z_)
 z_in : z_ ∈ limit_set z
 ⊢ ∀ᶠ (c : ℕ) in atTop, ε ≤ ((fun x => Metric.infDist x (limit_set z)) ∘ fun n => (z ∘ W) (α n)) c]

Premises used:
ge_of_tendsto : ∀ {α : Type u} {β : Type v} [inst : TopologicalSpace α] [inst_8 : Preorder α]
  [inst_9 : ClosedIciTopology α] {f : β → α} {a b : α} {x : Filter β} [inst_10 : x.NeBot],
  Tendsto f x (𝓝 a) → (∀ᶠ (c : β) in x, b ≤ f c) → b ≤ a
Metric.continuous_infDist_pt : ∀ {α : Type u} [inst : PseudoMetricSpace α] (s : Set α),
  Continuous fun x => Metric.infDist x s