LeanMachineLearning

Learning.Kernel.eq_const_dirac_unit🔗

Lemma

From the authors

Every Markov kernel with codomain Unit is the constant kernel at Measure.dirac ().

Types
  • α : Type u_5mα : MeasurableSpace αA measurable space is a space equipped with a σ-algebra.
Given
  • κ : ProbabilityTheory.Kernel α UnitA kernel from a measurable space α to another measurable space β is a measurable function κ : α → Measure β.ProbabilityTheory.IsMarkovKernel κA kernel is a Markov kernel if every measure in its image is a probability measure.
Then
κ = ProbabilityTheory.Kernel.const α (MeasureTheory.Measure.dirac ())
Code
lemma Kernel.eq_const_dirac_unit {α : Type*} {mα : MeasurableSpace α} (κ : Kernel α Unit)
    [IsMarkovKernel κ] :
    κ = Kernel.const α (Measure.dirac ())
Proof
by
  ext a s hs
  rw [Kernel.const_apply]
  rcases Set.eq_empty_or_nonempty s with rfl | ⟨u, hu⟩
  · simp
  · have hs_univ : s = Set.univ := Set.eq_univ_of_forall fun x ↦ by rwa [Subsingleton.elim x u]
    simp [hs_univ]

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

Nothing to draw. Its statement rests on no other declaration in this project, and names nothing from a package left unaudited — so the graph is this declaration alone. That is the answer, not a missing picture.

Audit surface: 0 project declarations, 9 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.