∀ {J : ℝ → ℝ}, Differentiable ℝ J → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {a b : ℝ}, a ≤ b → 0 ≤ J a → 0 ≤ J bOnce nonnegative, a function with strictly upward zero crossings stays so.
A differentiable real function whose derivative is positive at every zero cannot cross from nonnegative to negative as its argument increases. We prove this with Mathlib's scalar fencing theorem. If R'=R*J and R>0, the resulting sign restriction makes every strict sublevel set of R an interval.
nonneg_right_of_upward_zeros, nonpos_left_of_upward_zeros: for a differentiable J with J' > 0 at every zero, J a ≥ 0 and a ≤ b give J b ≥ 0, and J b ≤ 0 and a ≤ b give J a ≤ 0.upward_zero_unique: such a J has at most one zero.value_between_le_max_of_upward_factor, sublevel_ordConnected_of_upward_factor: if R > 0 is differentiable with R' = R J for such a J, then R y ≤ max (R x) (R z) for x ≤ y ≤ z, and every strict sublevel set {x | R x < L} is order-connected.global_min_of_upward_factor, no_three_equal_values_of_upward_factor: under the same hypotheses, a stationary point of R is a global minimum, and R cannot take the same value at three ordered points.subset_pair_of_no_ordered_triple: a set of reals with no strictly increasing triple of elements is contained in a set of at most two points ({a, b}).upward crossing, sublevel set, interval, zero crossing, fencing theorem, MSC 35R35, MSC 91G20, JEL G13
Above: what it imports. Below: what imports it.
∀ {J : ℝ → ℝ}, Differentiable ℝ J → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {a b : ℝ}, a ≤ b → 0 ≤ J a → 0 ≤ J bOnce nonnegative, a function with strictly upward zero crossings stays so.
∀ {J : ℝ → ℝ}, Differentiable ℝ J → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {a b : ℝ}, a ≤ b → J b ≤ 0 → J a ≤ 0The corresponding backward invariant for the nonpositive half-line.
∀ {J : ℝ → ℝ}, Differentiable ℝ J → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {a b : ℝ}, J a = 0 → J b = 0 → a = bStrictly upward zero crossings allow at most one zero.
∀ {R J : ℝ → ℝ}, Differentiable ℝ R → Differentiable ℝ J → (∀ (x : ℝ), 0 < R x) → (∀ (x : ℝ), deriv R x = R x * J x) → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {a b : ℝ}, a ≤ b → 0 ≤ J a → R a ≤ R b∀ {R J : ℝ → ℝ}, Differentiable ℝ R → Differentiable ℝ J → (∀ (x : ℝ), 0 < R x) → (∀ (x : ℝ), deriv R x = R x * J x) → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {a b : ℝ}, a ≤ b → J b ≤ 0 → R b ≤ R a∀ {R J : ℝ → ℝ}, Differentiable ℝ R → Differentiable ℝ J → (∀ (x : ℝ), 0 < R x) → (∀ (x : ℝ), deriv R x = R x * J x) → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {x y z : ℝ}, x ≤ y → y ≤ z → R y ≤ max (R x) (R z)The function cannot form a hill between two lower values.
∀ {R J : ℝ → ℝ}, Differentiable ℝ R → Differentiable ℝ J → (∀ (x : ℝ), 0 < R x) → (∀ (x : ℝ), deriv R x = R x * J x) → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ (L : ℝ), {x | R x < L}.OrdConnected∀ {R J : ℝ → ℝ}, Differentiable ℝ R → Differentiable ℝ J → (∀ (x : ℝ), 0 < R x) → (∀ (x : ℝ), deriv R x = R x * J x) → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {z : ℝ}, deriv R z = 0 → ∀ (x : ℝ), R z ≤ R xEvery stationary point is a GLOBAL minimum, without assuming it exists.
∀ {R J : ℝ → ℝ}, Differentiable ℝ R → Differentiable ℝ J → (∀ (x : ℝ), 0 < R x) → (∀ (x : ℝ), deriv R x = R x * J x) → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {z : ℝ}, (∃ x, R x < R z) → deriv R z ≠ 0A level with a value below it cannot contain a stationary point.
∀ {R J : ℝ → ℝ}, Differentiable ℝ R → Differentiable ℝ J → (∀ (x : ℝ), 0 < R x) → (∀ (x : ℝ), deriv R x = R x * J x) → (∀ (x : ℝ), J x = 0 → 0 < deriv J x) → ∀ {a b c : ℝ}, a < b → b < c → R a = R b → R b = R c → FalseThree ordered points cannot have the same value. Rolle's theorem would give two distinct zeros of the upward-crossing slope factor.
∀ {s : Set ℝ}, (∀ a ∈ s, ∀ b ∈ s, ∀ c ∈ s, a < b → b < c → False) → ∃ a b, s ⊆ {a, b}A set of real numbers with no ordered triple is covered by two points. Unlike a bare ncard bound, this also rules out infinite sets.