∀ {f : ℝ → ℝ} {x y z L : ℝ}, x < y → y < z → L ≤ (f y - f x) / (y - x) → L ≤ (f z - f y) / (z - y) → L ≤ (f z - f x) / (z - x)If two adjacent secant slopes are both at least L, so is the joined secant slope.
Part of the SVI polynomial-sign certificate (#174).
Two convex pieces whose one-sided derivatives jump upwards at the junction form a convex function (convexOn_Ioi_of_convex_pieces). Used for the zero-scale SVI slice.
convexOn_Ioi_of_convex_pieces: if f is convex on (0, J] and on [J, ∞), and the left derivative dl at J is at most the right derivative dr, then f is convex on (0, ∞).convexity across a kink, one-sided derivatives, convex pieces, SVI, MSC 91G20, JEL G13
Above: what it imports. Below: what imports it.
∀ {f : ℝ → ℝ} {x y z L : ℝ}, x < y → y < z → L ≤ (f y - f x) / (y - x) → L ≤ (f z - f y) / (z - y) → L ≤ (f z - f x) / (z - x)If two adjacent secant slopes are both at least L, so is the joined secant slope.
∀ {f : ℝ → ℝ} {x y z L : ℝ}, x < y → y < z → (f y - f x) / (y - x) ≤ L → (f z - f y) / (z - y) ≤ L → (f z - f x) / (z - x) ≤ LIf two adjacent secant slopes are both at most L, so is the joined secant slope.
∀ {f : ℝ → ℝ} {J dl dr : ℝ}, 0 < J → ConvexOn ℝ (Set.Ioc 0 J) f → ConvexOn ℝ (Set.Ici J) f → HasDerivWithinAt f dl (Set.Iic J) J → HasDerivWithinAt f dr (Set.Ici J) J → dl ≤ dr → ConvexOn ℝ (Set.Ioi 0) fTwo convex pieces form a convex function if the derivative jumps upwards at their shared endpoint.