Strict single-crossing sign data for the symmetrized density difference
Provedupstream_g_sign_strictSingle-crossing sign data for the symmetrized-density difference (strict interior crossing). For a strictly positive density on , suppose the log-difference has a single interior maximum at (i.e. on and on ), is continuous on , takes a negative value at some (true since as ), and satisfies the boundary inequality . Then there is a strictly interior crossing point with on and on . This is the strict- strengthening of the interior-crossing lemma (the IVT crossing it produces lies in ); the strict is required by the mass-flavoured moustache value bound. Source: Siegel, Median Bounds and their Application, J. Algorithms 38 (2001), Thm 2.1.
Preamble
import Mathlib.Analysis.Calculus.Deriv.MeanValue import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.Topology.Order.IntermediateValue open Set
Formal statement
theorem upstream_g_sign_strict
(f φ' : ℝ → ℝ) (μ a t₀ : ℝ) (hμ : 0 < μ) (ha : a ∈ Ioo (0:ℝ) μ)
(hfpos : ∀ x ∈ Ioo (0:ℝ) (2*μ), 0 < f x)
(hφd : ∀ x ∈ Ioo (0:ℝ) μ,
HasDerivAt (fun y => Real.log (f y) - Real.log (f (2*μ - y))) (φ' x) x)
(hφpos : ∀ x ∈ Ioo (0:ℝ) a, 0 < φ' x)
(hφneg : ∀ x ∈ Ioo a μ, φ' x < 0)
(hφcont : ContinuousOn (fun y => Real.log (f y) - Real.log (f (2*μ - y))) (Ioc 0 μ))
(ht₀ : t₀ ∈ Ioo (0:ℝ) a) (hφt₀ : Real.log (f t₀) - Real.log (f (2*μ - t₀)) < 0)
(hg0 : f 0 - f (2*μ) ≤ 0) :
∃ c ∈ Ioo (0:ℝ) μ,
(∀ x ∈ Icc (0:ℝ) c, f x - f (2*μ - x) ≤ 0)
∧ (∀ x ∈ Icc c μ, 0 ≤ f x - f (2*μ - x)) := by sorry