LeanMachineLearning

Learning.measurable_rewardByCountUntil๐Ÿ”—

Lemma

No docstring.

Types
  • ๐“ : Type u_2m๐“ : MeasurableSpace ๐“A measurable space is a space equipped with a ฯƒ-algebra.DecidableEq ๐“MeasurableEq ๐“Typeclass for a measurable space ฮฑ for which the diagonal of ฮฑ ร— ฮฑ is measurable.
  • R : Type u_3mR : MeasurableSpace R
  • ฮฉ : Type u_4mฮฉ : MeasurableSpace ฮฉ
Given
  • A : โ„• โ†’ ฮฉ โ†’ ๐“
  • R' : โ„• โ†’ ฮฉ โ†’ R
  • t : โ„•
Assuming
  • hA : โˆ€ (n : โ„•), Measurable (A n)A function f between measurable spaces is measurable if the preimage of every measurable set is measurable.
  • hR' : โˆ€ (n : โ„•), Measurable (R' n)
Then
Measurable (rewardByCountUntil A R' t)
Code
lemma measurable_rewardByCountUntil [MeasurableEq ๐“]
    (hA : โˆ€ n, Measurable (A n)) (hR' : โˆ€ n, Measurable (R' n)) (t : โ„•) :
    Measurable (rewardByCountUntil A R' t)
Proof
measurable_rewardByCountUntil_of t (fun i _ โ†ฆ (hA i).comp measurable_fst)
    (fun i _ โ†ฆ (hR' i).comp measurable_fst) measurable_snd

New in v4.34.0-rc2-31-g21d7e67 (2026-09-07), 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: 2 project declarations, 28 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.