LeanMachineLearning

Learning.IsObliviousEnv.condIndepFun_feedback_history_action๐Ÿ”—

Lemma

The feedback at time n + 1 is conditionally independent of the history up to time n given the action at time n + 1.

๐Ÿ”—theorem
Learning.IsObliviousEnv.condIndepFun_feedback_history_action.{u_1, u_2, u_3} {๐“ : Type u_1} {๐“จ : Type u_2} {m๐“ : MeasurableSpace ๐“} {m๐“จ : MeasurableSpace ๐“จ} {ฮฉ : Type u_3} {mฮฉ : MeasurableSpace ฮฉ} {alg : Algorithm ๐“ ๐“จ} {env : Environment ๐“ ๐“จ} {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsFiniteMeasure P] {A : โ„• โ†’ ฮฉ โ†’ ๐“} {Y : โ„• โ†’ ฮฉ โ†’ ๐“จ} [StandardBorelSpace ๐“] [Nonempty ๐“] [StandardBorelSpace ๐“จ] [Nonempty ๐“จ] [StandardBorelSpace ฮฉ] [IsObliviousEnv env] (h : IsAlgEnvSeq A Y alg env P) (n : โ„•) : ProbabilityTheory.CondIndepFun (MeasurableSpace.comap (A (n + 1)) inferInstance) โ‹ฏ (Y (n + 1)) (history A Y n) P
Learning.IsObliviousEnv.condIndepFun_feedback_history_action.{u_1, u_2, u_3} {๐“ : Type u_1} {๐“จ : Type u_2} {m๐“ : MeasurableSpace ๐“} {m๐“จ : MeasurableSpace ๐“จ} {ฮฉ : Type u_3} {mฮฉ : MeasurableSpace ฮฉ} {alg : Algorithm ๐“ ๐“จ} {env : Environment ๐“ ๐“จ} {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsFiniteMeasure P] {A : โ„• โ†’ ฮฉ โ†’ ๐“} {Y : โ„• โ†’ ฮฉ โ†’ ๐“จ} [StandardBorelSpace ๐“] [Nonempty ๐“] [StandardBorelSpace ๐“จ] [Nonempty ๐“จ] [StandardBorelSpace ฮฉ] [IsObliviousEnv env] (h : IsAlgEnvSeq A Y alg env P) (n : โ„•) : ProbabilityTheory.CondIndepFun (MeasurableSpace.comap (A (n + 1)) inferInstance) โ‹ฏ (Y (n + 1)) (history A Y n) P

Code

lemma condIndepFun_feedback_history_action [StandardBorelSpace ฮฉ]
        [IsObliviousEnv env] (h : IsAlgEnvSeq A Y alg env P) (n : โ„•) :
    Y (n + 1) โŸ‚แตข[A (n + 1), h.measurable_action _ ; P] history A Y n
Proof
by
  have hA := h.measurable_action
  have hY := h.measurable_feedback
  refine condIndepFun_of_exists_condDistrib_prod_ae_eq_prodMkLeft
    (ฮท := feedbackCondAction env (n + 1))
    (by fun_prop) (by fun_prop) (by fun_prop) ?_
  refine HasCondDistrib.condDistrib_eq ?_
  rw [โ† feedback_eq_feedbackCondAction]
  exact h.hasCondDistrib_feedback n

Actions: Source ยท Open Issue

Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), 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: 5 project declarations, 49 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.