Decreasing on a uniform below-below window
ProvedMonotonicity_Theorem.decreasing_of_uniform_below_below2If every point of a window has a below-below sign pattern, some subwindow has the function strictly decreasing. The difficult 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_below_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_Framework2
theorem Monotonicity_Theorem.decreasing_of_uniform_below_below2 {R : Type} [LinearOrder R] [DenselyOrdered R] [NoMaxOrder R] [NoMinOrder R]
(M : OMinimalStructure R) {I B : Set (Power R 1)}
(f : DefinableFunction M I B)
(hinj : ∀ 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 : ∀ x, openInterval a b x → I x)
(hlt : Endpoint.lt a b)
(hU : ∀ x (hxI : I x), openInterval a b x ->
∃ c1 c2 : Power R 1, openInterval a b c1 ∧ openInterval a b c2 ∧
Lt1 c1 x ∧ Lt1 x c2 ∧
(∀ y (hyI : I y), openInterval a b y → Lt1 c1 y → Lt1 y x ->
Lt1 (f.toFun (Subtype.mk y hyI)).1 (f.toFun (Subtype.mk x hxI)).1) ∧
(∀ y (hyI : I y), openInterval a b y → Lt1 x y → Lt1 y c2 ->
Lt1 (f.toFun (Subtype.mk y hyI)).1 (f.toFun (Subtype.mk x hxI)).1)) :
∃ a2 b2 : Endpoint R, Endpoint.lt a2 b2 ∧
(∀ x, openInterval a2 b2 x → I x) ∧
(∀ x (hxI : I x) y (hyI : I y), openInterval a2 b2 x → openInterval a2 b2 y ->
Lt1 x y → Lt1 (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
Let be a type equipped with a linear order that is densely ordered and has no maximum and no minimum, let be an o-minimal structure on , let and be sets of unary tuples over , and let be a function definable in from to , writing for the underlying unary tuple assigned to in ; suppose is injective on in the sense that for any belonging to , if equals as unary tuples then equals ; let and be endpoints over , where an open interval determined by such endpoints is the collection of unary tuples strictly between them and one endpoint is strictly less than another in the endpoint order, such that every unary tuple in the open interval belongs to and is strictly less than , so the interval is nondegenerate and, in the dense order without ends, contains points and hence forces to be nonempty; suppose further the following uniform two-sided below property holds: for every belonging both to and to , there exist unary tuples belonging to with strictly less than and strictly less than in the strict order on unary tuples, such that for every belonging both to and to , if lies strictly between and then is strictly -less than , and if lies strictly between and then is strictly -less than , where the bracketing points may depend on ; then there exist endpoints and with strictly less than , such that every unary tuple in belongs to and is strictly decreasing on intersected with in the sense that for any belonging to and to , if is strictly -less than then is strictly -less than , a condition that is vacuously true if there are fewer than two such comparable points.
Confirmed by the mission captain (proposal self-audit).