LeanMachineLearning

Bandits.ArrayModel.measurable_pullCount'_actionπŸ”—

Lemma

No docstring.

Types
  • 𝓐 : Type u_1m𝓐 : MeasurableSpace 𝓐A measurable space is a space equipped with a Οƒ-algebra.Nonempty 𝓐StandardBorelSpace 𝓐A standard Borel space is a measurable space arising as the Borel sets of some Polish topology.DecidableEq 𝓐
  • 𝓑 : Type u_2m𝓑 : MeasurableSpace 𝓑
Given
Assuming
  • h_hist : Measurable fun x => hist alg x nA function f between measurable spaces is measurable if the preimage of every measurable set is measurable.
Then
Measurable fun x => Learning.pullCount' n (hist alg x n) (algFunction alg n (hist alg x n) (x.1 n))
Code
lemma measurable_pullCount'_action [DecidableEq 𝓐] {alg : Algorithm Unit 𝓐 𝓑}
    (n : β„•) (h_hist : Measurable (hist alg Β· n)) :
    Measurable (fun x ↦
      pullCount' n (hist alg x n) (algFunction alg n (hist alg x n) (x.1 n)))
Proof
by
  have h_alg_meas : Measurable (fun x ↦ algFunction alg n (hist alg x n) (x.1 n)) :=
    measurable_action' n h_hist
  exact (measurable_uncurry_pullCount' (𝓐 := 𝓐) n).comp (h_hist.prodMk h_alg_meas)

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