The primitive of a function on the nonnegative half-line #
Given f : ℝ → ℝ, this file constructs TauCeti.halfLinePrimitive f, the primitive t ↦ ∫₀ᵗ f
of f on [0, ∞). To make the function total on ℝ, the integrand is composed with max · 0,
so on [0, ∞) the value is the ordinary integral ∫₀ᵗ f and on (-∞, 0] it is the linear
extension t ↦ t * f 0.
The construction is generic calculus: it depends only on Mathlib's fundamental theorem of calculus and knows nothing about complete monotonicity or Bernstein functions.
Main declarations #
TauCeti.halfLinePrimitive: the primitive∫₀ᵗ foffon the nonnegative half-line.TauCeti.halfLinePrimitive_def: the unconditional defining equationhalfLinePrimitive f t = ∫₀ᵗ f (max x 0).TauCeti.halfLinePrimitive_eq_integral_of_nonneg,TauCeti.halfLinePrimitive_of_nonpos: the value of the primitive on each half-line.TauCeti.continuous_halfLinePrimitive: the primitive is continuous on all ofℝwheneverfis continuous on[0, ∞).TauCeti.hasDerivAt_halfLinePrimitive,TauCeti.deriv_halfLinePrimitive: its derivative isfat every nonnegative point.
The unconditional defining equation of halfLinePrimitive, usable in downstream files where
the body of the definition is not available.
On the nonnegative half-line, halfLinePrimitive is the ordinary integral of f from
zero.
On the nonpositive half-line, halfLinePrimitive is the linear extension t ↦ t * f 0.
The value of halfLinePrimitive f at the origin is 0.
If f is continuous on [0, ∞), then halfLinePrimitive f is continuous on all of ℝ; the
max extension of the integrand makes the primitive continuous through the origin.
If f is continuous on [0, ∞), then halfLinePrimitive f has derivative f t at every
t ≥ 0. The max extension of the integrand makes the derivative at t = 0 two-sided.
If f is continuous on [0, ∞), then the derivative of halfLinePrimitive f is f at
every t ≥ 0.