Intermediate_Value_Theorem
Provedanalysisnamed-theoremsproofwiki
Let be a real function on some subset of . Let be a real interval. Let be continuous on . Let . Let lie between and . That is, either or Then such that .
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Topology.Order.IntermediateValue
Formal statement
import Mathlib.Analysis.Complex.Basic import Mathlib.Topology.Order.IntermediateValue theorem Intermediate_Value_Theorem (f : ℝ → ℝ) (a b : ℝ) (hab : a ≤ b) (hf : ContinuousOn f (Set.Icc a b)) (v : ℝ) (hv : f a ≤ v ∧ v ≤ f b ∨ f b ≤ v ∧ v ≤ f a) : ∃ c ∈ Set.Icc a b, f c = v := by sorry
Source