LeanMachineLearning

Bandits.ArrayModel.probReal_sumRewards_le_sumRewards_le๐Ÿ”—

Lemma

No docstring.

๐Ÿ”—theorem
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.