Samplinglib
Lean gate passed 2026-08-19T06:32:39.895922+00:00 · 7bcd37294df1
production module

AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.FokkerPlanckAlgebra

2 named declarations scanned from AutoSamplingTheory/TechnicalLemmas/StochasticProcesses/FokkerPlanckAlgebra.lean.

Imports
Imported by
Placeholder scan
0 declaration(s) flagged
Gate status
Compiled

Declarations

theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.FokkerPlanckAlgebra.fpRewriteScalarAlgebra Compiled Not mapped

- Scalar algebra behind the rewrite `-div(q b) + a lap q = a div(q A) + div(q V)` once the analytic identities for `lap q` and `V` have been supplied.

theorem fpRewriteScalarAlgebra
    {dq lapq divqA divqP divqBar divqV a : ℝ}
    (hfp : dq = -divqBar + a * lapq)
    (hlap : lapq = divqA + divqP)
    (hV : divqV = a * divqP - divqBar) :
    dq = a * divqA + divqV := by
  calc
    dq = -divqBar + a * lapq := hfp
    _ = -divqBar + a * (divqA + divqP) := by rw [hlap]
    _ = a * divqA + (a * divqP - divqBar) := by ring
    _ = a * divqA + divqV := by rw [hV]

/-- Scalar algebra behind the Fisher/IBP conclusion once the two integration
by parts identities are supplied. -/
theorem AutoSamplingTheory.TechnicalLemmas.StochasticProcesses.FokkerPlanckAlgebra.fisherIbpAlgebra Compiled Not mapped

- Scalar algebra behind the Fisher/IBP conclusion once the two integration by parts identities are supplied.

theorem fisherIbpAlgebra {I IA IV FI Cross a : ℝ}
    (hI : I = a * IA + IV)
    (hA : IA = -FI)
    (hV : IV = -Cross) :
    I = -a * FI - Cross := by
  calc
    I = a * IA + IV := hI
    _ = a * (-FI) + (-Cross) := by rw [hA, hV]
    _ = -a * FI - Cross := by ring

end FokkerPlanckAlgebra
end StochasticProcesses
end TechnicalLemmas
end AutoSamplingTheory