Every interior point has a local sign pattern
ProvedMonotonicity_Theorem.pattern_at_interior_pointAn interior point of the domain of an injective definable function on an interval satisfies one of the four local sign patterns: on some two-sided window in the domain, values stay strictly above or below on each side. This is the pointwise covering step of Lemma 2.
import Definitions.Def_Monotonicity_Theorem_Framework
theorem Monotonicity_Theorem.pattern_at_interior_point {R : Type} (D : DenseLinearOrderNoEndpoints R)
(M : OMinimalStructure D) {a b : Endpoint R} {B : Set (Power R 1)}
(f : DefinableFunction M (openInterval D a b) B)
(hinj : forall x y (hx : openInterval D a b x) (hy : openInterval D a b y),
f.toFun (Subtype.mk x hx) = f.toFun (Subtype.mk y hy) -> x = y)
{p : Power R 1} (hp : openInterval D a b p) :
(exists c1 c2 : Power R 1, openInterval D a b c1 /\ openInterval D a b c2 /\
Lt1 D c1 p /\ Lt1 D p c2 /\
(forall y (hy : openInterval D a b y), Lt1 D c1 y -> Lt1 D y p ->
Lt1 D (f.toFun (Subtype.mk p hp)).1 (f.toFun (Subtype.mk y hy)).1) /\
(forall y (hy : openInterval D a b y), Lt1 D p y -> Lt1 D y c2 ->
Lt1 D (f.toFun (Subtype.mk p hp)).1 (f.toFun (Subtype.mk y hy)).1)) \/
(exists c1 c2 : Power R 1, openInterval D a b c1 /\ openInterval D a b c2 /\
Lt1 D c1 p /\ Lt1 D p c2 /\
(forall y (hy : openInterval D a b y), Lt1 D c1 y -> Lt1 D y p ->
Lt1 D (f.toFun (Subtype.mk p hp)).1 (f.toFun (Subtype.mk y hy)).1) /\
(forall y (hy : openInterval D a b y), Lt1 D p y -> Lt1 D y c2 ->
Lt1 D (f.toFun (Subtype.mk y hy)).1 (f.toFun (Subtype.mk p hp)).1)) \/
(exists c1 c2 : Power R 1, openInterval D a b c1 /\ openInterval D a b c2 /\
Lt1 D c1 p /\ Lt1 D p c2 /\
(forall y (hy : openInterval D a b y), Lt1 D c1 y -> Lt1 D y p ->
Lt1 D (f.toFun (Subtype.mk y hy)).1 (f.toFun (Subtype.mk p hp)).1) /\
(forall y (hy : openInterval D a b y), Lt1 D p y -> Lt1 D y c2 ->
Lt1 D (f.toFun (Subtype.mk p hp)).1 (f.toFun (Subtype.mk y hy)).1)) \/
(exists c1 c2 : Power R 1, openInterval D a b c1 /\ openInterval D a b c2 /\
Lt1 D c1 p /\ Lt1 D p c2 /\
(forall y (hy : openInterval D a b y), Lt1 D c1 y -> Lt1 D y p ->
Lt1 D (f.toFun (Subtype.mk y hy)).1 (f.toFun (Subtype.mk p hp)).1) /\
(forall y (hy : openInterval D a b y), Lt1 D p y -> Lt1 D y c2 ->
Lt1 D (f.toFun (Subtype.mk y hy)).1 (f.toFun (Subtype.mk p hp)).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 , endpoints , a set of -powers over , a definable function from the open interval to , and a point with ; assume is injective in the sense that for all with and , if the value of at (taken with its membership witness) equals the value of at (taken with its membership witness) then .
Then one of the following four alternatives holds, where range over -powers, means membership in the open interval, is the given -dimensional strict order, and , denote the first-coordinate projections of the values of at and taken with the witnesses that :
- there exist with , , , , and both: for all with , if and then , and for all with , if and then ; or
- there exist with , , , , and both: for all with , if and then , and for all with , if and then ; or
- there exist with , , , , and both: for all with , if and then , and for all with , if and then ; or
- there exist with , , , , and both: for all with , if and then , and for all with , if and then .
Confirmed by the mission captain (proposal self-audit).