Learning.measurable_uncurry_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_uncurry_pullCount'๐
Learning.measurable_uncurry_pullCount'No docstring.
Learning.measurable_uncurry_pullCount'.{u_1, u_2} {๐ : Type u_1} {R : Type u_2} {m๐ : MeasurableSpace ๐} {mR : MeasurableSpace R} [DecidableEq ๐] [MeasurableEq ๐] (n : โ) : Measurable fun p => pullCount' n (Prod.fst p) (Prod.snd p)Learning.measurable_uncurry_pullCount'.{u_1, u_2} {๐ : Type u_1} {R : Type u_2} {m๐ : MeasurableSpace ๐} {mR : MeasurableSpace R} [DecidableEq ๐] [MeasurableEq ๐] (n : โ) : Measurable fun p => pullCount' n (Prod.fst p) (Prod.snd p)
Code
lemma measurable_uncurry_pullCount' [MeasurableEq ๐] (n : โ) :
Measurable (fun p : (Iic n โ ๐ ร R) ร ๐ โฆ pullCount' n p.1 p.2)Type uses (1)
Body uses (1)
Used by (3)
Actions: Source ยท Open Issue
Proof
by
simp_rw [pullCount'_eq_sum]
have h_meas s : Measurable (fun h : (Iic n โ ๐ ร R) ร ๐ โฆ if (h.1 s).1 = h.2 then 1 else 0) := by
refine Measurable.ite ?_ (by fun_prop) (by fun_prop)
exact measurableSet_eq_fun (by fun_prop) (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