Planar scattering definitions and support in FirstReturn
DefinitionMarkovScatteringPlanar_FirstReturnmarkov-scattering
Defines the mass function and expectation of the first positive return time.
Definition code
import Mathlib.Analysis.SpecificLimits.Basic
import Mathlib.Tactic.Linarith
import Mathlib.Topology.Algebra.InfiniteSum.ENNReal
import Mathlib.Topology.Instances.ENNReal.Lemmas
import Mathlib.Topology.Order.MonotoneConvergence
import Definitions.Def_MarkovScatteringPlanar_FiniteReturn
import Definitions.Def_MarkovScatteringPlanar_TraceKernel
/-! The positive-time first-return distribution and its first moment, on a chain
and on its true first-hit trace. -/
namespace MarkovScattering.FiniteReturn
open Filter Topology
noncomputable section
variable {Ω : Type*} [Fintype Ω] [DecidableEq Ω]
/-- Probability that the first return occurs on step `n+1`: survive `n` steps,
then take one transition to the root. -/
def firstReturnMass (P : Ω → Ω → ℝ) (r : Ω) (n : ℕ) : ℝ :=
∑ x, beforeReturn P r n x * P x r
def survival (P : Ω → Ω → ℝ) (r : Ω) (n : ℕ) : ℝ :=
∑ x, beforeReturn P r n x
/-- Return time in ordinary step units of the supplied transition matrix. -/
def expectedFirstReturn (P : Ω → Ω → ℝ) (r : Ω) : ℝ :=
∑' n : ℕ, ((n : ℝ) + 1) * firstReturnMass P r n
namespace RootedChain
variable (M : RootedChain Ω)
end RootedChain
end
end MarkovScattering.FiniteReturn
Source