Left Riemann–Liouville fractional derivative
DefinitionFractionalCalc_rlDerivWith , the left Riemann–Liouville fractional derivative of order is
Definition 2.2, Eq. (3) of the source: differentiate times the fractional integral of order . For integer this reduces to the ordinary -th derivative.
Formalization Note The -th derivative is iteratedDeriv n, and is rlIntegral. The definition is total; theorems assume and the differentiability they need.
import Mathlib
import Definitions.Def_FractionalCalc_rlIntegral
open Classical
namespace FractionalCalc
/-- Left Riemann–Liouville fractional derivative `D_{a+}^ν f = d^n/dx^n I_{a+}^{n-ν} f`, `n=⌊ν⌋+1`. -/
noncomputable def rlDeriv (a ν : ℝ) (f : ℝ → ℝ) (x : ℝ) : ℝ :=
let n : ℕ := Nat.floor ν + 1
iteratedDeriv n (rlIntegral a ((n : ℝ) - ν) f) x
end FractionalCalcRead-back
What the Lean code literally says, in plain math · glm
A function rlDeriv of a base point , order , function , and point . Let (a natural number). It returns the -th iterated derivative, evaluated at , of the function (the rlIntegral of order ). No hypothesis is imposed in the definition; for , uses the natural-number floor convention.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.