Challenge 17: Convergent sequences are bounded
Prove that if a sequence \(a_n\) is convergent, then \(a_n\) is bounded; that is, there exists an \(M ∈ ℝ\) such that for every \(n ∈ ℕ\), \(|a_n| ≤ M\).
To do so, complete the following Lean 4 theory:
import Mathlib.Data.Real.Basic import Mathlib.Tactic open Finset def SeqLim (a : ℕ → ℝ) (L : ℝ) : Prop := ∀ ε > 0, ∃ k : ℕ, ∀ n ≥ k, |a n - L| < ε def SeqConv (a : ℕ → ℝ) : Prop := ∃ L, SeqLim a L def SeqBdd (a : ℕ → ℝ) : Prop := ∃ M, ∀ n, |a n| ≤ M variable (a : ℕ → ℝ) example (ha : SeqConv a) : SeqBdd a := by sorry