All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Pos of deriv neg at zeros

pos_of_deriv_neg_at_zeros

Plain-language statement

If g is continuous on (0, ∞), positive for t ≥ t₀, and has strictly negative derivative at any zero in (0, t₀), then g is positive on all of (0, ∞).

Exact Lean statement

lemma pos_of_deriv_neg_at_zeros {g : ℝ → ℝ}
    (hcont : ContinuousOn g (Set.Ioi 0))
    {t₀ : ℝ} (_ht₀ : 0 < t₀)
    (hpos : ∀ t, t₀ ≤ t → 0 < g t)
    (hderiv : ∀ t, 0 < t → t < t₀ → g t = 0 → deriv g t < 0) :
    ∀ t, 0 < t → 0 < g t

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma pos_of_deriv_neg_at_zeros {g :   }    (hcont : ContinuousOn g (Set.Ioi 0))    {t₀ : } (_ht₀ : 0 < t₀)    (hpos :  t, t₀  t  0 < g t)    (hderiv :  t, 0 < t  t < t₀  g t = 0  deriv g t < 0) :     t, 0 < t  0 < g t := by  intro t ht  by_cases htge : t₀  t  · exact hpos t htge  by_contra hle  push Not at hle  let S := Set.Icc t t₀ ∩ g ⁻¹' Set.Iic 0  have hIcc_sub : Set.Icc t t₀  Set.Ioi 0 := fun s hs => lt_of_lt_of_le ht hs.1  have hS_closed : IsClosed S :=    (hcont.mono hIcc_sub).preimage_isClosed_of_isClosed isClosed_Icc isClosed_Iic  have hS_bdd : BddAbove S := t₀, fun s hs => hs.1.2  have hS_ne : S.Nonempty := t, ⟨⟨le_refl _, le_of_lt (not_le.mp htge), hle⟩⟩  let T := sSup S  obtain ⟨⟨hT_ge_t, h_sSup, hT_le := hS_closed.csSup_mem hS_ne hS_bdd  have hT_lt : T < t₀ := by    rcases eq_or_lt_of_le h_sSup with h | h    · exact absurd (h ▸ hT_le) (not_le.mpr (hpos t₀ le_rfl))    · exact h  have hT_pos : 0 < T := lt_of_lt_of_le ht hT_ge_t  have hgT_eq : g T = 0 := by    by_contra hne    have hlt' : g T < 0 := lt_of_le_of_ne hT_le hne    have hcT : ContinuousAt g T :=      (hcont T (Set.mem_Ioi.mpr hT_pos)).continuousAt (isOpen_Ioi.mem_nhds hT_pos)    obtain ε, hε, hball_neg := show  ε > 0, ball T ε  {x | g x < 0} by      simpa [ Metric.mem_nhds_iff, Filter.Eventually] using Tendsto.eventually_lt_const hlt' hcT    have hd : 0 < min ε (t₀ - T) / 2 := half_pos (lt_min hε (sub_pos.mpr hT_lt))    have : T + min ε (t₀ - T) / 2  S :=      ⟨⟨by linarith, by linarith [min_le_right ε (t₀ - T)],       Set.mem_preimage.mpr (Set.mem_Iic.mpr (le_of_lt (hball_neg (by        rw [Metric.mem_ball, Real.dist_eq]        have : T + min ε (t₀ - T) / 2 - T = min ε (t₀ - T) / 2 := by ring        rw [this, abs_of_pos hd]; linarith [min_le_left ε (t₀ - T)]))))    linarith [le_csSup hS_bdd this]  obtain δ, hδ, hneg := neg_after_zero_of_deriv_neg hgT_eq (hderiv T hT_pos hT_lt hgT_eq)  have hmin_pos : 0 < min δ (t₀ - T) := lt_min hδ (sub_pos.mpr hT_lt)  have : T + min δ (t₀ - T) / 2  S :=    ⟨⟨by linarith, by linarith [min_le_right δ (t₀ - T)],     Set.mem_preimage.mpr (Set.mem_Iic.mpr (le_of_lt (hneg _ (by linarith)       (by linarith [min_le_left δ (t₀ - T)]))))  linarith [le_csSup hS_bdd this]
Project
Sphere Packing in Dimension 8
License
Apache-2.0
Commit
acfc6204e65a
Source
SpherePacking/ModularForms/Derivative.lean:876-921

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.31.0

Anti Der Pos

antiDerPos

Plain-language statement

If FF is a modular form where F(it)F(it) is positive for sufficiently large tt (i.e. constant term is positive) and the derivative is positive, then FF is also positive.

sphere packingFourier analysismodular forms

Source project: Sphere Packing in Dimension 8

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Anti Serre Der Pos

antiSerreDerPos

Plain-language statement

Let F:HCF : \mathbb{H} \to \mathbb{C} be a holomorphic function where F(it)F(it) is real for all t>0t > 0. Assume that Serre derivative kF\partial_k F is positive on the imaginary axis. If F(it)F(it) is positive for sufficiently large tt, then F(it)F(it) is positive for all t>0t > 0.

sphere packingFourier analysismodular forms

Source project: Sphere Packing in Dimension 8

Person-level attribution pending.

View proof record