LeanMachineLearning

Bandits.ArrayModel.measurable_truncRowπŸ”—

Lemma

No docstring.

Types
  • 𝓐 : Type u_1DecidableEq 𝓐
  • 𝓑 : Type u_2m𝓑 : MeasurableSpace 𝓑A measurable space is a space equipped with a Οƒ-algebra.
Given
  • a : 𝓐
  • m : β„•
Then
Measurable (truncRow a m)
A function f between measurable spaces is measurable if the preimage of every measurable set is measurable.
Code
lemma measurable_truncRow [DecidableEq 𝓐] (a : 𝓐) (m : β„•) :
    Measurable (truncRow a m : probSpace 𝓐 𝓑 β†’ probSpace 𝓐 𝓑)
Proof
by
  refine Measurable.prodMk measurable_fst
    (.of_eval fun i ↦ .of_eval fun b ↦ ?_)
  by_cases hb : b = a <;> simp only [hb, ↓reduceIte] <;> fun_prop

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