MathFin
Map / Probability · Discrete time / MathFin.Probability.Discrete.MarkovPathMeasure

The path distribution of a Markov chain (Saporito Theorem 1.1.2)

MathFin.Probability.Discrete.MarkovPathMeasureMSC 60J10MSC 28A25 source

The textbook statement: a Markov chain with initial distribution λ and one-step transition law P assigns to every finite path the probability

P(X₀ = i₀, …, X_n = i_n) = λ(i₀) · ∏_{k<n} P(i_k, i_{k+1}).

Earlier the repo carried this as a definitional identity (a structure whose pathProb field is defined as the product — honest, but rfl). This file derives it: the chain's law is constructed on the space of infinite trajectories by the Ionescu–Tulcea theorem (ProbabilityTheory.Kernel.trajMeasure, in Mathlib since the current pin), from kernels that read only the last coordinate of the history — that restriction is the Markov property of the construction — and the factorization of cylinder probabilities is then proved by induction along

μ_{n+1}-marginal = μ_n-marginal ⊗ₘ κ_n

(Kernel.map_frestrictLe_trajMeasure_compProd_eq_map_trajMeasure), evaluating the comp-product on the rectangle {history} ×ˢ {next state}.

State space: any countable discrete ι (Saporito's chains are countable; finiteness is never needed). Probabilities are stated in ℝ≥0∞ via PMF — the canonical Mathlib carrier for discrete laws.

Main definitions

  • markovTransitionKernel: the kernel from the history up to time n to the next state, which reads only the last coordinate of the history and applies the one-step law P.
  • markovPathMeasure: the law of the chain (init, P) on ℕ → ι, by the Ionescu–Tulcea construction from markovTransitionKernel.
  • pathCylinder: the set of trajectories that agree with path up to time n.

Main results

  • markovPathMeasure_cylinder — Theorem 1.1.2: cylinder probabilities factor as init(path 0) · ∏_{k<n} P(path k)(path (k+1)), derived from the construction.

Models/Binomial/PathMeasure.lean uses the chain with Bernoulli(q) initial and transition laws as the law of i.i.d. coin flips, and writes the CRR binomial price as an expectation over its paths.

References

  • Y. F. Saporito, Stochastic Processes [Saporito], Theorem 1.1.2

Tags

Markov chain, path distribution, Ionescu–Tulcea theorem, transition probabilities, cylinder probabilities, initial distribution, MSC 60J10, MSC 28A25

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mc-thm-1.1.2 · markov_chains.json · full statement
Path Distribution under Markov Property

Theorem 1.1.2: the law of the Markov chain (init, P) assigns to every finite path the probability P(X_0=i_0,...,X_n=i_n) = init(i_0) prod_{k<n} P(i_k,i_{k+1}) — the path-distribution factorization, derived from the Ionescu-Tulcea construction.

Declarations 12

defMathFin.markovTransitionKernelsource
{ι : Type u_1} → [MeasurableSpace ι] → [MeasurableSingletonClass ι] → [Countable ι] → (ι → PMF ι) → (n : ℕ) → Kernel (↥(Finset.Iic n) → ι) ι

The history-to-next-state kernel of a time-homogeneous Markov chain with one-step law P: it reads only the last coordinate of the history. That restriction is exactly the Markov property of the resulting construction.

theoremMathFin.instIsMarkovKernelForallSubtypeNatMemFinsetIicMarkovTransitionKernel @[instance]source
∀ {ι : Type u_1} [MeasurableSpace ι] [MeasurableSingletonClass ι] [Countable ι] (P : ι → PMF ι) (n : ℕ), IsMarkovKernel (markovTransitionKernel P n)
defMathFin.markovPathMeasuresource
{ι : Type u_1} → [MeasurableSpace ι] → [MeasurableSingletonClass ι] → [Countable ι] → PMF ι → (ι → PMF ι) → Measure (ℕ → ι)

The law of the Markov chain (init, P) on the space of infinite trajectories: the Ionescu–Tulcea construction applied to the last-coordinate kernels.

theoremMathFin.instIsProbabilityMeasureForallNatMarkovPathMeasure @[instance]source
∀ {ι : Type u_1} [MeasurableSpace ι] [MeasurableSingletonClass ι] [Countable ι] (init : PMF ι) (P : ι → PMF ι), IsProbabilityMeasure (markovPathMeasure init P)
defMathFin.pathCylindersource
{ι : Type u_1} → (ℕ → ι) → ℕ → Set (ℕ → ι)

The n-cylinder along path: trajectories agreeing with path up to time n — the event {X₀ = path 0, …, X_n = path n}.

theoremMathFin.measurableSet_pathCylindersource
∀ {ι : Type u_1} [MeasurableSpace ι] [MeasurableSingletonClass ι] (path : ℕ → ι) (n : ℕ), MeasurableSet (pathCylinder path n)
theoremMathFin.frestrictLe_preimage_singletonsource
∀ {ι : Type u_1} (path : ℕ → ι) (n : ℕ), Preorder.frestrictLe n ⁻¹' {fun i => path ↑i} = pathCylinder path n

The cylinder is the frestrictLe-preimage of a single restricted path.

theoremMathFin.pairMap_preimage_singleton_prodsource
∀ {ι : Type u_1} (path : ℕ → ι) (n : ℕ), (fun ω => (Preorder.frestrictLe n ω, ω (n + 1))) ⁻¹' {fun i => path ↑i} ×ˢ {path (n + 1)} = pathCylinder path (n + 1)

Splitting the (n+1)-cylinder through the pair map ω ↦ (history up to n, state at n+1).

theoremMathFin.compProd_singleton_prodsource
∀ {α : Type u_2} {β : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β} [MeasurableSingletonClass α] (μ : Measure α) [SFinite μ] (κ : Kernel α β) [IsSFiniteKernel κ] (a : α) {t : Set β}, MeasurableSet t → (μ.compProd κ) ({a} ×ˢ t) = μ {a} * (κ a) t

Comp-product of a measure and a kernel on a rectangle with singleton base: (μ ⊗ₘ κ)({a} ×ˢ t) = μ {a} · κ a t.

theoremMathFin.markovPathMeasure_cylinder_zerosource
∀ {ι : Type u_1} [MeasurableSpace ι] [MeasurableSingletonClass ι] [Countable ι] (init : PMF ι) (P : ι → PMF ι) (path : ℕ → ι), (markovPathMeasure init P) (pathCylinder path 0) = init (path 0)

Base case: the time-0 cylinder has the initial probability.

theoremMathFin.markovPathMeasure_cylinder_succsource
∀ {ι : Type u_1} [MeasurableSpace ι] [MeasurableSingletonClass ι] [Countable ι] (init : PMF ι) (P : ι → PMF ι) (path : ℕ → ι) (n : ℕ), (markovPathMeasure init P) (pathCylinder path (n + 1)) = (markovPathMeasure init P) (pathCylinder path n) * (P (path n)) (path (n + 1))

Inductive step: adjoining one transition multiplies the cylinder probability by the one-step transition probability — the comp-product recursion of the Ionescu–Tulcea marginals, evaluated on a rectangle.

theoremMathFin.markovPathMeasure_cylindersource
∀ {ι : Type u_1} [MeasurableSpace ι] [MeasurableSingletonClass ι] [Countable ι] (init : PMF ι) (P : ι → PMF ι) (path : ℕ → ι) (n : ℕ), (markovPathMeasure init P) (pathCylinder path n) = init (path 0) * ∏ k ∈ Finset.range n, (P (path k)) (path (k + 1))

Path distribution of a Markov chain (Saporito Theorem 1.1.2). Under the Ionescu–Tulcea law of the chain (init, P), every finite-path probability factors as the initial probability times the product of one-step transition probabilities:

P(X₀ = path 0, …, X_n = path n) = init(path 0) · ∏_{k<n} P(path k)(path (k+1)).

Derived from the construction — the kernels read only the last coordinate, and the factorization falls out of the comp-product recursion of the marginals. Not a definition: the left side is a measure of a set of infinite trajectories.