Strict decrease on a subwindow contradicts the below-below pattern
ProvedMonotonicity_Theorem.incompatible_decreasing_below_belowIf f has the below-below sign pattern on a window, so every point is a strict local maximum with witnesses inside the window, and f is strictly decreasing on a finite subwindow contained in it, then False. Local decrease and everywhere-local-maxima are incompatible.
Preamble
import Definitions.Def_Monotonicity_Theorem_Framework
Formal statement
import Definitions.Def_Monotonicity_Theorem_Framework
theorem Monotonicity_Theorem.incompatible_decreasing_below_below {R : Type}
(D : DenseLinearOrderNoEndpoints R)
(M : OMinimalStructure D) {I B : Set (Power R 1)}
(f : DefinableFunction M I B)
{a b : Endpoint R} (hsubJ : forall x, openInterval D a b x -> I x)
(hU : forall x (hxI : I x), openInterval D a b x ->
exists c1 c2 : Power R 1, openInterval D a b c1 /\ openInterval D a b c2 /\
Lt1 D c1 x /\ Lt1 D x c2 /\
(forall y (hyI : I y), openInterval D a b y -> Lt1 D c1 y -> Lt1 D y x ->
Lt1 D (f.toFun (Subtype.mk y hyI)).1 (f.toFun (Subtype.mk x hxI)).1) /\
(forall y (hyI : I y), openInterval D a b y -> Lt1 D x y -> Lt1 D y c2 ->
Lt1 D (f.toFun (Subtype.mk y hyI)).1 (f.toFun (Subtype.mk x hxI)).1))
{u v : R} (huv : D.lt u v)
(hsub : forall x, openInterval D (Endpoint.finite u) (Endpoint.finite v) x ->
openInterval D a b x)
(hdec : forall x (hxI : I x) y (hyI : I y),
openInterval D (Endpoint.finite u) (Endpoint.finite v) x ->
openInterval D (Endpoint.finite u) (Endpoint.finite v) y ->
Lt1 D x y -> Lt1 D (f.toFun (Subtype.mk y hyI)).1 (f.toFun (Subtype.mk x hxI)).1) :
False := by sorry