LeanMachineLearning

Learning.measurableSet_snd_eq_and_pullCount'_eq๐Ÿ”—

Lemma

No docstring.

Types
  • ๐“ž : Type u_1m๐“ž : MeasurableSpace ๐“žA measurable space is a space equipped with a ฯƒ-algebra.
  • ๐“ : Type u_2m๐“ : MeasurableSpace ๐“DecidableEq ๐“MeasurableSingletonClass ๐“A typeclass mixin for MeasurableSpaces such that each singleton is measurable.
  • R : Type u_3mR : MeasurableSpace R
Given
  • n : โ„•
  • b : ๐“
  • k : โ„•
Then
MeasurableSet {u | u.2 = b โˆง pullCount' n u.1.1 b = k}
MeasurableSet s means that s is measurable (in the ambient measure space on ฮฑ)
Code
lemma measurableSet_snd_eq_and_pullCount'_eq [MeasurableSingletonClass ๐“]
    (n : โ„•) (b : ๐“) (k : โ„•) :
    MeasurableSet {u : (Hist ๐“ž ๐“ R n ร— ๐“ž) ร— ๐“ | u.2 = b โˆง pullCount' n u.1.1 b = k}
Proof
((measurableSet_singleton _).preimage measurable_snd).inter
    ((measurableSet_singleton _).preimage
      ((measurable_pullCount' n b).comp (measurable_fst.comp measurable_fst)))

Meaning last changed in v4.35.0-rc2-1-g61e506b (2026-09-22), the 3th 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, 18 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.