LeanMachineLearning

Learning.noiseSum_add_meanSum๐Ÿ”—

Lemma

No docstring.

๐Ÿ”—theorem
Learning.noiseSum_add_meanSum.{u_1, u_2, u_3} {ฮฉ : Type u_1} {๐“ : Type u_2} {๐“จ : Type u_3} {m๐“ : MeasurableSpace ๐“} {m๐“จ : MeasurableSpace ๐“จ} [NormedAddCommGroup ๐“จ] [NormedSpace โ„ ๐“จ] {A : โ„• โ†’ ฮฉ โ†’ ๐“} {Y : โ„• โ†’ ฮฉ โ†’ ๐“จ} {env : Environment ๐“ ๐“จ} [DecidableEq ๐“] (k : ๐“) (n : โ„•) (ฯ‰ : ฮฉ) : noiseSum env A Y k n ฯ‰ + meanSum env A Y k n ฯ‰ = sumRewards A Y k n ฯ‰
Learning.noiseSum_add_meanSum.{u_1, u_2, u_3} {ฮฉ : Type u_1} {๐“ : Type u_2} {๐“จ : Type u_3} {m๐“ : MeasurableSpace ๐“} {m๐“จ : MeasurableSpace ๐“จ} [NormedAddCommGroup ๐“จ] [NormedSpace โ„ ๐“จ] {A : โ„• โ†’ ฮฉ โ†’ ๐“} {Y : โ„• โ†’ ฮฉ โ†’ ๐“จ} {env : Environment ๐“ ๐“จ} [DecidableEq ๐“] (k : ๐“) (n : โ„•) (ฯ‰ : ฮฉ) : noiseSum env A Y k n ฯ‰ + meanSum env A Y k n ฯ‰ = sumRewards A Y k n ฯ‰

Code

lemma noiseSum_add_meanSum [DecidableEq ๐“] (k : ๐“) (n : โ„•) (ฯ‰ : ฮฉ) :
    noiseSum env A Y k n ฯ‰ + meanSum env A Y k n ฯ‰ = sumRewards A Y k n ฯ‰
Proof
by
  unfold sumRewards
  rw [noiseSum_add_meanSum' k n ฯ‰]
  congr with m
  by_cases h : A m ฯ‰ = k <;> simp [h]

Actions: Source ยท Open Issue

New in v4.34.0-rc2-14-gf86702d (2026-08-25), and its meaning has not changed since.

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: 7 project declarations, 60 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.