LeanMachineLearning

Learning.IsAlgEnvSeq.indepFun_history_action_feedback_cond_stationaryEnvšŸ”—

Lemma

From the authors

Conditionally on an event determined by the history before time n and the action at time n, on which that action is constant, the feedback at time n is independent of the history before time n and of the action at time n.

Types
  • š“ : Type u_2mš“ : MeasurableSpace š“A measurable space is a space equipped with a σ-algebra.
  • š“Ø : Type u_3mš“Ø : MeasurableSpace š“Ø
  • Ī© : Type u_4mĪ© : MeasurableSpace Ī©
Given
  • alg : 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.
  • P : MeasureTheory.Measure Ī©A measure is defined to be an outer measure that is countably additive on measurable sets, with the additional assumption that the outer measure is the canonical extension of the restricted measure.MeasureTheory.IsProbabilityMeasure PA measure μ is called a probability measure if μ univ = 1.
  • O : ā„• → Ī© → Unit
  • A : ā„• → Ī© → š“
  • Y : ā„• → Ī© → š“Ø
  • n : ā„•
  • s : Set ((Hist Unit š“ š“Ø n Ɨ Unit) Ɨ š“)A set is a collection of elements of some type α.
  • b : š“
Assuming
Then
ProbabilityTheory.IndepFun (fun ω => ((history O A Y n ω, O n ω), A n ω)) (Y n)
  P[|(fun ω => ((history O A Y n ω, O n ω), A n ω)) ⁻¹' s]
Two functions are independent if the two measurable space structures they generate are independent.
Code
lemma indepFun_history_action_feedback_cond_stationaryEnv
    (h : IsAlgEnvSeq O A Y alg (stationaryEnv ν) P) (n : ā„•)
    {s : Set ((Hist Unit š“ š“Ø n Ɨ Unit) Ɨ š“)} (hs : MeasurableSet s) {b : š“}
    (hsb : āˆ€ u ∈ s, u.2 = b) :
    (fun ω ↦ ((history O A Y n ω, O n ω), A n ω))
      āŸ‚įµ¢[P[|(fun ω ↦ ((history O A Y n ω, O n ω), A n ω)) ⁻¹' s]] Y n
Proof
IsObliviousEnv.indepFun_history_action_feedback_cond h n hs hsb

Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10), 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: 8 project declarations, 41 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.