LeanMachineLearning

Bandits.ArrayModel.identDistrib_sum_range_snd๐Ÿ”—

Lemma

No docstring.

๐Ÿ”—theorem
Bandits.ArrayModel.identDistrib_sum_range_snd.{u_1} {๐“ : Type u_1} {m๐“ : MeasurableSpace ๐“} [Countable ๐“] {ฮฝ : ProbabilityTheory.Kernel ๐“ โ„} [ProbabilityTheory.IsMarkovKernel ฮฝ] (a : ๐“) (k : โ„•) : ProbabilityTheory.IdentDistrib (fun ฯ‰ => โˆ‘ i โˆˆ Finset.range k, Prod.snd ฯ‰ i a) (fun ฯ‰ => โˆ‘ i โˆˆ Finset.range k, ฯ‰ i a) (arrayMeasure ฮฝ) (streamMeasure ฮฝ)
Bandits.ArrayModel.identDistrib_sum_range_snd.{u_1} {๐“ : Type u_1} {m๐“ : MeasurableSpace ๐“} [Countable ๐“] {ฮฝ : ProbabilityTheory.Kernel ๐“ โ„} [ProbabilityTheory.IsMarkovKernel ฮฝ] (a : ๐“) (k : โ„•) : ProbabilityTheory.IdentDistrib (fun ฯ‰ => โˆ‘ i โˆˆ Finset.range k, Prod.snd ฯ‰ i a) (fun ฯ‰ => โˆ‘ i โˆˆ Finset.range k, ฯ‰ i a) (arrayMeasure ฮฝ) (streamMeasure ฮฝ)

Code

lemma identDistrib_sum_range_snd (a : ๐“) (k : โ„•) :
    IdentDistrib (fun ฯ‰ โ†ฆ โˆ‘ i โˆˆ range k, ฯ‰.2 i a) (fun ฯ‰ โ†ฆ โˆ‘ i โˆˆ range k, ฯ‰ i a)
      ๐”“ (streamMeasure ฮฝ) where
  aemeasurable_fst
Proof
by fun_prop
  aemeasurable_snd := (measurable_sum _ fun i _ โ†ฆ by fun_prop).aemeasurable
  map_eq := by
    rw [โ† Measure.snd_prod (ฮผ := (Measure.infinitePi fun (_ : โ„•) โ†ฆ (volume : Measure unitInterval)))
      (ฮฝ := streamMeasure ฮฝ), Measure.snd, Measure.map_map (by fun_prop) (by fun_prop)]
    rfl

Actions: Source ยท Open Issue

Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 5th 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: 4 project declarations, 41 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.