LeanMachineLearning

Learning.IsObliviousEnv.indepFun_history_action_feedback_cond๐Ÿ”—

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_1m๐“ž : MeasurableSpace ๐“žA measurable space is a space equipped with a ฯƒ-algebra.
  • ๐“ : Type u_2m๐“ : MeasurableSpace ๐“
  • ๐“จ : Type u_3m๐“จ : MeasurableSpace ๐“จ
  • ฮฉ : Type u_4mฮฉ : MeasurableSpace ฮฉ
Given
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 [IsObliviousEnv env]
    (h : IsAlgEnvSeq O A Y alg env P) (n : โ„•)
    {s : Set ((Hist ๐“ž ๐“ ๐“จ n ร— ๐“ž) ร— ๐“)} (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
by
  have hO := h.measurable_obs
  have hA := h.measurable_action
  have hY := h.measurable_feedback
  refine (hasCondDistrib_feedback_history_action h n).indepFun_cond (by fun_prop) hs
    (ฮท := feedbackCondAction env n b) fun u hu โ†ฆ ?_
  rw [Kernel.prodMkLeft_apply, hsb u hu]

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