Uniform above-below pattern gives decrease
OpenMonotonicity_Theorem.decreasing_of_uniform_above_belowIf every point of a window has an above-below sign pattern, some subwindow has the function strictly decreasing. The easy above-below case of Lemma 2. Retired: the window was not required to be nonempty, so the statement is false as stated; use Monotonicity_Theorem.decreasing_of_uniform_above_below_corrected instead. Further retired 2026-09-14: old-framework statement superseded by the same-named new-framework formalization in the current staging proposal; the _corrected successor names are retired, use the clean names.
import Definitions.Def_Monotonicity_Theorem_Framework
theorem Monotonicity_Theorem.decreasing_of_uniform_above_below {R : Type} (D : DenseLinearOrderNoEndpoints R)
(M : OMinimalStructure D) {I B : Set (Power R 1)}
(f : DefinableFunction M I B)
(hinj : forall x y (hx : I x) (hy : I y),
f.toFun (Subtype.mk x hx) = f.toFun (Subtype.mk y hy) -> x = y)
{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 x hxI)).1 (f.toFun (Subtype.mk y hyI)).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)) :
exists a2 b2 : Endpoint R, Endpoint.lt D a2 b2 /\
(forall x, openInterval D a2 b2 x -> I x) /\
(forall x (hxI : I x) y (hyI : I y), openInterval D a2 b2 x -> openInterval D a2 b2 y ->
Lt1 D x y -> Lt1 D (f.toFun (Subtype.mk y hyI)).1 (f.toFun (Subtype.mk x hxI)).1) := by sorryRead-back
What the Lean code literally says, in plain math · muse-spark
Fix a type with a dense linear order without endpoints and an o-minimal structure over ; let be subsets of the -dimensional power of and let be a definable function relative to with domain and codomain , writing for its value at viewed as a point of via a membership witness and for the first coordinate thereof; assume is injective in the sense that for all with witnesses that and that , if then ; let be endpoints over with associated open interval ; assume every point of lies in ; assume further that for every with witness that such that , there exist points with and and and such that both (left-above) for all with witness that satisfying and and one has , and (right-below) for all with witness that satisfying and and one has hold, where is the -dimensional order and is membership in the -open interval; note if is empty or is empty the inclusion and the universal local condition hold vacuously, while injectivity also holds vacuously if is empty; then the assertion is that there exist endpoints with in the endpoint order such that every point of lies in and for all with witnesses of membership in satisfying and , if then , i.e. is a non-degenerate subinterval contained in on which the first coordinate of is strictly decreasing.
Confirmed by the mission captain (proposal self-audit).