Prove that if the sequences \(a_n\) and \(b_n\) converge to \(L\) and \(M\), respectively, with \(L < M\), then eventually \(a_n < b_n\); that is, there exists \(k ∈ \mathbb{N}\) such that, for all \(n ≥ k\), \(a_n < b_n\).
To do so, complete the following Lean 4 theory:
import Mathlib.Data.Real.Basic
import Mathlib.Tactic
def SeqLim (a : ℕ → ℝ) (L : ℝ) : Prop :=
∀ ε > 0, ∃ k : ℕ, ∀ n ≥ k, |a n - L| < ε
variable {a b : ℕ → ℝ}
variable {L M : ℝ}
example
(ha : SeqLim a L)
(hb : SeqLim b M)
(hLM : L < M)
: ∃ k, ∀ n ≥ k, a n < b n :=
by sorry
Read more…