Continuous_Image_of_Closed_Interval_is_Closed_Interval
Provedcontinuous-functionsproofwikireal-analysis
Let be a real function which is continuous on the closed interval . Then the image of under is also a closed interval.
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Topology.Order.IntermediateValue
Formal statement
import Mathlib.Analysis.Complex.Basic import Mathlib.Topology.Order.IntermediateValue theorem Continuous_Image_of_Closed_Interval_is_Closed_Interval (f : ℝ → ℝ) (a b : ℝ) (hab : a ≤ b) (hf : ContinuousOn f (Set.Icc a b)) : ∃ c d : ℝ, c ≤ d ∧ f '' Set.Icc a b = Set.Icc c d := by sorry
Source