Existence_of_Maximum_and_Minimum_of_Bounded_Sequence
Provedlimits-of-sequencesproofwiki
Let be a bounded sequence in (which may or may not be convergent). Let be the set of all real numbers which are the limit of some subsequence of . Then has both a maximum and a minimum.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
import Mathlib.Analysis.Complex.Basic theorem Existence_of_Maximum_and_Minimum_of_Bounded_Sequence (x : ℕ → ℝ) (hb : BddAbove (Set.range x)) (hb2 : BddBelow (Set.range x)) : ∃ L l : ℝ, L = sSup (Set.range x) ∧ l = sInf (Set.range x) := by sorry
Source