LeanMachineLearning

Learning.IsBayesAlgEnvSeq.hasCondDistrib_action_zeroπŸ”—

Lemma

From the authors

The first action is independent of the parameter E, and has law alg.p0 ().

Types
  • 𝓔 : Type u_1MeasurableSpace 𝓔A measurable space is a space equipped with a Οƒ-algebra.
  • 𝓐 : Type u_2MeasurableSpace 𝓐
  • 𝓨 : Type u_3MeasurableSpace 𝓨
  • Ξ© : Type u_4MeasurableSpace Ξ©
Given
  • Q : MeasureTheory.Measure 𝓔A measure is defined to be an outer measure that is countably additive on measurable sets, with the additional assumption that the outer measure is the canonical extension of the restricted measure.MeasureTheory.IsProbabilityMeasure QA measure ΞΌ is called a probability measure if ΞΌ univ = 1.
  • ΞΊ : ProbabilityTheory.Kernel (𝓔 Γ— 𝓐) 𝓨A 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.
  • alg : Algorithm Unit 𝓐 𝓨A stochastic, sequential algorithm.
  • P : MeasureTheory.Measure Ξ©MeasureTheory.IsProbabilityMeasure P
  • E : Ξ© β†’ 𝓔
  • A : β„• β†’ Ξ© β†’ 𝓐
  • Y : β„• β†’ Ξ© β†’ 𝓨
Then
ProbabilityTheory.HasCondDistrib (A 0) E (ProbabilityTheory.Kernel.const 𝓔 (alg.p0 ())) P
Predicate stating that the conditional distribution of Y given X under the measure P is equal to the kernel ΞΊ.
Code
lemma hasCondDistrib_action_zero (h : IsBayesAlgEnvSeq Q ΞΊ alg E A Y P) :
    HasCondDistrib (A 0) E (Kernel.const _ (alg.p0 ())) P
Proof
hasCondDistrib_prodMk_right_unique_iff.mp (h.hasCondDistrib_action 0)

Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10), the 2th recorded change.

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: 17 project declarations, 49 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.