Bandits.ArrayModel.prob_exists_pullCount_eq_and_sumRewards_mem_le
No docstring.
Bandits.ArrayModel.prob_exists_pullCount_eq_and_sumRewards_mem_le.{u_1} {๐ : Type u_1} {m๐ : MeasurableSpace ๐} [DecidableEq ๐] [Countable ๐] [StandardBorelSpace ๐] [Nonempty ๐] {alg : Learning.Algorithm ๐ โ} {ฮฝ : ProbabilityTheory.Kernel ๐ โ} [ProbabilityTheory.IsMarkovKernel ฮฝ] (a : ๐) (m : โ) {B : Set โ} (hB : MeasurableSet B) : (arrayMeasure ฮฝ) {ฯ | โ n, Learning.pullCount (action alg) a n ฯ = m โง Learning.sumRewards (action alg) (reward alg) a n ฯ โ B} โค (streamMeasure ฮฝ) {ฯ | โ i โ Finset.range m, ฯ i a โ B}Bandits.ArrayModel.prob_exists_pullCount_eq_and_sumRewards_mem_le.{u_1} {๐ : Type u_1} {m๐ : MeasurableSpace ๐} [DecidableEq ๐] [Countable ๐] [StandardBorelSpace ๐] [Nonempty ๐] {alg : Learning.Algorithm ๐ โ} {ฮฝ : ProbabilityTheory.Kernel ๐ โ} [ProbabilityTheory.IsMarkovKernel ฮฝ] (a : ๐) (m : โ) {B : Set โ} (hB : MeasurableSet B) : (arrayMeasure ฮฝ) {ฯ | โ n, Learning.pullCount (action alg) a n ฯ = m โง Learning.sumRewards (action alg) (reward alg) a n ฯ โ B} โค (streamMeasure ฮฝ) {ฯ | โ i โ Finset.range m, ฯ i a โ B}
Code
lemma prob_exists_pullCount_eq_and_sumRewards_mem_le (a : ๐) (m : โ) {B : Set โ}
(hB : MeasurableSet B) : ๐ {ฯ | โ n, pullCount A a n ฯ = m โง sumRewards A R a n ฯ โ B} โค
streamMeasure ฮฝ {ฯ | โ i โ range m, ฯ i a โ B}Proof
calc
_ โค ๐ {ฯ | โ i โ range m, ฯ.2 i a โ B} := by
apply measure_mono
intro ฯ โจn, hp, hnโฉ
rwa [sumRewards_eq alg a n ฯ, hp] at hn
_ = streamMeasure ฮฝ {ฯ | โ i โ range m, ฯ i a โ B} :=
(identDistrib_sum_range_snd a m).measure_mem_eq hBActions: Source ยท Open Issue
Meaning last changed in v4.34.0-rc2-14-gf86702d (2026-08-25), the 6th recorded change.
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file ยท open it in the Lean web editor.
Dependency graph
Audit surface: 15 project declarations, 106 external constants
โ Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.