Learning.integrable_pullCount
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.
integrable_pullCount๐
Learning.integrable_pullCountNo docstring.
Learning.integrable_pullCount.{u_1, u_3} {๐ : Type u_1} {ฮฉ : Type u_3} {m๐ : MeasurableSpace ๐} {mฮฉ : MeasurableSpace ฮฉ} [DecidableEq ๐] {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsProbabilityMeasure P] {A : โ โ ฮฉ โ ๐} [MeasurableSingletonClass ๐] (hA : โ (n : โ), Measurable (A n)) (a : ๐) (n : โ) : MeasureTheory.Integrable (fun ฯ => โ(pullCount A a n ฯ)) PLearning.integrable_pullCount.{u_1, u_3} {๐ : Type u_1} {ฮฉ : Type u_3} {m๐ : MeasurableSpace ๐} {mฮฉ : MeasurableSpace ฮฉ} [DecidableEq ๐] {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsProbabilityMeasure P] {A : โ โ ฮฉ โ ๐} [MeasurableSingletonClass ๐] (hA : โ (n : โ), Measurable (A n)) (a : ๐) (n : โ) : MeasureTheory.Integrable (fun ฯ => โ(pullCount A a n ฯ)) P
Code
lemma integrable_pullCount [MeasurableSingletonClass ๐]
(hA : โ n, Measurable (A n)) (a : ๐) (n : โ) :
Integrable (fun ฯ โฆ (pullCount A a n ฯ : โ)) PType uses (1)
Body uses (2)
Actions: Source ยท Open Issue
Proof
by
refine integrable_of_le_of_le (gโ := 0) (gโ := fun _ โฆ n) (by fun_prop)
(ae_of_all _ fun ฯ โฆ by simp) (ae_of_all _ fun ฯ โฆ ?_) (integrable_const _) (integrable_const _)
simp only [Nat.cast_le]
exact pullCount_le a n ฯDependency graph
Type dependencies (1)
pullCount๐
Learning.pullCount
Number of times action a was chosen up to time t (excluding t).
Learning.pullCount.{u_1, u_3} {๐ : Type u_1} {ฮฉ : Type u_3} [DecidableEq ๐] (A : โ โ ฮฉ โ ๐) (a : ๐) (t : โ) (ฯ : ฮฉ) : โLearning.pullCount.{u_1, u_3} {๐ : Type u_1} {ฮฉ : Type u_3} [DecidableEq ๐] (A : โ โ ฮฉ โ ๐) (a : ๐) (t : โ) (ฯ : ฮฉ) : โ
Code
noncomputable def pullCount (A : โ โ ฮฉ โ ๐) (a : ๐) (t : โ) (ฯ : ฮฉ) : โ := #(filter (fun s โฆ A s ฯ = a) (range t))
Actions: Source ยท Open Issue