Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Heat equation as a Brownian expectation

Proved
FeynmanKac.heat_terminal_representation

by WillR · Oct 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

diffusionfeynman-kacpde

For a genuine one-dimensional Brownian diffusion in the published model, suppose its drift vanishes everywhere, volatility equals one everywhere, potential is zero and the running source is zero. If u is a bounded classical solution of the resulting backward heat equation with the prescribed terminal payoff and its discounted Brownian-gradient term satisfies the model's finite-energy condition, then its initial value equals the expected terminal payoff under the diffusion's probability law. This is a specialisation of the intended full Feynman–Kac representation, not a stochastic identity inserted into the model.

Preamble
import Definitions.Def_FeynmanKac_ClassicalSolutionConditions
import Definitions.Def_FeynmanKac_BoundedDiffusionModel
import Definitions.Def_FeynmanKac_PathDiscount
import Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic
Formal statement
theorem FeynmanKac.heat_terminal_representation
    {Ω : Type*} [MeasurableSpace Ω] (P : MeasureTheory.Measure Ω)
    [MeasureTheory.IsProbabilityMeasure P]
    (m : FeynmanKac.BoundedDiffusionModel P)
    (u : ℝ → ℝ → ℝ) (hu : m.IsClassicalPDESolution u)
    (hμ : ∀ x s, m.drift x s = 0)
    (hσ : ∀ x s, m.volatility x s = 1)
    (hV : ∀ x s, m.potential x s = 0)
    (hf : ∀ x s, m.runningSource x s = 0)
    (hgrad : m.SquareIntegrableDiscountedGradient u) :
    u m.initialState m.initialTime =
      ∫ ω, m.terminalPayoff (m.path m.terminalTime ω) ∂P := by sorry
Source
Wikipedia Feynman–Kac formula https://en.wikipedia.org/wiki/Feynman%E2%80%93Kac_formula; James Nolen, Stanford notes Section 4.1 https://math.stanford.edu/~ryzhik/STANFORD/STANF227-10/notes227-09.pdf
Human review
  • Endorsed by Shuze Chen · Oct 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by WillR · Oct 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me