LeanMachineLearning

ProbabilityTheory.Kernel.hasCondDistrib_trajMeasureFin🔗

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.
  • n :
Then
HasCondDistrib (fun x => x n) (fun x i => x ↑i) (κ' n) (trajMeasureFin κ')
Predicate stating that the conditional distribution of Y given X under the measure P is equal to the kernel κ.
Code
lemma hasCondDistrib_trajMeasureFin (n : ℕ) :
    HasCondDistrib (fun x ↦ x n) (fun x (i : Fin n) ↦ x i) (κ' n) (trajMeasureFin κ')
Proof
by
  cases n with
  | zero =>
    rw [show (fun (x : Π n, X n) (i : Fin 0) ↦ x i) = fun _ ↦ default from
      funext fun _ ↦ Unique.eq_default _]
    exact hasLaw_eval_zero_trajMeasureFin.hasCondDistrib_const
  | succ n =>
    have h : HasCondDistrib (fun x ↦ x (n + 1)) (frestrictLe n) (iicOfFin κ' n)
        (trajMeasureFin κ') :=
      ⟨by fun_prop, map_frestrictLe_trajMeasure_compProd_eq_map_trajMeasure.symm⟩
    exact h.comp_right

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: 3 project declarations, 40 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.