Positive-reserve source piecewise quadratic second derivative
ProvedAvramDividend.Classical.avram_gbB30_piecewise_second_derivativeavramdividendderivativegaussianpiecewise-quadratic
For the exact piecewise source w(z)=0 below zero and 2z-4z² otherwise, certify its second derivative on strictly positive reserves using only local polynomial equality.
Preamble
import Mathlib open MeasureTheory Set Filter Topology noncomputable section
Formal statement
theorem AvramDividend.Classical.avram_gbB30_piecewise_second_derivative (y : ℝ) (hy : 0 < y) :
iteratedDeriv 2 (fun z : ℝ => if z < 0 then 0 else 2 * z - 4 * z ^ 2) y = -8 := by sorry