LeanMachineLearning

Learning.isStoppingTime_stepsUntilπŸ”—

Lemma

No docstring.

πŸ”—theorem
Learning.isStoppingTime_stepsUntil.{u_1, u_2, u_3} {𝓐 : Type u_1} {R : Type u_2} {Ξ© : Type u_3} {m𝓐 : MeasurableSpace 𝓐} {mR : MeasurableSpace R} {mΞ© : MeasurableSpace Ξ©} [DecidableEq 𝓐] {alg : Algorithm 𝓐 R} {env : Environment 𝓐 R} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {A : β„• β†’ Ξ© β†’ 𝓐} {R' : β„• β†’ Ξ© β†’ R} {m : β„•} [MeasurableSingletonClass 𝓐] (h : IsAlgEnvSeq A R' alg env P) (a : 𝓐) (hm : m β‰  0) : MeasureTheory.IsStoppingTime (IsAlgEnvSeq.filtration h) (stepsUntil A a m)
Learning.isStoppingTime_stepsUntil.{u_1, u_2, u_3} {𝓐 : Type u_1} {R : Type u_2} {Ξ© : Type u_3} {m𝓐 : MeasurableSpace 𝓐} {mR : MeasurableSpace R} {mΞ© : MeasurableSpace Ξ©} [DecidableEq 𝓐] {alg : Algorithm 𝓐 R} {env : Environment 𝓐 R} {P : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure P] {A : β„• β†’ Ξ© β†’ 𝓐} {R' : β„• β†’ Ξ© β†’ R} {m : β„•} [MeasurableSingletonClass 𝓐] (h : IsAlgEnvSeq A R' alg env P) (a : 𝓐) (hm : m β‰  0) : MeasureTheory.IsStoppingTime (IsAlgEnvSeq.filtration h) (stepsUntil A a m)

Code

lemma isStoppingTime_stepsUntil [MeasurableSingletonClass 𝓐]
    (h : IsAlgEnvSeq A R' alg env P) (a : 𝓐) (hm : m β‰  0) :
    IsStoppingTime h.filtration (stepsUntil A a m)
Proof
by
  rw [stepsUntil_eq_leastGE _ hm]
  refine StronglyAdapted.isStoppingTime_leastGE _ fun n ↦ ?_
  suffices StronglyMeasurable[h.filtration n] (pullCount A a (n + 1)) by
    fun_prop
  refine Measurable.stronglyMeasurable ?_
  exact adapted_pullCount_add_one h a n

Actions: Source Β· Open Issue

Meaning last changed in v4.34.0-rc2-2-g4830b8c (2026-08-23), the 2th 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, 66 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.