The areas / V13. General topology
Mathlib.Topology.Order.OrderClosedExtr
2 declarations. Mathlib docs · Source
Local maxima from monotonicity and antitonicity
In this file we prove a lemma that is useful for the First Derivative Test in calculus, and its dual.
Main statements
-
isLocalMax_of_mono_anti: if a functionfis monotone to the left ofxand antitone to the right ofxthenfhas a local maximum atx. -
isLocalMin_of_anti_mono: the dual statement for minima.
theorem isLocalMax_of_mono_anti E3 #
∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : LinearOrder α] [OrderClosedTopology α] {β : Type u_2}
[inst_3 : Preorder β] {a b c : α},
a < b → b < c → ∀ {f : α → β}, MonotoneOn f (Set.Ioc a b) → AntitoneOn f (Set.Ico b c) → IsLocalMax f b
If f is monotone on Ioc a b and antitone on Ico b c then f has
a local maximum at b.
theorem isLocalMin_of_anti_mono E3 #
∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : LinearOrder α] [OrderClosedTopology α] {β : Type u_2}
[inst_3 : Preorder β] {a b c : α},
a < b → b < c → ∀ {f : α → β}, AntitoneOn f (Set.Ioc a b) → MonotoneOn f (Set.Ico b c) → IsLocalMin f b
If f is antitone on Ioc a b and monotone on Ico b c then f has
a local minimum at b.