Bandits.ArrayModel.probReal_sumRewards_le_sumRewards_le
No docstring.
Bandits.ArrayModel.probReal_sumRewards_le_sumRewards_le.{u_1} {๐ : Type u_1} {m๐ : MeasurableSpace ๐} [DecidableEq ๐] [Countable ๐] [StandardBorelSpace ๐] [Nonempty ๐] {alg : Learning.Algorithm ๐ โ} {ฮฝ : ProbabilityTheory.Kernel ๐ โ} [ProbabilityTheory.IsMarkovKernel ฮฝ] [Fintype ๐] (a : ๐) (n mโ mโ : โ) : MeasureTheory.Measure.real (arrayMeasure ฮฝ) {ฯ | Learning.pullCount (action alg) (bestArm ฮฝ) n ฯ = mโ โง Learning.pullCount (action alg) a n ฯ = mโ โง Learning.sumRewards (action alg) (reward alg) (bestArm ฮฝ) n ฯ โค Learning.sumRewards (action alg) (reward alg) a n ฯ} โค MeasureTheory.Measure.real (streamMeasure ฮฝ) {ฯ | โ i โ Finset.range mโ, ฯ i (bestArm ฮฝ) โค โ i โ Finset.range mโ, ฯ i a}Bandits.ArrayModel.probReal_sumRewards_le_sumRewards_le.{u_1} {๐ : Type u_1} {m๐ : MeasurableSpace ๐} [DecidableEq ๐] [Countable ๐] [StandardBorelSpace ๐] [Nonempty ๐] {alg : Learning.Algorithm ๐ โ} {ฮฝ : ProbabilityTheory.Kernel ๐ โ} [ProbabilityTheory.IsMarkovKernel ฮฝ] [Fintype ๐] (a : ๐) (n mโ mโ : โ) : MeasureTheory.Measure.real (arrayMeasure ฮฝ) {ฯ | Learning.pullCount (action alg) (bestArm ฮฝ) n ฯ = mโ โง Learning.pullCount (action alg) a n ฯ = mโ โง Learning.sumRewards (action alg) (reward alg) (bestArm ฮฝ) n ฯ โค Learning.sumRewards (action alg) (reward alg) a n ฯ} โค MeasureTheory.Measure.real (streamMeasure ฮฝ) {ฯ | โ i โ Finset.range mโ, ฯ i (bestArm ฮฝ) โค โ i โ Finset.range mโ, ฯ i a}
Code
lemma probReal_sumRewards_le_sumRewards_le [Fintype ๐] (a : ๐) (n mโ mโ : โ) :
(๐).real {ฯ | pullCount A (bestArm ฮฝ) n ฯ = mโ โง pullCount A a n ฯ = mโ โง
sumRewards A R (bestArm ฮฝ) n ฯ โค sumRewards A R a n ฯ} โค
(streamMeasure ฮฝ).real
{ฯ | โ i โ range mโ, ฯ i (bestArm ฮฝ) โค โ i โ range mโ, ฯ i a}Proof
by simp_rw [measureReal_def] gcongr ยท finiteness ยท exact prob_sumRewards_le_sumRewards_le a n mโ mโ
Actions: 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: 16 project declarations, 124 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.