Discounted reward and Brownian integrand for a bounded diffusion
DefinitionFeynmanKac_ModelRewardbrownian-integranddefinitiondiscounted-rewardfeynman-kac
Specialise the published Feynman–Kac discounted-reward formula and the spatial-gradient Brownian integrand to the published bounded diffusion model. These definitions use actual state paths, coefficients and discount factors and assume no martingale or representation identity. Measurability and stochastic integrability are separate theorems.
Definition code
import Definitions.Def_FeynmanKac_BoundedDiffusionModel
import Definitions.Def_FeynmanKac_DiscountedReward
import Mathlib.Analysis.Calculus.Deriv.Basic
open MeasureTheory
namespace FeynmanKac.BoundedDiffusionModel
/-- The discounted classical-solution value together with accumulated
discounted running payments, instantiated on the actual diffusion path. -/
noncomputable def discountedReward {Ω : Type*} [MeasurableSpace Ω]
{P : Measure Ω} [IsProbabilityMeasure P]
(m : BoundedDiffusionModel P)
(u : ℝ → ℝ → ℝ) (s : ℝ) (ω : Ω) : ℝ :=
FeynmanKac.discountedReward
m.path m.potential u m.runningSource m.initialTime s ω
/-- The predictable-integrand candidate for the space component of Itô's
formula. Its actual measurability and stochastic-integral admissibility
remain separate proof obligations. -/
noncomputable def discountedSpaceGradient
{Ω : Type*} [MeasurableSpace Ω]
{P : Measure Ω} [IsProbabilityMeasure P]
(m : BoundedDiffusionModel P)
(u : ℝ → ℝ → ℝ) (s : ℝ) (ω : Ω) : ℝ :=
m.pathDiscount s ω *
m.volatility (m.path s ω) s *
deriv (fun x => u x s) (m.path s ω)
end FeynmanKac.BoundedDiffusionModelSource
Wikipedia Feynman–Kac formula https://en.wikipedia.org/wiki/Feynman%E2%80%93Kac_formula