Learning.measurable_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.
measurable_pullCount'๐
Learning.measurable_pullCount'No docstring.
Learning.measurable_pullCount'.{u_1, u_2} {๐ : Type u_1} {R : Type u_2} {m๐ : MeasurableSpace ๐} {mR : MeasurableSpace R} [DecidableEq ๐] [MeasurableSingletonClass ๐] (n : โ) (a : ๐) : Measurable fun h => pullCount' n h aLearning.measurable_pullCount'.{u_1, u_2} {๐ : Type u_1} {R : Type u_2} {m๐ : MeasurableSpace ๐} {mR : MeasurableSpace R} [DecidableEq ๐] [MeasurableSingletonClass ๐] (n : โ) (a : ๐) : Measurable fun h => pullCount' n h a
Code
lemma measurable_pullCount' [MeasurableSingletonClass ๐] (n : โ) (a : ๐) :
Measurable (fun h : Iic n โ ๐ ร R โฆ pullCount' n h a)Type uses (1)
Body uses (1)
Actions: Source ยท Open Issue
Proof
by
simp_rw [pullCount'_eq_sum]
have h_meas s : Measurable (fun (h : Iic n โ ๐ ร R) โฆ if (h s).1 = a then 1 else 0) := by
refine Measurable.ite ?_ (by fun_prop) (by fun_prop)
exact (measurableSet_singleton _).preimage (by fun_prop)
fun_propDependency graph
Type dependencies (1)
pullCount'๐
Learning.pullCount'
Number of pulls of arm a up to (and including) time n.
This is the number of entries in h in which the arm is a.
Learning.pullCount'.{u_1, u_2} {๐ : Type u_1} {R : Type u_2} [DecidableEq ๐] (n : โ) (h : โฅ(Finset.Iic n) โ ๐ ร R) (a : ๐) : โLearning.pullCount'.{u_1, u_2} {๐ : Type u_1} {R : Type u_2} [DecidableEq ๐] (n : โ) (h : โฅ(Finset.Iic n) โ ๐ ร R) (a : ๐) : โ
Code
noncomputable
def pullCount' (n : โ) (h : Iic n โ ๐ ร R) (a : ๐) := #{s | (h s).1 = a}Used by (29)
Actions: Source ยท Open Issue