Learning.feedback_eq_deterministic
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.
feedback_eq_deterministic🔗
Learning.feedback_eq_deterministicNo docstring.
Learning.feedback_eq_deterministic.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) [IsDeterministicEnv env] (n : ℕ) : Environment.feedback env n = ProbabilityTheory.Kernel.deterministic (feedbackFun env n) ⋯Learning.feedback_eq_deterministic.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) [IsDeterministicEnv env] (n : ℕ) : Environment.feedback env n = ProbabilityTheory.Kernel.deterministic (feedbackFun env n) ⋯
Code
lemma feedback_eq_deterministic (env : Environment 𝓐 𝓨) [IsDeterministicEnv env] (n : ℕ) :
env.feedback n = Kernel.deterministic (feedbackFun env n) (measurable_feedbackFun env n)Type uses (4)
Actions: Source · Open Issue
Proof
(IsDeterministicEnv.exists_f n).choose_spec.choose_spec
Dependency graph
Type dependencies (4)
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
IsDeterministicEnv🔗
Learning.IsDeterministicEnvAn environment is deterministic if its initial feedbacks are determined by measurable functions (and not possibly random kernels).
Learning.IsDeterministicEnv.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) : PropLearning.IsDeterministicEnv.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) : Prop
Code
class IsDeterministicEnv (env : Environment 𝓐 𝓨) : Prop where
exists_f0 : ∃ (f0 : 𝓐 → 𝓨) (hf0 : Measurable f0), env.ν0 = Kernel.deterministic f0 hf0
exists_f : ∀ n, ∃ (f : ((Iic n → 𝓐 × 𝓨) × 𝓐) → 𝓨) (hf : Measurable f),
env.feedback n = Kernel.deterministic f hfType uses (1)
Used by (11)
Actions: Source · Open Issue
feedbackFun🔗
Learning.feedbackFun
The feedback function of a deterministic environment at step n.
Learning.feedbackFun.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) [h_det : IsDeterministicEnv env] (n : ℕ) : (↥(Finset.Iic n) → 𝓐 × 𝓨) × 𝓐 → 𝓨Learning.feedbackFun.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) [h_det : IsDeterministicEnv env] (n : ℕ) : (↥(Finset.Iic n) → 𝓐 × 𝓨) × 𝓐 → 𝓨
Code
noncomputable
def feedbackFun (env : Environment 𝓐 𝓨) [h_det : IsDeterministicEnv env] (n : ℕ) :
((Iic n → 𝓐 × 𝓨) × 𝓐) → 𝓨 :=
(h_det.exists_f n).chooseType uses (2)
Used by (6)
Actions: Source · Open Issue
measurable_feedbackFun🔗
Learning.measurable_feedbackFunNo docstring.
Learning.measurable_feedbackFun.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) [IsDeterministicEnv env] (n : ℕ) : Measurable (feedbackFun env n)Learning.measurable_feedbackFun.{u_1, u_2} {𝓐 : Type u_1} {𝓨 : Type u_2} {m𝓐 : MeasurableSpace 𝓐} {m𝓨 : MeasurableSpace 𝓨} (env : Environment 𝓐 𝓨) [IsDeterministicEnv env] (n : ℕ) : Measurable (feedbackFun env n)
Code
lemma measurable_feedbackFun (env : Environment 𝓐 𝓨) [IsDeterministicEnv env] (n : ℕ) :
Measurable (feedbackFun env n)Type uses (3)
Used by (4)
Actions: Source · Open Issue
Proof
(IsDeterministicEnv.exists_f n).choose_spec.choose