ProbabilityTheory.Kernel.trajMeasureFin_def
Lemma
No docstring.
Given
-
X : ℕ → Type u_2(n : ℕ) → MeasurableSpace (X n)A measurable space is a space equipped with a σ-algebra. -
κ' : (n : ℕ) → Kernel ((i : Fin n) → X ↑i) (X n)A kernel from a measurable spaceαto another measurable spaceβis a measurable functionκ : α → Measure β.∀ (n : ℕ), IsMarkovKernel (κ' n)A kernel is a Markov kernel if every measure in its image is a probability measure.
Then
trajMeasureFin κ' = trajMeasure ((κ' 0) default) (iicOfFin κ')MeasurableSpace : Type u_6 → Type u_6A measurable space is a space equipped with a σ-algebra.
Nat : TypeThe natural numbers, starting at zero. This type is special-cased by both the kernel and the compiler, and overridden with an efficient implementation. Both use a fast arbitrary-precision arithmetic library (usually [GMP](https://gmplib.org/)); at runtime, `Nat` values that are sufficiently small are unboxed.
ProbabilityTheory.IsMarkovKernel : {α : Type u_1} →
{β : Type u_2} → {mα : MeasurableSpace α} → {mβ : MeasurableSpace β} → ProbabilityTheory.Kernel α β → PropA kernel is a Markov kernel if every measure in its image is a probability measure.
ProbabilityTheory.Kernel : (α : Type u_1) → (β : Type u_2) → [MeasurableSpace α] → [MeasurableSpace β] → Type (max u_1 u_2)A kernel from a measurable space `α` to another measurable space `β` is a measurable function `κ : α → Measure β`. The measurable space structure on `MeasureTheory.Measure β` is given by `MeasureTheory.Measure.instMeasurableSpace`. A map `κ : α → MeasureTheory.Measure β` is measurable iff `∀ s : Set β, MeasurableSet s → Measurable (fun a ↦ κ a s)`.
Fin : ℕ → TypeNatural numbers less than some upper bound. In particular, a `Fin n` is a natural number `i` with the constraint that `i < n`. It is the canonical type with `n` elements.
Eq : {α : Sort u_1} → α → α → PropThe equality relation. It has one introduction rule, `Eq.refl`.
We use `a = b` as notation for `Eq a b`.
A fundamental property of equality is that it is an equivalence relation.
```
variable (α : Type) (a b c d : α)
variable (hab : a = b) (hcb : c = b) (hcd : c = d)
example : a = d :=
Eq.trans (Eq.trans hab (Eq.symm hcb)) hcd
```
Equality is much more than an equivalence relation, however. It has the important property that every assertion
respects the equivalence, in the sense that we can substitute equal expressions without changing the truth value.
That is, given `h1 : a = b` and `h2 : p a`, we can construct a proof for `p b` using substitution: `Eq.subst h1 h2`.
Example:
```
example (α : Type) (a b : α) (p : α → Prop)
(h1 : a = b) (h2 : p a) : p b :=
Eq.subst h1 h2
example (α : Type) (a b : α) (p : α → Prop)
(h1 : a = b) (h2 : p a) : p b :=
h1 ▸ h2
```
The triangle in the second presentation is a macro built on top of `Eq.subst` and `Eq.symm`, and you can enter it by typing `\t`.
For more information: [Equality](https://lean-lang.org/theorem_proving_in_lean4/quantifiers_and_equality.html#equality)
Conventions for notations in identifiers:
* The recommended spelling of `=` in identifiers is `eq`.ProbabilityTheory.Kernel.trajMeasureFin : {X : ℕ → Type u_2} →
[inst : (n : ℕ) → MeasurableSpace (X n)] →
(κ' : (n : ℕ) → ProbabilityTheory.Kernel ((i : Fin n) → X ↑i) (X n)) →
[∀ (n : ℕ), ProbabilityTheory.IsMarkovKernel (κ' n)] → MeasureTheory.Measure ((n : ℕ) → X n)Measure on trajectories `Π n, X n` built from kernels `κ' n : Kernel (Π i : Fin n, X i) (X n)` describing the law of the coordinate `n` given the `n` previous coordinates. The initial measure is `κ' 0 default`.Go to its page
ProbabilityTheory.Kernel.trajMeasure : {X : ℕ → Type u_1} →
[inst : (n : ℕ) → MeasurableSpace (X n)] →
MeasureTheory.Measure (X 0) →
(κ : (n : ℕ) → ProbabilityTheory.Kernel ((i : ↥(Finset.Iic n)) → X ↑i) (X (n + 1))) →
[∀ (n : ℕ), ProbabilityTheory.IsMarkovKernel (κ n)] → MeasureTheory.Measure ((n : ℕ) → X n)Distribution of the trajectory obtained by starting with `μ₀` and iterating the kernels `κ`.
Inhabited.default : {α : Sort u} → [self : Inhabited α] → α`default` is a function that produces a "default" element of any `Inhabited` type. This element does not have any particular specified properties, but it is often an all-zeroes value.
ProbabilityTheory.Kernel.iicOfFin : {X : ℕ → Type u_2} →
[inst : (n : ℕ) → MeasurableSpace (X n)] →
((n : ℕ) → ProbabilityTheory.Kernel ((i : Fin n) → X ↑i) (X n)) →
(n : ℕ) → ProbabilityTheory.Kernel ((i : ↥(Finset.Iic n)) → X ↑i) (X (n + 1))Kernels indexed by `Iic n` (as needed for `Kernel.traj`), obtained from kernels indexed by `Fin n`: the kernel `κ' (n + 1)` on `Π i : Fin (n + 1), X i` is seen as a kernel on `Π i : Iic n, X i`.Go to its page
Code
lemma trajMeasureFin_def :
trajMeasureFin κ' = trajMeasure (κ' 0 default) (iicOfFin κ')Proof
rfl
Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10).
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file · open it in the Lean web editor.
Dependency graph
Audit surface: 4 project declarations, 46 external constants
✓ Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.