lean_workbook_plus_4142
ProvedLet be a metric space. Let be a function such that for all the sets and are open in Show that is continuous.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_4142 (E : Type*) [MetricSpace E] (f : E → ℝ)
(hf : ∀ a : ℝ, IsOpen {x | f x < a} ∧ IsOpen {x | f x > a}) :
Continuous f := by sorrySource