Learning.IsAlgEnvSeqUntil
An algorithm-environment sequence: a sequence of actions and feedbacks generated by an algorithm interacting with an environment.
Learning.IsAlgEnvSeqUntil.{u_1, u_2, u_3} {π : Type u_1} {π¨ : Type u_2} {Ξ© : Type u_3} {mπ : MeasurableSpace π} {mπ¨ : MeasurableSpace π¨} {mΞ© : MeasurableSpace Ξ©} (A : β β Ξ© β π) (Y : β β Ξ© β π¨) (alg : Algorithm π π¨) (env : Environment π π¨) (P : MeasureTheory.Measure Ξ©) [MeasureTheory.IsFiniteMeasure P] (N : β) : PropLearning.IsAlgEnvSeqUntil.{u_1, u_2, u_3} {π : Type u_1} {π¨ : Type u_2} {Ξ© : Type u_3} {mπ : MeasurableSpace π} {mπ¨ : MeasurableSpace π¨} {mΞ© : MeasurableSpace Ξ©} (A : β β Ξ© β π) (Y : β β Ξ© β π¨) (alg : Algorithm π π¨) (env : Environment π π¨) (P : MeasureTheory.Measure Ξ©) [MeasureTheory.IsFiniteMeasure P] (N : β) : Prop
Code
structure IsAlgEnvSeqUntil
(A : β β Ξ© β π) (Y : β β Ξ© β π¨) (alg : Algorithm π π¨) (env : Environment π π¨)
(P : Measure Ξ©) [IsFiniteMeasure P] (N : β) : Prop where
/-- The action sequence is measurable. -/
measurable_action n : Measurable (A n) := by fun_prop
/-- The feedback sequence is measurable. -/
measurable_feedback n : Measurable (Y n) := by fun_prop
/-- The first action has the correct law. -/
hasLaw_action_zero : HasLaw (fun Ο β¦ (A 0 Ο)) alg.p0 P
/-- The first feedback has the correct conditional distribution. -/
hasCondDistrib_feedback_zero : HasCondDistrib (Y 0) (A 0) env.Ξ½0 P
/-- The next action has the correct conditional distribution given the history. -/
hasCondDistrib_action n (hn : n < N) :
HasCondDistrib (A (n + 1)) (history A Y n) (alg.policy n) P
/-- The next feedback has the correct conditional distribution given the history and
next action. -/
hasCondDistrib_feedback n (hn : n < N) :
HasCondDistrib (Y (n + 1)) (fun Ο β¦ (history A Y n Ο, A (n + 1) Ο))
(env.feedback n) PActions: 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: 3 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.