Learning.IT.filtrationAction_eq_comap
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.
filtrationAction_eq_comap๐
Learning.IT.filtrationAction_eq_comapNo docstring.
Learning.IT.filtrationAction_eq_comap.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} (n : โ) (hn : n โ 0) : โ(filtrationAction ๐ ๐จ) n = MeasurableSpace.comap (fun ฯ => (hist (n - 1) ฯ, action n ฯ)) inferInstanceLearning.IT.filtrationAction_eq_comap.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} (n : โ) (hn : n โ 0) : โ(filtrationAction ๐ ๐จ) n = MeasurableSpace.comap (fun ฯ => (hist (n - 1) ฯ, action n ฯ)) inferInstance
Code
lemma filtrationAction_eq_comap (n : โ) (hn : n โ 0) :
filtrationAction ๐ ๐จ n =
MeasurableSpace.comap (fun ฯ โฆ (hist (n - 1) ฯ, action n ฯ)) inferInstanceType uses (3)
Body uses (4)
Actions: Source ยท Open Issue
Proof
by simp only [filtrationAction, filtration_eq_comap, โ MeasurableSpace.comap_prodMk, hn, โreduceIte] rfl
Dependency graph
Type dependencies (3)
filtrationAction๐
Learning.IT.filtrationAction
Filtration generated by the history at time n-1 together with the action at time n.
Learning.IT.filtrationAction.{u_4, u_5} (๐ : Type u_4) (๐จ : Type u_5) [MeasurableSpace ๐] [MeasurableSpace ๐จ] : MeasureTheory.Filtration โ inferInstanceLearning.IT.filtrationAction.{u_4, u_5} (๐ : Type u_4) (๐จ : Type u_5) [MeasurableSpace ๐] [MeasurableSpace ๐จ] : MeasureTheory.Filtration โ inferInstance
Code
def filtrationAction (๐ ๐จ : Type*) [MeasurableSpace ๐] [MeasurableSpace ๐จ] :
Filtration โ (inferInstance : MeasurableSpace (โ โ ๐ ร ๐จ)) where
seq n := if n = 0 then MeasurableSpace.comap (action 0) inferInstance
else IT.filtration ๐ ๐จ (n - 1) โ MeasurableSpace.comap (action n) inferInstance
mono' n m hnm := by
simp only
by_cases hn : n = 0
ยท by_cases hm : m = 0
ยท simp [hn, hm]
ยท simp only [hn, โreduceIte, hm]
refine le_sup_of_le_left ?_
rw [โ measurable_iff_comap_le]
suffices Measurable[IT.filtration ๐ ๐จ 0] (action 0) from
this.mono ((IT.filtration ๐ ๐จ).mono zero_le) le_rfl
exact adapted_action 0
have hm : m โ 0 := by grind
simp only [hn, hm, โreduceIte]
have hnm' : n - 1 โค m - 1 := by grind
simp only [sup_le_iff]
constructor
ยท refine le_sup_of_le_left ?_
exact (IT.filtration ๐ ๐จ).mono hnm'
ยท rcases eq_or_lt_of_le hnm with rfl | hlt
ยท exact le_sup_of_le_right le_rfl
refine le_sup_of_le_left ?_
rw [โ measurable_iff_comap_le]
have h_le : n โค m - 1 := by grind
suffices Measurable[IT.filtration ๐ ๐จ n] (action n) from
this.mono ((IT.filtration ๐ ๐จ).mono h_le) le_rfl
exact adapted_action n
le' n := by
by_cases hn : n = 0
ยท simp only [hn, โreduceIte]
rw [โ measurable_iff_comap_le]
fun_prop
simp only [hn, โreduceIte, sup_le_iff]
constructor
ยท exact (IT.filtration ๐ ๐จ).le _
ยท rw [โ measurable_iff_comap_le]
fun_propBody uses (4)
Used by (7)
Actions: Source ยท Open Issue
hist๐
Learning.IT.hist
hist n is the history up to time n. This is a random variable on the measurable space
โ โ ๐ ร ๐จ.
Learning.IT.hist.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} (n : โ) (h : โ โ ๐ ร ๐จ) : โฅ(Finset.Iic n) โ ๐ ร ๐จLearning.IT.hist.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} (n : โ) (h : โ โ ๐ ร ๐จ) : โฅ(Finset.Iic n) โ ๐ ร ๐จ
Code
def hist (n : โ) (h : โ โ ๐ ร ๐จ) : Iic n โ ๐ ร ๐จ := fun i โฆ h i
Used by (23)
Actions: Source ยท Open Issue
action๐
Learning.IT.action
action n is the action pulled at time n. This is a random variable on the measurable space
โ โ ๐ ร ๐จ.
Learning.IT.action.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} (n : โ) (h : โ โ ๐ ร ๐จ) : ๐Learning.IT.action.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} (n : โ) (h : โ โ ๐ ร ๐จ) : ๐
Code
def action (n : โ) (h : โ โ ๐ ร ๐จ) : ๐ := (h n).1
Actions: Source ยท Open Issue
All dependencies, transitively (3)
filtration๐
Learning.IT.filtrationFiltration of the algorithm Seq.
Learning.IT.filtration.{u_4, u_5} (๐ : Type u_4) (๐จ : Type u_5) [MeasurableSpace ๐] [MeasurableSpace ๐จ] : MeasureTheory.Filtration โ inferInstanceLearning.IT.filtration.{u_4, u_5} (๐ : Type u_4) (๐จ : Type u_5) [MeasurableSpace ๐] [MeasurableSpace ๐จ] : MeasureTheory.Filtration โ inferInstance
Code
protected def filtration (๐ ๐จ : Type*) [MeasurableSpace ๐] [MeasurableSpace ๐จ] :
Filtration โ (inferInstance : MeasurableSpace (โ โ ๐ ร ๐จ)) :=
MeasureTheory.Filtration.piLE (X := fun _ โฆ ๐ ร ๐จ)Used by (13)
Actions: Source ยท Open Issue
adapted_action๐
Learning.IT.adapted_actionNo docstring.
Learning.IT.adapted_action.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} : MeasureTheory.Adapted (IT.filtration ๐ ๐จ) actionLearning.IT.adapted_action.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} : MeasureTheory.Adapted (IT.filtration ๐ ๐จ) action
Code
lemma adapted_action : Adapted (IT.filtration ๐ ๐จ) action
Type uses (2)
Body uses (4)
Actions: Source ยท Open Issue
Proof
by intro n rw [filtration_eq_comap, action_eq_eval_comp_hist] exact measurable_comp_comap _ (by fun_prop)
measurable_action๐
Learning.IT.measurable_actionNo docstring.
Learning.IT.measurable_action.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} (n : โ) : Measurable (action n)Learning.IT.measurable_action.{u_1, u_2} {๐ : Type u_1} {๐จ : Type u_2} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} (n : โ) : Measurable (action n)
Code
lemma measurable_action (n : โ) : Measurable (action n (๐
Type uses (1)
Used by (14)
Actions: Source ยท Open Issue
Proof
๐) (๐จ := ๐จ)) := by unfold action; fun_prop