Learning.bayesStationaryEnv
An environment with observations in π Γ π¨. The first element e of an observation is
sampled from Q once and remains constant. The second element of an observation is sampled from
ΞΊ (e, a), where a is the corresponding action.
Learning.bayesStationaryEnv.{u_1, u_2, u_3} {π : Type u_1} {π : Type u_2} {π¨ : Type u_3} [MeasurableSpace π] [MeasurableSpace π] [MeasurableSpace π¨] (Q : MeasureTheory.Measure π) [MeasureTheory.IsProbabilityMeasure Q] (ΞΊ : ProbabilityTheory.Kernel (π Γ π) π¨) [ProbabilityTheory.IsMarkovKernel ΞΊ] : Environment π (π Γ π¨)Learning.bayesStationaryEnv.{u_1, u_2, u_3} {π : Type u_1} {π : Type u_2} {π¨ : Type u_3} [MeasurableSpace π] [MeasurableSpace π] [MeasurableSpace π¨] (Q : MeasureTheory.Measure π) [MeasureTheory.IsProbabilityMeasure Q] (ΞΊ : ProbabilityTheory.Kernel (π Γ π) π¨) [ProbabilityTheory.IsMarkovKernel ΞΊ] : Environment π (π Γ π¨)
Code
noncomputable
def bayesStationaryEnv (Q : Measure π) [IsProbabilityMeasure Q] (ΞΊ : Kernel (π Γ π) π¨)
[IsMarkovKernel ΞΊ] : Environment π (π Γ π¨) where
feedback n :=
let g : (Iic n β π Γ π Γ π¨) Γ π β π Γ π := fun (h, a) => ((h β¨0, by simpβ©).2.1, a)
(Kernel.deterministic (Prod.fst β g) (by fun_prop)) Γβ (ΞΊ.comap g (by fun_prop))
Ξ½0 := (Kernel.const _ Q) ββ ΞΊ.swapLeftActions: Source Β· Open Issue
Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 4th 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: 1 project declarations, 33 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.