MindFormal v1.0.0One Mind

MindFormal.Tools.A640Settings.SecondSign

theorem MindFormal.A640Settings.positive_after_zero {g : ℝ → ℝ} {c : ℝ} (hg : HasDerivAt g c 0) (hg0 : g 0 = 0) (hc : 0 < c) :
∃ h > 0, ∀ t ∈ Set.Ioo 0 h, 0 < g t

A strict derivative at a zero gives a finite right interval of strict sign. This uses the derivative limit, rather than assigning an ODE path.

theorem MindFormal.A640Settings.second_sign_positive {f g : ℝ → ℝ} {H c : ℝ} (hH : 0 < H) (hf : ContinuousOn f (Set.Icc 0 H)) (hf0 : f 0 = 0) (hfg : ∀ t ∈ Set.Ioo 0 H, HasDerivAt f (g t) t) (hg : HasDerivAt g c 0) (hg0 : g 0 = 0) (hc : 0 < c) :
∃ (h : ℝ), 0 < h ∧ h < H ∧ ∀ t ∈ Set.Ioc 0 h, 0 < f t

A full native first-derivative equation and a strict second sign at the entering state imply a finite strict state comparison.