Constant maps are continuous
ProvedMonotonicity_Theorem.const_cont_of_constA definable map constant on an interval is continuous at every point of it, with the interval itself as the delta window. Used for constant pieces and the constant case of discontinuity-finiteness.
import Definitions.Def_Monotonicity_Theorem_Framework2
theorem Monotonicity_Theorem.const_cont_of_const {R : Type} [LinearOrder R]
(M : OMinimalStructure R) {I B : Set (Power R 1)}
(f : DefinableFunction M I B) (lo hi : R)
(hsub : ∀ x : Power R 1, openInterval (Endpoint.finite lo) (Endpoint.finite hi) x → I x)
(hconst : ∀ x (hxI : I x), openInterval (Endpoint.finite lo) (Endpoint.finite hi) x →
∀ y (hyI : I y), openInterval (Endpoint.finite lo) (Endpoint.finite hi) y →
(f.toFun ⟨x, hxI⟩).1 = (f.toFun ⟨y, hyI⟩).1) :
(openInterval (Endpoint.finite lo) (Endpoint.finite hi)).Subset
(ContinuousPoints I (FunctionGraph (R := R) (m := 1) (n := 1) (A := I) (B := B) f.toFun)) := by
sorryRead-back
What the Lean code literally says, in plain math · muse-spark
Fix a type equipped with a linear order, an o-minimal structure over , sets and of unary tuples over , a function definable in from to , and points in , and write for the set of unary tuples whose single coordinate is strictly greater than and strictly less than ; assume that every tuple in belongs to , and assume that for every tuple belonging to together with a witness of that membership and belonging also to , and for every tuple belonging to together with a witness of that membership and belonging also to , the single coordinate of the value of the underlying function of at equals the single coordinate of its value at , i.e. takes the same unary-tuple value throughout the overlap of with ; then every tuple in belongs to the set obtained by applying the continuous-points construction to the domain set and the graph set built from the underlying function of with source and target dimensions and and source set and target set , so in particular if and hence is empty, both hypotheses are vacuously true and the inclusion is vacuously true.
Confirmed by the mission captain (proposal self-audit).