fractional_oscillator_solution
OpenFCTmp.fractional_oscillator_solutioncompile probe
Preamble
import Mathlib open MeasureTheory Set Classical namespace FCTmp noncomputable def rlIntegral (a ν : ℝ) (f : ℝ → ℝ) (x : ℝ) : ℝ := if ν = 0 then f x else (Real.Gamma ν)⁻¹ * ∫ t in Ioo a x, (x - t) ^ (ν - 1) * f t noncomputable def caputoDeriv (a ν : ℝ) (f : ℝ → ℝ) (x : ℝ) : ℝ := let n : ℕ := Nat.ceil ν rlIntegral a ((n : ℝ) - ν) (iteratedDeriv n f) x noncomputable def mittagLeffler (α β : ℝ) (x : ℝ) : ℝ := ∑' k : ℕ, x ^ k / Real.Gamma (α * k + β) noncomputable def mittagLefflerOne (α : ℝ) (x : ℝ) : ℝ := mittagLeffler α 1 x noncomputable def prabhakar (α β γ : ℝ) (x : ℝ) : ℝ := ∑' k : ℕ, (Finset.prod (Finset.range k) (fun j => γ + j)) * x ^ k / ((k.factorial : ℝ) * Real.Gamma (α * k + β)) end FCTmp
Formal statement
namespace FCTmp
theorem fractional_oscillator_solution (α ω : ℝ) (x0 x1 : ℝ)
(hα1 : 1 < α) (hα2 : α ≤ 2) (hω : 0 < ω) :
let x : ℝ → ℝ := fun t => x0 * mittagLefflerOne α (-(ω ^ α) * t ^ α)
+ x1 * t * mittagLeffler α 2 (-(ω ^ α) * t ^ α)
(∀ t > 0, caputoDeriv 0 α x t + ω ^ α * x t = 0) ∧ x 0 = x0 ∧ deriv x 0 = x1 := by sorry
end FCTmp