Learning.IsBayesAlgEnvSeq.integrable_gap
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_gap๐
Learning.IsBayesAlgEnvSeq.integrable_gapNo docstring.
Learning.IsBayesAlgEnvSeq.integrable_gap.{u_1, u_2, u_4} {๐ : Type u_1} {๐ : Type u_2} {ฮฉ : Type u_4} [MeasurableSpace ๐] [MeasurableSpace ๐] [MeasurableSpace ฮฉ] [Countable ๐] [Nonempty ๐] {ฮบ : ProbabilityTheory.Kernel (๐ ร ๐) โ} {E : ฮฉ โ ๐} {A : โ โ ฮฉ โ ๐} {n : โ} {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsFiniteMeasure P] (hE : Measurable E) (hA : โ (t : โ), Measurable (A t)) {l u : โ} (h : โ (e : ๐) (a : ๐), โซ (x : โ), id x โฮบ (e, a) โ Set.Icc l u) : MeasureTheory.Integrable (gap ฮบ E A n) PLearning.IsBayesAlgEnvSeq.integrable_gap.{u_1, u_2, u_4} {๐ : Type u_1} {๐ : Type u_2} {ฮฉ : Type u_4} [MeasurableSpace ๐] [MeasurableSpace ๐] [MeasurableSpace ฮฉ] [Countable ๐] [Nonempty ๐] {ฮบ : ProbabilityTheory.Kernel (๐ ร ๐) โ} {E : ฮฉ โ ๐} {A : โ โ ฮฉ โ ๐} {n : โ} {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsFiniteMeasure P] (hE : Measurable E) (hA : โ (t : โ), Measurable (A t)) {l u : โ} (h : โ (e : ๐) (a : ๐), โซ (x : โ), id x โฮบ (e, a) โ Set.Icc l u) : MeasureTheory.Integrable (gap ฮบ E A n) P
Code
lemma integrable_gap [Countable ๐] [Nonempty ๐] {ฮบ : Kernel (๐ ร ๐) โ} {E : ฮฉ โ ๐}
{A : โ โ ฮฉ โ ๐} {n : โ} {P : Measure ฮฉ} [IsFiniteMeasure P] (hE : Measurable E)
(hA : โ t, Measurable (A t)) {l u : โ} (h : โ e a, (ฮบ (e, a))[id] โ Set.Icc l u) :
Integrable (gap ฮบ E A n) PType uses (1)
Body uses (3)
Used by (1)
Actions: Source ยท Open Issue
Proof
by apply Integrable.of_bound (by fun_prop) (u - l) filter_upwards with ฯ rw [Real.norm_eq_abs, abs_of_nonneg (gap_nonneg_of_le (fun e a โฆ (h e a).2))] exact gap_le_of_mem_Icc h
Dependency graph
Type dependencies (1)
gap๐
Learning.IsBayesAlgEnvSeq.gap
A random variable that gives the gap at time n.
Learning.IsBayesAlgEnvSeq.gap.{u_1, u_2, u_4} {๐ : Type u_1} {๐ : Type u_2} {ฮฉ : Type u_4} [MeasurableSpace ๐] [MeasurableSpace ๐] (ฮบ : ProbabilityTheory.Kernel (๐ ร ๐) โ) (E : ฮฉ โ ๐) (A : โ โ ฮฉ โ ๐) (n : โ) (ฯ : ฮฉ) : โLearning.IsBayesAlgEnvSeq.gap.{u_1, u_2, u_4} {๐ : Type u_1} {๐ : Type u_2} {ฮฉ : Type u_4} [MeasurableSpace ๐] [MeasurableSpace ๐] (ฮบ : ProbabilityTheory.Kernel (๐ ร ๐) โ) (E : ฮฉ โ ๐) (A : โ โ ฮฉ โ ๐) (n : โ) (ฯ : ฮฉ) : โ
Code
noncomputable def gap (ฮบ : Kernel (๐ ร ๐) โ) (E : ฮฉ โ ๐) (A : โ โ ฮฉ โ ๐) (n : โ) (ฯ : ฮฉ) : โ := Bandits.gap (ฮบ.sectR (E ฯ)) (A n ฯ)
Body uses (1)
Used by (10)
Actions: Source ยท Open Issue
All dependencies, transitively (1)
gap๐
Bandits.gap
Gap of an action a: difference between the highest mean of the actions and the mean of a.
Bandits.gap.{u_1} {๐ : Type u_1} {m๐ : MeasurableSpace ๐} (ฮฝ : ProbabilityTheory.Kernel ๐ โ) (a : ๐) : โBandits.gap.{u_1} {๐ : Type u_1} {m๐ : MeasurableSpace ๐} (ฮฝ : ProbabilityTheory.Kernel ๐ โ) (a : ๐) : โ
Code
noncomputable def gap (ฮฝ : Kernel ๐ โ) (a : ๐) : โ := (โจ i, (ฮฝ i)[id]) - (ฮฝ a)[id]
Used by (27)
Actions: Source ยท Open Issue