LeanMachineLearning

Bandits.ArrayModel.indepFun_fst_hist๐Ÿ”—

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 ๐“Countable ๐“A type ฮฑ is countable if there exists an injective map ฮฑ โ†’ โ„•.
  • ๐“ก : Type u_2m๐“ก : MeasurableSpace ๐“กStandardBorelSpace ๐“กNonempty ๐“ก
Given
  • alg : Learning.Algorithm Unit ๐“ ๐“กA stochastic, sequential algorithm.
  • ฮฝ : ProbabilityTheory.Kernel ๐“ ๐“กA kernel from a measurable space ฮฑ to another measurable space ฮฒ is a measurable function ฮบ : ฮฑ โ†’ Measure ฮฒ.ProbabilityTheory.IsMarkovKernel ฮฝA kernel is a Markov kernel if every measure in its image is a probability measure.
  • n : โ„•
Then
ProbabilityTheory.IndepFun (fun ฯ‰ => ฯ‰.1 n) (fun x => hist alg x n) (arrayMeasure ฮฝ)
Two functions are independent if the two measurable space structures they generate are independent.
Code
lemma indepFun_fst_hist [Countable ๐“] (alg : Algorithm Unit ๐“ ๐“ก)
    (ฮฝ : Kernel ๐“ ๐“ก) [IsMarkovKernel ฮฝ] (n : โ„•) :
    IndepFun (fun ฯ‰ โ†ฆ ฯ‰.1 n) (hist alg ยท n) (arrayMeasure ฮฝ)
Proof
(indepFun_fst_aux ฮฝ n).of_measurable_right (measurable_hist_comap alg n)

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