Learning.bayesStationaryEnv
This page has the declaration's own card below, then its dependency graph, then a card for each dependency (type dependencies first, then the rest of the transitive closure). For a theorem, the graph and the dependency cards only follow its statement's dependencies (its proof is replaced by sorry, so what it proves doesn't depend on how); for everything else, both the type and the body/value are followed, since their content is part of what later declarations build on.
bayesStationaryEnvπ
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) ββ ΞΊ.swapLeftType uses (1)
Used by (4)
Actions: Source Β· Open Issue
Dependency graph
Type dependencies (1)
Environmentπ
Learning.EnvironmentA stochastic environment.
Learning.Environment.{u_4, u_5} (π : Type u_4) (π¨ : Type u_5) [MeasurableSpace π] [MeasurableSpace π¨] : Type (max u_4 u_5)Learning.Environment.{u_4, u_5} (π : Type u_4) (π¨ : Type u_5) [MeasurableSpace π] [MeasurableSpace π¨] : Type (max u_4 u_5)
Code
structure Environment (π π¨ : Type*) [MeasurableSpace π] [MeasurableSpace π¨] where /-- Distribution of the next observation as function of the past history. -/ feedback : (n : β) β Kernel ((Iic n β π Γ π¨) Γ π) π¨ /-- The feedback kernels are Markov kernels. -/ [h_feedback : β n, IsMarkovKernel (feedback n)] /-- Distribution of the first observation given the first action. -/ Ξ½0 : Kernel π π¨ /-- The initial observation kernel is a Markov kernel. -/ [hp0 : IsMarkovKernel Ξ½0]
Actions: Source Β· Open Issue